powerpc: Optimized strncat for POWER8
[glibc.git] / ChangeLog
blobb310214c74ce2674ef8f40873a8383d58cae9d5b
1 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
4         strncat-power8.
5         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6         __strncat_power8 to ifunc list.
7         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8         (strncat): Add __strncat_power8 to list of strncat functions.
9         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
11 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13         [BZ #21270]
14         * posix/tst-mmap-offset.c (do_prepare): New function.
15         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
16         (do_test_bz21270): New function.
17         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
18         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
19         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
20         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
21         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
22         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
23         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
24         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
25         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
26         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
27         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
28         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
29         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
30         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
32         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
33         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
34         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
35         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
36         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
37         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
38         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
39         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
40         from auto-generation list.
41         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
42         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43         * sysdeps/unix/sysv/linux/mmap.c: New file.
44         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
45         offsets and support for mmap2 syscall.
47         * posix/globtest.sh: Add cleanup routine on trap 0.
49 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
51         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
52         implementation-specific function name and remove unneeded
53         macros definition.
54         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
55         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
56         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
57         name if not defined and pass as parameter to macros accordingly.
58         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
61         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
62         implementation-specific function name and remove unneeded
63         macros definition.
64         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
65         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
66         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
67         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
68         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
69         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
70         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
71         name if not defined and pass as parameter to macros accordingly.
72         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
73         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
74         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
75         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
76         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
79         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
80         implementation-specific function name and remove unneeded macros
81         definition.
82         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
83         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
84         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
85         function name if not defined and pass as parameter to macros
86         accordingly.
87         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
88         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
90         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
91         implementation-specific function name and remove unneeded macros
92         definition.
93         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
94         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
95         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
96         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
97         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
98         not defined and pass as parameter to macros accordingly.
99         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
100         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
101         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
102         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
104         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
105         strcasestr implementation name and remove unneeded macros definition.
106         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
107         strstr implementation name and remove unneeded macros definition.
108         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
109         name if not defined and pass as parameter to macros accordingly.
110         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
112         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
113         implementation-specific function name and remove unneeded macros
114         definition.
115         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
116         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
117         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
118         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
119         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
120         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
121         function name if not defined and pass as parameter to macros
122         accordingly.
123         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
124         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
125         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
126         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
128         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
129         the strlen implementation name and remove unneeded macros definition.
130         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
131         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
132         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
133         the strnlen implementation name and remove unneeded macros definition.
134         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
135         name if not defined and pass as parameter to macros accordingly.
136         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
137         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
138         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
140         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
141         the implementation-specific function name and remove unneeded
142         macros definition.
143         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
144         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
145         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
146         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
147         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
148         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
149         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
150         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
151         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
152         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
153         name if not defined and pass as parameter to macros accordingly.
154         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
155         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
156         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
157         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
158         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
159         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
160         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
161         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
163         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
164         implementation-specific function name and remove unneeded macros
165         definition.
166         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
167         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
168         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
169         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
170         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
171         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
172         function name if not defined.
173         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
174         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
176 2017-04-11  Paul Clarke  <pc@us.ibm.com>
178         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
179         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
180         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
181         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
183 2017-04-11  Florian Weimer  <fweimer@redhat.com>
184             Zack Weinberg  <zackw@panix.com>
186         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
187         readdir64 as thread-safe.  Update warning about readdir_r.
189 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
191         * sysdeps/unix/sysv/linux/x86/Implies: New file.
192         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
193         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
194         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
195         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
196         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
197         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
199 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
201         * sysdeps/i386/dl-procinfo.c: Include
202         <sysdeps/x86/dl-procinfo.c>.
203         * sysdeps/x86_64/dl-procinfo.c: Likewise.
204         * sysdeps/x86/dl-procinfo.c: New file.
206 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
208         * sysdeps/generic/math_private.h: Remove declarations of
209         many functions that are already declared in math.h.
210         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
211         declaration for __frexpl.
212         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
213         the declarations for __scalbnl and fabsl.
215 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
217         [BZ #20831]
218         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
219         of __mprotect to change protection on the excess portion
220         to disallow all access.
222 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
224         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
225         HAS_CPU_FEATURE to check for SSE.
226         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
227         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
228         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
229         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
230         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
231         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
232         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
233         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
234         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
235         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
236         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
237         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
238         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
239         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
240         (index_cpu_SSE): Likewise.
241         (reg_SSE): Likewise.
243 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
245         * posix/getopt1.c: Include <config.h>, not "config.h".
247 2017-04-07  Zack Weinberg  <zackw@panix.com>
249         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
250         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
251         Mention in top-of-file boilerplate that these files are shared
252         with gnulib.
253         * posix/getopt.h, posix/bits/getopt_posix.h:
254         Mention in top-of-file boilerplate that these files are NOT shared
255         with gnulib, unlike the rest of the getopt implementation.
257         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
258         New files, intended to be shared with gnulib.
259         * posix/bits/getopt_posix.h:
260         New file, not intended to be shared with gnulib.
261         * posix/getopt.h: Now just includes features.h,
262         bits/getopt_core.h, and bits/getopt_ext.h.  Will
263         no longer be shared with gnulib.
264         * include/bits/getopt_core.h, include/bits/getopt_ext.h
265         * include/bits/getopt_posix.h: New wrappers.
266         * posix/Makefile: Install new headers.
267         * posix/unistd.h, libio/stdio.h:
268         Include bits/getopt_posix.h instead of getopt.h.
270         * include/libc-symbols.h: For gnulib compatibility, define
271         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
272         _GL_ATTRIBUTE_CONST.
273         * posix/getopt.c (_getopt_initialize): Mark argc and argv
274         parameters with _GL_UNUSED.
276         * posix/getopt.c: When used standalone, define __libc_use_alloca
277         as always false and alloca to abort if called.
278         (process_long_option): Rewrite handling of ambiguous long options
279         to use a single boolean vector, not a linked list; use
280         __libc_use_alloca to decide whether to allocate this using alloca.
281         * posix/tst-getopt_long1.c: Adjust text of expected error message.
283         * posix/getopt.c (process_long_option): New function split out
284         from _getopt_internal_r.
285         (_getopt_internal_r): Replace both copies of the long-option
286         processing code with calls to process_long_option.
287         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
288         (do_test): Differentiate argv[0] in the two subtests.
290         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
291         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
292         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
294         * posix/getopt.h: Add backup definition of __nonnull for
295         consistency with gnulib.  Define __getopt_argv_const to const
296         if not already defined.
297         (getopt): Update doc comment from gnulib.  Prototype
298         unconditionally.  Add __nonnull annotation.
299         (__posix_getopt): Add __nonnull annotation.
300         (getopt_long, getopt_long_only): Use __getopt_argv_const in
301         prototypes for consistency with gnulib.  Add __nonnull
302         annotations.
303         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
304         (getopt_internal): Change 'argv' argument to type 'char **'.
305         Remove now-unnecessary casts.
306         (getopt, __posix_getopt): Eliminate repetition with a macro.
307         Cast 'argv' to 'char **' when calling _getopt_internal.
308         * posix/getopt1.c (getopt_long, getopt_long_only):
309         Use __getopt_argv_const for consistency with gnulib.
310         Cast 'argv' to 'char **' when calling _getopt_internal.
311         (_getopt_long_r, _getopt_long_only_r):
312         Change 'argv' argument to type 'char **'.
313         (main): Constify 'long_options'.
314         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
315         (_getopt_long_r, _getopt_long_only_r):
316         Change 'argv' argument to type 'char **'.
318         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
319         (locked_vfxprintf): New helper function. Handle arbitrary
320         multibyte strings, not just ASCII.
321         * include/stdio.h: Declare __fxprintf_nocancel.
322         * posix/getopt.c: When _LIBC is defined, define fprintf to
323         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
324         to _IO_funlockfile.  When neither _LIBC nor
325         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
326         funlockfile as no-ops.
327         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
328         the standalone error-printing code can now be used for libc as
329         well.  Add an flockfile/funlockfile pair around one case where
330         the error message is printed in several chunks.  Don't use fputc.
331         * posix/tst-getopt-cancel.c: New test.
332         * posix/Makefile: Run it.
334         * posix/getopt.c (_getopt_internal_r): Don't increment
335         d->optind a second time when reporting ambiguous -W options.
337         * posix/getopt_int.h: Include getopt.h.
338         Use impl-namespace names for all arguments to _getopt_internal and
339         _getopt_internal_r.
340         Declare __ordering enum outside the struct.
341         Harmonize comments with gnulib.
342         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
343         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
344         #ifdef TEST block and make unconditional.  Do not define NULL.
345         * posix/getopt.c: Partial merge from gnulib, covering the
346         initial includes and global declarations, commentary, and
347         a couple of semantically-neutral code changes.
349         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
350         Use '...' instead of `...' for quotation marks inside
351         comments and strings.
353         * config.h.in (USE_NONOPTION_FLAGS): Remove.
354         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
355         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
356         * posix/getopt_int.h: Likewise.
357         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
358         __libc_argc and __libc_argv externs, which were only used by
359         #ifdef USE_NONOPTION_FLAGS blocks.
360         * posix/getopt_init.c: Remove file.
361         * posix/Makefile (routines): Remove getopt_init.
362         * include/getopt.h: Don't declare __getopt_initialize_environment.
363         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
364         a comment.
366 2017-04-07  Florian Weimer  <fweimer@redhat.com>
368         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
370 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
372         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
373         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
374         to __wrap_.udiv.
375         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
376         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
378         * sysdeps/i386/symbol-hacks.h: New file.
379         * sysdeps/m68k/symbol-hacks.h: New file.
380         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
381         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
382         * sysdeps/unix/sysv/linux/i386/Makefile
383         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
384         [$(subdir) = csu] (sysdep-only-routines): Likewise.
385         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
386         * sysdeps/unix/sysv/linux/m68k/Makefile
387         [$(subdir) = csu] (sysdep_routines): Likewise.
388         [$(subdir) = csu] (sysdep-only-routines): Likewise.
389         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
391         [$(subdir) = csu] (sysdep_routines): Likewise.
392         [$(subdir) = csu] (sysdep-only-routines): Likewise.
393         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
394         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
395         [$(subdir) = csu] (sysdep_routines): Likewise.
396         [$(subdir) = csu] (sysdep-only-routines): Likewise.
397         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
398         * sysdeps/wordsize-32/Makefile: Remove file.
399         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
400         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
402 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
404         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
405         (TEST_FUNCTION_ARGV): New.
407 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
409         * elf/next.c: Import support/test-driver.c instead of
410         test-skeleton.c and delete TEST_FUNCTION macro definition.
411         * elf/nodelete.c: Likewise.
412         * elf/order2.c: Likewise.
413         * elf/tst-_dl_addr_inside_object.c: Likewise.
414         * elf/tst-addr1.c: Likewise.
415         * elf/tst-align.c: Likewise.
416         * elf/tst-align2.c: Likewise.
417         * elf/tst-audit11.c: Likewise.
418         * elf/tst-audit12.c: Likewise.
419         * elf/tst-audit2.c: Likewise.
420         * elf/tst-audit9.c: Likewise.
421         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
422         * elf/tst-deep1.c: Likewise.
423         * elf/tst-dl-iter-static.c: Likewise.
424         * elf/tst-dlmodcount.c: Likewise.
425         * elf/tst-dlmopen1.c: Likewise.
426         * elf/tst-dlmopen2.c: Likewise.
427         * elf/tst-dlmopen3.c: Likewise.
428         * elf/tst-dlopen-aout.c: Likewise.
429         * elf/tst-dlopenrpath.c: Likewise.
430         * elf/tst-dlsym-error.c: Likewise.
431         * elf/tst-execstack-needed.c: Likewise.
432         * elf/tst-execstack-prog.c: Likewise.
433         * elf/tst-execstack.c: Likewise.
434         * elf/tst-global1.c: Likewise.
435         * elf/tst-gnu2-tls1.c: Likewise.
436         * elf/tst-latepthread.c: Likewise.
437         * elf/tst-leaks1.c: Likewise.
438         * elf/tst-linkall-static.c: Likewise.
439         (do_test): New function.
440         * elf/tst-nodelete-opened.c: Likewise.
441         * elf/tst-nodelete.cc: Likewise.
442         * elf/tst-nodelete2.c: Likewise.
443         * elf/tst-noload.c: Likewise.
444         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
445         * elf/tst-order-main.c: Likewise.
446         * elf/tst-pathopt.c: Likewise.
447         * elf/tst-pie2.c: Likewise.
448         * elf/tst-piemod1.c: Likewise.
449         * elf/tst-prelink.c: Likewise.
450         * elf/tst-protected1a.c: Likewise.
451         * elf/tst-protected1b.c: Likewise.
452         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
453         and define _GNU_SOURCE macro.
454         (cmdline_process_function): New function.
455         * elf/tst-relsort1.c: Likewise.
456         * elf/tst-stackguard1.c: Likewise, import getopt.h,
457         and define _GNU_SOURCE macro.
458         (cmdline_process_function): New function.
459         * elf/tst-thrlock.c: Likewise.
460         * elf/tst-tls-dlinfo.c: Likewise.
461         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
462         * elf/tst-tls1.c: Likewise.
463         * elf/tst-tls10.c: Likewise.
464         * elf/tst-tls11.c: Likewise.
465         * elf/tst-tls12.c: Likewise.
466         * elf/tst-tls13.c: Likewise.
467         * elf/tst-tls14.c: Likewise.
468         * elf/tst-tls15.c: Likewise.
469         * elf/tst-tls16.c: Likewise.
470         * elf/tst-tls17.c: Likewise.
471         * elf/tst-tls18.c: Likewise.
472         * elf/tst-tls19.c: Likewise.
473         * elf/tst-tls2.c: Likewise.
474         * elf/tst-tls3.c: Likewise.
475         * elf/tst-tls4.c: Likewise.
476         * elf/tst-tls5.c: Likewise.
477         * elf/tst-tls6.c: Likewise.
478         * elf/tst-tls7.c: Likewise.
479         * elf/tst-tls8.c: Likewise.
480         * elf/tst-tls9.c: Likewise.
481         * elf/tst-tlsalign-extern.c: Likewise.
482         * elf/tst-tlsalign.c: Likewise.
483         * elf/tst-unique1.c: Likewise.
484         * elf/tst-unique2.c: Likewise.
485         * elf/vismain.c: Likewise.
487 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
489         * string/test-strnlen.c (do_page_tests): New function
490         to check length of strings ending at the page boundary.
491         (test_main): Added call to the do_page_tests function.
493 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
494             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
496         * sysdeps/powerpc/powerpc64/multiarch/Makefile
497         (sysdep_routines): Add strnlen-power8.
498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
499         (strnlen): Add __strnlen_power8 to list of strnlen functions.
500         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
501         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
502         (__strnlen): Add __strnlen_power8 to ifunc list.
503         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
505 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
507         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
508         the TEST_FUNCTION macro definition.
509         * wcsmbs/tst-mbrtowc2.c: Likewise.
510         * wcsmbs/tst-mbsrtowcs.c: Likewise.
511         * wcsmbs/tst-wchar-h.c: Likewise.
512         * wcsmbs/tst-wcpncpy.c: Likewise.
513         * wcsmbs/tst-wcrtomb.c: Likewise.
514         * wcsmbs/tst-wcsnlen.c: Likewise.
515         * wcsmbs/tst-wcstof.c: Likewise.
517 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
519         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
520         CALL_THREAD_FCT macro usage.
521         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
522         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
523         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
525         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
526         * sysdeps/unix/sysv/linux/arm/kernel-features.h
527         (__ASSUME_REQUEUE_PI): Likewise.
528         * sysdeps/unix/sysv/linux/kernel-features.h
529         (__ASSUME_REQUEUE_PI): Likewise.
530         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
531         (__ASSUME_REQUEUE_PI): Likewise.
532         * sysdeps/unix/sysv/linux/mips/kernel-features.h
533         (__ASSUME_REQUEUE_PI): Likewise.
534         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
535         (__ASSUME_REQUEUE_PI): Likewise.
537 2017-04-04  Florian Weimer  <fweimer@redhat.com>
539         * resolv/tst-resolv-canonname.c: New file.
540         * resolv/Makefile (tests): Add tst-resolv-canonname.
541         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
543 2017-04-04  Florian Weimer  <fweimer@redhat.com>
545         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
546         Declare.
547         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
548         (NS_MAXCDNAME): Remove definition.
549         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
550         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
551         (NS_MAXCDNAME): Remove definition.
552         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
554 2017-04-04  Florian Weimer  <fweimer@redhat.com>
556         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
557         call whose result is not used.
559 2017-04-04  Florian Weimer  <fweimer@redhat.com>
561         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
562         * resolv/Makefile (tests): Add tst-ns_name.
563         (tst-ns_name): Link with -lresolv.
564         (tst-ns_name.out): Depend on the input data file.
566 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
568         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
569         Clobber also r14.
571 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
573         [BZ #21253]
574         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
575         slack space by 32KiB.
577 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
579         [BZ #21338]
580         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
581         instead of incorrect do_set_arena_test
583 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
585         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
586         * math/bits/math-finite.h: Likewise.
588 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
590         [BZ #21289]
591         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
593 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
595         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
596         non expected inotify_add_watch and quotactl return.
598 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
600         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
601         to int32_t.
602         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
603         as returning int32_t.
605 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
607         * math/math.h: Include bits/math-finite.h once per
608         floating-point type.
609         * math/bits/math-finite.h: Macroize all declarations by
610         floating-point type.
612 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
614         [BZ #21182]
615         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
616         near end of a page.
617         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
618         overflow calculation.
620 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
622         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
623         (IMPL) Call with 1 instead of 0 as argument.
625 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
627         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
628         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
629         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
630         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
631         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
632         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
633         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
634         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
635         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
636         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
637         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
638         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
639         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
640         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
641         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
642         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
643         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
644         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
645         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
646         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
647         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
648         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
649         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
650         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
651         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
652         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
653         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
654         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
655         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
656         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
657         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
658         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
659         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
660         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
661         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
662         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
663         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
664         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
665         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
666         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
667         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
668         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
669         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
670         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
671         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
672         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
673         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
674         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
675         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
676         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
677         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
678         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
679         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
680         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
681         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
682         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
683         INLINE_SYSCALL_ERROR_RETURN_VALUE.
684         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
685         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
686         defined.
687         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
688         __NR_setgroups32 if defined.
689         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
690         if defined.
691         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
692         __NR_setresgid32 is defined.
693         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
694         __NR_setresuid32 if defined.
695         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
696         __NR_setreuid32 if defined.
697         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
698         defined.
699         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
700         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
701         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
702         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
703         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
704         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
705         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
706         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
707         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
708         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
709         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
710         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
711         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
712         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
713         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
714         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
715         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
716         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
717         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
718         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
719         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
720         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
721         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
722         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
723         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
724         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
725         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
726         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
727         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
728         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
729         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
730         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
731         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
732         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
733         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
734         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
735         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
736         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
737         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
738         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
739         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
740         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
741         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
742         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
743         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
744         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
745         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
746         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
747         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
748         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
749         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
750         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
751         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
752         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
753         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
754         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
755         INLINE_SYSCALL_ERROR_RETURN_VALUE.
756         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
757         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
758         defined.
759         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
760         __NR_setgroups32 if defined.
761         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
762         if defined.
763         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
764         __NR_setresgid32 is defined.
765         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
766         __NR_setresuid32 if defined.
767         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
768         __NR_setreuid32 if defined.
769         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
770         defined.
772 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
774         [BZ #21277]
775         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
776         unconditionally.
777         (IMAXBEL): Likewise.
778         (IUTF8): Likewise.
780 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
782         * sysdeps/aarch64/libm-test-ulps: Update.
784 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
786         * README.tunables: Updated descriptions.
787         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
788         * scripts/gen-tunables.awk: Updated the code related to the
789         commit.
791 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
793         * benchtests/Makefile (string-benchset): Add memcpy-random.
794         * benchtests/bench-memcpy-random.c: New file.
796 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
798         * stdio-common/printf.h (register_printf_modifier): Change the
799         order of __wur and __THROW.
800         (register_printf_type): Likewise.
802 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
804         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
805         test_main ().
806         (CMDLINE_PROCESS): Use function instead of defined macro.
807         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
808         <suppport/support.h> to use set_fortify_handler().
809         * string/bug-envz1.c: Import support/test-driver.c instead of
810         test-skeleton.c.
811         * string/bug-strcoll2.c: Likewise.
812         * string/bug-strtok1.c: Likewise.
813         * string/stratcliff.c: Likewise.
814         * string/test-ffs.c: Likewise.
815         * string/test-memccpy.c: Likewise.
816         * string/test-memchr.c: Likewise.
817         * string/test-memcmp.c: Likewise.
818         * string/test-memcpy.c: Likewise.
819         * string/test-memmem.c: Likewise.
820         * string/test-memmove.c: Likewise.
821         * string/test-memrchr.c: Likewise.
822         * string/test-memset.c: Likewise.
823         * string/test-rawmemchr.c: Likewise.
824         * string/test-strcasecmp.c: Likewise.
825         * string/test-strcasestr.c: Likewise.
826         * string/test-strcat.c: Likewise.
827         * string/test-strchr.c: Likewise.
828         * string/test-strcmp.c: Likewise.
829         * string/test-strcpy.c: Likewise.
830         * string/test-string.h: Likewise.
831         * string/test-strlen.c: Likewise.
832         * string/test-strncasecmp.c: Likewise.
833         * string/test-strncat.c: Likewise.
834         * string/test-strncmp.c: Likewise.
835         * string/test-strncpy.c: Likewise.
836         * string/test-strnlen.c: Likewise.
837         * string/test-strpbrk.c: Likewise.
838         * string/test-strrchr.c: Likewise.
839         * string/test-strspn.c: Likewise.
840         * string/test-strstr.c: Likewise.
841         * string/tst-bswap.c: Likewise.
842         * string/tst-cmp.c: Likewise.
843         * string/tst-endian.c: Likewise.
844         * string/tst-inlcall.c: Likewise.
845         * string/tst-strcoll-overflow.c: Likewise.
846         * string/tst-strfry.c: Likewise.
847         * string/tst-strlen.c: Likewise.
848         * string/tst-strtok.c: Likewise.
849         * string/tst-strtok_r.c: Likewise.
850         * string/tst-strxfrm.c: Likewise.
851         * string/tst-strxfrm2.c: Likewise.
852         * string/tst-svc.c: Likewise.
853         * string/tst-svc2.c: Likewise.
855 2017-03-22  Zack Weinberg  <zackw@panix.com>
857         * stdio-common/bug25.c: Include stdlib.h.
858         * support/tst-support_format_dns_packet.c: Include stdio.h,
859         stdlib.h, and string.h.
860         * support/tst-support_record_failure.c: Include string.h.
861         * support/tst-support_record_failure-2.sh: Adjust line number
862         expectations and correct a typo in an error message.
864 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
866         [BZ #21258]
867         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
868         Define only if _dl_runtime_resolve is defined to
869         _dl_runtime_resolve_sse_vex.
870         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
871         Fallthrough to _dl_runtime_resolve_sse_vex.
873 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
875         * INSTALL: Regenerated.
877 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
879         * config.h.in: Add LINK_OBSOLETE_NSL.
880         * config.make.in: Add build-obsolete-nsl.
881         * configure.ac: Add obsolete-nsl option.
882         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
883         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
884         * include/rpcsvc/nislib.h: Likewise.
885         * include/rpcsvc/ypclnt.h: Likewise.
886         * manual/install.texi: Document --enable-obsolete-nsl.
887         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
888         * nis/nis_add.c: Replace libnsl_hidden_def with
889         libnsl_hidden_nolink_def.
890         * nis/nis_addmember.c: Likewise.
891         * nis/nis_call.c: Likewise.
892         * nis/nis_clone_obj.c: Likewise.
893         * nis/nis_defaults.c: Likeise.
894         * nis/nis_domain_of_r.c: Likewise.
895         * nis/nis_error.c: Likewise.
896         * nis/nis_file.c: Likewise.
897         * nis/nis_free.c: Likewise.
898         * nis_local_names.c: Likewise.
899         * nis/nis_lookup.c: Likewise.
900         * nis/nis_modify.c: Likewise.
901         * nis/nis_print.c: Likewise.
902         * nis/nis_remove.c: Likewise.
903         * nis/nis_table.c: Likewise.
904         * nis/nis_util.c: Likewise.
905         * nis/nis_xdr.c: Likewise.
906         * nis/yp_xdr.c: Likewise.
907         * nis/ypclnt.c: Likewise.
908         * nis/ypupdate_xdr.c: Likewise.
909         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
910         * nis/nis_clone_dir.c: Likewise.
911         * nis/nis_clone_res.c: Likewise.
912         * nis/nis_creategroup.c: Likewise.
913         * nis/nis_destroygroup.c: Likewise.
914         * nis/nis_domain_of.c: Likewise.
915         * nis/nis_getservlist.c: Likewise.
916         * nis/nis_ismember.c: Likewise.
917         * nis/nis_mkdir.c: Likewise.
918         * nis/nis_ping.c: Likewise.
919         * nis/nis_print_group_entry.c: Likewise.
920         * nis/nis_removemember.c: Likewise.
921         * nis/nis_rmdir.c: Likewise.
922         * nis/nis_server.c: Likewise.
923         * nis/nis_subr.c: Likewise.
924         * nis/nis_verifygroup.c: Likewise.
926 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
928         * malloc/tst-interpose-aux.c (check_for_allocations):
929         Move compiler barrier before free.
931 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
933         [BZ #21279]
934         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
935         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
936         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
937         x86_64-x32-linux.
938         (mq_attr.mq_maxmsg): Likewise.
939         (mq_attr.mq_msgsize): Likewise.
940         (mq_attr.mq_curmsgs): Likewise.
942         [BZ #21278]
943         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
944         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
945         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
946         mips-o32-linux.
948         [BZ #21268]
949         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
950         if [__USE_MISC]
951         (NL3): Likewise.
953 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
955         [BZ #21275]
956         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
957         __stack to __stackbase.
958         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
959         checks so we can include defined(__ia64__) first.
961 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
963         * sysdeps/unix/sysv/linux/ttyname.h: New file.
964         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
965         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
966         Call is_pty when the link does not exist or does not match, fail
967         with ENODEV when it returns true.
968         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
969         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
970         Call is_pty when the link does not exist or does not match, fail
971         with ENODEV when it returns true.
973 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
975         [BZ #16437]
976         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
977         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
978         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
979         x86_64-x32-linux.
980         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
981         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
982         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
984         [BZ #21261]
985         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
986         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
987         names for all fields.
988         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
989         for jmp_buf field renaming.
990         (_JMPBUF_UNWINDS_ADJ): Likewise.
992         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
993         with allow-header.
995 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
997         * malloc/malloc.c (unlink): Add consistency check between size and
998         next->prev->size, to further harden against 1-byte overflows.
1000 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1002         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1003         CPU_FEATURES_CPU_P.
1005 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1007         [BZ #21259]
1008         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1009         unconditionally, not just for [__USE_MISC].
1011         [BZ #17786]
1012         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1013         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1014         mips-o32-linux.
1016         [BZ #21260]
1017         * sysdeps/unix/sysv/linux/alpha/Makefile
1018         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1019         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1021         * conform/conformtest.pl ($cross): New variable.
1022         (--cross): New command-line option.
1023         (runtest): Skip test execution when cross-compiling.
1024         * conform/Makefile (conformtest-cross): New variable.
1025         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1026         conformtest.pl.
1028         * conform/conformtest.pl ($xfail_str): New variable.
1029         (--xfail=): New command-line option.
1030         (top level): Handle expectations starting xfail[cond]-.
1031         * conform/Makefile (conformtest-xfail): New variable.
1032         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1033         conformtest.pl.
1035 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1037         * conform/conformtest.pl: Use compilation instead of execution
1038         tests for testing values of constants and usability in #if.
1040 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1042         * math/auto-libm-test-in: Mark some catan and catanh as
1043         xfail-rounding:ibm128-libgcc.
1044         * math/auto-libm-test-out-catan: Regenerate.
1045         * math/auto-libm-test-out-catanh: Likewise.
1047 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1049         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1050         (__END_NAMESPACE_STD): Likewise.
1051         (__USING_NAMESPACE_STD): Likewise.
1052         (__BEGIN_NAMESPACE_C99): Likewise.
1053         (__END_NAMESPACE_C99): Likewise.
1054         (__USING_NAMESPACE_C99): Likewise.
1055         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1056         undefine macro.
1057         (_Mdouble_END_NAMESPACE): Likewise.
1058         * ctype/ctype.h: Do not handle C++ namespaces.
1059         * libio/bits/stdio-ldbl.h: Likewise.
1060         * libio/stdio.h: Likewise.
1061         * locale/locale.h: Likewise.
1062         * math/bits/mathcalls.h: Likewise.
1063         * setjmp/setjmp.h: Likewise.
1064         * signal/signal.h: Likewise.
1065         * stdlib/bits/stdlib-float.h: Likewise.
1066         * stdlib/bits/stdlib-ldbl.h: Likewise.
1067         * stdlib/stdlib.h: Likewise.
1068         * string/string.h: Likewise.
1069         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1070         * time/bits/types/clock_t.h: Likewise.
1071         * time/bits/types/struct_tm.h: Likewise.
1072         * time/bits/types/time_t.h: Likewise.
1073         * time/time.h: Likewise.
1074         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1075         * wcsmbs/uchar.h: Likewise.
1076         * wcsmbs/wchar.h: Likewise.
1077         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1078         * wctype/wctype.h: Do not handle C++ namespaces.
1079         * scripts/begin-end-check.pl: Remove.
1080         * Makefile (installed-headers): Likewise.
1081         (tests-special): Do not add $(objpfx)begin-end-check.out.
1082         ($(objpfx)begin-end-check.out): Remove.
1084 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1085             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1087         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1088         (DL_PLATFORM_INIT): New define.
1089         (dl_platform_init): New function.
1090         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1091         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1092         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1093         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1094         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1096 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1098         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1099         instead of PIC.
1101 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1103         [BZ #21094]
1104         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1105         24+24+24-bit pi for wider range of values around pi/2.
1106         * math/auto-libm-test-in: Add more tests of cos and tan.
1107         * math/auto-libm-test-out-cos: Regenerated.
1108         * math/auto-libm-test-out-tan: Likewise.
1110 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1112         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1113         (RTLD_START): Don't record stack end address in _dl_start_user.
1115 2017-03-15  Alexey Neyman  <stilor@att.net>
1117         [BZ #21088]
1118         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1119         around definitions match those around use.
1121 2017-03-15  Alexey Neyman  <stilor@att.net>
1123         * configure.ac: Avoid empty subexpression in grep.
1124         * configure: Regenerate.
1126 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1128         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1129         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1130         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1131         (test_wrp_rv): Fix format.
1132         (test_wrp_rv2): New macro.
1133         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1134         binaries.
1136 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1138         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1139         Use a union when storing pointers.
1140         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1141         cast result when passing to INIT_VEC_PTRS_LOOP.
1142         (VECTOR_WRAPPER_fFF_3): Likewise.
1143         (VECTOR_WRAPPER_fFF_4): Likewise.
1145 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1147         * include/bits/mathcalls-helper-functions.h: New file.
1148         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1149         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1150         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1151         math/bits/mathcalls-helper-functions.h.
1152         * math/bits/mathcalls-helper-functions.h: New file.
1153         * math/math.h: Include bits/mathcalls-helper-functions.h for
1154         float, double, and long double.
1156 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1158         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1159         instead of feraiseexcept.
1161 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1163         [BZ #21243]
1164         * support/temp_file.c (support_delete_temp_files): Add comment
1165         about ignored errors.
1167 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1169         [BZ #21244]
1170         * support/xclose.c: New file.
1171         * support/Makefile (libsupport-routines): Add xclose.
1172         * support/xunistd.h (xclose): Declare.
1173         * support/resolv_test.c (server_thread_tcp_client)
1174         (server_thread_tcp, make_server_sockets, resolv_test_start)
1175         (resolv_test_end): Call xclose instead of close.
1176         * support/support_enter_network_namespace.c
1177         (support_enter_network_namespace): Likewise.
1178         * support/support_run_diff.c (write_to_temp_file): Likewise.
1180 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1182         * support/support_format_dns_packet.c (support_format_dns_packet):
1183         Handle CNAME records in the response.  Extract RDATA names from
1184         rdata, not the whole packet.  Check AAAA record length.
1185         * support/tst-support_format_dns_packet.c: New file.
1186         * support/Makefile (tests): Add tst-support_format_dns_packet.
1187         (tst-support_format_dns_packet): Link against libresolv.
1189 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1191         [BZ #21232]
1192         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1193         posix_fadvise64 weak_alias for static build.
1195 2017-03-14  Andreas Schwab  <schwab@suse.de>
1197         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1198         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1199         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1200         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1201         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1202         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1203         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1204         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1206 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1208         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1209         posix error code.
1210         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1212 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1214         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1215         no_isolate usage for SH.
1217 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1219         [BZ #15105]
1220         [BZ #19463]
1221         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1222         * inet/rcmd.c (rcmd_af): Likewise.
1223         * inet/rexec.c   (rexec_af): Likewise.
1224         * intl/dcigettext.c (_LIBC): Likewise.
1225         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
1226         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
1227         * locale/setlocale.c (setlocale): Likewise.
1228         * posix/spawn_faction_addopen.c
1229         (posix_spawn_file_actions_addopen): Likewise.
1230         * stdlib/putenv.c (putenv): Use __strndup.
1231         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
1232         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
1233         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
1234         (__Need_M_And_C) Remove define/undef.
1235         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
1236         (__malloc_and_calloc_defined): Remove define.
1237         * string/bits/string2.h (__strdup): Remove define.
1238         (strdup): Likewise.
1239         (__strndup): Likewise.
1240         (strndup): Likewise.
1242 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
1244         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
1245         macro.
1246         (IPV6_ADDR_PREFERENCES): Likewise.
1247         (IPV6_MINHOPCOUNT): Likewise.
1248         (IPV6_ORIGDSTADDR): Likewise.
1249         (IPV6_RECVORIGDSTADDR): Likewise.
1250         (IPV6_TRANSPARENT): Likewise.
1251         (IPV6_UNICAST_IF): Likewise.
1252         (IPV6_RECVFRAGSIZE): Likewise.
1254 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
1256         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
1258 2017-03-12  Alexey Neyman <stilor@att.net>
1260         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
1261         in R_SH_DIR32 case is always false when inlined from
1262         dl-conflict.c. Ifdef out to prevent GCC from insertin an
1264 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
1266         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1267         (__ASSUME_RECV_SYSCALL): Replace duplicate by
1268         __ASSUME_SEND_SYSCALL.
1270 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
1272         * sunrpc/Makefile: don't build and install rpcsvc header
1273         files, rpcgen and librpcsvc.a by default.
1275 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
1277         * math/auto-libm-test-out-catan: Regenerated.
1278         * math/auto-libm-test-out-catanh: Likewise.
1279         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1281 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
1283         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
1284         for long double with corrected test expectations.
1286 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1288         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
1289         Define.
1290         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1291         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
1292         * sysdeps/unix/sysv/linux/nios2/sysdep.h
1293         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1294         * sysdeps/unix/sysv/linux/tile/sysdep.h
1295         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
1296         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1297         (__ASSUME_RECV_SYSCALL): Define.
1298         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1299         (__ASSUME_RECV_SYSCALL): Likewise.
1300         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1301         (__ASSUME_RECV_SYSCALL): Likewise.
1302         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1303         (__ASSUME_RECV_SYSCALL): Likewise.
1304         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1305         (__ASSUME_RECV_SYSCALL): Likewise.
1306         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1307         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
1308         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1309         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1310         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1311         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
1312         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
1313         auto-generation list.
1314         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1315         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1316         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
1317         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1318         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1319         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
1320         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
1321         __ASSUME_SENDTO_SYSCALL.
1322         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
1323         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
1324         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
1326         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
1327         auto-generation list.
1328         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1329         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1330         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1331         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1332         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1333         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1334         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1335         * sysdeps/unix/sysv/linux/kernel-features.h
1336         (__ASSUME_SENDTO_SYSCALL): Define by default.
1337         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1338         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
1339         __NR_sendto.
1340         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1341         (__ASSUME_SENDTO_SYSCALL): Likewise.
1342         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1343         (__ASSUME_SENDTO_SYSCALL): Likewise.
1344         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1345         (__ASSUME_SENDTO_SYSCALL): Remove definition.
1346         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1347         (__ASSUME_SENDTO_SYSCALL): Likewise.
1348         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
1349         (__ASSUME_SENDTO_SYSCALL): Likewise.
1350         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
1352         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
1353         auto-generation list.
1354         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1355         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1356         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1357         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1358         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1359         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1360         (__ASSUME_RECV_SYSCALL): New define.
1361         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1362         (__ASSUME_RECV_SYSCALL): Likewise.
1363         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1364         (__ASSUME_RECV_SYSCALL): Likewise.
1365         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1366         (__ASSUME_RECV_SYSCALL): Likewise.
1367         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1368         (__ASSUME_RECV_SYSCALL): Likewise.
1369         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1370         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1371         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1372         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1373         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1374         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
1375         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
1376         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
1377         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
1378         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
1379         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
1380         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
1382         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
1383         auto-generation list.
1384         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1385         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1386         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1387         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1388         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1389         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1390         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1391         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1392         (__ASSUME_RECVFROM_SYSCALL): Define by default.
1393         * sysdeps/unix/sysv/linux/kernel-features.h
1394         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
1395         __NR_recvfrom.
1396         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1397         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1398         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1399         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1401         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
1402         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1403         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1404         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1405         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1406         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1407         (__ASSUME_RECVFROM_SYSCALL): Likewise.
1408         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
1410         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
1411         auto-generation list.
1412         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1413         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1414         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1415         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1416         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1417         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1418         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1419         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
1420         * sysdeps/unix/sysv/linux/kernel-features.h
1421         (__ASSUME_CONNECT_SYSCALL): Define.
1422         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1423         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
1424         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1425         (__ASSUME_CONNECT_SYSCALL): Likewise.
1426         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1427         (__ASSUME_CONNECT_SYSCALL): Likewise.
1428         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1429         (__ASSUME_CONNECT_SYSCALL): Likewise.
1431         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
1432         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
1433         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
1434         auto-generation list.
1435         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
1436         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
1437         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1438         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
1439         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
1440         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
1441         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1442         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1443         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1444         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1445         * sysdeps/unix/sysv/linux/kernel-features.h
1446         (__ASSUME_ACCEPT_SYSCALL): New define.
1447         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1448         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1449         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
1450         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1451         (__ASSUME_ACCEPT_SYSCALL): Define.
1452         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1453         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1454         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1455         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
1456         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1457         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1458         (__ASSUME_ACCEPT_SYSCALL): Undefine.
1459         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1460         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
1462 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
1463             Zack Weinberg  <zackw@panix.com>
1465         * posix/test-errno.c: New file.
1466         * posix/Makefile (tests): Add test-errno.
1467         * sysdeps/unix/sysv/linux/test-errno.c: New file.
1468         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
1470 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
1472         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1474 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1476         * time/tzset.c (compute_offset): Open-code min macro.
1477         (min, max, sign): Remove.
1479 2017-03-07  Florian Weimer  <fweimer@redhat.com>
1481         [BZ #15576]
1482         Remove TZNAME_MAX limit from sysconf.
1483         * include/time.h (__tzname_cur_max, __tzname_max): Remove
1484         declaration.
1485         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
1486         compute_tzname_max.
1487         (compute_tzname_max): Remove.
1488         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
1489         (update_vars): Do not update __tzname_cur_max.
1490         (tzset_internal): Remove argument.
1491         (__tzset): Adjust call to tzset_internal.
1492         (__tz_convert): Likewise.
1494         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
1495         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
1496         * manual/conf.texi (Sysconf Definition): Update comment.
1498 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1500         [BZ #21209]
1501         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
1502         AT_SECURE processes.
1503         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
1504         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
1505         (test_child): Likewise.
1506         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
1508 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1510         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
1512 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1514         * sysdeps/s390/atomic-machine.h
1515         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
1516         (__arch_compare_and_exchange_val_8_acq,
1517         __arch_compare_and_exchange_val_16_acq,
1518         __arch_compare_and_exchange_val_32_acq,
1519         __arch_compare_and_exchange_val_64_acq):
1520         Delete macro.
1521         (atomic_compare_and_exchange_val_acq,
1522         atomic_compare_and_exchange_val_rel,
1523         atomic_compare_and_exchange_bool_acq,
1524         catomic_compare_and_exchange_bool_acq,
1525         atomic_exchange_acq, atomic_exchange_rel,
1526         atomic_exchange_and_add_acq,
1527         atomic_exchange_and_add_rel,
1528         catomic_exchange_and_add, atomic_or_val,
1529         atomic_or, catomic_or, atomic_bit_test_set,
1530         atomic_and_val, atomic_and, catomic_and):
1531         Define macros with help of C11 atomic builtins.
1533 2017-03-03  Justus Winter <justus@gnupg.org>
1535         * sysdeps/mach/hurd/ftruncate64.c: New file.
1536         * sysdeps/mach/hurd/truncate64.c: Likewise.
1538 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1540         * time/tzfile.c (NOID): Do not define.
1541         * time/tzset.c (NOID): Likewise.
1543 2017-03-03  Florian Weimer  <fweimer@redhat.com>
1545         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
1547 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1549         * elf/get-dynamic-info.h: Remove header file inclusion guard.
1551 2017-03-02  Florian Weimer  <fweimer@redhat.com>
1553         [BZ #21015]
1554         * manual/install.texi (Configuring and compiling): Document
1555         --enable-bind-now.
1556         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
1557         (build-shlib-helper): Use $(LDFLAGS-lib.so).
1558         (format.lds): Likewise.
1559         [bind-now] (LDFLAGS-c.so): Remove.
1560         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
1561         be R_X86_64_GLOB_DAT.
1562         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
1563         relocation can be R_386_GLOB_DAT.
1564         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
1565         relocaiton can be R_ALPHA_GLOB_DAT.
1566         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
1568 2017-03-01  Zack Weinberg  <zackw@panix.com>
1570         * include/libc-pointer-arith.h: New file.  Define
1571         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
1572         PTR_ALIGN_DOWN here.
1573         * include/libc-internal.h: Definitions of above macros
1574         moved from here.  Don't include libc-diag.h anymore either.
1575         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
1576         Don't include libc-internal.h.
1578         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
1579         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
1580         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
1581         * string/strcoll_l.c, sysdeps/nacl/brk.c
1582         * sysdeps/unix/clock_settime.c
1583         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
1584         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
1585         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
1586         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
1587         Don't include libc-internal.h.
1589         * elf/get-dynamic-info.h, iconv/loop.c
1590         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
1591         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
1592         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
1593         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
1594         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
1595         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
1596         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
1597         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
1598         * sysdeps/ieee754/ldbl-128/k_tanl.c
1599         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
1600         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
1601         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
1602         Include libc-diag.h instead of libc-internal.h.
1604         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
1605         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
1606         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
1607         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
1608         * sysdeps/unix/sysv/linux/spawni.c
1609         * sysdeps/x86_64/nptl/tls.h:
1610         Include libc-pointer-arith.h instead of libc-internal.h.
1612         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
1613         * sysdeps/x86_64/atomic-machine.h:
1614         Add multiple include guard.
1616         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
1617         * string/strcasestr.c: No need to include config.h.
1618         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
1619         sys/auxv.h. Don't include sysdep.h.
1620         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
1622         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
1623         DL_LOOKUP_ADDRESS.
1624         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
1625         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
1626         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
1627         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
1628         of ARTIFICIAL_LIMIT.
1629         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
1630         declaration of __clone2.
1632 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1634         * scripts/backport-support.sh (latest_commit): New file.
1636 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1638         [BZ #20257]
1639         * inet/Makefile (routines): Add deadline.
1640         (tests-static): Add tst-deadline.
1641         * inet/net-internal.h (struct deadline_current_time)
1642         (__deadline_current_time, struct deadline, __deadline_is_infinite)
1643         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
1644         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
1645         * inet/deadline.c: New file.
1646         * inet/tst-deadline.c: Likewise.
1647         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
1648         tst-udp-timeout, tst-udp-garbage.
1649         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
1650         explicitly.
1651         (tst-udp-garbage): Likewise.  Also link against thread library.
1652         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
1653         struct layout is part of the ABI.
1654         (clntudp_call): Rework timeout handling.
1655         * sunrpc/tst-udp-garbage.c: New file.
1656         * sunrpc/tst-udp-nonblocking.c: Likewise.
1657         * sunrpc/tst-udp-timeout.c: Likewise.
1659 2017-02-28  Florian Weimer  <fweimer@redhat.com>
1661         [BZ #5010]
1662         * sunrpc/svc.c (svc_is_mapped): Remove.
1663         (svc_unregister): Obtain mapped status while the service is still
1664         registered.
1665         * sunrpc/Makefile [have-thread-library] (tests): Add
1666         tst-svc_register.
1667         (tst-svc_register): Link against libc.so explicitly and the thread
1668         library.
1669         * sunrpc/tst-svc_register.c: New file.
1671 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
1673         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
1674         * sysdeps/pthread/bits/sigthread.h: Likewise.
1676 2017-02-27  Florian Weimer  <fweimer@redhat.com>
1678         [BZ #21115]
1679         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
1680         * sunrpc/Makefile (tests): Add tst-udp-error.
1681         (tst-udp-error): Link against libc.so explicitly.
1682         * sunrpc/tst-udp-error: New file.
1684 2017-02-25  Zack Weinberg  <zackw@panix.com>
1686         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
1687         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
1689         * sysdeps/generic/math_ldbl.h
1690         * sysdeps/ia64/fpu/math_ldbl.h
1691         * sysdeps/ieee754/ldbl-128/math_ldbl.h
1692         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1693         * sysdeps/ieee754/ldbl-96/math_ldbl.h
1694         * sysdeps/powerpc/fpu/math_ldbl.h
1695         * sysdeps/x86_64/fpu/math_ldbl.h:
1696         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
1697         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
1698         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
1699         Add copyright notices.
1701         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1702         Don't use EXTRACT_WORDS64.
1704         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
1705         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
1706         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
1707         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
1708         Include math_ldbl.h, not math_private.h.
1710 2017-02-25  Zack Weinberg  <zackw@panix.com>
1712         * include/libc-diag.h: New file.  Define ignore_value,
1713         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
1714         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
1716         * include/libc-internal.h: Definitions of above macros moved from
1717         here.  Include libc-diag.h.  Add copyright notice.
1719         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
1720         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
1721         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
1722         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
1723         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
1724         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
1725         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
1726         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
1727         Include libc-diag.h instead of libc-internal.h.
1729         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
1730         call to unsetenv (NULL).
1731         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
1732         call to pthread_mutexattr_destroy (NULL).
1734 2017-02-25  Zack Weinberg  <zackw@panix.com>
1736         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
1737         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
1738         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
1739         gets was removed from C++ in C++14.
1740         * include/stdio.h: Remove redundant declaration of gets.
1741         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
1742         be declared, since we are testing it.
1743         * stdio-common/Makefile (tst-gets.c): Compile with
1744         -Wno-deprecated-declarations.
1745         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
1746         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
1747         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
1748         Compile with -Wno-deprecated-declarations.
1750 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1752         * math/libm-test-support.c (check_ulp): Use LIT() around literal
1753         numbers.
1755 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1757         * resolv/tst-resolv-qtypes.c (domain):
1758         Change type to const pointer to const char.
1760 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
1762         * math/Makefile (libm-tests-generated): Remove variable.
1763         (libm-tests-base-normal): New variable.
1764         (libm-tests-base-finite): Likewise.
1765         (libm-tests-base-inline): Likewise.
1766         (libm-tests-base): Likewise.
1767         (libm-tests-normal): Likewise.
1768         (libm-tests-finite): Likewise.
1769         (libm-tests-inline): Likewise.
1770         (libm-tests-vector): Likewise.
1771         (libm-tests): Define in terms of these new variables.
1772         (libm-tests-for-type): New variable.
1773         (libm-tests.o): Move definition.
1774         (tests): Move addition of $(libm-tests).
1775         (generated): Update for new and removed libm test files.
1776         ($(objpfx)libm-test.c): Remove target.
1777         ($(objpfx)libm-have-vector-test.h): Likewise.
1778         (CFLAGS-test-double-vlen2.c): Remove variable.
1779         (CFLAGS-test-double-vlen4.c): Likewise.
1780         (CFLAGS-test-double-vlen8.c): Likewise.
1781         (CFLAGS-test-float-vlen4.c): Likewise.
1782         (CFLAGS-test-float-vlen8.c): Likewise.
1783         (CFLAGS-test-float-vlen16.c): Likewise.
1784         (CFLAGS-test-float.c): Likewise.
1785         (CFLAGS-test-float-finite.c): Likewise.
1786         (CFLAGS-libm-test-support-float.c): Likewise.
1787         (CFLAGS-test-double.c): Likewise.
1788         (CFLAGS-test-double-finite.c): Likewise.
1789         (CFLAGS-libm-test-support-double.c): Likewise.
1790         (CFLAGS-test-ldouble.c): Likewise.
1791         (CFLAGS-test-ldouble-finite.c): Likewise.
1792         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1793         (libm-test-inline-cflags): New variable.
1794         (CFLAGS-test-ifloat.c): Remove variable.
1795         (CFLAGS-test-idouble.c): Likewise.
1796         (CFLAGS-test-ildouble.c): Likewise.
1797         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
1798         dependencies.
1799         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
1800         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
1801         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
1802         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
1803         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
1804         Likewise.
1805         (dependencies on libm-test-support-*.o): Remove.
1806         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
1807         rules using iterators.
1808         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
1809         Likewise.
1810         ($(objpfx)libm-test-support-$(o).o): Likewise.
1811         ($(addprefix $(objpfx),$(filter-out $(tests-static)
1812         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
1813         instead.
1814         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
1815         define rule instead.
1816         * math/README.libm-test: Update.
1817         * math/libm-test-acos.inc: Include libm-test-driver.c.
1818         (do_test): New function.
1819         * math/libm-test-acosh.inc: Include libm-test-driver.c.
1820         (do_test): New function.
1821         * math/libm-test-asin.inc: Include libm-test-driver.c.
1822         (do_test): New function.
1823         * math/libm-test-asinh.inc: Include libm-test-driver.c.
1824         (do_test): New function.
1825         * math/libm-test-atan.inc: Include libm-test-driver.c.
1826         (do_test): New function.
1827         * math/libm-test-atan2.inc: Include libm-test-driver.c.
1828         (do_test): New function.
1829         * math/libm-test-atanh.inc: Include libm-test-driver.c.
1830         (do_test): New function.
1831         * math/libm-test-cabs.inc: Include libm-test-driver.c.
1832         (do_test): New function.
1833         * math/libm-test-cacos.inc: Include libm-test-driver.c.
1834         (do_test): New function.
1835         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
1836         (do_test): New function.
1837         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
1838         (do_test): New function.
1839         * math/libm-test-carg.inc: Include libm-test-driver.c.
1840         (do_test): New function.
1841         * math/libm-test-casin.inc: Include libm-test-driver.c.
1842         (do_test): New function.
1843         * math/libm-test-casinh.inc: Include libm-test-driver.c.
1844         (do_test): New function.
1845         * math/libm-test-catan.inc: Include libm-test-driver.c.
1846         (do_test): New function.
1847         * math/libm-test-catanh.inc: Include libm-test-driver.c.
1848         (do_test): New function.
1849         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
1850         (do_test): New function.
1851         * math/libm-test-ccos.inc: Include libm-test-driver.c.
1852         (do_test): New function.
1853         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
1854         (do_test): New function.
1855         * math/libm-test-ceil.inc: Include libm-test-driver.c.
1856         (do_test): New function.
1857         * math/libm-test-cexp.inc: Include libm-test-driver.c.
1858         (do_test): New function.
1859         * math/libm-test-cimag.inc: Include libm-test-driver.c.
1860         (do_test): New function.
1861         * math/libm-test-clog.inc: Include libm-test-driver.c.
1862         (do_test): New function.
1863         * math/libm-test-clog10.inc: Include libm-test-driver.c.
1864         (do_test): New function.
1865         * math/libm-test-conj.inc: Include libm-test-driver.c.
1866         (do_test): New function.
1867         * math/libm-test-copysign.inc: Include libm-test-driver.c.
1868         (do_test): New function.
1869         * math/libm-test-cos.inc: Include libm-test-driver.c.
1870         (do_test): New function.
1871         * math/libm-test-cosh.inc: Include libm-test-driver.c.
1872         (do_test): New function.
1873         * math/libm-test-cpow.inc: Include libm-test-driver.c.
1874         (do_test): New function.
1875         * math/libm-test-cproj.inc: Include libm-test-driver.c.
1876         (do_test): New function.
1877         * math/libm-test-creal.inc: Include libm-test-driver.c.
1878         (do_test): New function.
1879         * math/libm-test-csin.inc: Include libm-test-driver.c.
1880         (do_test): New function.
1881         * math/libm-test-csinh.inc: Include libm-test-driver.c.
1882         (do_test): New function.
1883         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
1884         (do_test): New function.
1885         * math/libm-test-ctan.inc: Include libm-test-driver.c.
1886         (do_test): New function.
1887         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
1888         (do_test): New function.
1889         * math/libm-test-erf.inc: Include libm-test-driver.c.
1890         (do_test): New function.
1891         * math/libm-test-erfc.inc: Include libm-test-driver.c.
1892         (do_test): New function.
1893         * math/libm-test-exp.inc: Include libm-test-driver.c.
1894         (do_test): New function.
1895         * math/libm-test-exp10.inc: Include libm-test-driver.c.
1896         (do_test): New function.
1897         * math/libm-test-exp2.inc: Include libm-test-driver.c.
1898         (do_test): New function.
1899         * math/libm-test-expm1.inc: Include libm-test-driver.c.
1900         (do_test): New function.
1901         * math/libm-test-fabs.inc: Include libm-test-driver.c.
1902         (do_test): New function.
1903         * math/libm-test-fdim.inc: Include libm-test-driver.c.
1904         (do_test): New function.
1905         * math/libm-test-floor.inc: Include libm-test-driver.c.
1906         (do_test): New function.
1907         * math/libm-test-fma.inc: Include libm-test-driver.c.
1908         (do_test): New function.
1909         * math/libm-test-fmax.inc: Include libm-test-driver.c.
1910         (do_test): New function.
1911         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
1912         (do_test): New function.
1913         * math/libm-test-fmin.inc: Include libm-test-driver.c.
1914         (do_test): New function.
1915         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
1916         (do_test): New function.
1917         * math/libm-test-fmod.inc: Include libm-test-driver.c.
1918         (do_test): New function.
1919         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
1920         (do_test): New function.
1921         * math/libm-test-frexp.inc: Include libm-test-driver.c.
1922         (do_test): New function.
1923         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
1924         (do_test): New function.
1925         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
1926         (do_test): New function.
1927         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
1928         (do_test): New function.
1929         * math/libm-test-hypot.inc: Include libm-test-driver.c.
1930         (do_test): New function.
1931         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
1932         (do_test): New function.
1933         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
1934         (do_test): New function.
1935         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
1936         (do_test): New function.
1937         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
1938         (do_test): New function.
1939         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
1940         (do_test): New function.
1941         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
1942         (do_test): New function.
1943         * math/libm-test-isinf.inc: Include libm-test-driver.c.
1944         (do_test): New function.
1945         * math/libm-test-isless.inc: Include libm-test-driver.c.
1946         (do_test): New function.
1947         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1948         (do_test): New function.
1949         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1950         (do_test): New function.
1951         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1952         (do_test): New function.
1953         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1954         (do_test): New function.
1955         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1956         (do_test): New function.
1957         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1958         (do_test): New function.
1959         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1960         (do_test): New function.
1961         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1962         (do_test): New function.
1963         * math/libm-test-j0.inc: Include libm-test-driver.c.
1964         (do_test): New function.
1965         * math/libm-test-j1.inc: Include libm-test-driver.c.
1966         (do_test): New function.
1967         * math/libm-test-jn.inc: Include libm-test-driver.c.
1968         (do_test): New function.
1969         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1970         (do_test): New function.
1971         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1972         (do_test): New function.
1973         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1974         (do_test): New function.
1975         * math/libm-test-llround.inc: Include libm-test-driver.c.
1976         (do_test): New function.
1977         * math/libm-test-log.inc: Include libm-test-driver.c.
1978         (do_test): New function.
1979         * math/libm-test-log10.inc: Include libm-test-driver.c.
1980         (do_test): New function.
1981         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1982         (do_test): New function.
1983         * math/libm-test-log2.inc: Include libm-test-driver.c.
1984         (do_test): New function.
1985         * math/libm-test-logb.inc: Include libm-test-driver.c.
1986         (do_test): New function.
1987         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1988         (do_test): New function.
1989         * math/libm-test-lround.inc: Include libm-test-driver.c.
1990         (do_test): New function.
1991         * math/libm-test-modf.inc: Include libm-test-driver.c.
1992         (do_test): New function.
1993         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1994         (do_test): New function.
1995         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1996         (do_test): New function.
1997         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1998         (do_test): New function.
1999         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2000         (do_test): New function.
2001         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2002         (do_test): New function.
2003         * math/libm-test-pow.inc: Include libm-test-driver.c.
2004         (do_test): New function.
2005         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2006         (do_test): New function.
2007         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2008         (do_test): New function.
2009         * math/libm-test-rint.inc: Include libm-test-driver.c.
2010         (do_test): New function.
2011         * math/libm-test-round.inc: Include libm-test-driver.c.
2012         (do_test): New function.
2013         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2014         (do_test): New function.
2015         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2016         (do_test): New function.
2017         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2018         (do_test): New function.
2019         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2020         (do_test): New function.
2021         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2022         (do_test): New function.
2023         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2024         (do_test): New function.
2025         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2026         (do_test): New function.
2027         * math/libm-test-significand.inc: Include libm-test-driver.c.
2028         (do_test): New function.
2029         * math/libm-test-sin.inc: Include libm-test-driver.c.
2030         (do_test): New function.
2031         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2032         (do_test): New function.
2033         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2034         (do_test): New function.
2035         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2036         (do_test): New function.
2037         * math/libm-test-tan.inc: Include libm-test-driver.c.
2038         (do_test): New function.
2039         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2040         (do_test): New function.
2041         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2042         (do_test): New function.
2043         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2044         (do_test): New function.
2045         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2046         (do_test): New function.
2047         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2048         (do_test): New function.
2049         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2050         (do_test): New function.
2051         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2052         (do_test): New function.
2053         * math/libm-test-y0.inc: Include libm-test-driver.c.
2054         (do_test): New function.
2055         * math/libm-test-y1.inc: Include libm-test-driver.c.
2056         (do_test): New function.
2057         * math/libm-test-yn.inc: Include libm-test-driver.c.
2058         (do_test): New function.
2059         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2060         (HAVE_VECTOR): Remove macro.
2061         (START): Do not call HAVE_VECTOR.
2062         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2063         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2064         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2065         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2066         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2067         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2068         * math/test-math-vector.h (FUNC_TEST): New macro.
2069         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2070         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2071         (double-vlen4-funcs): Likewise.
2072         (double-vlen4-avx2-funcs): Likewise.
2073         (double-vlen8-funcs): Likewise.
2074         (float-vlen4-funcs): Likewise.
2075         (float-vlen8-funcs): Likewise.
2076         (float-vlen8-avx2-funcs): Likewise.
2077         (float-vlen16-funcs): Likewise.
2078         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2079         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2080         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2081         macro.
2082         (TEST_VECTOR_sin): Likewise.
2083         (TEST_VECTOR_sincos): Likewise.
2084         (TEST_VECTOR_log): Likewise.
2085         (TEST_VECTOR_exp): Likewise.
2086         (TEST_VECTOR_pow): Likewise.
2087         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2088         Likewise.
2089         (TEST_VECTOR_sin): Likewise.
2090         (TEST_VECTOR_sincos): Likewise.
2091         (TEST_VECTOR_log): Likewise.
2092         (TEST_VECTOR_exp): Likewise.
2093         (TEST_VECTOR_pow): Likewise.
2094         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2095         Likewise.
2096         (TEST_VECTOR_sinf): Likewise.
2097         (TEST_VECTOR_sincosf): Likewise.
2098         (TEST_VECTOR_logf): Likewise.
2099         (TEST_VECTOR_expf): Likewise.
2100         (TEST_VECTOR_powf): Likewise.
2101         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2102         Likewise.
2103         (TEST_VECTOR_sinf): Likewise.
2104         (TEST_VECTOR_sincosf): Likewise.
2105         (TEST_VECTOR_logf): Likewise.
2106         (TEST_VECTOR_expf): Likewise.
2107         (TEST_VECTOR_powf): Likewise.
2108         * math/gen-libm-have-vector-test.sh: Remove file.
2109         * math/libm-test.inc: Likewise.
2110         * math/libm-test-support-double.c: Likewise.
2111         * math/libm-test-support-float.c: Likewise.
2112         * math/libm-test-support-ldouble.c: Likewise.
2113         * math/test-double-finite.c: Likewise.: Likewise.
2114         * math/test-double.c: Likewise.
2115         * math/test-float-finite.c: Likewise.
2116         * math/test-float.c: Likewise.
2117         * math/test-idouble.c: Likewise.
2118         * math/test-ifloat.c: Likewise.
2119         * math/test-ildouble.c: Likewise.
2120         * math/test-ldouble-finite.c: Likewise.
2121         * math/test-ldouble.c: Likewise.
2122         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2123         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2124         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2125         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2126         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2127         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2128         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2129         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2130         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2131         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2133 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2134            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2136         * math/Makefile: Add wrappers to gen-libm-calls.
2137         * math/w_acos_template.c: New file.
2138         * math/w_acosh_template.c: Likewise.
2139         * math/w_asin_template.c: Likewise.
2140         * math/w_atan2_template.c: Likewise.
2141         * math/w_atanh_template.c: Likewise.
2142         * math/w_cosh_template.c: Likewise.
2143         * math/w_exp10_template.c: Likewise.
2144         * math/w_exp2_template.c: Likewise.
2145         * math/w_exp_template.c: Likewise.
2146         * math/w_fmod_template.c: Likewise.
2147         * math/w_hypot_template.c: Likewise.
2148         * math/w_j0_template.c: Likewise.
2149         * math/w_j1_template.c: Likewise.
2150         * math/w_jn_template.c: Likewise.
2151         * math/w_lgamma_r_template.c: Likewise.
2152         * math/w_lgamma_template.c: Likewise.
2153         * math/w_log10_template.c: Likewise.
2154         * math/w_log2_template.c: Likewise.
2155         * math/w_log_template.c: Likewise.
2156         * math/w_pow_template.c: Likewise.
2157         * math/w_remainder_template.c: Likewise.
2158         * math/w_sinh_template.c: Likewise.
2159         * math/w_sqrt_template.c: Likewise.
2160         * math/w_tgamma_template.c: Likewise.: Likewise.
2161         * sysdeps/generic/math-type-macros-double.h
2162         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2163         the new wrappers.
2164         * sysdeps/generic/math-type-macros-float.h: Likewise.
2165         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2167 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2169         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2170         New enum constant and macro.
2172         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2173         kernel version to 4.10.
2175 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2177         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2179 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2183 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2185         * sysdeps/powerpc/tst-set_ppr.c: New file.
2186         Implement test cases for __ppc_set_ppr_* functions.
2187         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2188         in the list of tests.
2190 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2192         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2193         instead of test-skeleton.c.
2194         (do_test): Replaced pthread_create and pthread_join with
2195         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2196         Removed unneeded status variable.
2197         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2198         instead of test-skeleton.c.
2199         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2201 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2203         [BZ #20313]
2204         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2205         201605L, for Unicode 9.
2207 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2209         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2210         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2211         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2212         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2213         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2214         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2216 2017-02-19  Zack Weinberg  <zackw@panix.com>
2218         * rt/tst-mqueue4.c: Include stdint.h.
2220 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2222         * sysdeps/arm/libm-test-ulps: Update.
2223         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2224         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2225         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2227 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2229         [BZ #21029]
2230         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
2231         * sysdeps/unix/sysv/linux/i386/Makefile
2232         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
2233         (uses-6-syscall-arguments): Remove.
2234         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
2235         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
2236         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
2237         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
2238         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
2239         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
2240         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
2241         [$(subdir) = misc] (cflags-pselect.o): Likewise.
2242         [$(subdir) = misc] (cflags-pselect.os): Likewise.
2243         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
2244         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
2245         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
2246         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
2247         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
2248         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
2249         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
2250         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
2251         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
2252         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
2253         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
2254         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
2255         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
2256         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
2257         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
2258         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
2259         Likewise.
2260         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
2261         Likewise.
2262         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
2263         Likewise.
2264         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
2265         Likewise.
2266         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
2267         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
2268         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
2269         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
2270         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
2271         ebp on inline assembly.
2272         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
2273         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
2274         Set if CAN_USE_REGISTER_ASM_EBP is set.
2276 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
2278         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
2279         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
2281 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2283         * math/auto-libm-test-in: Add tests of catan and catanh.
2284         * math/auto-libm-test-out-catan: New generated file.
2285         * math/auto-libm-test-out-catanh: Likewise.
2286         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
2287         Move tests with finite inputs, except divide-by-zero cases, to
2288         auto-libm-test-in.
2289         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
2290         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
2291         (libm-test-funcs-noauto): Remove catan and catanh.
2292         * sysdeps/i386/fpu/libm-test-ulps: Update.
2293         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2296         * math/auto-libm-test-in: Add tests of casin and casinh.
2297         * math/auto-libm-test-out-casin: New generated file.
2298         * math/auto-libm-test-out-casinh: Likewise.
2299         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
2300         Move tests with finite inputs to auto-libm-test-in.
2301         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
2302         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
2303         (libm-test-funcs-noauto): Remove casin and casinh.
2304         * sysdeps/i386/fpu/libm-test-ulps: Update.
2305         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2308         * math/auto-libm-test-in: Add tests of cacos and cacosh.
2309         * math/auto-libm-test-out-cacos: New generated file.
2310         * math/auto-libm-test-out-cacosh: Likewise.
2311         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
2312         Move tests with finite inputs to auto-libm-test-in.
2313         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
2314         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
2315         (libm-test-funcs-noauto): Remove cacos and cacosh.
2316         * sysdeps/i386/fpu/libm-test-ulps: Update.
2317         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2320         Revert:
2321         2017-02-16  Zack Weinberg  <zackw@panix.com>
2323         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2324         Don't include init-arch.h.
2325         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2326         Don't include init-arch.h.
2328 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2330         [BZ #21171]
2331         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
2332         +Inf and raise divide-by-zero when x is negative.
2333         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
2334         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
2335         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
2336         -Inf and raise divide-by-zero when x = +-0.
2337         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2338         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
2339         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
2340         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
2341         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
2342         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2343         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2345 2017-02-16  Zack Weinberg  <zackw@panix.com>
2347         * scripts/build-many-glibcs.py (bot_build_mail): If the
2348         bot_config does not contain all of the necessary email-
2349         related settings, just print a warning and continue.
2351 2017-02-16  Zack Weinberg  <zackw@panix.com>
2353         * crypt/md5.h: Test _LIBC with #if defined, not #if.
2354         * dirent/opendir-tst1.c: Include sys/stat.h.
2355         * dirent/tst-fdopendir.c: Include sys/stat.h.
2356         * dirent/tst-fdopendir2.c: Include stdlib.h.
2357         * dirent/tst-scandir.c: Include stdbool.h.
2358         * elf/tst-auditmod1.c: Include link.h and stddef.h.
2359         * elf/tst-tls15.c: Include stdlib.h.
2360         * elf/tst-tls16.c: Include stdlib.h.
2361         * elf/tst-tls17.c: Include stdlib.h.
2362         * elf/tst-tls18.c: Include stdlib.h.
2363         * iconv/tst-iconv6.c: Include endian.h.
2364         * iconvdata/bug-iconv11.c: Include limits.h.
2365         * io/test-utime.c: Include stdint.h.
2366         * io/tst-faccessat.c: Include sys/stat.h.
2367         * io/tst-fchmodat.c: Include sys/stat.h.
2368         * io/tst-fchownat.c: Include sys/stat.h.
2369         * io/tst-fstatat.c: Include sys/stat.h.
2370         * io/tst-futimesat.c: Include sys/stat.h.
2371         * io/tst-linkat.c: Include sys/stat.h.
2372         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
2373         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
2374         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
2375         * io/tst-openat.c: Include stdbool.h.
2376         * io/tst-readlinkat.c: Include sys/stat.h.
2377         * io/tst-renameat.c: Include sys/stat.h.
2378         * io/tst-symlinkat.c: Include sys/stat.h.
2379         * io/tst-unlinkat.c: Include stdbool.h.
2380         * libio/bug-memstream1.c: Include stdlib.h.
2381         * libio/bug-wmemstream1.c: Include stdlib.h.
2382         * libio/tst-fwrite-error.c: Include stdlib.h.
2383         * libio/tst-memstream1.c: Include stdlib.h.
2384         * libio/tst-memstream2.c: Include stdlib.h.
2385         * libio/tst-memstream3.c: Include stdlib.h.
2386         * malloc/tst-interpose-aux.c: Include stdint.h.
2387         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
2388         * nptl/tst-basic7.c: Include limits.h.
2389         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
2390         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
2391         * nptl/tst-cancel4_1.c: Include stddef.h.
2392         * nptl/tst-cancel4_2.c: Include stddef.h.
2393         * nptl/tst-cond16.c: Include limits.h.
2394         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2395         * nptl/tst-cond18.c: Include limits.h.
2396         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
2397         * nptl/tst-cond4.c: Include stdint.h.
2398         * nptl/tst-cond6.c: Include stdint.h.
2399         * nptl/tst-stack2.c: Include limits.h.
2400         * nptl/tst-stackguard1.c: Include stddef.h.
2401         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
2402         * nptl/tst-tls4moda.c: Include stddef.h.
2403         Don't include stdio.h, unistd.h, or tls.h.
2404         * nptl/tst-tls4modb.c: Include stddef.h.
2405         Don't include stdio.h, unistd.h, or tls.h.
2406         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
2407         * posix/tst-getaddrinfo2.c: Include stdio.h.
2408         * posix/tst-getaddrinfo5.c: Include stdio.h.
2409         * posix/tst-pathconf.c: Include sys/stat.h.
2410         * posix/tst-posix_fadvise-common.c: Include stdint.h.
2411         * posix/tst-preadwrite-common.c: Include sys/stat.h.
2412         * posix/tst-regex.c: Include stdint.h.
2413         Don't include spawn.h or spawn_int.h.
2414         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
2415         * posix/tst-vfork3.c: Include sys/stat.h.
2416         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
2417         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
2418         * resolv/tst-resolv-search.c: Include stdlib.h.
2419         * stdio-common/tst-fmemopen2.c: Include stdint.h.
2420         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
2421         * stdlib/test-canon.c: Include sys/stat.h.
2422         * stdlib/tst-tls-atexit.c: Include stdbool.h.
2423         * string/test-memchr.c: Include stdint.h.
2424         * string/tst-cmp.c: Include stdint.h.
2425         * sysdeps/pthread/tst-timer.c: Include stdint.h.
2426         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
2427         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
2428         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2429         Don't include init-arch.h.
2430         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2431         Don't include init-arch.h.
2432         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
2433         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
2434         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
2435         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
2436         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
2437         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
2438         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
2439         * time/clocktest.c: Include stdint.h.
2440         * time/tst-posixtz.c: Include stdint.h.
2441         * timezone/tst-timezone.c: Include stdint.h.
2443 2017-02-16  Zack Weinberg  <zackw@panix.com>
2445         * string/string.h [__USE_MISC]: Include strings.h.
2446         (__bzero, bcmp, bcopy, bzero, index, rindex)
2447         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
2448         (ffs, ffsl, ffsll): Don't declare.
2449         * string/strings.h: Do not suppress the file if string.h has
2450         already been included.
2451         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
2452         annotations.
2453         (index, rindex): Define inline forwarders even if
2454         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
2455         (ffs): Use __attribute_const__.
2456         (ffsl, ffsll): Declare here.
2457         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
2458         have now been standardized.
2459         * include/string.h (__bzero): Declare here.
2461         * bits/types.h: Move to posix/bits.
2462         * include/bits/types.h: New wrapper.
2464 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2466         * string/bits/string2.h (strcmp): Remove define.
2467         (__strcmp_cg): Likewise.
2468         (strncmp): Likewise.
2470 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
2472         * include/string.h: Add __cplusplus check.
2474 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2476         [BZ #21134]
2477         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
2478         "divide by zero" exception when the input is zero.
2479         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
2480         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
2481         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
2482         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
2483         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2485 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
2487         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
2488         and include ...
2489         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
2490         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
2491         to, and include ...
2492         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
2493         file.
2494         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
2495         and include ...
2496         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
2497         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
2498         and include ...
2499         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
2500         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
2501         and include ...
2502         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
2503         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
2504         and include ...
2505         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
2506         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
2507         to, and include ...
2508         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
2509         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
2510         and include ...
2511         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
2513 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
2515         * math/libm-test-support.h: Do not include <math-tests-arch.h>
2516         here.
2517         * math/libm-test-support.c (libm_test_init): Do not call
2518         INIT_ARCH_EXT here.
2519         * math/libm-test-driver.c: Include <math-tests-arch.h>.
2520         (main): Call INIT_ARCH_EXT.
2522 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2524         [BZ #21130]
2525         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
2526         with the "invalid" exception raised when x is -Inf.
2527         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
2529 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
2531         * string/bits/string2.h (strchr): Remove define.
2533 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
2535         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
2536         tst-avx512.
2537         (test-extras): Add tst-avx-aux and tst-avx512-aux.
2538         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
2539         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
2540         ($(objpfx)tst-sse): New rule.
2541         ($(objpfx)tst-avx): Likewise.
2542         ($(objpfx)tst-avx512): Likewise.
2543         (CFLAGS-tst-avx-aux.c): New.
2544         (CFLAGS-tst-avxmod.c): Likewise.
2545         (CFLAGS-tst-avx512-aux.c): Likewise.
2546         (CFLAGS-tst-avx512mod.c): Likewise.
2547         * sysdeps/x86_64/tst-avx-aux.c: New file.
2548         * sysdeps/x86_64/tst-avx.c: Likewise.
2549         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
2550         * sysdeps/x86_64/tst-avx512.c: Likewise.
2551         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
2552         * sysdeps/x86_64/tst-avxmod.c: Likewise.
2553         * sysdeps/x86_64/tst-sse.c: Likewise.
2554         * sysdeps/x86_64/tst-ssemod.c: Likewise.
2556 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2558         * math/auto-libm-test-in: Add more tests of csin and csinh.
2559         * math/auto-libm-test-out-csin: Regenerated.
2560         * math/auto-libm-test-out-csinh: Likewise.
2561         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
2562         auto-libm-test-in.
2563         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
2565 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2567         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
2568         libm-compat-calls-auto.
2569         (libm-compat-calls): Likewise.
2570         (libm-compat-calls-auto): Rename to libm-compat-calls and add
2571         w_lgamma_compatF and k_standardF (merged from the items above).
2572         (libm-routines): Use libm-compat-calls, instead of
2573         libm-compat-calls-auto, with type-foreach.
2575 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
2577         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
2578         macro.
2579         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
2580         (CFLAGS-test-ifloat.c): ... this.  Remove
2581         -U__LIBC_INTERNAL_MATH_INLINES.
2582         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
2583         (CFLAGS-test-idouble.c): ... this.  Remove
2584         -U__LIBC_INTERNAL_MATH_INLINES.
2585         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
2586         (CFLAGS-test-ildouble.c): ... this.  Remove
2587         -U__LIBC_INTERNAL_MATH_INLINES.
2589 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
2591         * math/libm-test-support.c: New file.  Content from
2592         math/libm-test-driver.c.
2593         * math/libm-test-support.h: Likewise.
2594         * math/libm-test-support-double.c: New file.
2595         * math/libm-test-support-float.c: Likewise.
2596         * math/libm-test-support-ldouble.c: Likewise.
2597         * math/libm-test-driver.c: Remove main comment and header
2598         includes.  Include libm-test-support.h.
2599         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
2600         (flag_test_errno): Remove static.
2601         (flag_test_exceptions): Likewise.
2602         (flag_test_finite): Likewise.
2603         (flag_test_inline): Likewise.
2604         (flag_test_mathvec): Likewise.
2605         (test_msg): Likewise.
2606         (NO_EXCEPTION): Remove.
2607         (INVALID_EXCEPTION): Likewise.
2608         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2609         (OVERFLOW_EXCEPTION): Likewise.
2610         (UNDERFLOW_EXCEPTION): Likewise.
2611         (INEXACT_EXCEPTION): Likewise.
2612         (INVALID_EXCEPTION_OK): Likewise.
2613         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2614         (OVERFLOW_EXCEPTION_OK): Likewise.
2615         (UNDERFLOW_EXCEPTION_OK): Likewise.
2616         (NO_INEXACT_EXCEPTION): Likewise.
2617         (EXCEPTIONS_OK): Likewise.
2618         (IGNORE_ZERO_INF_SIGN): Likewise.
2619         (TEST_NAN_SIGN): Likewise.
2620         (TEST_NAN_PAYLOAD): Likewise.
2621         (NO_TEST_INLINE): Likewise.
2622         (XFAIL_TEST): Likewise.
2623         (ERRNO_UNCHANGED): Likewise.
2624         (ERRNO_EDOM): Likewise.
2625         (ERRNO_ERANGE): Likewise.
2626         (IGNORE_RESULT): Likewise.
2627         (NON_FINITE): Likewise.
2628         (TEST_SNAN): Likewise.
2629         (NO_TEST_MATHVEC): Likewise.
2630         (__CONCATX): Likewise.
2631         (TYPE_MIN): Likewise.
2632         (TYPE_TRUE_MIN): Likewise.
2633         (TYPE_MAX): Likewise.
2634         (MIN_EXP): Likewise.
2635         (MAX_EXP): Likewise.
2636         (MANT_DIG): Likewise.
2637         (FSTR_MAX): Likewise.
2638         (ulp_idx): Likewise.
2639         (qtype_str): Remove static.
2640         (TEST_COND_binary32): Remove.
2641         (TEST_COND_binary64): Likewise.
2642         (TEST_COND_binary128): Likewise.
2643         (TEST_COND_ibm128): Likewise.
2644         (TEST_COND_intel96): Likewise.
2645         (TEST_COND_m68k96): Likewise.
2646         (TEST_COND_ibm128_libgcc): Likewise.
2647         (XFAIL_IBM128_LIBGCC): Likewise.
2648         (PAYLOAD_DIG): Likewise.
2649         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2650         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2651         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2652         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2653         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2654         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2655         (TEST_COND_long32): Likewise.
2656         (TEST_COND_long64): Likewise.
2657         (TEST_COND_before_rounding): Likewise.
2658         (TEST_COND_after_rounding): Likewise.
2659         (ulps_file_name): Likewise.
2660         (ulps_file): Likewise.
2661         (output_ulps): Likewise.
2662         (output_dir): Likewise.
2663         (noErrors): Likewise.
2664         (noTests): Likewise.
2665         (noExcTests): Likewise.
2666         (noErrnoTests): Likewise.
2667         (verbose): Likewise.
2668         (output_max_error): Likewise.
2669         (output_points): Likewise.
2670         (ignore_max_ulp): Likewise.
2671         (max_error): Likewise.
2672         (real_max_error): Likewise.
2673         (imag_max_error): Likewise.
2674         (prev_max_error): Likewise.
2675         (prev_real_max_error): Likewise.
2676         (prev_imag_max_error): Likewise.
2677         (max_valid_error): Likewise.
2678         (TYPE_DECIMAL_DIG): Likewise.
2679         (TYPE_HEX_DIG): Likewise.
2680         (fmt_ftostr): Likewise.
2681         (compare_ulp_data): Likewise.
2682         (find_ulps): Likewise.
2683         (init_max_error): Likewise.
2684         (set_max_error): Likewise.
2685         (print_float): Likewise.
2686         (print_screen): Likewise.
2687         (print_screen_max_error): Likewise.
2688         (update_stats): Likewise.
2689         (print_function_ulps): Likewise.
2690         (print_complex_function_ulps): Likewise.
2691         (fpstack_test): Likewise.
2692         (print_max_error): Likewise.
2693         (print_complex_max_error): Likewise.
2694         (test_single_exception): Likewise.
2695         (test_exceptions): Likewise.
2696         (test_single_errno): Likewise.
2697         (test_errno): Likewise.
2698         (ULPDIFF): Likewise.
2699         (ulp): Likewise.
2700         (check_float_internal): Likewise.
2701         (check_float): Likewise.
2702         (check_complex): Likewise.
2703         (check_int): Likewise.
2704         (check_long): Likewise.
2705         (check_bool): Likewise.
2706         (check_longlong): Likewise.
2707         (check_intmax_t): Likewise.
2708         (check_uintmax_t): Likewise.
2709         (enable_test): Likewise.
2710         (matherr): Likewise.
2711         (initialize): Likewise.
2712         (options): Likewise.
2713         (doc): Remove static.
2714         (argp): Likewise.
2715         (parse_opt): Remove.
2716         (check_ulp): Likewise.
2717         (libm_test_init): Likewise.
2718         (libm_test_finish): Likewise.
2719         * math/Makefile (libm-test-support): New variable.
2720         (test-extras): Add libm-test-support files.
2721         (extra-test-objs): Likewise.
2722         (CFLAGS-libm-test-support-float.c): New variable.
2723         (CFLAGS-libm-test-support-double.c): Likewise.
2724         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2725         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
2726         libm-test-support objects.
2728 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2730         * math/Makefile (libm-calls): Move w_exp...
2731         (libm-compat-calls-auto): Here.
2733         * math/w_expl.c: Add suffix "_compat" to filename.
2734         * sysdeps/ia64/fpu/w_expl.c: Likewise.
2735         * sysdeps/ia64/fpu/w_expf.c: Likewise.
2736         * sysdeps/ia64/fpu/w_exp.c: Likewise.
2737         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2738         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2739         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2740         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2741         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2743         * math/w_expl_compat.c: New file, copied from above.
2744         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
2745         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
2746         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
2747         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
2748         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
2749         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
2750         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
2751         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
2753         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
2754         to filename.
2755         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
2757         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
2758         copied from above and adjusted for the new filenames.
2759         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
2761 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2763         * math/Makefile (libm-calls): Move w_lgammaF...
2764         (libm-compat-calls-auto): Here.
2766         * math/w_lgamma.c: Add suffix "_compat2" to filename.
2767         * math/w_lgammaf.c: Likewise.
2768         * math/w_lgammal.c: Likewise.
2770         * math/w_lgamma_compat2.c: New file, copied from above.
2771         * math/w_lgammaf_compat2.c: Likewise.
2772         * math/w_lgammal_compat2.c: Likewise.
2774 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2776         * math/Makefile (libm-calls): Move w_lgammaF_r...
2777         (libm-compat-calls-auto): Here.
2779         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
2780         * math/w_lgammaf_r.c: Likewise.
2781         * math/w_lgammal_r.c: Likewise.
2782         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
2783         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
2784         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
2786         * math/w_lgamma_r_compat.c: New file, copied from above.
2787         * math/w_lgammaf_r_compat.c: Likewise.
2788         * math/w_lgammal_r_compat.c: Likewise.
2789         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
2790         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
2791         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
2793         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
2794         to filename.
2795         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
2797         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
2798         copied from above and adjusted for the new filenames.
2799         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
2801 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
2803         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
2804         calculation in SYSCALL_ERROR_HANDLER().
2806 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
2808         * manual/contrib.texi: Fix typo.
2810 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2812         [BZ #21109]
2813         * elf/dl-tunable-types.h (tunable_callback_t): Accept
2814         tunable_val_t as argument.
2815         * elf/dl-tunables.c (__tunable_set_val): Add comment.
2816         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
2817         argument.
2818         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
2820 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
2822         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
2823         Add PTRACE_EVENT_STOP.
2824         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
2825         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2826         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2827         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2828         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
2829         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
2831 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
2833         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
2834         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
2835         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
2836         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
2837         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
2838         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
2839         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
2840         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
2841         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
2842         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
2844         [BZ #21112]
2845         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
2846         12 bits zero.
2847         (cp_l): Update for new value of cp_h.
2848         * math/auto-libm-test-in: Add another test of pow.
2849         * math/auto-libm-test-out-pow: Regenerated.
2851 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2853         * manual/contrib.texi: Fix typo.
2855 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2857         [BZ #15998]
2858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2859         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
2860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2862 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2864         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
2865         STRCHR as __strchr_power8.
2866         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
2867         strlen as __strlen_power8.
2869 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2871         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
2872         unaligned load for shorter strings.
2873         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2875 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2877         * math/libm-test-driver.c (flag_test_errno): New variable.
2878         (flag_test_exceptions): Likewise.
2879         (flag_test_finite): Likewise.
2880         (flag_test_inline): Likewise.
2881         (flag_test_mathvec): Likewise.
2882         (test_msg): Likewise.
2883         (ulp_idx): Likewise.
2884         (qtype_str): Likewise.
2885         (ULP_IDX): Remove macro.
2886         (QTYPE_STR): Likewise.
2887         (find_ulps): Use ulp_idx not ULP_IDX.
2888         (print_function_ulps): Use qtype_str, printed with %s, not
2889         QTYPE_STR, printed with concatentation to format string.
2890         (print_complex_function_ulps): Likewise.
2891         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
2892         (test_errno): Use flag_test_errno not TEST_ERRNO.
2893         (enable_test): Use flag_test_inline, flag_test_finite and
2894         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
2895         TEST_MATHVEC.
2896         (libm_test_init): New function.  Factored out of main.
2897         (libm_test_finish): Likewise.
2898         (main): Call libm_test_init and libm_test_finish and move most
2899         code to those functions.
2901         * math/libm-test-driver.c (STRX): New macro.
2902         (STR): Likewise.
2903         (STR_FLOAT): Likewise.
2904         (STR_VEC_LEN): Likewise.
2905         (TEST_MSG): Likewise.  Define here instead of expecting to be
2906         defined by including file.
2907         * math/test-double-finite.c (TEST_MSG): Remove macro.
2908         * math/test-double-vlen2.h (TEST_MSG): Likewise.
2909         * math/test-double-vlen4.h (TEST_MSG): Likewise.
2910         * math/test-double-vlen8.h (TEST_MSG): Likewise.
2911         * math/test-double.c (TEST_MSG): Likewise.
2912         * math/test-float-finite.c (TEST_MSG): Likewise.
2913         * math/test-float-vlen16.h (TEST_MSG): Likewise.
2914         * math/test-float-vlen4.h (TEST_MSG): Likewise.
2915         * math/test-float-vlen8.h (TEST_MSG): Likewise.
2916         * math/test-float.c (TEST_MSG): Likewise.
2917         * math/test-idouble.c (TEST_MSG): Likewise.
2918         * math/test-ifloat.c (TEST_MSG): Likewise.
2919         * math/test-ildouble.c (TEST_MSG): Likewise.
2920         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
2921         * math/test-ldouble.c (TEST_MSG): Likewise.
2923         * math/libm-test.inc: Move all tests of individual functions to
2924         libm-test-*.inc and #include libm-test-*.c files.
2925         (acos_test_data): Remove.
2926         (acos_test): Likewise.
2927         (acosh_test_data): Likewise.
2928         (acosh_test): Likewise.
2929         (asin_test_data): Likewise.
2930         (asin_test): Likewise.
2931         (asinh_test_data): Likewise.
2932         (asinh_test): Likewise.
2933         (atan_test_data): Likewise.
2934         (atan_test): Likewise.
2935         (atanh_test_data): Likewise.
2936         (atanh_test): Likewise.
2937         (atan2_test_data): Likewise.
2938         (atan2_test): Likewise.
2939         (cabs_test_data): Likewise.
2940         (cabs_test): Likewise.
2941         (cacos_test_data): Likewise.
2942         (cacos_test): Likewise.
2943         (cacosh_test_data): Likewise.
2944         (cacosh_test): Likewise.
2945         (canonicalize_test_data): Likewise.
2946         (canonicalize_test): Likewise.
2947         (carg_test_data): Likewise.
2948         (carg_test): Likewise.
2949         (casin_test_data): Likewise.
2950         (casin_test): Likewise.
2951         (casinh_test_data): Likewise.
2952         (casinh_test): Likewise.
2953         (catan_test_data): Likewise.
2954         (catan_test): Likewise.
2955         (catanh_test_data): Likewise.
2956         (catanh_test): Likewise.
2957         (cbrt_test_data): Likewise.
2958         (cbrt_test): Likewise.
2959         (ccos_test_data): Likewise.
2960         (ccos_test): Likewise.
2961         (ccosh_test_data): Likewise.
2962         (ccosh_test): Likewise.
2963         (ceil_test_data): Likewise.
2964         (ceil_test): Likewise.
2965         (cexp_test_data): Likewise.
2966         (cexp_test): Likewise.
2967         (cimag_test_data): Likewise.
2968         (cimag_test): Likewise.
2969         (clog_test_data): Likewise.
2970         (clog_test): Likewise.
2971         (clog10_test_data): Likewise.
2972         (clog10_test): Likewise.
2973         (conj_test_data): Likewise.
2974         (conj_test): Likewise.
2975         (copysign_test_data): Likewise.
2976         (copysign_test): Likewise.
2977         (cos_test_data): Likewise.
2978         (cos_test): Likewise.
2979         (cosh_test_data): Likewise.
2980         (cosh_test): Likewise.
2981         (cpow_test_data): Likewise.
2982         (cpow_test): Likewise.
2983         (cproj_test_data): Likewise.
2984         (cproj_test): Likewise.
2985         (creal_test_data): Likewise.
2986         (creal_test): Likewise.
2987         (csin_test_data): Likewise.
2988         (csin_test): Likewise.
2989         (csinh_test_data): Likewise.
2990         (csinh_test): Likewise.
2991         (csqrt_test_data): Likewise.
2992         (csqrt_test): Likewise.
2993         (ctan_test_data): Likewise.
2994         (ctan_test): Likewise.
2995         (ctanh_test_data): Likewise.
2996         (ctanh_test): Likewise.
2997         (erf_test_data): Likewise.
2998         (erf_test): Likewise.
2999         (erfc_test_data): Likewise.
3000         (erfc_test): Likewise.
3001         (exp_test_data): Likewise.
3002         (exp_test): Likewise.
3003         (exp10_test_data): Likewise.
3004         (exp10_test): Likewise.
3005         (pow10_test): Likewise.
3006         (exp2_test_data): Likewise.
3007         (exp2_test): Likewise.
3008         (expm1_test_data): Likewise.
3009         (expm1_test): Likewise.
3010         (fabs_test_data): Likewise.
3011         (fabs_test): Likewise.
3012         (fdim_test_data): Likewise.
3013         (fdim_test): Likewise.
3014         (floor_test_data): Likewise.
3015         (floor_test): Likewise.
3016         (fma_test_data): Likewise.
3017         (fma_test): Likewise.
3018         (fmax_test_data): Likewise.
3019         (fmax_test): Likewise.
3020         (fmaxmag_test_data): Likewise.
3021         (fmaxmag_test): Likewise.
3022         (fmin_test_data): Likewise.
3023         (fmin_test): Likewise.
3024         (fminmag_test_data): Likewise.
3025         (fminmag_test): Likewise.
3026         (fmod_test_data): Likewise.
3027         (fmod_test): Likewise.
3028         (fpclassify_test_data): Likewise.
3029         (fpclassify_test): Likewise.
3030         (frexp_test_data): Likewise.
3031         (frexp_test): Likewise.
3032         (fromfp_test_data): Likewise.
3033         (fromfp_test): Likewise.
3034         (fromfpx_test_data): Likewise.
3035         (fromfpx_test): Likewise.
3036         (getpayload_test_data): Likewise.
3037         (getpayload_test): Likewise.
3038         (hypot_test_data): Likewise.
3039         (hypot_test): Likewise.
3040         (ilogb_test_data): Likewise.
3041         (ilogb_test): Likewise.
3042         (iscanonical_test_data): Likewise.
3043         (iscanonical_test): Likewise.
3044         (iseqsig_test_data): Likewise.
3045         (iseqsig_test): Likewise.
3046         (isfinite_test_data): Likewise.
3047         (isfinite_test): Likewise.
3048         (finite_test): Likewise.
3049         (isgreater_test_data): Likewise.
3050         (isgreater_test): Likewise.
3051         (isgreaterequal_test_data): Likewise.
3052         (isgreaterequal_test): Likewise.
3053         (isinf_test_data): Likewise.
3054         (isinf_test): Likewise.
3055         (isless_test_data): Likewise.
3056         (isless_test): Likewise.
3057         (islessequal_test_data): Likewise.
3058         (islessequal_test): Likewise.
3059         (islessgreater_test_data): Likewise.
3060         (islessgreater_test): Likewise.
3061         (isnan_test_data): Likewise.
3062         (isnan_test): Likewise.
3063         (isnormal_test_data): Likewise.
3064         (isnormal_test): Likewise.
3065         (issignaling_test_data): Likewise.
3066         (issignaling_test): Likewise.
3067         (issubnormal_test_data): Likewise.
3068         (issubnormal_test): Likewise.
3069         (isunordered_test_data): Likewise.
3070         (isunordered_test): Likewise.
3071         (iszero_test_data): Likewise.
3072         (iszero_test): Likewise.
3073         (j0_test_data): Likewise.
3074         (j0_test): Likewise.
3075         (j1_test_data): Likewise.
3076         (j1_test): Likewise.
3077         (jn_test_data): Likewise.
3078         (jn_test): Likewise.
3079         (lgamma_test_data): Likewise.
3080         (lgamma_test): Likewise.
3081         (gamma_test): Likewise.
3082         (llogb_test_data): Likewise.
3083         (llogb_test): Likewise.
3084         (lrint_test_data): Likewise.
3085         (lrint_test): Likewise.
3086         (llrint_test_data): Likewise.
3087         (llrint_test): Likewise.
3088         (log_test_data): Likewise.
3089         (log_test): Likewise.
3090         (log10_test_data): Likewise.
3091         (log10_test): Likewise.
3092         (log1p_test_data): Likewise.
3093         (log1p_test): Likewise.
3094         (log2_test_data): Likewise.
3095         (log2_test): Likewise.
3096         (logb_test_data): Likewise.
3097         (logb_test): Likewise.
3098         (lround_test_data): Likewise.
3099         (lround_test): Likewise.
3100         (llround_test_data): Likewise.
3101         (llround_test): Likewise.
3102         (modf_test_data): Likewise.
3103         (modf_test): Likewise.
3104         (nearbyint_test_data): Likewise.
3105         (nearbyint_test): Likewise.
3106         (nextafter_test_data): Likewise.
3107         (nextafter_test): Likewise.
3108         (nextup_test_data): Likewise.
3109         (nextup_test): Likewise.
3110         (nextdown_test_data): Likewise.
3111         (nextdown_test): Likewise.
3112         (nexttoward_test_data): Likewise.
3113         (nexttoward_test): Likewise.
3114         (pow_test_data): Likewise.
3115         (pow_test): Likewise.
3116         (remainder_test_data): Likewise.
3117         (remainder_test): Likewise.
3118         (drem_test): Likewise.
3119         (remquo_test_data): Likewise.
3120         (remquo_test): Likewise.
3121         (rint_test_data): Likewise.
3122         (rint_test): Likewise.
3123         (round_test_data): Likewise.
3124         (round_test): Likewise.
3125         (roundeven_test_data): Likewise.
3126         (roundeven_test): Likewise.
3127         (scalb_test_data): Likewise.
3128         (scalb_test): Likewise.
3129         (scalbn_test_data): Likewise.
3130         (scalbn_test): Likewise.
3131         (ldexp_test): Likewise.
3132         (scalbln_test_data): Likewise.
3133         (scalbln_test): Likewise.
3134         (setpayload_test_data): Likewise.
3135         (setpayload_test): Likewise.
3136         (setpayloadsig_test_data): Likewise.
3137         (setpayloadsig_test): Likewise.
3138         (signbit_test_data): Likewise.
3139         (signbit_test): Likewise.
3140         (sin_test_data): Likewise.
3141         (sin_test): Likewise.
3142         (sincos_test_data): Likewise.
3143         (sincos_test): Likewise.
3144         (sinh_test_data): Likewise.
3145         (sinh_test): Likewise.
3146         (sqrt_test_data): Likewise.
3147         (sqrt_test): Likewise.
3148         (tan_test_data): Likewise.
3149         (tan_test): Likewise.
3150         (tanh_test_data): Likewise.
3151         (tanh_test): Likewise.
3152         (tgamma_test_data): Likewise.
3153         (tgamma_test): Likewise.
3154         (totalorder_test_data): Likewise.
3155         (totalorder_test): Likewise.
3156         (totalordermag_test_data): Likewise.
3157         (totalordermag_test): Likewise.
3158         (trunc_test_data): Likewise.
3159         (trunc_test): Likewise.
3160         (ufromfp_test_data): Likewise.
3161         (ufromfp_test): Likewise.
3162         (ufromfpx_test_data): Likewise.
3163         (ufromfpx_test): Likewise.
3164         (y0_test_data): Likewise.
3165         (y0_test): Likewise.
3166         (y1_test_data): Likewise.
3167         (y1_test): Likewise.
3168         (yn_test_data): Likewise.
3169         (yn_test): Likewise.
3170         (significand_test_data): Likewise.
3171         (significand_test): Likewise.
3172         * math/Makefile (auto-libm-test-out-files): Remove variable.
3173         (libm-test-funcs-noauto): New variable.
3174         (libm-test-funcs-all): Likewise.
3175         (libm-test-c-auto): Likewise.
3176         (libm-test-c-noauto): Likewise.
3177         (libm-tests-generated): Add $(libm-test-c-auto) and
3178         $(libm-test-c-noauto).
3179         (generated): Do not add auto-libm-test-out.
3180         (libm-test-c-auto-obj): New variable.
3181         (libm-test-c-noauto-obj): Likewise.
3182         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3183         ($(libm-test-c-noauto-obj)): New static pattern rule.
3184         ($(libm-test-c-auto-obj)): Likewise.
3185         (libm-test-incs): New variable.
3186         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3187         and pass it to gen-libm-have-vector-test.sh.
3188         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3189         be passed on command line.
3190         * math/libm-test-acos.inc: New file.  Content from
3191         math/libm-test.inc.
3192         * math/libm-test-acosh.inc: Likewise.
3193         * math/libm-test-asin.inc: Likewise.
3194         * math/libm-test-asinh.inc: Likewise.
3195         * math/libm-test-atan.inc: Likewise.
3196         * math/libm-test-atan2.inc: Likewise.
3197         * math/libm-test-atanh.inc: Likewise.
3198         * math/libm-test-cabs.inc: Likewise.
3199         * math/libm-test-cacos.inc: Likewise.
3200         * math/libm-test-cacosh.inc: Likewise.
3201         * math/libm-test-canonicalize.inc: Likewise.
3202         * math/libm-test-carg.inc: Likewise.
3203         * math/libm-test-casin.inc: Likewise.
3204         * math/libm-test-casinh.inc: Likewise.
3205         * math/libm-test-catan.inc: Likewise.
3206         * math/libm-test-catanh.inc: Likewise.
3207         * math/libm-test-cbrt.inc: Likewise.
3208         * math/libm-test-ccos.inc: Likewise.
3209         * math/libm-test-ccosh.inc: Likewise.
3210         * math/libm-test-ceil.inc: Likewise.
3211         * math/libm-test-cexp.inc: Likewise.
3212         * math/libm-test-cimag.inc: Likewise.
3213         * math/libm-test-clog.inc: Likewise.
3214         * math/libm-test-clog10.inc: Likewise.
3215         * math/libm-test-conj.inc: Likewise.
3216         * math/libm-test-copysign.inc: Likewise.
3217         * math/libm-test-cos.inc: Likewise.
3218         * math/libm-test-cosh.inc: Likewise.
3219         * math/libm-test-cpow.inc: Likewise.
3220         * math/libm-test-cproj.inc: Likewise.
3221         * math/libm-test-creal.inc: Likewise.
3222         * math/libm-test-csin.inc: Likewise.
3223         * math/libm-test-csinh.inc: Likewise.
3224         * math/libm-test-csqrt.inc: Likewise.
3225         * math/libm-test-ctan.inc: Likewise.
3226         * math/libm-test-ctanh.inc: Likewise.
3227         * math/libm-test-erf.inc: Likewise.
3228         * math/libm-test-erfc.inc: Likewise.
3229         * math/libm-test-exp.inc: Likewise.
3230         * math/libm-test-exp10.inc: Likewise.
3231         * math/libm-test-exp2.inc: Likewise.
3232         * math/libm-test-expm1.inc: Likewise.
3233         * math/libm-test-fabs.inc: Likewise.
3234         * math/libm-test-fdim.inc: Likewise.
3235         * math/libm-test-floor.inc: Likewise.
3236         * math/libm-test-fma.inc: Likewise.
3237         * math/libm-test-fmax.inc: Likewise.
3238         * math/libm-test-fmaxmag.inc: Likewise.
3239         * math/libm-test-fmin.inc: Likewise.
3240         * math/libm-test-fminmag.inc: Likewise.
3241         * math/libm-test-fmod.inc: Likewise.
3242         * math/libm-test-fpclassify.inc: Likewise.
3243         * math/libm-test-frexp.inc: Likewise.
3244         * math/libm-test-fromfp.inc: Likewise.
3245         * math/libm-test-fromfpx.inc: Likewise.
3246         * math/libm-test-getpayload.inc: Likewise.
3247         * math/libm-test-hypot.inc: Likewise.
3248         * math/libm-test-ilogb.inc: Likewise.
3249         * math/libm-test-iscanonical.inc: Likewise.
3250         * math/libm-test-iseqsig.inc: Likewise.
3251         * math/libm-test-isfinite.inc: Likewise.
3252         * math/libm-test-isgreater.inc: Likewise.
3253         * math/libm-test-isgreaterequal.inc: Likewise.
3254         * math/libm-test-isinf.inc: Likewise.
3255         * math/libm-test-isless.inc: Likewise.
3256         * math/libm-test-islessequal.inc: Likewise.
3257         * math/libm-test-islessgreater.inc: Likewise.
3258         * math/libm-test-isnan.inc: Likewise.
3259         * math/libm-test-isnormal.inc: Likewise.
3260         * math/libm-test-issignaling.inc: Likewise.
3261         * math/libm-test-issubnormal.inc: Likewise.
3262         * math/libm-test-isunordered.inc: Likewise.
3263         * math/libm-test-iszero.inc: Likewise.
3264         * math/libm-test-j0.inc: Likewise.
3265         * math/libm-test-j1.inc: Likewise.
3266         * math/libm-test-jn.inc: Likewise.
3267         * math/libm-test-lgamma.inc: Likewise.
3268         * math/libm-test-llogb.inc: Likewise.
3269         * math/libm-test-llrint.inc: Likewise.
3270         * math/libm-test-llround.inc: Likewise.
3271         * math/libm-test-log.inc: Likewise.
3272         * math/libm-test-log10.inc: Likewise.
3273         * math/libm-test-log1p.inc: Likewise.
3274         * math/libm-test-log2.inc: Likewise.
3275         * math/libm-test-logb.inc: Likewise.
3276         * math/libm-test-lrint.inc: Likewise.
3277         * math/libm-test-lround.inc: Likewise.
3278         * math/libm-test-modf.inc: Likewise.
3279         * math/libm-test-nearbyint.inc: Likewise.
3280         * math/libm-test-nextafter.inc: Likewise.
3281         * math/libm-test-nextdown.inc: Likewise.
3282         * math/libm-test-nexttoward.inc: Likewise.
3283         * math/libm-test-nextup.inc: Likewise.
3284         * math/libm-test-pow.inc: Likewise.
3285         * math/libm-test-remainder.inc: Likewise.
3286         * math/libm-test-remquo.inc: Likewise.
3287         * math/libm-test-rint.inc: Likewise.
3288         * math/libm-test-round.inc: Likewise.
3289         * math/libm-test-roundeven.inc: Likewise.
3290         * math/libm-test-scalb.inc: Likewise.
3291         * math/libm-test-scalbln.inc: Likewise.
3292         * math/libm-test-scalbn.inc: Likewise.
3293         * math/libm-test-setpayload.inc: Likewise.
3294         * math/libm-test-setpayloadsig.inc: Likewise.
3295         * math/libm-test-signbit.inc: Likewise.
3296         * math/libm-test-significand.inc: Likewise.
3297         * math/libm-test-sin.inc: Likewise.
3298         * math/libm-test-sincos.inc: Likewise.
3299         * math/libm-test-sinh.inc: Likewise.
3300         * math/libm-test-sqrt.inc: Likewise.
3301         * math/libm-test-tan.inc: Likewise.
3302         * math/libm-test-tanh.inc: Likewise.
3303         * math/libm-test-tgamma.inc: Likewise.
3304         * math/libm-test-totalorder.inc: Likewise.
3305         * math/libm-test-totalordermag.inc: Likewise.
3306         * math/libm-test-trunc.inc: Likewise.
3307         * math/libm-test-ufromfp.inc: Likewise.
3308         * math/libm-test-ufromfpx.inc: Likewise.
3309         * math/libm-test-y0.inc: Likewise.
3310         * math/libm-test-y1.inc: Likewise.
3311         * math/libm-test-yn.inc: Likewise.
3312         * math/README.libm-test: Update.
3314         * math/gen-auto-libm-tests.c: Update comment about use of program.
3315         (generate_output): Add argument FUNCTION.
3316         (main): Require extra argument.  Pass function name to
3317         generate_output.
3318         * math/Makefile (generated): Add auto-libm-test-out.
3319         (libm-test-funcs-auto): New variable.
3320         (auto-libm-test-out-files): New variable.
3321         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
3322         Concatenate those files to form $(objpfx)auto-libm-test-out and
3323         use it as input to gen-libm-test.pl.
3324         * math/README.libm-test: Update.
3325         * math/auto-libm-test-out: Remove.
3326         * math/auto-libm-test-out-acos: New generated file.
3327         * math/auto-libm-test-out-acosh: Likewise.
3328         * math/auto-libm-test-out-asin: Likewise.
3329         * math/auto-libm-test-out-asinh: Likewise.
3330         * math/auto-libm-test-out-atan: Likewise.
3331         * math/auto-libm-test-out-atan2: Likewise.
3332         * math/auto-libm-test-out-atanh: Likewise.
3333         * math/auto-libm-test-out-cabs: Likewise.
3334         * math/auto-libm-test-out-carg: Likewise.
3335         * math/auto-libm-test-out-cbrt: Likewise.
3336         * math/auto-libm-test-out-ccos: Likewise.
3337         * math/auto-libm-test-out-ccosh: Likewise.
3338         * math/auto-libm-test-out-cexp: Likewise.
3339         * math/auto-libm-test-out-clog: Likewise.
3340         * math/auto-libm-test-out-clog10: Likewise.
3341         * math/auto-libm-test-out-cos: Likewise.
3342         * math/auto-libm-test-out-cosh: Likewise.
3343         * math/auto-libm-test-out-cpow: Likewise.
3344         * math/auto-libm-test-out-csin: Likewise.
3345         * math/auto-libm-test-out-csinh: Likewise.
3346         * math/auto-libm-test-out-csqrt: Likewise.
3347         * math/auto-libm-test-out-ctan: Likewise.
3348         * math/auto-libm-test-out-ctanh: Likewise.
3349         * math/auto-libm-test-out-erf: Likewise.
3350         * math/auto-libm-test-out-erfc: Likewise.
3351         * math/auto-libm-test-out-exp: Likewise.
3352         * math/auto-libm-test-out-exp10: Likewise.
3353         * math/auto-libm-test-out-exp2: Likewise.
3354         * math/auto-libm-test-out-expm1: Likewise.
3355         * math/auto-libm-test-out-fma: Likewise.
3356         * math/auto-libm-test-out-hypot: Likewise.
3357         * math/auto-libm-test-out-j0: Likewise.
3358         * math/auto-libm-test-out-j1: Likewise.
3359         * math/auto-libm-test-out-jn: Likewise.
3360         * math/auto-libm-test-out-lgamma: Likewise.
3361         * math/auto-libm-test-out-log: Likewise.
3362         * math/auto-libm-test-out-log10: Likewise.
3363         * math/auto-libm-test-out-log1p: Likewise.
3364         * math/auto-libm-test-out-log2: Likewise.
3365         * math/auto-libm-test-out-pow: Likewise.
3366         * math/auto-libm-test-out-sin: Likewise.
3367         * math/auto-libm-test-out-sincos: Likewise.
3368         * math/auto-libm-test-out-sinh: Likewise.
3369         * math/auto-libm-test-out-sqrt: Likewise.
3370         * math/auto-libm-test-out-tan: Likewise.
3371         * math/auto-libm-test-out-tanh: Likewise.
3372         * math/auto-libm-test-out-tgamma: Likewise.
3373         * math/auto-libm-test-out-y0: Likewise.
3374         * math/auto-libm-test-out-y1: Likewise.
3375         * math/auto-libm-test-out-yn: Likewise.
3377         * math/Makefile (generated): Do not include libm-test.stmp.
3378         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
3379         on $(objpfx)libm-test.stmp.
3380         ($(objpfx)libm-test.stmp): Remove rule.
3381         ($(objpfx)libm-test-ulps.h): New rule.
3382         ($(objpfx)libm-test.c): Likewise.
3383         ($(objpfx)libm-have-vector-test.h): Likewise.
3384         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
3385         individual generated files, not libm-test.stmp.
3387         * math/gen-libm-test.pl ($output_dir): Remove variable.
3388         ($srcdir): Likewise.
3389         ($opt_a): New variable.
3390         ($opt_c): Likewise.
3391         ($opt_C): Likewise.
3392         ($opt_H): Likewise.
3393         (-n): Make option take argument and use it as NewUlps output.
3394         (-a): New option.  Use its argument for auto-libm-test-out input.
3395         (-c): New option.  Use its argument for libm-test.inc input.
3396         (-C): New option.  Use its argument for libm-test.c output.
3397         (-H): New option.  Use its argument for libm-test-ulps.h output.
3398         (top level): Only process inputs needed to generate outputs
3399         specified by command-line options.  Only generate outputs
3400         specified by command-line options.
3401         * math/README.libm-test: Update example gen-libm-test.pl command.
3402         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
3403         commands.
3404         (regen-ulps): Likewise.
3406 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
3408         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
3409         * include/string.h (index): Remove define.
3410         (rindex): Likewise.
3411         * misc/getttyent.c (__getttyent): Rename index to strchr.
3412         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
3413         * sunrpc/rpc_main.c (mkfile_output): Likewise.
3415 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3417         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
3418         * math/libm-test.inc: Move all contents, other than tests of
3419         individual functions, to libm-test-driver.c.
3420         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
3421         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
3422         [!FE_UPWARD] (FE_UPWARD): Likewise.
3423         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
3424         (NO_EXCEPTION): Likewise.
3425         (INVALID_EXCEPTION): Likewise.
3426         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3427         (OVERFLOW_EXCEPTION): Likewise.
3428         (UNDERFLOW_EXCEPTION): Likewise.
3429         (INEXACT_EXCEPTION): Likewise.
3430         (INVALID_EXCEPTION_OK): Likewise.
3431         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3432         (OVERFLOW_EXCEPTION_OK): Likewise.
3433         (UNDERFLOW_EXCEPTION_OK): Likewise.
3434         (NO_INEXACT_EXCEPTION): Likewise.
3435         (EXCEPTIONS_OK): Likewise.
3436         (IGNORE_ZERO_INF_SIGN): Likewise.
3437         (TEST_NAN_SIGN): Likewise.
3438         (TEST_NAN_PAYLOAD): Likewise.
3439         (NO_TEST_INLINE): Likewise.
3440         (XFAIL_TEST): Likewise.
3441         (ERRNO_UNCHANGED): Likewise.
3442         (ERRNO_EDOM): Likewise.
3443         (ERRNO_ERANGE): Likewise.
3444         (IGNORE_RESULT): Likewise.
3445         (NON_FINITE): Likewise.
3446         (TEST_SNAN): Likewise.
3447         (NO_TEST_MATHVEC): Likewise.
3448         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
3449         (__CONCATX): Likewise.
3450         (TYPE_MIN): Likewise.
3451         (TYPE_TRUE_MIN): Likewise.
3452         (TYPE_MAX): Likewise.
3453         (MIN_EXP): Likewise.
3454         (MAX_EXP): Likewise.
3455         (MANT_DIG): Likewise.
3456         (FSTR_MAX): Likewise.
3457         (ULP_IDX): Likewise.
3458         (QTYPE_STR): Likewise.
3459         (TEST_COND_binary32): Likewise.
3460         (TEST_COND_binary64): Likewise.
3461         (TEST_COND_binary128): Likewise.
3462         (TEST_COND_ibm128): Likewise.
3463         (TEST_COND_intel96): Likewise.
3464         (TEST_COND_m68k96): Likewise.
3465         (TEST_COND_ibm128_libgcc): Likewise.
3466         (XFAIL_IBM128_LIBGCC): Likewise.
3467         (PAYLOAD_DIG): Likewise.
3468         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3469         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3470         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3471         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3472         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3473         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3474         (TEST_COND_long32): Likewise.
3475         (TEST_COND_long64): Likewise.
3476         (TEST_COND_before_rounding): Likewise.
3477         (TEST_COND_after_rounding): Likewise.
3478         (lit_pi_3_m_4_d): Likewise.
3479         (lit_pi_3_m_4_ln10_m_d): Likewise.
3480         (lit_pi_2_ln10_m_d): Likewise.
3481         (lit_pi_4_ln10_m_d): Likewise.
3482         (lit_pi_ln10_d): Likewise.
3483         (lit_pi_2_d): Likewise.
3484         (lit_pi_4_d): Likewise.
3485         (lit_pi): Likewise.
3486         (lit_e): Likewise.
3487         (ulps_file_name): Likewise.
3488         (ulps_file): Likewise.
3489         (output_ulps): Likewise.
3490         (output_dir): Likewise.
3491         (noErrors): Likewise.
3492         (noTests): Likewise.
3493         (noExcTests): Likewise.
3494         (noErrnoTests): Likewise.
3495         (verbose): Likewise.
3496         (output_max_error): Likewise.
3497         (output_points): Likewise.
3498         (ignore_max_ulp): Likewise.
3499         (plus_zero): Likewise.
3500         (minus_zero): Likewise.
3501         (plus_infty): Likewise.
3502         (minus_infty): Likewise.
3503         (qnan_value_pl): Likewise.
3504         (qnan_value): Likewise.
3505         (snan_value_pl): Likewise.
3506         (snan_value): Likewise.
3507         (max_value): Likewise.
3508         (min_value): Likewise.
3509         (min_subnorm_value): Likewise.
3510         (snan_value_ld): Likewise.
3511         (max_error): Likewise.
3512         (real_max_error): Likewise.
3513         (imag_max_error): Likewise.
3514         (prev_max_error): Likewise.
3515         (prev_real_max_error): Likewise.
3516         (prev_imag_max_error): Likewise.
3517         (max_valid_error): Likewise.
3518         (TYPE_DECIMAL_DIG): Likewise.
3519         (TYPE_HEX_DIG): Likewise.
3520         (fmt_ftostr): Likewise.
3521         (compare_ulp_data): Likewise.
3522         (find_ulps): Likewise.
3523         (init_max_error): Likewise.
3524         (set_max_error): Likewise.
3525         (print_float): Likewise.
3526         (print_screen): Likewise.
3527         (print_screen_max_error): Likewise.
3528         (update_stats): Likewise.
3529         (print_function_ulps): Likewise.
3530         (print_complex_function_ulps): Likewise.
3531         (fpstack_test): Likewise.
3532         (print_max_error): Likewise.
3533         (print_complex_max_error): Likewise.
3534         (test_single_exception): Likewise.
3535         (test_exceptions): Likewise.
3536         (test_single_errno): Likewise.
3537         (test_errno): Likewise.
3538         (ULPDIFF): Likewise.
3539         (ulp): Likewise.
3540         (check_float_internal): Likewise.
3541         (check_float): Likewise.
3542         (check_complex): Likewise.
3543         (check_int): Likewise.
3544         (check_long): Likewise.
3545         (check_bool): Likewise.
3546         (check_longlong): Likewise.
3547         (check_intmax_t): Likewise.
3548         (check_uintmax_t): Likewise.
3549         (enable_test): Likewise.
3550         (struct test_f_f_data): Likewise.
3551         (struct test_ff_f_data): Likewise.
3552         (struct test_fj_f_data): Likewise.
3553         (struct test_fi_f_data): Likewise.
3554         (struct test_fl_f_data): Likewise.
3555         (struct test_if_f_data): Likewise.
3556         (struct test_fff_f_data): Likewise.
3557         (struct test_fiu_M_data): Likewise.
3558         (struct test_fiu_U_data): Likewise.
3559         (struct test_c_f_data): Likewise.
3560         (struct test_f_f1_data): Likewise.
3561         (struct test_fF_f1_data): Likewise.
3562         (struct test_ffI_f1_data): Likewise.
3563         (struct test_c_c_data): Likewise.
3564         (struct test_cc_c_data): Likewise.
3565         (struct test_f_i_data): Likewise.
3566         (struct test_ff_i_data): Likewise.
3567         (struct test_f_l_data): Likewise.
3568         (struct test_f_L_data): Likewise.
3569         (struct test_fFF_11_data): Likewise.
3570         (struct test_Ff_b1_data): Likewise.
3571         (IF_ROUND_INIT_): Likewise.
3572         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3573         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3574         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3575         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3576         (ROUND_RESTORE_): Likewise.
3577         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3578         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3579         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3580         (ROUND_RESTORE_FE_UPWARD): Likewise.
3581         (RM_): Likewise.
3582         (RM_FE_DOWNWARD): Likewise.
3583         (RM_FE_TONEAREST): Likewise.
3584         (RM_FE_TOWARDZERO): Likewise.
3585         (RM_FE_UPWARD): Likewise.
3586         (COMMON_TEST_SETUP): Likewise.
3587         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3588         (COMMON_TEST_CLEANUP): Likewise.
3589         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3590         (RUN_TEST_f_f): Likewise.
3591         (RUN_TEST_LOOP_f_f): Likewise.
3592         (RUN_TEST_fp_f): Likewise.
3593         (RUN_TEST_LOOP_fp_f): Likewise.
3594         (RUN_TEST_2_f): Likewise.
3595         (RUN_TEST_LOOP_2_f): Likewise.
3596         (RUN_TEST_ff_f): Likewise.
3597         (RUN_TEST_LOOP_ff_f): Likewise.
3598         (RUN_TEST_LOOP_fj_f): Likewise.
3599         (RUN_TEST_fi_f): Likewise.
3600         (RUN_TEST_LOOP_fi_f): Likewise.
3601         (RUN_TEST_fl_f): Likewise.
3602         (RUN_TEST_LOOP_fl_f): Likewise.
3603         (RUN_TEST_if_f): Likewise.
3604         (RUN_TEST_LOOP_if_f): Likewise.
3605         (RUN_TEST_fff_f): Likewise.
3606         (RUN_TEST_LOOP_fff_f): Likewise.
3607         (RUN_TEST_fiu_M): Likewise.
3608         (RUN_TEST_LOOP_fiu_M): Likewise.
3609         (RUN_TEST_fiu_U): Likewise.
3610         (RUN_TEST_LOOP_fiu_U): Likewise.
3611         (RUN_TEST_c_f): Likewise.
3612         (RUN_TEST_LOOP_c_f): Likewise.
3613         (RUN_TEST_f_f1): Likewise.
3614         (RUN_TEST_LOOP_f_f1): Likewise.
3615         (RUN_TEST_fF_f1): Likewise.
3616         (RUN_TEST_LOOP_fF_f1): Likewise.
3617         (RUN_TEST_fI_f1): Likewise.
3618         (RUN_TEST_LOOP_fI_f1): Likewise.
3619         (RUN_TEST_ffI_f1_mod8): Likewise.
3620         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
3621         (RUN_TEST_Ff_b1): Likewise.
3622         (RUN_TEST_LOOP_Ff_b1): Likewise.
3623         (RUN_TEST_Ffp_b1): Likewise.
3624         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3625         (RUN_TEST_c_c): Likewise.
3626         (RUN_TEST_LOOP_c_c): Likewise.
3627         (RUN_TEST_cc_c): Likewise.
3628         (RUN_TEST_LOOP_cc_c): Likewise.
3629         (RUN_TEST_f_i): Likewise.
3630         (RUN_TEST_LOOP_f_i): Likewise.
3631         (RUN_TEST_f_i_tg): Likewise.
3632         (RUN_TEST_LOOP_f_i_tg): Likewise.
3633         (RUN_TEST_ff_b): Likewise.
3634         (RUN_TEST_LOOP_ff_b): Likewise.
3635         (RUN_TEST_ff_i_tg): Likewise.
3636         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3637         (RUN_TEST_f_b): Likewise.
3638         (RUN_TEST_LOOP_f_b): Likewise.
3639         (RUN_TEST_f_b_tg): Likewise.
3640         (RUN_TEST_LOOP_f_b_tg): Likewise.
3641         (RUN_TEST_f_l): Likewise.
3642         (RUN_TEST_LOOP_f_l): Likewise.
3643         (RUN_TEST_f_L): Likewise.
3644         (RUN_TEST_LOOP_f_L): Likewise.
3645         (RUN_TEST_fFF_11): Likewise.
3646         (RUN_TEST_LOOP_fFF_11): Likewise.
3647         (VEC_SUFF): Likewise.
3648         (STR_CONCAT): Likewise.
3649         (STR_CON3): Likewise.
3650         (HAVE_VECTOR): Likewise.
3651         (START): Likewise.
3652         (END): Likewise.
3653         (END_COMPLEX): Likewise.
3654         (ALL_RM_TEST): Likewise.
3655         (matherr): Likewise.
3656         (initialize): Likewise.
3657         (options): Likewise.
3658         (doc): Likewise.
3659         (parse_opt): Likewise.
3660         (argp): Likewise.
3661         (check_ulp): Likewise.
3662         (main): Likewise.
3663         (do_test): New function.  Call tests of individual functions
3664         previously called from main.
3666         * math/libm-test.inc: Remove comment listing functions tested and
3667         not tested.
3669 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3671         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
3672         (allocate_stack): Remove COLORING_INCREMENT usage.
3673         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
3674         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
3676 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3678         * manual/libm-err-tab.pl (@all_functions): Change to
3679         %all_functions.  Initialize as empty.
3680         (parse_ulps): Add to %all_functions based on functions found in
3681         ulps files.  Ignore results for non-default rounding modes and
3682         vector functions.
3683         (print_platforms): Use %all_platforms.
3684         * manual/math.texi (Errors in Math Functions): Document omissions
3685         from the table.
3687         * math/Makefile (before-compile): Remove.
3689 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
3691         [BZ #21075]
3692         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
3693         unused assignment.
3694         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3696 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3698         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
3699         Add __glibc_unlikely hint.
3701 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3703         [BZ #16640]
3704         * sysdeps/i386/i686/strtok.S: Remove file.
3705         * sysdeps/i386/i686/strtok_r.S: Likewise.
3706         * sysdeps/i386/strtok.S: Likewise.
3707         * sysdeps/i386/strtok_r.S: Likewise.
3708         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
3709         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
3710         * sysdeps/x86_64/strtok.S: Likewise.
3711         * sysdeps/x86_64/strtok_r.S: Likewise.
3713         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
3714         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
3715         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3716         (__ASSUME_FADVISE64_AS_64_64): Define.
3717         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
3718         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
3719         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
3720         __ALIGNMENT_ARG usage.
3721         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
3722         __NR_fadvise64_64 if it is not defined.
3724 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3726         * version.h (RELEASE): Set to "development"
3727         (VERSION): Set to 2.25.90.
3728         * NEWS: Add 2.26 section.
3730         * version.h (RELEASE): Set to "stable"
3731         (VERSION): Set to 2.25.
3732         * include/features.h (__GLIBC_MINOR__): Set to 25.
3734         * manual/contrib.texi: Add more contributors from this release
3735         and past releases.
3737         * NEWS (2.25): Add list of bugs fixed.
3739         * NEWS: Add missing news items.
3741 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3743         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
3744         parent if child exited in that manner.  Print WEXITSTATUS
3745         instead of the raw status.
3746         (do_test_prep): Rename to do_test.
3747         (do_test): Return the result of run_executable_sgid.
3748         (TEST_FUNCTION_ARGV): Adjust.
3750 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
3751             Florian Weimer  <fweimer@redhat.com>
3752             Carlos O'Donell  <carlos@redhat.com>
3754         [BZ #20915]
3755         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
3756         Do not initialize DTV.
3757         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3759 2017-02-03  David S. Miller  <davem@davemloft.net>
3761         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
3762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
3763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
3764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
3765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
3766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
3767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
3768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
3769         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3770         (libm-sysdep_routines): Update.
3771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
3772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
3773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
3775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3776         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
3777         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
3778         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
3779         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
3780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
3781         Likewise.
3782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
3784         Likewise.
3785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
3786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
3787         Likewise.
3788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
3790         Likewise.
3791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
3792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3793         (libm-sysdep_routines): Update.
3795 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
3797         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
3798         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
3799         against unrelocated shared library.
3800         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3802 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3804         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
3805         * elf/tst-env-setuid-tunables.c
3806         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
3807         GLIBC_TUNABLES is removed in a setgid process.
3809         [BZ #21073]
3810         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
3811         * elf/dl-tunables.c (tunables_strdup): Remove.
3812         (get_next_env): Also return the previous envp.
3813         (parse_tunables): Erase tunables of category
3814         TUNABLES_SECLEVEL_SXID_ERASE.
3815         (maybe_enable_malloc_check): Make MALLOC_CHECK_
3816         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
3817         (__tunables_init)[TUNABLES_FRONTEND ==
3818         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
3819         after parsing.
3820         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
3821         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
3822         * elf/dl-tunables.h (struct _tunable): Change member is_secure
3823         to security_level.
3824         * elf/dl-tunables.list: Add security_level annotations for all
3825         tunables.
3826         * scripts/gen-tunables.awk: Recognize and generate enum values
3827         for security_level.
3828         * elf/tst-env-setuid.c: New test case.
3829         * elf/tst-env-setuid-tunables: new test case.
3830         * elf/Makefile (tests-static): Add them.
3832 2017-02-01  Richard Henderson  <rth@twiddle.net>
3834         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
3835         adjusting the byte count.
3837 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
3839         * conform/Makefile (linknamespace-libs): Define.
3841         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
3842         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
3843         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
3844         operands.
3846 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
3848         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
3850 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
3852         [BZ #21081]
3853         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3854         (L(stosb)): Add VZEROUPPER before ret.
3856 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
3857             Alexey Makhalov <amakhalov@vmware.com>
3858             Florian Weimer <fweimer@redhat.com>
3860         [BZ #20116]
3861         * nptl/pthread_create.c: Document concurrency notes.
3862         Enhance thread creation notes.
3863         (create_thread): Use bool *stopped_start.
3864         (START_THREAD_DEFN): Comment ownership of PD.
3865         (__pthread_create_2_1): Add local bool stopped_start and use
3866         that instead of pd->stopped_start where appropriate.
3867         * nptl/createthread.c (create_thread): Use bool *stopped_start.
3868         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
3869         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3870         * nptl/tst-create-detached.c: New file.
3871         * nptl/Makefile (tests): Add tst-create-detached.
3872         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
3873         Reference the enhanced thread creation notes.
3874         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
3875         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
3876         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
3877         (__pthread_current_priority): Likewise.
3878         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
3879         xpthread_attr_init, xpthread_attr_setdetachstate, and
3880         xpthread_attr_setstacksize.
3881         * support/xpthread_attr_destroy.c: New file.
3882         * support/xpthread_attr_init.c: New file.
3883         * support/xpthread_attr_setdetachstate.c: New file.
3884         * support/xpthread_attr_setstacksize.c: New file.
3885         * support/xthread.h: Define prototypes for xpthread_attr_destroy
3886         xpthread_attr_init, xpthread_attr_setdetachstate, and
3887         xpthread_attr_setstacksize.
3889 2017-01-27  Florian Weimer  <fweimer@redhat.com>
3891         * nptl/Makefile (tests): Add tst-robust-fork.
3892         * nptl/tst-robust-fork.c: New file.
3893         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
3894         xpthread_mutex_consistent, xpthread_mutex_destroy,
3895         xpthread_mutex_init, xpthread_mutexattr_destroy,
3896         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
3897         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
3898         xpthread_mutexattr_settype.
3899         * support/xmmap.c: New file.
3900         * support/xmunmap.c: Likewise.
3901         * support/xpthread_mutex_consistent.c: Likewise.
3902         * support/xpthread_mutex_destroy.c: Likewise.
3903         * support/xpthread_mutex_init.c: Likewise.
3904         * support/xpthread_mutexattr_destroy.c: Likewise.
3905         * support/xpthread_mutexattr_init.c: Likewise.
3906         * support/xpthread_mutexattr_setprotocol.c: Likewise.
3907         * support/xpthread_mutexattr_setpshared.c: Likewise.
3908         * support/xpthread_mutexattr_setrobust.c: Likewise.
3909         * support/xpthread_mutexattr_settype.c: Likewise.
3910         * support/xthread.h (xpthread_mutexattr_destroy)
3911         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
3912         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
3913         (xpthread_mutexattr_settype, xpthread_mutex_init)
3914         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
3915         * support/xunistd.h (xmmap, xmunmap): Likewise.
3917 2017-01-25  Florian Weimer  <fweimer@redhat.com>
3919         * string/Makefile (xtests): Add comment.
3920         (LOCALES): Add en_GB.UTF-8.
3921         (tst-strcoll-overflow.out): Depend on generated locales.
3922         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
3923         (SIZE, TIMEOUT): Update comments.
3924         (do_test): Define as static.  Fail test if setlocale fails.
3925         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
3926         messages.
3927         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
3928         TIMEOUT at 300 seconds should be enough to run this test
3929         successfully.
3931 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3933         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
3934         /* FALLTHRU */ comments.
3936 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
3938         [BZ #21053]
3939         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
3940         constants instead of the old R* ones.
3941         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
3942         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
3943         (NGREG): ... to this, to fit in with other architectures.
3944         (gpregset_t): Use new NGREG macro.
3945         [__USE_GNU]: Remove condition; all architectures other than tile
3946         are unconditional.
3947         (R*): Rename to REG_R*.
3949 2017-01-20  DJ Delorie  <dj@redhat.com>
3951         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3952         (tunable_set_val_if_valid_range_signed) ... this, and ...
3953         (tunable_set_val_if_valid_range_unsigned) ... this.
3954         (tunable_initialize): Call the correct one of the above based on type.
3956 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3958         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3959         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3960         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3961         * sysdeps/microblaze/libm-test-ulps: Likewise.
3962         * sysdeps/sh/libm-test-ulps: Likewise.
3964         * math/README.libm-test: Update list of characters for input and
3965         output types.
3967 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3969         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3970         (__lll_unlock_elision): Fix adapt_count decrement.
3972 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3974         * README.pretty-printers (Known issues): Warn about printers not
3975         always covering everything.
3976         * nptl/nptl-printers.py (MutexPrinter): Change output.
3977         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3979 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3981         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3982         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3983         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3984         (__lll_lock_elision): Do not test futex before starting a
3985         transaction.  Use __glibc_likely instead of __builtin_expect.
3986         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3987         (__lll_trylock_elision): Do not test futex before starting a
3988         transaction.  Use __glibc_likely instead of __builtin_expect.
3990 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3992         * po/Makefile (update-translations): New target.
3994 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3996         [BZ #21061]
3997         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3999 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4001         * elf/dl-tunables (get_next_env): Always advance envp.
4002         * stdlib/tst-empty-env.c: New test case.
4003         * stdlib/Makefile (tests): Use it.
4005 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4007         [BZ #21047]
4008         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4009         name for instruction.
4010         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4012 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4014         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4015         for make install.
4017 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4019         * po/bg.po: Merge from Translation Project.
4020         * po/fr.po: Likewise.
4021         * po/ko.po: Likewise.
4022         * po/nl.po: Likewise.
4023         * po/sv.po: Likewise.
4025 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4027         * manual/install.texi (Tools for Compilation): Update GCC version
4028         known to work to build glibc.
4029         * INSTALL: Regenerated.
4031 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4033         [BZ #21006]
4034         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4036 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4038         [BZ #21045]
4039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4040         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4041         to __sigprocmask.
4043 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4045         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4046         wrap-around.
4047         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4049         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4051 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4053         * NEWS: Fix typo.
4055 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4057         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4058         barriers and comments.
4059         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4060         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4061         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4063 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4065         [BZ #19402]
4066         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4067         mutexes.
4069 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4071         [BZ #20985]
4072         * nptl/Makefile: Adapt.
4073         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4074         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4075         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4076         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4077         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4078         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4079         lll_robust* functions and adapt.
4080         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4081         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4082         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4083         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4084         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4085         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4086         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4087         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4088         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4089         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4090         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4091         * nptl/lowlevelrobustlock.c: Remove file.
4092         * nptl/lowlevelrobustlock.sym: Likewise.
4093         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4094         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4096 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4098         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4100 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4102         * po/cs.po: Merge translations from the Translation Project.
4103         * po/de.po: Likewise.
4104         * po/pl.po: Likewise.
4105         * po/ru.po: Likewise.
4106         * po/tr.po: Likewise.
4107         * po/uk.po: Likewise.
4108         * po/vi.po: Likewise.
4109         * po/zh_CN.po: Likewise.
4111 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4113         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4115         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4116         object.
4118 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4120         [BZ #16458]
4121         * bits/uintn-identity.h: New file.
4122         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4123         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4124         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4125         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4126         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4127         * string/endian.h: Include <bits/uintn-identity.h>.
4128         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4129         __uint16_identity.
4130         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4131         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4132         __uint32_identity.
4133         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4134         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4135         __uint64_identity.
4136         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4137         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4138         __uint16_identity.
4139         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4140         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4141         __uint32_identity.
4142         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4143         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4144         __uint64_identity.
4145         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4146         * string/Makefile (headers): Add bits/uintn-identity.h.
4147         (tests): Add test-endian-types.
4148         * string/test-endian-types.c: New file.
4149         * inet/Makefile (tests): Add test-hnto-types.
4150         * inet/test-hnto-types.c: New file.
4152 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4154         * po/be.po: Update from Translation Project.
4155         * po/bg.po: Likewise.
4156         * po/ca.po: Likewise.
4157         * po/cs.po: Likewise.
4158         * po/da.po: Likewise.
4159         * po/de.po: Likewise.
4160         * po/el.po: Likewise.
4161         * po/eo.po: Likewise.
4162         * po/es.po: Likewise.
4163         * po/fi.po: Likewise.
4164         * po/fr.po: Likewise.
4165         * po/gl.po: Likewise.
4166         * po/hr.po: Likewise.
4167         * po/hu.po: Likewise.
4168         * po/ia.po: Likewise.
4169         * po/id.po: Likewise.
4170         * po/it.po: Likewise.
4171         * po/ja.po: Likewise.
4172         * po/ko.po: Likewise.
4173         * po/lt.po: Likewise.
4174         * po/nb.po: Likewise.
4175         * po/nl.po: Likewise.
4176         * po/pl.po: Likewise.
4177         * po/pt_BR.po: Likewise.
4178         * po/ru.po: Likewise.
4179         * po/rw.po: Likewise.
4180         * po/sk.po: Likewise.
4181         * po/sl.po: Likewise.
4182         * po/sv.po: Likewise.
4183         * po/tr.po: Likewise.
4184         * po/uk.po: Likewise.
4185         * po/vi.po: Likewise.
4186         * po/zh_CN.po: Likewise.
4187         * po/zh_TW.po: Likewise.
4189 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4191         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4192         -Wformat-truncation instead of -Wformat-length.
4193         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4194         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4195         GCC 7.
4196         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4197         (do_test): Ignore -Wformat-truncation for GCC 7.
4199         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4200         buffer used to print long int value.
4202         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4203         one byte.  Print it with %ld, cast to long int.
4205 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4207         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4208         (re.fullmatch, subprocess.run): Likewise.
4210 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4212         * po/libc.pot: Regenerate.
4214 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4216         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4217         (min_strlen): Likewise.
4218         (disable_tunable): Likewise.
4219         (maybe_disable_malloc_check): Rename to
4220         maybe_enable_malloc_check.
4221         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4222         if /etc/suid-debug file exists.
4223         (__tunables_init): Update caller.
4224         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
4225         secure.
4227 2016-01-10  Torvald Riegel  <triegel@redhat.com>
4229         * nptl/DESIGN-rwlock.txt: Remove.
4230         * nptl/lowlevelrwlock.sym: Remove.
4231         * nptl/Makefile: Add new tests.
4232         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
4233         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
4234         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
4235         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
4236         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
4237         PTHREAD_RWLOCK_FUTEX_USED): New.
4238         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
4239         implementation.
4240         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
4241         (__pthread_rwlock_rdlock): Adapt.
4242         * nptl/pthread_rwlock_timedrdlock.c
4243         (pthread_rwlock_timedrdlock): Adapt.
4244         * nptl/pthread_rwlock_timedwrlock.c
4245         (pthread_rwlock_timedwrlock): Adapt.
4246         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
4247         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
4248         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
4249         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
4250         (__pthread_rwlock_wrlock): Adapt.
4251         * nptl/tst-rwlock10.c: Adapt.
4252         * nptl/tst-rwlock11.c: Adapt.
4253         * nptl/tst-rwlock17.c: New file.
4254         * nptl/tst-rwlock18.c: New file.
4255         * nptl/tst-rwlock19.c: New file.
4256         * nptl/tst-rwlock2b.c: New file.
4257         * nptl/tst-rwlock8.c: Adapt.
4258         * nptl/tst-rwlock9.c: Adapt.
4259         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4260         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4261         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4262         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4263         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4264         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4265         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4266         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4267         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4268         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4269         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4270         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4271         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4272         (pthread_rwlock_t): Adapt.
4273         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4274         (pthread_rwlock_t): Adapt.
4275         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
4276         * nptl/nptl-printers.py (): Adapt.
4277         * nptl/nptl_lock_constants.pysym: Adapt.
4278         * nptl/test-rwlock-printers.py: Adapt.
4279         * nptl/test-rwlockattr-printers.c: Adapt.
4280         * nptl/test-rwlockattr-printers.py: Adapt.
4282 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
4284         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
4285         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
4286         (fma_test_data): Likewise.
4287         (hypot_test_data): Likewise.
4288         (log1p_test_data): Likewise.
4289         (modf_test_data): Likewise.
4290         (pow_test_data): Likewise.
4291         (remainder_test_data): Likewise.
4292         (remquo_test_data): Likewise.
4293         (scalb_test_data): Likewise.
4294         (scalbn_test_data): Likewise.
4295         (scalbln_test_data): Likewise.
4296         * math/gen-libm-test.pl (parse_args): Transform
4297         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
4298         on the rounding mode.
4300 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
4302         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4303         xfail-rounding:ibm128-libgcc automatically to tests overflowing
4304         and those that can underflow to zero.
4305         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
4306         add others.
4307         * math/auto-libm-test-out: Regenerated.
4309         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
4310         supported.
4311         (feholdexcept_tests): Skip tests requiring exceptions or rounding
4312         modes support if not supported.
4314         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
4315         Add libc.so PLT entry.
4316         (__tls_get_addr): Make ld.so PLT entry optional.
4318 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4320         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
4321         * string/bits/string3.h: ... here.
4323 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4325         [BZ #21028]
4326         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
4327         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
4328         if EXCEPTION_TESTS returns false.
4330 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4332         [BZ #20558]
4333         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
4334         strings_fortified.h.
4335         [__USE_MISC] (bzero): Likewise.
4336         [__USE_MISC] (explicit_bzero): Likewise.
4337         * string/strings.h: Include strings_fortified.h.
4338         * string/Makefile (headers): Add strings_fortified.h.
4339         * string/bits/strings_fortified.h: New file.
4340         * include/bits/strings_fortified.h: Likewise.
4342 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
4344         * elf/tst-tls13.c (TIMEOUT): Remove.
4345         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
4346         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
4347         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
4348         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
4349         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
4351         [BZ #21026]
4352         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
4353         (readahead): New syscall entry.
4355 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4357         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
4358         around tests of strncat with large sizes.
4360         * malloc/tst-malloc.c: Include <libc-internal.h>.
4361         (do_test): Disable -Walloc-size-larger-than= around tests of
4362         malloc with negative sizes.
4363         * malloc/tst-mcheck.c: Include <libc-internal.h>.
4364         (do_test): Disable -Walloc-size-larger-than= around tests of
4365         malloc and realloc with negative sizes.
4366         * malloc/tst-realloc.c: Include <libc-internal.h>.
4367         (do_test): Disable -Walloc-size-larger-than= around tests of
4368         realloc with negative sizes.
4370         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
4371         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
4372         allowed to 16 ulps.
4373         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
4374         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
4375         * math/auto-libm-test-out: Regenerated.
4377 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4379         * math/Makefile (libm-calls): Move wrappers...
4380         (libm-compat-call-auto): Here.
4381         (libm-routines): Add items in libm-compat-calls-auto.
4382         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
4383         the filenames of the wrappers that have been renamed.
4384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
4385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4387         * math/w_acos.c: Add _compat suffix to filename.
4388         * math/w_acosf.c: Likewise.
4389         * math/w_acosh.c: Likewise.
4390         * math/w_acoshf.c: Likewise.
4391         * math/w_acoshl.c: Likewise.
4392         * math/w_acosl.c: Likewise.
4393         * math/w_asin.c: Likewise.
4394         * math/w_asinf.c: Likewise.
4395         * math/w_asinl.c: Likewise.
4396         * math/w_atan2.c: Likewise.
4397         * math/w_atan2f.c: Likewise.
4398         * math/w_atan2l.c: Likewise.
4399         * math/w_atanh.c: Likewise.
4400         * math/w_atanhf.c: Likewise.
4401         * math/w_atanhl.c: Likewise.
4402         * math/w_cosh.c: Likewise.
4403         * math/w_coshf.c: Likewise.
4404         * math/w_coshl.c: Likewise.
4405         * math/w_exp10.c: Likewise.
4406         * math/w_exp10f.c: Likewise.
4407         * math/w_exp10l.c: Likewise.
4408         * math/w_exp2.c: Likewise.
4409         * math/w_exp2f.c: Likewise.
4410         * math/w_exp2l.c: Likewise.
4411         * math/w_fmod.c: Likewise.
4412         * math/w_fmodf.c: Likewise.
4413         * math/w_fmodl.c: Likewise.
4414         * math/w_hypot.c: Likewise.
4415         * math/w_hypotf.c: Likewise.
4416         * math/w_hypotl.c: Likewise.
4417         * math/w_j0.c: Likewise.
4418         * math/w_j0f.c: Likewise.
4419         * math/w_j0l.c: Likewise.
4420         * math/w_j1.c: Likewise.
4421         * math/w_j1f.c: Likewise.
4422         * math/w_j1l.c: Likewise.
4423         * math/w_jn.c: Likewise.
4424         * math/w_jnf.c: Likewise.
4425         * math/w_jnl.c: Likewise.
4426         * math/w_log10.c: Likewise.
4427         * math/w_log10f.c: Likewise.
4428         * math/w_log10l.c: Likewise.
4429         * math/w_log2.c: Likewise.
4430         * math/w_log2f.c: Likewise.
4431         * math/w_log2l.c: Likewise.
4432         * math/w_log.c: Likewise.
4433         * math/w_logf.c: Likewise.
4434         * math/w_logl.c: Likewise.
4435         * math/w_pow.c: Likewise.
4436         * math/w_powf.c: Likewise.
4437         * math/w_powl.c: Likewise.
4438         * math/w_remainder.c: Likewise.
4439         * math/w_remainderf.c: Likewise.
4440         * math/w_remainderl.c: Likewise.
4441         * math/w_scalb.c: Likewise.
4442         * math/w_scalbf.c: Likewise.
4443         * math/w_scalbl.c: Likewise.
4444         * math/w_sinh.c: Likewise.
4445         * math/w_sinhf.c: Likewise.
4446         * math/w_sinhl.c: Likewise.
4447         * math/w_sqrt.c: Likewise.
4448         * math/w_sqrtf.c: Likewise.
4449         * math/w_sqrtl.c: Likewise.
4450         * math/w_tgamma.c: Likewise.
4451         * math/w_tgammaf.c: Likewise.
4452         * math/w_tgammal.c: Likewise.
4454         * math/w_acos_compat.c: New file copied from above and
4455         adjusted for new #includes path
4456         * math/w_acosf_compat.c: Likewise.
4457         * math/w_acosh_compat.c: Likewise.
4458         * math/w_acoshf_compat.c: Likewise.
4459         * math/w_acoshl_compat.c: Likewise.
4460         * math/w_acosl_compat.c: Likewise.
4461         * math/w_asin_compat.c: Likewise.
4462         * math/w_asinf_compat.c: Likewise.
4463         * math/w_asinl_compat.c: Likewise.
4464         * math/w_atan2_compat.c: Likewise.
4465         * math/w_atan2f_compat.c: Likewise.
4466         * math/w_atan2l_compat.c: Likewise.
4467         * math/w_atanh_compat.c: Likewise.
4468         * math/w_atanhf_compat.c: Likewise.
4469         * math/w_atanhl_compat.c: Likewise.
4470         * math/w_cosh_compat.c: Likewise.
4471         * math/w_coshf_compat.c: Likewise.
4472         * math/w_coshl_compat.c: Likewise.
4473         * math/w_exp10_compat.c: Likewise.
4474         * math/w_exp10f_compat.c: Likewise.
4475         * math/w_exp10l_compat.c: Likewise.
4476         * math/w_exp2_compat.c: Likewise.
4477         * math/w_exp2f_compat.c: Likewise.
4478         * math/w_exp2l_compat.c: Likewise.
4479         * math/w_fmod_compat.c: Likewise.
4480         * math/w_fmodf_compat.c: Likewise.
4481         * math/w_fmodl_compat.c: Likewise.
4482         * math/w_hypot_compat.c: Likewise.
4483         * math/w_hypotf_compat.c: Likewise.
4484         * math/w_hypotl_compat.c: Likewise.
4485         * math/w_j0_compat.c: Likewise.
4486         * math/w_j0f_compat.c: Likewise.
4487         * math/w_j0l_compat.c: Likewise.
4488         * math/w_j1_compat.c: Likewise.
4489         * math/w_j1f_compat.c: Likewise.
4490         * math/w_j1l_compat.c: Likewise.
4491         * math/w_jn_compat.c: Likewise.
4492         * math/w_jnf_compat.c: Likewise.
4493         * math/w_jnl_compat.c: Likewise.
4494         * math/w_log10_compat.c: Likewise.
4495         * math/w_log10f_compat.c: Likewise.
4496         * math/w_log10l_compat.c: Likewise.
4497         * math/w_log2_compat.c: Likewise.
4498         * math/w_log2f_compat.c: Likewise.
4499         * math/w_log2l_compat.c: Likewise.
4500         * math/w_log_compat.c: Likewise.
4501         * math/w_logf_compat.c: Likewise.
4502         * math/w_logl_compat.c: Likewise.
4503         * math/w_pow_compat.c: Likewise.
4504         * math/w_powf_compat.c: Likewise.
4505         * math/w_powl_compat.c: Likewise.
4506         * math/w_remainder_compat.c: Likewise.
4507         * math/w_remainderf_compat.c: Likewise.
4508         * math/w_remainderl_compat.c: Likewise.
4509         * math/w_scalb_compat.c: Likewise.
4510         * math/w_scalbf_compat.c: Likewise.
4511         * math/w_scalbl_compat.c: Likewise.
4512         * math/w_sinh_compat.c: Likewise.
4513         * math/w_sinhf_compat.c: Likewise.
4514         * math/w_sinhl_compat.c: Likewise.
4515         * math/w_sqrt_compat.c: Likewise.
4516         * math/w_sqrtf_compat.c: Likewise.
4517         * math/w_sqrtl_compat.c: Likewise.
4518         * math/w_tgamma_compat.c: Likewise.
4519         * math/w_tgammaf_compat.c: Likewise.
4520         * math/w_tgammal_compat.c: Likewise.
4522         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
4523         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
4524         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
4525         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
4526         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
4527         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
4528         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
4529         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
4530         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
4531         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
4532         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
4533         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
4534         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
4535         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
4536         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
4537         * sysdeps/ia64/fpu/w_powl.c: Likewise.
4538         * sysdeps/ia64/fpu/w_powf.c: Likewise.
4539         * sysdeps/ia64/fpu/w_pow.c: Likewise.
4540         * sysdeps/ia64/fpu/w_logl.c: Likewise.
4541         * sysdeps/ia64/fpu/w_logf.c: Likewise.
4542         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
4543         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
4544         * sysdeps/ia64/fpu/w_log2.c: Likewise.
4545         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
4546         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
4547         * sysdeps/ia64/fpu/w_log10.c: Likewise.
4548         * sysdeps/ia64/fpu/w_log.c: Likewise.
4549         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
4550         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
4551         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
4552         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
4553         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
4554         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
4555         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
4556         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
4557         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
4558         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
4559         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
4560         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
4561         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
4562         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
4563         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
4564         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
4565         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
4566         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
4567         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
4568         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
4569         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
4570         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
4571         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
4572         * sysdeps/ia64/fpu/w_asin.c: Likewise.
4573         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
4574         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
4575         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
4576         * sysdeps/ia64/fpu/w_acos.c: Likewise.
4577         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
4578         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
4579         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
4580         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
4581         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
4582         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
4583         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
4584         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
4585         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
4586         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
4587         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
4588         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
4589         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
4590         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
4591         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
4592         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
4593         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
4594         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
4595         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
4596         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
4597         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
4598         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
4599         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
4600         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
4601         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
4602         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
4603         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
4604         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
4605         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
4606         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
4607         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
4608         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
4609         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
4610         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
4611         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
4612         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
4613         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
4614         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
4615         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
4616         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
4617         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
4618         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
4619         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
4620         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
4621         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
4622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
4623         Likewise.
4624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
4625         Likewise.
4626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
4627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
4628         Likewise.
4629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
4630         Likewise.
4631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
4632         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4633         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4634         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4635         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4636         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4637         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
4639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
4641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4642         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4643         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4644         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4645         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4647         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
4648         and adjusted for new #includes path
4649         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
4650         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
4651         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
4652         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
4653         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
4654         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
4655         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
4656         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
4657         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
4658         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
4659         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
4660         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
4661         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
4662         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
4663         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
4664         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
4665         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
4666         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
4667         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
4668         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
4669         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
4670         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
4671         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
4672         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
4673         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
4674         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
4675         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
4676         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
4677         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
4678         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
4679         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
4680         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
4681         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
4682         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
4683         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
4684         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
4685         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
4686         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
4687         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
4688         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
4689         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
4690         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
4691         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
4692         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
4693         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
4694         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
4695         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
4696         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
4697         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
4698         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
4699         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
4700         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
4701         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
4702         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
4703         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
4704         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
4705         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
4706         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
4707         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
4708         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
4709         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
4710         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
4711         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
4712         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
4713         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
4714         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
4715         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
4716         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
4717         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
4718         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
4719         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
4720         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
4721         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
4722         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
4723         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
4724         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
4725         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
4726         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
4727         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
4728         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
4729         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
4730         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
4731         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
4732         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
4733         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
4734         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
4735         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
4736         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
4737         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
4738         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
4739         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
4740         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
4741         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
4742         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
4743         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
4744         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
4745         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
4746         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
4747         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
4748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
4749         Likewise.
4750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
4751         Likewise.
4752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
4753         Likewise.
4754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
4755         Likewise.
4756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
4757         Likewise.
4758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
4759         Likewise.
4760         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
4761         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
4762         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
4763         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
4764         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
4765         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
4766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
4767         Likewise.
4768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
4769         Likewise.
4770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
4771         Likewise.
4772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
4773         Likewise.
4774         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
4775         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
4776         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
4777         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
4779 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
4781         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
4782         __jmp_buf_internal_tag.
4784         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
4785         preserve NaN payload if [__mips_nan2008].
4786         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
4788         [BZ #21022]
4789         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
4791 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4793         * sysdeps/i386/fpu/libm-test-ulps: Update.
4795 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4797         * sysdeps/ia64/strcat.c: Remove file.
4798         * sysdeps/powerpc/strcat.c: Likewise.
4799         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
4800         C implementation.
4801         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
4802         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
4804 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4805             Steven Munroe  <sjmunroe@us.ibm.com>
4806             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4808         [BZ #20822]
4809         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4810         (__lll_lock_elision): Access adapt_count via C11 atomics.
4811         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
4812         (__lll_trylock_elision): Likewise.
4813         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4814         (__lll_unlock_elision):  Update adapt_count variable inside the
4815         critical section using C11 atomics.
4817 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4819         * math/test-fenvinline.c (do_test): Disable tests of raised
4820         exceptions if !EXCEPTION_TESTS (FLOAT).
4822 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4824         [BZ #19390]
4825         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
4826         maximum string size.
4827         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
4828         in pointer addition.
4829         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
4830         Likewise.
4832 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
4834         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
4835         passed to tst-ldconfig-X.sh.
4837 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
4839         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
4841 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4843         [BZ #21019]
4844         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
4845         New syscall entry.
4846         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
4847         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
4848         lseek.
4850         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
4851         power4 glibc for powerpc-linux-gnu.
4853 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4855         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
4856         semctl.
4858 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4860         * math/test-nearbyint-except.c: Include <stdbool.h>.
4861         (any_supported): New variable.
4862         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
4863         set any_supported.
4864         (do_test): Return 77 if no floating-point type supported
4865         exceptions.
4867         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
4868         condition on [__mips_hard_float].
4870 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4872         [BZ #21014]
4873         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
4874         in pointer addition.
4875         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
4877 2017-01-02  Torvald Riegel  <triegel@redhat.com>
4879         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
4880         new condvar.
4882 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
4884         * scripts/build-many-glibcs.py (Context.checkout): Default
4885         binutils version to 2.28 branch.
4887 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4889         * support/support_format_netent.c (support_format_netent): Work
4890         around alpha struct netent definition difference.
4892 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4894         * support/xwrite.c (xwrite): Use %td for pointer difference.
4896 2017-01-01  Florian Weimer  <fweimer@redhat.com>
4898         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
4899         have-tunables only.
4900         (tests-static): Add tst-malloc-usable-static-tunables for
4901         have-tunables only.
4903 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
4905         * scripts/config.guess: Update to version 2017-01-01.
4906         * scripts/config.sub: Update to version 2017-01-01.
4908         * NEWS: Update copyright dates.
4909         * catgets/gencat.c (print_version): Likewise.
4910         * csu/version.c (banner): Likewise.
4911         * debug/catchsegv.sh: Likewise.
4912         * debug/pcprofiledump.c (print_version): Likewise.
4913         * debug/xtrace.sh (do_version): Likewise.
4914         * elf/ldconfig.c (print_version): Likewise.
4915         * elf/ldd.bash.in: Likewise.
4916         * elf/pldd.c (print_version): Likewise.
4917         * elf/sotruss.sh: Likewise.
4918         * elf/sprof.c (print_version): Likewise.
4919         * iconv/iconv_prog.c (print_version): Likewise.
4920         * iconv/iconvconfig.c (print_version): Likewise.
4921         * locale/programs/locale.c (print_version): Likewise.
4922         * locale/programs/localedef.c (print_version): Likewise.
4923         * login/programs/pt_chown.c (print_version): Likewise.
4924         * malloc/memusage.sh (do_version): Likewise.
4925         * malloc/memusagestat.c (print_version): Likewise.
4926         * malloc/mtrace.pl: Likewise.
4927         * manual/libc.texinfo: Likewise.
4928         * nptl/version.c (banner): Likewise.
4929         * nscd/nscd.c (print_version): Likewise.
4930         * nss/getent.c (print_version): Likewise.
4931         * nss/makedb.c (print_version): Likewise.
4932         * posix/getconf.c (main): Likewise.
4933         * scripts/test-installation.pl: Likewise.
4934         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4936         * All files with FSF copyright notices: Update copyright dates
4937         using scripts/update-copyrights.
4938         * intl/plural.c: Regenerated.
4939         * locale/programs/charmap-kw.h: Likewise.
4940         * locale/programs/locfile-kw.h: Likewise.
4942 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4944         [BZ #20593]
4945         Update DNS RR type definitions.
4946         * scripts/gen-rrtypes.py: New file.
4947         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4948         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
4949         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4950         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4951         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4952         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4953         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4954         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4955         ns_t_ta, ns_t_dlv.
4956         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4957         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4958         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4959         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4960         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4961         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4962         Define.
4963         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4964         entry for ns_t_zxfr.
4966 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4968         [BZ #18784]
4969         CVE-2015-5180
4970         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4971         T_UNSPEC.  Adjust value.
4972         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4973         * resolv/res_query.c (__libc_res_nquery): Likewise.
4974         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4975         QTYPEs.
4976         * resolv/tst-resolv-qtypes.c: New file.
4977         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4978         (tst-resolv-qtypes): Link against libresolv and libpthread.
4980 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4982         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4984 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4986         * manual/tunables.texi: New chapter.
4987         * manual/Makefile (chapters): Add it.
4988         * manual/probes.texi (@node): Point to the Tunables chapter.
4990         * Makeconfig (have-tunables): Check for non-negative instead
4991         of positive.
4992         * configure.ac: Add 'valstring' as a valid value for
4993         --enable-tunables.
4994         * configure: Regenerate.
4995         * elf/Makefile (have-tunables): Check for non-negative instead
4996         of positive.
4997         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4998         dl-tunables.c.
4999         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5000         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5001         (tunables_strdup): Likewise.
5002         (disable_tunables): Likewise.
5003         (parse_tunables): Likewise.
5004         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5005         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5006         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5007         (TUNABLES_FRONTEND_yes): New macro, define as
5008         TUNABLES_FRONTEND_valstring by default.
5009         * manual/install.texi: Document new acceptable values for
5010         --enable-tunables.
5011         * INSTALL: Regenerate.
5013         * config.make.in (have-loop-to-function): Define.
5014         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5015         -fno-tree-loop-distribute-patterns.
5016         * elf/dl-tunables.c: Include libc-internals.h.
5017         (GLIBC_TUNABLES): New macro.
5018         (tunables_strdup): New function.
5019         (parse_tunables): New function.
5020         (min_strlen): New function.
5021         (__tunables_init): Use the new functions and macro.
5022         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5023         * malloc/tst-malloc-usable-tunables.c: New test case.
5024         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5025         * malloc/Makefile (tests, tests-static): Add tests.
5027         * manual/install.texi: Add --enable-tunables option.
5028         * INSTALL: Regenerate.
5029         * README.tunables: New file.
5030         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5031         (before-compile): Generate dl-tunable-list.h early.
5032         * config.h.in: Add HAVE_TUNABLES.
5033         * config.make.in: Add have-tunables.
5034         * configure.ac: Add --enable-tunables option.
5035         * configure: Regenerate.
5036         * csu/init-first.c (__libc_init_first): Move
5037         __libc_init_secure earlier...
5038         * csu/init-first.c (LIBC_START_MAIN):... to here.
5039         Include dl-tunables.h, libc-internal.h.
5040         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5041         binaries.
5042         * elf/Makefile (dl-routines): Add dl-tunables.
5043         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5044         namespace.
5045         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5046         only when !HAVE_TUNABLES.
5047         * elf/rtld.c (process_envvars): Likewise.
5048         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5049         (_dl_sysdep_start): Call __tunables_init.
5050         * elf/dl-tunable-types.h: New file.
5051         * elf/dl-tunables.c: New file.
5052         * elf/dl-tunables.h: New file.
5053         * elf/dl-tunables.list: New file.
5054         * malloc/tst-malloc-usable-static.c: New test case.
5055         * malloc/Makefile (tests-static): Add it.
5056         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5057         Define TUNABLE_NAMESPACE.
5058         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5059         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5060         callback functions.
5061         (ptmalloc_init): Set tunable values.
5062         * scripts/gen-tunables.awk: New file.
5063         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5064         (_dl_sysdep_start): Call __tunables_init.
5066 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5068         * resolv/resolv.h (RES_BLAST): Deprecate.
5069         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5070         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5071         to RES_BLAST.
5073 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5075         [BZ #19582]
5076         Deprecate RES_USE_INET6.
5077         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5078         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5079         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5080         RES_USE_INET6.
5081         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5082         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5083         (_nss_nisplus_gethostbyaddr_r): Likewise.
5084         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5085         of res_use_inet6.
5086         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5087         instead of RES_USE_INET6.
5088         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5089         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5090         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5091         Likewise.
5092         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5093         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5094         Likewise.
5095         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5096         (_nss_dns_gethostbyname_r): Likewise.
5097         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5098         alternate RES_USE_INET6 handling.
5099         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5100         instead of RES_USE_INET6.
5101         * resolv/res_init.c (res_setoptions): Likewise.
5102         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5103         * resolv/resolv-internal.h: New file.
5104         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5105         make the deprecation warning non-fatal.
5106         * resolv/README (Using the resolver in multi-threaded code): Drop
5107         reference to RES_USE_INET6.
5108         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5109         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5111 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5113         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5114         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5115         tst-resolv-search.
5116         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5117         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5118         with libresolv and libpthread.
5119         * resolv/tst-bug18665.c: New file.
5120         * resolv/tst-bug18665-tcp: Likewise.
5121         * resolv/tst-res_use_inet6: Likewise.
5122         * resolv/tst-resolv-basic: Likewise.
5123         * resolv/tst-resolv-network: Likewise.
5124         * resolv/tst-resolv-search: Likewise.
5125         * support/Makefile (libsupport-routines): Add check_addrinfo,
5126         check_dns_packet, check_hostent, check_netent, resolv_test,
5127         support_format_address_family, support_format_addrinfo,
5128         support_format_dns_packet, support_format_herrno,
5129         support_format_hostent, support_format_netent, support_run_diff,
5130         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5131         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5132         xstrdup, xwrite.
5133         * support/check_addrinfo.c: New file.
5134         * support/check_dns_packet.c: Likewise.
5135         * support/check_hostent.c: Likewise.
5136         * support/check_netent.c: Likewise.
5137         * support/check_nss.h: Likewise.
5138         * support/format_nss.h: Likewise.
5139         * support/resolv_test.c: Likewise.
5140         * support/resolv_test.h: Likewise.
5141         * support/run_diff.h: Likewise.
5142         * support/support_format_address_family.c: Likewise.
5143         * support/support_format_addrinfo.c: Likewise.
5144         * support/support_format_dns_packet.c: Likewise.
5145         * support/support_format_herrno.c: Likewise.
5146         * support/support_format_hostent.c: Likewise.
5147         * support/support_format_netent.c: Likewise.
5148         * support/support_run_diff.c: Likewise.
5149         * support/xaccept.c: Likewise.
5150         * support/xbind.c: Likewise.
5151         * support/xconnect.c: Likewise.
5152         * support/xfclose.c: Likewise.
5153         * support/xfopen.c: Likewise.
5154         * support/xgetsockname.c: Likewise.
5155         * support/xlisten.c: Likewise.
5156         * support/xmemstream.c: Likewise.
5157         * support/xmemstream.h: Likewise.
5158         * support/xpoll.c: Likewise.
5159         * support/xpthread_once.c: Likewise.
5160         * support/xrecvfrom.c: Likewise.
5161         * support/xsendto.c: Likewise.
5162         * support/xsetsockopt.c: Likewise.
5163         * support/xstdio.h: Likewise.
5164         * support/xstrdup.c: Likewise.
5165         * support/support.h (xstrdup): Declare.
5166         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5167         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5168         * support/xthread.h (xpthread_once): Likwise.
5169         * support/xunistd.h (xwrite): Declare.
5171 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5173         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5174         (test_verbose): Declare.
5175         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5176         * support/support_test_main.c (default_options): Likewise.
5177         (usage, support_test_main): Handle 'v'.
5178         (test_verbose): Define.
5179         * support/tst-support_record_failure.c (do_test): Use
5180         test_verbose.
5181         * support/tst-support_record_failure-2.sh (different_status): Add
5182         --verbose test.
5184 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5186         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5187         test failures are recorded.
5188         * support/check.c (support_print_failure_impl): Call
5189         support_record_failure.
5190         (support_exit_failure_impl): Call support_record_failure if status
5191         indicates failure.
5192         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5193         * support/xasprintf.c (xasprintf): Likewise.
5194         * support/xfork.c (xfork): Likewise.
5195         * support/xpthread_check_return.c (xpthread_check_return):
5196         Likewise.
5197         * support/xsocket.c (xsocket): Likeweise.
5198         * support/xwaitpid.c (xwaitpid): Likewise.
5199         * support/support_record_failure.c (struct test_failures): Adjust
5200         to coding style.
5201         * support/support_test_verify_impl.c (support_test_verify_impl):
5202         Adjust error messages.
5203         * support/tst-support_record_failure-2.sh (different_status):
5204         Adjust error messages.
5206 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5208         * support/namespace.h: New file.
5209         * support/support_become_root.c: Likewise.
5210         * support/support_enter_network_namespace.c: Likewise.
5211         * support/tst-support-namespace.c: Likewise.
5212         * support/xsocket.c: Likewise.
5213         * support/xsocket.h: Likewise.
5214         * support/Makefile (libsupport-routines): Add support_become_root,
5215         support_enter_network_namespace, xsocket.
5216         (tests): Add tst-support-namespace.
5218 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5220         [BZ #17252]
5221         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5222         __USE_GNU.
5224 2016-12-31  Torvald Riegel  <triegel@redhat.com>
5226         [BZ #13165]
5227         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
5228         use new algorithm.
5229         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5230         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5231         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5232         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5233         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
5234         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
5235         __condvar_cleanup_waiting, __condvar_dec_grefs,
5236         __pthread_cond_wait_common): New.
5237         (__condvar_cleanup): Remove.
5238         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
5239         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
5240         Likewise.
5241         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
5242         Likewise.
5243         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
5244         * nptl/tst-cond1.c: Add comment.
5245         * nptl/tst-cond20.c (do_test): Adapt.
5246         * nptl/tst-cond22.c (do_test): Likewise.
5247         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
5248         structure.
5249         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5250         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5251         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5252         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
5253         Likewise.
5254         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5255         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5256         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5257         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5258         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5259         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
5260         Likewise.
5261         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
5262         Likewise.
5263         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
5264         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
5265         (COND_CLOCK_BITS): Adapt.
5266         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
5267         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
5268         __PTHREAD_COND_SHARED_MASK): New.
5269         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
5270         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
5271         * nptl/nptl_lock_constants.pysym: Adapt.
5272         * nptl/test-cond-printers.py: Adapt.
5273         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
5274         cond_compat_check_and_clear): Adapt.
5275         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
5276         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5277         (__pthread_cond_timedwait): ... and move here.
5278         * nptl/DESIGN-condvar.txt: Remove file.
5279         * nptl/lowlevelcond.sym: Likewise.
5280         * nptl/pthread_cond_timedwait.c: Likewise.
5281         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
5282         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
5283         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
5284         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
5285         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
5286         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
5287         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
5288         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
5289         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
5290         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
5291         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
5292         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
5293         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
5294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
5295         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
5296         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
5298 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
5300         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5301         (fromfp): New declaration.
5302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5305         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
5306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
5307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
5308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
5309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
5310         * math/math.h: Include <bits/types.h>.
5311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
5312         constant and macro.
5313         (FP_INT_DOWNWARD): Likewise.
5314         (FP_INT_TOWARDZERO): Likewise.
5315         (FP_INT_TONEARESTFROMZERO): Likewise.
5316         (FP_INT_TONEAREST): Likewise.
5317         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
5318         (fromfpf): Likewise.
5319         (fromfpl): Likewise.
5320         (ufromfp): Likewise.
5321         (ufromfpf): Likewise.
5322         (ufromfpl): Likewise.
5323         (fromfpx): Likewise.
5324         (fromfpxf): Likewise.
5325         (fromfpxl): Likewise.
5326         (ufromfpx): Likewise.
5327         (ufromfpxf): Likewise.
5328         (ufromfpxl): Likewise.
5329         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
5330         s_fromfpxF and s_ufromfpxF.
5331         * math/gen-fromfp-tests.py: New file.
5332         * math/gen-fromfp-tests-inputs: Likewise.
5333         * math/libm-test.inc: Include <stdint.h>
5334         (check_intmax_t): New function.
5335         (check_uintmax_t): Likewise.
5336         (struct test_fiu_M_data): New type.
5337         (struct test_fiu_U_data): Likewise.
5338         (RUN_TEST_fiu_M): New macro.
5339         (RUN_TEST_LOOP_fiu_M): Likewise.
5340         (RUN_TEST_fiu_U): Likewise.
5341         (RUN_TEST_LOOP_fiu_U): Likewise.
5342         (fromfp_test_data): New array.
5343         (fromfp_test): New function.
5344         (fromfpx_test_data): New array.
5345         (fromfpx_test): New function.
5346         (ufromfp_test_data): New array.
5347         (ufromfp_test): New function.
5348         (ufromfpx_test_data): New array.
5349         (ufromfpx_test): New function.
5350         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
5351         ufromfpx_test.
5352         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
5353         characters.
5354         * math/test-tgmath-ret.c: Include <stdint.h>.
5355         (rm): New variable.
5356         (width): Likewise.
5357         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
5358         called function.
5359         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
5360         CHECK_RET_CONST_TYPE.
5361         (CHECK_RET_CONST_DOUBLE): Likewise.
5362         (CHECK_RET_CONST_LDOUBLE): Likewise.
5363         (CHECK_RET_CONST): Take extra arguments and pass them to calls
5364         macros.
5365         (fromfp): New CHECK_RET_CONST call.
5366         (ufromfp): Likewise.
5367         (fromfpx): Likewise.
5368         (ufromfpx): Likewise.
5369         (do_test): Call check_return_fromfp, check_return_ufromfp,
5370         check_return_fromfpx and check_return_ufromfpx.
5371         * math/test-tgmath.c: Include <stdint.h>
5372         (NCALLS): Increase to 138.
5373         (F(compile_test)): Initialize i.  Call fromfp functions.
5374         (F(fromfp)): New function.
5375         (F(fromfpx)): Likewise.
5376         (F(ufromfp)): Likewise.
5377         (F(ufromfpx)): Likewise.
5378         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
5379         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
5380         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
5381         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
5382         ufromfpxl.
5383         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
5384         ufromfp and ufromfpx.
5385         * math/fromfp.h: New file.
5386         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
5387         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
5388         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
5389         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
5390         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
5391         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
5392         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
5393         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
5394         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
5395         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
5396         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
5397         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
5398         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
5399         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
5400         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
5401         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
5402         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
5403         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
5404         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
5405         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
5406         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
5407         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
5408         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
5409         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
5410         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
5411         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
5412         ufromfp, fromfpx and ufromfpx.
5413         (CFLAGS-nldbl-fromfp.c): New variable.
5414         (CFLAGS-nldbl-fromfpx.c): Likewise.
5415         (CFLAGS-nldbl-ufromfp.c): Likewise.
5416         (CFLAGS-nldbl-ufromfpx.c): Likewise.
5417         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
5418         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
5419         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
5420         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
5421         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
5422         * sysdeps/nacl/libm.abilist: Update.
5423         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5425         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5426         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5427         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5429         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5430         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5431         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5432         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5433         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5434         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5436         Likewise.
5437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5438         Likewise.
5439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5440         Likewise.
5441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5442         Likewise.
5443         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5444         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5445         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5446         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5447         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5449         Likewise.
5450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5451         Likewise.
5452         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5453         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5454         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5456 2016-12-30  Florian Weimer  <fweimer@redhat.com>
5458         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
5459         compat-gethnamaddr.
5460         (CPPFLAGS): Remove.
5461         * resolv/gethnamaddr.c: Rename ...
5462         * resolv/compat-gethnamaddr.c: ... to this file.
5463         (_endhtent): Make static.
5464         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
5465         symbol.
5466         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
5467         compat symbol.
5468         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
5469         symbol.
5470         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
5471         Turn into compat symbol.
5472         * include/resolv.h (_endhtent): Remove declaration.
5474 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
5476         * bits/types.h (__intmax_t): New typedef.
5477         (__uintmax_t): Likewise.
5478         * sysdeps/generic/stdint.h: Include <bits/types.h>.
5479         (intmax_t): Define using __intmax_t.
5480         (uintmax_t): Define using __uintmax_t.
5482         * support/Makefile (tests-special): Make definition conditional on
5483         [$(run-built-tests) = yes].
5484         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
5485         on [$(run-built-tests) = yes].
5487 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5489         * Rules (tests): Add tests-printers-programs to tests to be
5490         built.
5492 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5494         * sysvipc/Makefile (tests): Add test-sysvshm.
5495         * sysvipc/test-sysvshm.c: New file.
5497         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
5498         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
5499         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
5500         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
5501         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
5502         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
5503         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
5504         Likewise.
5505         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
5506         Likewise.
5507         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
5508         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
5509         is defined.
5511         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
5512         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
5513         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
5514         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
5515         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
5516         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
5517         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
5518         Likewise.
5519         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
5520         Likewise.
5521         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
5522         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
5523         defined.
5525         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5526         oldshmctl.
5527         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
5528         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
5529         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
5530         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
5531         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
5532         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
5533         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
5534         Likewise.
5535         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
5536         Likewise.
5537         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
5538         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
5539         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
5540         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
5541         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
5542         implementation.
5543         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
5544         if it is defined.
5546         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
5547         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
5548         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
5549         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
5550         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
5551         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
5552         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
5553         Likewise.
5554         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
5555         Likewise.
5556         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
5557         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
5558         Define to __NR_osf_shmat.
5559         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
5560         defined.
5562         * sysvipc/Makefile (tests): Add test-sysvsem.
5563         * sysvipc/test-sysvsem.c: New file.
5565         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
5566         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
5567         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
5568         Likewise.
5569         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
5570         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
5571         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
5572         Likewise.
5573         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
5574         Likewise.
5575         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
5576         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
5577         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
5578         add a comment about s390 syscall difference from default one.
5579         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
5580         syscall if it is defined.
5582         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
5583         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
5584         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
5585         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
5586         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
5587         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
5588         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
5589         Likewise.
5590         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
5591         Likewise.
5592         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
5593         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
5594         defined.
5596         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
5597         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
5598         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
5599         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
5600         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
5601         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
5602         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
5603         Likewise.
5604         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
5605         Likewise.
5606         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
5607         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
5608         if it is defined.
5610         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5611         oldsemctl.
5612         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
5613         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
5614         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
5615         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
5616         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
5617         implementation.
5618         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
5619         syscall if it is defined.
5620         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
5621         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
5622         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
5623         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
5624         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
5625         Likewise.
5626         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
5628         * sysvipc/Makefile (tests): Add test-sysvmsg.
5629         * sysvipc/test-sysvmsg.c: New file.
5630         * support/check.h (FAIL_UNSUPPORTED): New define.
5632         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
5633         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
5634         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
5635         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
5636         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
5637         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
5638         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
5639         Likewise.
5640         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
5641         Likewise.
5642         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
5643         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
5644         define.
5646         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
5647         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
5648         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
5649         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
5650         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
5651         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
5652         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
5653         Likewise.
5654         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
5655         Likewise.
5656         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
5657         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
5658         if defined.
5660         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
5661         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
5662         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5663         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5664         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5665         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
5666         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5667         Likewise.
5668         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
5669         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
5670         Likewise.
5671         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
5672         if defined.
5673         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
5675         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
5676         oldmsgctl.
5677         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
5678         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
5679         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
5680         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
5681         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
5682         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
5683         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
5684         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
5685         Likewise.
5686         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
5687         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
5688         implementation.
5689         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
5690         if defined.
5692         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
5693         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
5694         definition and define its own.
5695         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
5696         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
5697         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
5698         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
5699         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
5700         definitions to common header.
5701         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
5702         operation from ipc_ops.h.
5704         * sysdeps/unix/sysv/linux/kernel-features.h
5705         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
5706         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5707         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
5708         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5709         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5710         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5711         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5712         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5713         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5714         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5715         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5716         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5717         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5718         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5719         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
5721 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5723         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
5724         overflow in pointer addition.
5726 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5728         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5729         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
5730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5731         (strchr): Add __strchr_power8 to list of strchr functions.
5732         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
5733         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
5734         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
5735         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
5736         (strchr): Add __strchr_power8 to ifunc list.
5737         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
5738         (__strchrnul): Add __strchrnul_power8 to ifunc list.
5739         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
5740         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
5742 2016-12-28  Florian Weimer  <fweimer@redhat.com>
5744         * support/Makefile (libsupport-routines): Add
5745         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
5746         (tests): Add tst-support_record_failure.
5747         (tests-special): tst-support_record_failure-2.
5748         (tst-support_record_failure-2.out): Depend on
5749         tst-support_record_failure-2.sh and tst-support_record_failure.
5750         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
5751         (support_test_verify_impl, support_record_failure)
5752         (support_report_failure, support_report_failure_reset): Declare.
5753         * support/support_test_main.c (adjust_exit_status): New function.
5754         (support_test_main): Call it to incorporate record test failures.
5755         * support/support_test_verify_impl.c: New file.
5756         * support/support_record_failure.c: Likewise.
5757         * support/tst-support_record_failure.c: Likewise.
5758         * support/tst-support_record_failure-2.sh: Likewise.
5759         * support/xunistd.h: Likewise.
5760         * support/xfork.c: Likewise.
5761         * support/xwaitpid.c: Likewise.
5763 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
5765         * scripts/check-c++-types.sh: Add comments.
5767 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
5769         [BZ #19514]
5770         * resolv/res_send.c: Fix typo in comment.
5771         * sysdeps/i386/i386-mcount.S: Likewise.
5772         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5773         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5774         * sysdeps/sparc/sparc-mcount.S: Likewise.
5776 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5778         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
5779         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
5780         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
5781         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
5782         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
5783         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
5784         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
5785         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
5787 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5789         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
5791 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5793         [BZ #17252]
5794         * posix/unistd.h (getentropy): Declare.
5796 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5798         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
5799         Remove.
5800         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
5801         (cmd): Remove spoof, nospoof, spoofalert.
5802         (parse_line): Ignore spoof-related lines.
5803         (do_init): Do not process RESOLV_SPOOF_CHECK.
5805 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5807         [BZ #20964]
5808         sunrpc: Always obtain AF_INET addresses from NSS.
5809         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
5810         * sunrpc/rpc_gethostbyname.c: New file.
5811         * sunrpc/Makefile (routines): Add it.
5812         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
5813         * sunrpc/clnt_simp.c (callrpc): Likewise.
5814         * sunrpc/getrpcport.c (getrpcport): Likewise.
5816 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5818         * sunrpc/rpcinfo.c: Remove.
5819         * sunrpc/Makefile: Remove comments referring to rpcinfo.
5821 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5823         [BZ #19387]
5824         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
5825         addition.
5826         * string/test-memchr.c (do_test): Remove alignment limitation.
5827         (test_main): Add test that trigger BZ #19387.
5829 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5831         [BZ #7065]
5832         Enable stack protectore if requested by ./configure.
5833         * Makeconfig (+stack-protector): New variable.
5834         (+cflags): Use it.
5836 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5838         [BZ #7065]
5839         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
5840         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
5841         (__rt_sigreturn_stub): Use inhibit_stack_protector.
5842         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5843         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
5845 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5847         [BZ #7065]
5848         * login/Makefile (pt_chown-cflags): Remove.
5849         * nscd/Makefile (CFLAGS-nscd): Likewise.
5850         * resolv/Makefile (CFLAGS-libresolv): Likewise.
5852 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5854         [BZ #7065]
5855         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
5856         non-libc-linking testcase.
5858 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5859             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5860             Florian Weimer  <fweimer@redhat.com>
5862         [BZ #7065]
5863         PLT avoidance for __stack_chk_fail*.
5864         * debug/Makefile (CFLAGS-stack_chk_fail.c)
5865         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
5866         * debug/stack_chk_fail.c (__stack_chk_fail): Add
5867         __stack_chk_fail_local alias.
5868         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
5869         (__stack_chk_fail): Turn into hidden reference to
5870         __stack_chk_fail_local.
5872 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5874         [BZ #7065]
5875         * configure.ac: Add check for unsupported stack-protection level.
5876         (libc_cv_predef_stack_protector): Remove.
5877         (no_ssp): New variable.
5878         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
5879         (stack_protector): Set to -fno-stack-protector similarly.
5880         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
5881         (libc_cv_asm_set_directive): Likewise.
5882         (libc_cv_protected_data): Likewise.
5883         (libc_cv_z_combreloc): Likewise.
5884         (libc_cv_hashstyle): Likewise.
5885         (libc_cv_has_glob_dat): Likewise.
5886         (libc_cv_output_format): Likewise.
5887         (libc_cv_output_format): Likewise.
5888         (libc_cv_ehdr_start): Likewise.
5889         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
5890         (LIBC_LINKER_FEATURE): Likewise.
5891         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
5893 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5895         [BZ #7065]
5896         * elf/Makefile (dummy-stack-chk-fail): New.
5897         (librtld.map): Use it.
5899 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5901         [BZ #7065]
5902         Compile the dynamic linker without stack protection.
5903         * elf/Makefile (elide-stack-protector): New.
5904         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
5905         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
5906         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
5907         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
5909 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5911         [BZ #7065]
5912         * config.make.in (have-ssp, no-stack-protector): New.
5913         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
5914         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
5915         (CFLAGS-sbrk.op): Likewise.
5916         (CFLAGS-brk.o): Likewise.
5917         (CFLAGS-brk.op): Likewise.
5918         * string/Makefile (CFLAGS-memcpy.c): Likewise.
5919         (CFLAGS-wordcopy.c): Likewise.
5921 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5923         [BZ #7065]
5924         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
5925         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
5926         * include/libc-symbols.h (inhibit_stack_protector): New macro.
5927         (__ifunc_resolver): Use it.
5928         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
5929         inhibit_stack_protector.
5930         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
5931         * elf/ifuncmain7.c (foo_ifunc): Likewise.
5932         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
5933         (foo_protected_ifunc): Likewise.
5934         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
5935         (foo_protected_ifunc): Likewise.
5936         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5937         * sysdeps/nacl/nacl_interface_query.c
5938         (nacl_interface_query_ifunc): Likewise.
5939         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
5940         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
5941         Likewise.
5942         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
5943         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
5944         the generated vDSO syscall resolver.
5946 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5947             Florian Weimer  <fweimer@redhat.com>
5949         [BZ #7065]
5950         Initialize the stack guard earlier when linking statically.
5951         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5952         (__pthread_initialize_minimal): Declare.
5953         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5954         declaration.
5955         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5956         stack canary and apply_irel initialization up.  Call
5957         __pthread_initialize_minimal only if linked in.
5958         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5959         constant values.
5960         (__pthread_initialize_minimal): Remove.
5961         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5962         (__pthread_initialize_minimal_internal): Do not call
5963         __libc_setup_tls.
5965 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5967         [BZ #7065]
5968         * configure.ac (libc_cv_ssp): Move up.
5969         (libc_cv_ssp_strong): Likewise.
5970         (libc_cv_ssp_all): New.
5971         (stack_protector): Augment, adding -fstack-protector-all.
5972         (no_stack_protector): New.
5973         (STACK_PROTECTOR_LEVEL): New.
5974         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5975         * manual/install.texi (--enable-stack-protector): Document it.
5976         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5978 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5980         * README.pretty-printers: Must specify CPPFLAGS-* also.
5981         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5982         (CPPFLAGS-test-mutex-printers.c): Define.
5983         (CPPFLAGS-test-condattr-printers.c): Define.
5984         (CPPFLAGS-test-cond-printers.c): Define.
5985         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5986         (CPPFLAGS-test-rwlock-printers.c): Define.
5988         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5989         (tests): Add tst-cancel-getpwuid_r.
5990         * nss/tst-cancel-getpwuid_r.c: New file.
5992         [BZ #11941]
5993         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5994         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5995         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5996         tst-nodelete-dlclose.
5997         (modules-names): Add tst-nodelete-dlclose-dso and
5998         tst-nodelete-dlclose-plugin.
5999         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6000         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6001         ($(objpfx)tst-nodelete-dlclose): Define.
6002         ($(objpfx)tst-nodelete-dlclose.out): Define.
6004 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6006         * scripts/test_printers_common.py: Log GDB output in case of
6007         Python detection failure.
6009 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6011         * configure.ac: Check for python3 or python.
6012         * configure: Regenerated.
6013         * config.make.in (PYTHON): New variable.
6014         * benchtests/Makefile: Don't define PYTHON.
6015         (bench): Define target only if PYTHON was defined.
6016         * Rules: Don't define PYTHON.
6017         Define pretty printer targets only if PYTHON was defined.
6018         (tests-printers): Add to tests-unsupported if PYTHON is not
6019         found.
6020         (python-flags, python-invoke): Remove.
6021         (tests-printers-out): Use PYTHON instead of python-invoke.
6023 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6025         [BZ #20978]
6026         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6027         Compare name == NULL, not name != NULL.
6029         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6030         trailing whitespace removed.
6031         * scripts/config.guess: Update to version 2016-10-02.
6032         * scripts/config.sub: Update to version 2016-11-19.
6033         * scripts/install-sh: Update to version 2016-01-11.22.
6034         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6035         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6037 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6039         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6040         (do_one_test) Restore original string so iteration works.
6041         * string/string-inlines.c (do_test): Create better input strings.
6042         (test_main) Reduce number of testruns.
6043         * string/string-inlines.c (__old_strsep_1c): New function.
6044         (__old_strsep_2c): Likewise.
6045         (__old_strsep_3c): Likewise.
6046         * string/strsep.c (__strsep): Remove case of small delim string.
6047         Call strcspn directly rather than strpbrk.
6048         * string/bits/string2.h (__strsep): Remove define.
6049         (__strsep_1c): Remove.
6050         (__strsep_2c): Remove.
6051         (__strsep_3c): Remove.
6052         (strsep): Remove.
6053         * sysdeps/unix/sysv/linux/internal_statvfs.c
6054         (__statvfs_getflags): Rename to __strsep.
6056 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6058         * csu/libc-tls.c (_dl_tls_setup): Remove.
6059         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6060         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6061         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6063 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6065         [BZ #7065]
6066         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6067         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6069 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6070             Florian Weimer  <fweimer@redhat.com>
6072         [BZ #7065]
6073         * csu/Makefile (tests): Empty assignment and document it.
6074         (tests-static): Remove.
6075         * csu/tst-empty.c: Move to...
6076         * misc/tst-empty.c: ... here.  Switch to new test driver.
6077         * csu/tst-atomic.c: Move to...
6078         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6079         * csu/tst-atomic-long.c: Move to...
6080         * misc/tst-atomic-long.c: ... here.
6081         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6082         tst-atomic-long.
6083         (tests-static): Add tst-empty.
6085 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6087         * manual/nss.texi: Change incorrect @vtable to @table.
6088         * manual/arith.texi: Convert @tables of variables to @vtables
6089         and remove unnecessary indexing.
6090         * manual/filesys.texi: Likewise.
6091         * manual/llio.texi: Likewise.
6092         * manual/memory.texi: Likewise.
6093         * manual/process.texi: Likewise.
6094         * manual/resource.texi: Likewise.
6095         * manual/search.texi: Likewise.
6096         * manual/signal.texi: Likewise.
6097         * manual/socket.texi: Likewise.
6098         * manual/stdio.texi: Likewise.
6099         * manual/sysinfo.texi: Likewise.
6100         * manual/syslog.texi: Likewise.
6101         * manual/terminal.texi: Likewise.
6102         * manual/time.texi: Likewise.
6103         * manual/users.texi: Likewise.
6105 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6107         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6108         (roundeven): New declaration.
6109         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6110         macro.
6111         * math/Versions (roundeven): New libm symbol at version
6112         GLIBC_2.25.
6113         (roundevenf): Likewise.
6114         (roundevenl): Likewise.
6115         * math/Makefile (libm-calls): Add s_roundevenF.
6116         * math/libm-test.inc (roundeven_test_data): New array.
6117         (roundeven_test): New function.
6118         (main): Call roundeven_test.
6119         * math/test-tgmath.c (NCALLS): Increase to 134.
6120         (F(compile_test)): Call roundeven.
6121         (F(roundeven)): New function.
6122         * manual/arith.texi (Rounding Functions): Document roundeven,
6123         roundevenf and roundevenl.
6124         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6125         * include/math.h (roundeven): Use libm_hidden_proto.
6126         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6127         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6128         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6129         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6130         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6131         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6132         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6133         roundeven.
6134         (CFLAGS-nldbl-roundeven.c): New variable.
6135         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6136         * sysdeps/nacl/libm.abilist: Update.
6137         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6138         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6139         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6140         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6141         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6142         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6143         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6144         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6145         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6146         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6147         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6148         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6150         Likewise.
6151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6152         Likewise.
6153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6154         Likewise.
6155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6156         Likewise.
6157         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6158         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6159         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6160         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6161         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6163         Likewise.
6164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6165         Likewise.
6166         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6167         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6168         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6170 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6172         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6173         preprocessor indentation inside #if.
6175 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6177         * math/libm-test.inc (fmt_ftostr): New function.
6178         (print_float, check_float_internal): Replace some uses of
6179         FTOSTR with uses of fmt_ftostr.
6180         (print_max_error, print_complex_max_error, print_function_ulps)
6181         (print_complex_function_ulps): Remove uses of the macros
6182         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6183         * math/test-double.h (FTOSTR): Define to strfromd.
6184         (PRINTF_EXPR): Delete.
6185         (PRINTF_XEXPR): Likewise.
6186         (PRINTF_NEXPR): Likewise.
6187         * math/test-float.h (FTOSTR): Define to strfromf.
6188         (PRINTF_EXPR): Delete.
6189         (PRINTF_XEXPR): Likewise.
6190         (PRINTF_NEXPR): Likewise.
6191         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6192         (PRINTF_EXPR): Delete.
6193         (PRINTF_XEXPR): Likewise.
6194         (PRINTF_NEXPR): Likewise.
6196 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6198         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6199         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6200         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6201         (__lll_lock_elision): Decrement adapt_count while unlocking
6202         instead of before locking.
6203         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6204         (__lll_trylock_elision): Likewise.
6205         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6206         (__lll_unlock_elision): Likewise.
6208 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6210         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6211         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6212         Use __libc_tbegin_retry macro.
6214 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6216         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6217         Add -msoft-float.
6218         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6219         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6220         Use __libc_t* transaction macros instead of __builtin_t*.
6221         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6222         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6224 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6226         * sysdeps/unix/sysv/linux/s390/elision-lock.c
6227         (__lll_lock_elision): Use atomics to load / store adapt_count.
6228         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6229         (__lll_trylock_elision): Likewise.
6231 2016-12-20  Florian Weimer  <fweimer@redhat.com>
6233         Do not require memset elimination in explicit_bzero test.
6234         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
6235         (enum test_expectation): Add NO_EXPECTATIONS.
6236         (subtests): NO_EXPECTATIONS for ordinary clear.
6237         (check_test_buffer): Handle NO_EXPECTATIONS.
6238         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
6240 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6242         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6243         (fmaxmag): New declaration.
6244         (fminmag): Likewise.
6245         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
6246         macro.
6247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
6248         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
6249         (fmaxmagf): Likewise.
6250         (fmaxmagl): Likewise.
6251         (fminmag): Likewise.
6252         (fminmagf): Likewise.
6253         (fminmagl): Likewise.
6254         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
6255         * math/s_fmaxmag_template.c: New file.
6256         * math/s_fminmag_template.c: Likewise.
6257         * math/libm-test.inc (fmaxmag_test_data): New array.
6258         (fmaxmag_test): New function.
6259         (fminmag_test_data): New array.
6260         (fminmag_test): New function.
6261         (main): Call fmaxmag_test and fminmag_test.
6262         * math/test-tgmath.c (NCALLS): Increase to 132.
6263         (F(compile_test)): Call fmaxmag and fminmag.
6264         (F(fminmag)): New function.
6265         (F(fmaxmag)): Likewise.
6266         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
6267         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
6268         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
6269         fminmag.
6270         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
6271         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
6272         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
6273         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
6274         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
6275         and fminmag.
6276         (CFLAGS-nldbl-fmaxmag.c): New variable.
6277         (CFLAGS-nldbl-fminmag.c): Likewise.
6278         * sysdeps/nacl/libm.abilist: Update.
6279         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6280         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6281         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6282         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6283         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6284         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6285         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6286         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6287         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6288         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6289         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6290         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6292         Likewise.
6293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6294         Likewise.
6295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6296         Likewise.
6297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6298         Likewise.
6299         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6300         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6301         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6302         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6303         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6305         Likewise.
6306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6307         Likewise.
6308         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6309         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6310         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6312 2016-12-19  Torvald Riegel  <triegel@redhat.com>
6314         [BZ #20973]
6315         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
6316         wake-up in robust mutexes.
6317         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6319 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6321         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
6322         (CFLAGS-bench-fmaxf.c): New rule.
6323         (CFLAGS-bench-fminf.c): Likewise.
6324         * benchtests/fmaxf-inputs: New file.
6325         * benchtests/fminf-inputs: Likewise.
6327         * benchtests/Makefile (bench-math): Add fmin and fmax.
6328         (CFLAGS-bench-fmax.c): New rule.
6329         (CFLAGS-bench-fmin.c): Likewise.
6330         * benchtests/fmax-inputs: New file.
6331         * benchtests/fmin-inputs: Likewise.
6333         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
6334         parenthesis.
6335         (CMDLINE_PROCESS): Define using function instead of macro.
6336         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
6337         of test-skeleton.
6338         * benchtests/bench-memchr.c: Likewise.
6339         * benchtests/bench-memcmp.c: Likewise.
6340         * benchtests/bench-memcpy-large.c: Likewise.
6341         * benchtests/bench-memcpy.c: Likewise.
6342         * benchtests/bench-memmem.c: Likewise.
6343         * benchtests/bench-memmove-large.c: Likewise.
6344         * benchtests/bench-memmove.c: Likewise.
6345         * benchtests/bench-memset-large.c: Likewise.
6346         * benchtests/bench-memset.c: Likewise.
6347         * benchtests/bench-rawmemchr.c: Likewise.
6348         * benchtests/bench-strcasecmp.c: Likewise.
6349         * benchtests/bench-strcasestr.c: Likewise.
6350         * benchtests/bench-strcat.c: Likewise.
6351         * benchtests/bench-strchr.c: Likewise.
6352         * benchtests/bench-strcmp.c: Likewise.
6353         * benchtests/bench-strcpy.c: Likewise.
6354         * benchtests/bench-strcpy_chk.c: Likewise.
6355         * benchtests/bench-strlen.c: Likewise.
6356         * benchtests/bench-strncasecmp.c: Likewise.
6357         * benchtests/bench-strncmp.c: Likewise.
6358         * benchtests/bench-strncpy.c: Likewise.
6359         * benchtests/bench-strnlen.c: Likewise.
6360         * benchtests/bench-strpbrk.c: Likewise.
6361         * benchtests/bench-strrchr.c: Likewise.
6362         * benchtests/bench-strsep.c: Likewise.
6363         * benchtests/bench-strspn.c: Likewise.
6364         * benchtests/bench-strstr.c: Likewise.
6365         * benchtests/bench-strtok.c: Likewise.
6367 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6369         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
6370         stepping identification.
6371         (init_cpu_features): Add handle of Haswell.
6373 2016-11-25  Jim Meyering  <meyering@fb.com>
6375         [BZ #20386]
6376         Let gcc detect assert(a = 1) errors.
6377         * assert/assert.h (assert): Rewrite, retaining the old definintion
6378         when required, but otherwise putting the expression as-is in an "if"
6379         expression (hence, with no added parentheses) within a statement
6380         expression.
6382 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6384         * benchtests/Makefile (binaries-benchset): Depend on libsupport
6385         DSO.
6387 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
6389         * Rules (python-flags, python-invoke): New.
6390         ($(test-printers-out)): Use $(python-flags).
6392 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6394         * manual/arith.texi (Math Error Reporting): Document that sNaN
6395         arguments are not considered domain errors.
6397 2016-12-16  Zack Weinberg <zackw@panix.com>
6398             Florian Weimer <fweimer@redhat.com>
6399             Nick Mathewson <nickm@torproject.org>
6401         * string/explicit_bzero.c: New routine.
6402         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
6403         * string/Makefile (routines, strop-tests, tests): Add them.
6404         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
6405         * string/string.h [__USE_MISC]: Declare explicit_bzero.
6407         * debug/explicit_bzero_chk.c: New routine.
6408         * debug/Makefile (routines): Add it.
6409         * debug/tst-chk1.c: Test fortification of explicit_bzero.
6410         * string/bits/string3.h: Fortify explicit_bzero.
6412         * manual/string.texi: Document explicit_bzero.
6413         * NEWS: Mention addition of explicit_bzero.
6415         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
6416         data before returning, using explicit_bzero.
6417         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
6418         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6419         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6421         * include/string.h: Redirect internal uses of explicit_bzero
6422         to __explicit_bzero_chk[_internal].
6423         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
6424         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
6425         * sysdeps/arm/nacl/libc.abilist
6426         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
6427         * sysdeps/unix/sysv/linux/alpha/libc.abilist
6428         * sysdeps/unix/sysv/linux/arm/libc.abilist
6429         * sysdeps/unix/sysv/linux/hppa/libc.abilist
6430         * sysdeps/unix/sysv/linux/i386/libc.abilist
6431         * sysdeps/unix/sysv/linux/ia64/libc.abilist
6432         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
6433         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
6434         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
6435         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6436         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6437         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6438         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6439         * sysdeps/unix/sysv/linux/nios2/libc.abilist
6440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6444         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
6445         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
6446         * sysdeps/unix/sysv/linux/sh/libc.abilist
6447         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
6448         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
6449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
6450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
6451         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
6452         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
6453         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
6454         Add entries for explicit_bzero and __explicit_bzero_chk.
6456 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6458         * math/fenv.h
6459         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
6460         (FE_SNANS_ALWAYS_SIGNAL): New macro.
6461         * math/test-fe-snans-always-signal.c: New file.
6462         * math/Makefile (tests): Add test-fe-snans-always-signal.
6463         (CFLAGS-test-fe-snans-always-signal.c): New variable.
6464         * manual/arith.texi (Infinity and NaN): Document
6465         FE_SNANS_ALWAYS_SIGNAL.
6467 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6469         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
6470         bracket.
6472 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
6474         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
6475         before calling execv.
6477 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6479         [BZ #20971]
6480         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
6481         overflow in pointer addition.
6482         * string/test-memchr.c (do_test): Add an argument to pass as
6483         the size on memchr.
6484         (test_main): Add check for SIZE_MAX.
6486 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6488         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
6489         (libm-calls): Add w_scalblnF.
6490         * math/w_scalbln.c: Remove.
6491         * math/w_scalblnf.c: Likewise.
6492         * math/w_scalblnl.c: Likewise.
6493         * math/w_scalbln_template.c: New file with type-generic
6494         implementation based on math/w_scalbln.c.
6495         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
6496         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
6498 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6500         [BZ #20947]
6501         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
6502         either is a signaling NaN.
6503         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
6504         follow fmaxl more closely.
6505         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
6506         when either is a signaling NaN.
6507         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
6508         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
6509         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
6510         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
6511         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
6512         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
6513         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
6514         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
6515         (fmin_test_data): Likewise.
6517 2016-12-15  Andreas Schwab  <schwab@suse.de>
6519         * support/support_test_main.c (support_test_main): Don't shadow
6520         file-local variable test_pid.
6522 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
6524         [BZ #20947]
6525         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
6526         either is a signaling NaN.
6527         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
6529 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6531         [BZ #20947]
6532         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
6533         when either is a signaling NaN.
6534         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
6536         * bits/long-double.h: New file.
6537         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
6538         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
6539         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
6540         * sysdeps/mips/bits/long-double.h: Likewise.
6541         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
6542         * math/Makefile (headers): Add bits/long-double.h.
6543         * misc/sys/cdefs.h: Include <bits/long-double.h>.
6544         * stdlib/strtold.c: Include <bits/long-double.h> instead of
6545         <bits/wordsize.h>.
6546         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
6547         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
6548         * math/math.h: Do not include <bits/mathdef.h>.
6549         * sysdeps/aarch64/bits/mathdef.h: Remove file.
6550         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
6551         inclusion.
6552         * sysdeps/ia64/bits/mathdef.h: Remove file.
6553         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
6554         * sysdeps/mips/bits/mathdef.h: Likewise.
6555         * sysdeps/powerpc/bits/mathdef.h: Likewise.
6556         * sysdeps/s390/bits/mathdef.h: Likewise.
6557         * sysdeps/sparc/bits/mathdef.h: Likewise.
6558         * sysdeps/x86/bits/mathdef.h: Likewise.
6559         * sysdeps/s390/s390-32/bits/wordsize.h
6560         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
6561         conditional code.
6562         * sysdeps/s390/s390-64/bits/wordsize.h
6563         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6564         Likewise.
6565         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
6566         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
6569         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6570         Likewise.
6571         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
6572         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
6573         Likewise.
6575         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
6576         <linux/falloc.h>.
6577         (FALLOC_FL_KEEP_SIZE): Remove.
6578         (FALLOC_FL_PUNCH_HOLE): Likewise.
6579         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
6580         (FALLOC_FL_ZERO_RANGE): Likewise.
6582 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6584         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
6586 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6588         * sysdeps/unix/sysv/linux/renameat.c: New file.
6589         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
6591         * sysdeps/unix/sysv/linux/rename.c: New file.
6592         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
6594 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6596         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
6597         * string/strtok.c (strtok): Change to tailcall __strtok_r.
6598         * string/strtok_r.c (__strtok_r): Optimize for performance.
6599         * string/string-inlines.c (__old_strtok_r_1c): New function.
6600         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
6602 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6604         * math/Makefile (gen-libm-calls): Add w_log1pF.
6605         (libm-calls): Remove w_log1pF.
6606         * math/w_log1p.c: Remove.
6607         * math/w_log1pf.c: Likewise.
6608         * math/w_log1pl.c: Likewise.
6609         * math/w_log1p_template.c: New file with type-generic
6610         implementation based on math/w_log1p.c.
6611         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
6612         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
6614 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
6616         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
6618 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
6620         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6621         kernel version to 4.9.
6623 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
6625         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
6626         ($(inst_libdir)/libm.a): Fix rule to create the target only.
6628 2016-12-13  Andreas Schwab  <schwab@suse.de>
6630         * sysdeps/powerpc/dl-procinfo.c: Don't define
6631         _dl_powerpc_platforms.
6632         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
6633         constants instead of referencing _dl_powerpc_platforms.
6634         (_dl_platform_string): Remove.
6636 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6638         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
6640 2016-12-13  Florian Weimer  <fweimer@redhat.com>
6642         * Rules (binaries-shared-tests, binaries-pie-tests)
6643         (binaries-static-tests): Link with $(link-extra-libs-tests).
6644         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
6645         Remove $(link-extra-libs-tests).
6647 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6649         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6650         (sysdep_routines): Add strncmp_power9.
6651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6652         (strncmp): Add __strncmp_power9 to list of strncmp functions.
6653         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
6654         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
6655         (strncmp): Add __strncmp_power9 to ifunc list.
6656         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
6658 2016-12-12  Florian Weimer  <fweimer@redhat.com>
6660         [BZ #17252]
6661         Add getentropy, getrandom.
6662         * stdlib/sys/random.h: New file.
6663         (headers): Add it.
6664         * stdlib/Makefile (routines): Add getentropy, getrandom.
6665         (tests): Add tst-getrandom.
6666         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
6667         * stdlib/getentropy.c: New file.
6668         * stdlib/getrandom.c: Likewise.
6669         * stdlib/tst-getrandom.c: Likewise.
6670         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
6671         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
6672         * manual/crypt.texi (Unpredictable Bytes): New section.
6673         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
6674         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
6675         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
6676         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6677         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6678         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6679         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6680         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6681         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6682         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6683         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6684         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6685         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6686         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6687         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6688         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6690         Likewise.
6691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6692         Likewise.
6693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6695         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6696         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6697         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6698         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6699         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6702         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6703         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6704         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6706 2016-12-10  Florian Weimer  <fweimer@redhat.com>
6708         [BZ #20956]
6709         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
6710         as additional compiler barriers.
6711         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
6712         (fn2, do_test): Declare with external linkage.
6713         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
6714         (do_test): Declare with external linkage.
6715         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
6716         (do_test): Declare with external linkage.
6717         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
6718         (do_test): Declare with external linkage.
6720 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
6722         * support/support_test_main.c (support_test_main): Use correct
6723         timeout.
6725 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
6726             Florian Weimer  <fweimer@redhat.com>
6728         [BZ #16421]
6729         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
6730         and __u6_addr32 members.
6731         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
6732         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
6733         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
6734         Use __u6_addr32.
6735         * inet/tst-checks.c: Use <support/test-driver.c>
6736         * inet/tst-checks-posix.c: New file.
6737         * inet/Makefile (tests): Add it.
6738         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
6740 2016-12-09  Florian Weimer  <fweimer@redhat.com>
6742         New subdirectory support for build and test infrastructure.
6743         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
6744         setting install-lib.
6745         * Makeconfig (link-extra-libs-tests): Define.
6746         (+link-pie-tests, +link-static-tests, +link-tests): Use
6747         link-extra-libs-tests.
6748         (rpath-dirs, all-subdirs): Add support.
6749         (built-modules): Add libsupport.
6750         (libsupport): Define.
6751         * support: New directory.
6752         * support/Makefile: New file.
6753         * support/check.c: Likewise.
6754         * support/check.h: Likewise.
6755         * support/delayed_exit.c: Likewise.
6756         * support/ignore_stderr.c: Likewise.
6757         * support/oom_error.c: Likewise.
6758         * support/set_fortify_handler.c: Likewise.
6759         * support/support.h: Likewise.
6760         * support/temp_file-internal.h: Likewise.
6761         * support/temp_file.c: Likewise.
6762         * support/test-driver.c: Likewise.
6763         * support/test-driver.h: Likewise.
6764         * support/test_main.c: Likewise.
6765         * support/write_message.c: Likewise.
6766         * support/xasprintf.c: Likewise.
6767         * support/xcalloc.c: Likewise.
6768         * support/xmalloc.c: Likewise.
6769         * support/xpthread_barrier_destroy.c: Likewise.
6770         * support/xpthread_barrier_init.c: Likewise.
6771         * support/xpthread_barrier_wait.c: Likewise.
6772         * support/xpthread_cancel.c: Likewise.
6773         * support/xpthread_check_return.c: Likewise.
6774         * support/xpthread_cond_wait.c: Likewise.
6775         * support/xpthread_create.c: Likewise.
6776         * support/xpthread_detach.c: Likewise.
6777         * support/xpthread_join.c: Likewise.
6778         * support/xpthread_mutex_lock.c: Likewise.
6779         * support/xpthread_mutex_unlock.c: Likewise.
6780         * support/xpthread_sigmask.c: Likewise.
6781         * support/xpthread_spin_lock.c: Likewise.
6782         * support/xpthread_spin_unlock.c: Likewise.
6783         * support/xrealloc.c: Likewise.
6784         * support/xsignal.h: Likewise.
6785         * support/xthread.h: Likewise.
6786         * support_tempfile.h: Likewise.
6787         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
6788         (TEST_DATA_LIMIT): Remove unused macro.
6789         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
6790         <support/check.h>.
6791         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
6792         (ignore_stderr, set_fortify_handler): Remove.  Now in
6793         <support/support.h>.
6794         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
6795         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
6796         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
6797         (xpthread_join): Remove.  Now in <support/xthread.h>.
6798         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
6799         Introduce legacy wrappers.
6800         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
6801         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
6802         (write_message): Remove.
6803         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
6804         test-skeleton.c.
6805         * io/test-open-tmpfile: Likewise.
6806         * io/tst-posix_fallocate-common.c: Likewise.
6807         * libio/tst-fseek.c: Likewise.
6808         * malloc/tst-malloc-backtrace.c: Likewise.
6809         * malloc/tst-malloc-fork-deadlock.c: Likewise.
6810         * malloc/tst-malloc-thread-exit.c: Likewise.
6811         * nptl/tst-cancel7.c: Likewise.
6812         * nptl/tst-cleanup0.c: Likewise.
6813         * posix/tst-posix_fadvise-common.c: Likewise.
6814         * rt/tst-shm.c: Likewise.
6815         * time/bug-getdate1.c: Likewise.
6816         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
6817         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
6818         * elf/Makefile (tst-piemod1.so): Link against libsupport.
6820 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
6822         * Rules [$(run-built-tests) != no] (tests-expected): Add
6823         $(tests-printers).
6824         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
6826 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
6828         [BZ #20539]
6829         * math/Makefile (install-lib-ldscripts): Add libm.a.
6830         (install_subdir): Remove.
6831         (install-others): Add.
6832         ($(inst_libdir)/libm.a): Add rule for installation as
6833         linker script.
6834         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
6836 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
6838         * INSTALL: Regenerated.
6839         * Makeconfig: Add comments and whitespace to make the control flow
6840         clearer.
6841         (+link-printers-tests, +link-pie-printers-tests,
6842         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
6843         built-rtld-LDFLAGS, link-libc-rpath,
6844         link-libc-tests-after-rpath-link,
6845         link-libc-printers-tests): New.
6846         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
6847         link-libc-tests): Use the new variables as required.
6848         * Makerules ($(py-const)): New rule.
6849         generated: Add $(py-const).
6850         * README.pretty-printers: New file.
6851         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
6852         (others): Depend on $(py-const).
6853         (tests): Depend on $(tests-printers-programs) or
6854         $(tests-printers-out),
6855         as required.  Pass $(tests-printers) to merge-test-results.sh.
6856         * manual/install.texi: Add requirements for testing the pretty
6857         printers.
6858         * nptl/Makefile (gen-py-const-headers, pretty-printers,
6859         tests-printers, CFLAGS-test-mutexattr-printers.c
6860         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
6861         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
6862         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
6863         * nptl/nptl-printers.py: New file.
6864         * nptl/nptl_lock_constants.pysym: Likewise.
6865         * nptl/test-cond-printers.c: Likewise.
6866         * nptl/test-cond-printers.py: Likewise.
6867         * nptl/test-condattr-printers.c: Likewise.
6868         * nptl/test-condattr-printers.py: Likewise.
6869         * nptl/test-mutex-printers.c: Likewise.
6870         * nptl/test-mutex-printers.py: Likewise.
6871         * nptl/test-mutexattr-printers.c: Likewise.
6872         * nptl/test-mutexattr-printers.py: Likewise.
6873         * nptl/test-rwlock-printers.c: Likewise.
6874         * nptl/test-rwlock-printers.py: Likewise.
6875         * nptl/test-rwlockattr-printers.c: Likewise.
6876         * nptl/test-rwlockattr-printers.py: Likewise.
6877         * scripts/gen-py-const.awk: Likewise.
6878         * scripts/test_printers_common.py: Likewise.
6879         * scripts/test_printers_exceptions.py: Likewise.
6881 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6883         * scripts/build-many-glibcs.py (Context.__init__): Take strip
6884         argument.
6885         (Glibc.build_glibc): Strip installed shared libraries if
6886         requested.
6887         (get_parser): Add --strip option.
6888         (main): Update Context call.
6890 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6891             Dominik Vogt  <vogt@linux.vnet.ibm.com>
6893         [BZ #20847]
6894         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6895         array bounds for else branch.
6896         (__execvpe): Style fixes.
6897         * posix/tst-vfork3.c (run_script): New function.
6898         (create_script): Likewise.
6899         (do_test): Use run_script internal function.
6900         (do_prepare): Use create_script internal function.
6902 2016-12-07  Andreas Schwab  <schwab@suse.de>
6904         * sysdeps/unix/sysv/linux/x86/elision-conf.h
6905         (__elision_available): Don't declare.
6906         * sysdeps/unix/sysv/linux/x86/elision-conf.c
6907         (__elision_available): Don't define.
6908         (elision_init): Don't set __elision_available.
6910 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
6912         [BZ #20940]
6913         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
6914         return Inf for arguments Inf and sNaN.
6915         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
6916         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6917         Likewise.
6918         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
6919         Likewise.
6920         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
6921         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
6922         for arguments Inf and sNaN.  When returning a NaN, compute it by
6923         arithmetic on the arguments.
6924         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
6925         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
6926         arguments.
6928 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
6930         [BZ #20916]
6931         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
6932         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
6933         to compute result.
6934         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6935         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
6937 2016-12-05  Torvald Riegel  <triegel@redhat.com>
6939         * include/atomic.h (__atomic_check_size_ls): New.
6940         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
6941         atomic_store_release): Use it.
6942         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
6943         (elision_adapt, ELIDE_LOCK): Use atomics.
6944         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6945         atomics and improve code comments.
6946         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6947         (__lll_trylock_elision): Likewise.
6949 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6951         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6952         programs.
6954 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6956         [BZ #20916]
6957         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6958         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6959         arguments to compute result.
6960         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6961         1 for arguments (sNaN, 0) or (1, sNaN).
6962         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6963         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6965         [BZ #20919]
6966         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6967         NaN first argument when raised to power 0.
6968         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6969         raising to power zero.
6970         * math/w_powf.c (__powf): Likewise.
6971         * math/w_powl.c (__powl): Likewise.
6972         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6973         pow (0, 0) or pow (NaN, 0).
6975 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6977         [BZ #20918]
6978         * configure.ac: Test for static NSS cryptographic libraries and set
6979         libc_cv_static_nss_crypt.
6980         * configure: Regenerate.
6981         * config.make.in (static-nss-crypt): Define.
6982         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6983         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6984         (CFLAGS-tst-linkall-static.c): Define.
6985         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6986         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6987         ($(objpfx)tst-linkall-static): Define.
6988         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6989         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6991 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6993         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6994         (one-hundred, tst-tls-many-dynamic-modules): Define.
6995         (modules-names): Add $(tst-tls-many-dynamic-modules).
6996         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6997         macros.
6998         (tst-tls-manydynamic): Link against libdl, libpthread.
6999         (tst-tls-manydynamic.out): The test needs the test modules at run
7000         time.
7001         * elf/tst-tls-manydynamic.c: New file.
7002         * elf/tst-tls-manydynamic.h: Likewise.
7003         * elf/tst-tls-manydynamicmod.c: Likewise.
7005 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7007         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7008         (TLS_DTV_UNALLOCATED): Add.
7009         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7010         offsets.
7012 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7014         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7016 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7018         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7019         Add -fno-optimize-sibling-calls.
7021 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7023         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7024         New declaration.
7025         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7026         macro.
7027         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7028         New macro.
7029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7031         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7032         (llogbf): Likewise.
7033         (llogbl): Likewise.
7034         * math/Makefile (gen-libm-calls): Add w_llogbF.
7035         (tests): Add test-fp-llogb-constants.
7036         * math/w_llogb_template.c: New file.  Based on
7037         math/w_ilogb_template.c.
7038         * math/libm-test.inc (llogb_test_data): New array.
7039         (llogb_test): New function.
7040         (main): Call llogb_test.
7041         * math/test-fp-llogb-constants.c: New file.  Based on
7042         math/test-fp-ilogb-constants.c.
7043         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7044         (do_test): Call check_return_llogb.
7045         * math/test-tgmath.c (NCALLS): Increase to 126.
7046         (F(compile_test)): Call llogb.
7047         (F(llogb)): New function.
7048         * manual/math.texi (Exponents and Logarithms): Document llogb,
7049         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7050         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7051         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7052         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7053         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7054         (CFLAGS-nldbl-llogb.c): New variable.
7055         * sysdeps/nacl/libm.abilist: Update.
7056         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7057         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7058         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7060         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7061         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7062         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7063         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7069         Likewise.
7070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7071         Likewise.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7073         Likewise.
7074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7075         Likewise.
7076         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7077         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7078         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7079         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7080         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7082         Likewise.
7083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7084         Likewise.
7085         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7086         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7087         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7089 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7091         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7092         _Float128 instead of long double.
7093         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7095         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7096         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7097         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7098         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7099         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7100         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7101         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7102         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7103         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7104         Likewise.
7106 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7108         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7109         Remove redirection to __strrchr_ppc.
7111 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7113         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7114         (sysdep_routines): Add strcmp_power9.
7115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7116         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7117         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7118         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7119         (strcmp): Add __strcmp_power9 to ifunc list.
7120         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7122 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7124         * bits/fp-logb.h: New file.
7125         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7126         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7127         * sysdeps/x86/bits/fp-logb.h: Likewise.
7128         * math/Makefile (headers): Add bits/fp-logb.h.
7129         * math/math.h: Include <bits/fp-logb.h>.
7130         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7131         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7132         * bits/mathdef.h (FP_ILOGB0): Remove.
7133         (FP_ILOGBNAN): Likewise.
7134         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7135         (FP_ILOGBNAN): Likewise.
7136         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7137         (FP_ILOGBNAN): Likewise.
7138         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7139         (FP_ILOGBNAN): Likewise.
7140         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7141         (FP_ILOGBNAN): Likewise.
7142         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7143         (FP_ILOGBNAN): Likewise.
7144         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7145         (FP_ILOGBNAN): Likewise.
7146         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7147         (FP_ILOGBNAN): Likewise.
7148         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7149         (FP_ILOGBNAN): Likewise.
7150         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7151         (FP_ILOGBNAN): Likewise.
7153         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7154         time module.
7155         (Context.__init__): Initialize self.logsdir_old.
7156         (Context.run_builds): Handle bot action.
7157         (Context.bot_cycle): Copy logs directory before running builds.
7158         (Context.bot_run_self): Take argument for whether to check
7159         subprocess result.  Flush stdout before running subprocess.
7160         (Context.bot): New function.
7161         (get_parser): Allow bot action.
7163 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7165         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7166         Import email.mime.text, email.utils and smtplib modules.
7167         (Context.__init__): Initialize self.bot_config_json.
7168         (Context.run_builds): Handle bot-cycle action.
7169         (Context.load_bot_config_json): New function.
7170         (Context.part_build_old): Likewise.
7171         (Context.bot_cycle): Likewise.
7172         (Context.bot_build_mail): Likewise.
7173         (Context.bot_run_self): Likewise.
7174         (get_parser): Allow bot-cycle action.
7176 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7178         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7179         Remove redirection to __stpcpy_ppc.
7181 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7183         Remove __libc_memalign from ld.so because it is unused.
7184         * elf/dl-minimal.c: Update comment on the malloc implementation.
7185         (malloc): Renamed from __libc_memalign, replacing the original
7186         malloc implementation.  Replace the align parameter with
7187         MALLOC_ALIGNMENT.
7188         * elf/Versions (ld): Update comment and remove __libc_memalign.
7189         * sysdeps/nacl/ld.abilist: Likewise.
7190         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7191         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7192         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7193         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7194         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7195         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7196         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7197         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7198         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7199         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7200         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7201         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7202         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7206         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7207         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7208         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7209         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7210         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7213         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7214         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7215         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7216         * sysdeps/generic/localplt.data (ld.so): Likewise.
7217         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7218         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7219         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7220         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7221         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7222         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7223         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7224         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
7225         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7227         (ld.so): Likewise.
7228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7229         (ld.so): Likewise.
7230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7231         Likewise.
7232         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7233         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7234         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
7235         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
7236         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7238 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7240         [BZ #16628]
7241         Implement _dl_catch_error, _dl_signal_error in libc.so.
7242         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
7243         (catch_hook): Define as thread-local or regular variable,
7244         depending on DL_ERROR_BOOTSTRAP.
7245         (CATCH_HOOK): Remove.
7246         (dl_signal_error, _dl_catch_error): Use
7247         catch_hook.  Add hidden definition for libc.
7248         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
7249         for DL_ERROR_BOOTSTRAP only.
7250         * elf/dl-error.c: New file.
7251         * elf/dl-error-minimal.c: Likewise.
7252         * elf/tst-latepthread.c: Likewise.
7253         * elf/tst-latepthreadmod.c: Likewise.
7254         * elf/Makefile (routines): Add dl-error.
7255         (dl-routines): Remove dl-error.
7256         (rtld-routines): Add dl-error-minimal.
7257         [build-shared] (tests): Add tst-latepthread.
7258         (module-names): Add tst-latepthreadmod.
7259         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
7260         symbol.
7261         (tst-latepthreadmod.so): Link against libpthread.
7262         (tst-latepthread): Link against libdbl.
7263         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
7264         _dl_catch_error.
7265         [ld] (GLIBC_PRIVATE): Likewise.
7266         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
7267         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
7268         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
7269         directly.
7270         * elf/dl-tsd.c: Remove file.
7271         * elf/rtld.c (_rtld_global_ro): Remove initializers for
7272         _dl_catch_error, _dl_signal_error.
7273         (_dl_initial_error_catch_tsd): Remove definition.
7274         (do_preload): Remove initialization of dl_error_catch_tsd.
7275         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
7276         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
7277         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7278         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7279         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
7280         set dl_error_catch_tsd.
7281         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
7282         _dl_error_catch_tsd member.
7283         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
7284         members.
7285         (_dl_initial_error_catch_tsd): Remove declaration.
7286         (_dl_dprintf): Provide definition for use outside of ld.so.
7287         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
7288         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
7289         prototype for libc.
7290         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
7291         _dl_catch_error.
7292         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7293         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7294         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7295         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7296         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7297         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
7298         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
7299         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
7300         Likewise.
7301         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
7302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
7303         (ld.so): Likewise.
7304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7305         (ld.so): Likewise.
7306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
7307         Likewise.
7308         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
7309         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
7310         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
7311         Likewise.
7312         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
7313         Likewise.
7314         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
7316 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7318         [BZ #4099]
7319         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
7320         _IO_BUFSIZ (8192).
7322 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
7324         * PROJECTS: Remove file.
7326 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7328         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
7330 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
7331             Steve Ellcey  <sellcey@caviumnetworks.com>
7333         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
7334         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
7335         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
7336         fxstatat.
7337         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
7338         lxstat.
7339         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
7340         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
7341         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
7342         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
7343         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
7344         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
7345         __xstat.
7347 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7349         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
7350         Define.
7351         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
7352         definition.
7354 2016-11-29  Florian Weimer  <fweimer@redhat.com>
7356         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
7357         version and turn into strong alias.  Remove compat symbol.
7359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7360         (__longjmp): Remove.
7362 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
7364         * bits/fp-fast.h: New file.
7365         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
7366         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
7367         * math/Makefile (headers): Add bits/fp-fast.h.
7368         * math/math.h: Include <bits/fp-fast.h>.
7369         * bits/mathdef.h (FP_FAST_FMA): Remove.
7370         (FP_FAST_FMAF): Likewise.
7371         (FP_FAST_FMAL): Likewise.
7372         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
7373         (FP_FAST_FMAF): Likewise.
7374         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
7375         (FP_FAST_FMAF): Likewise.
7376         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
7377         (FP_FAST_FMAF): Likewise.
7378         (FP_FAST_FMAL): Likewise.
7379         * sysdeps/arm/bits/mathdef.h: Remove file.
7380         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
7381         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
7382         * sysdeps/tile/bits/mathdef.h: Likewise.
7384 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7386         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
7387         * math/w_ilogb.c: Remove.
7388         * math/w_ilogbf.c: Likewise.
7389         * math/w_ilogbl.c: Likewise.
7390         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
7391         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
7392         * math/Makefile (gen-libm-calls): Add w_ilogbF.
7393         (libm-calls): Remove w_ilogbF.
7394         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
7395         (LDOUBLE_ilogbl_libm_version): New macro.
7397         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
7399         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
7400         [!__STRICT_ANSI__ && !__cplusplus].
7402 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7404         [BZ #20750]
7405         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
7406         of PIC.
7408 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
7409             Yury Norov  <ynorov@caviumnetworks.com>
7410             Steve Ellcey  <sellcey@caviumnetworks.com>
7412         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
7413         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
7414         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
7415         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
7416         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
7417         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
7418         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
7419         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
7420         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
7421         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
7422         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
7423         to get correct reg name for ILP32.
7424         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
7425         (RELA_SIZE): New Macro.
7426         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
7427         to support ILP32.
7428         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
7429         cast for ILP32 mode.
7430         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
7431         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
7432         * sysdeps/aarch64/memset.S (__memset): Ditto.
7433         * sysdeps/aarch64/strchr.S (strchr): Ditto.
7434         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
7435         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
7436         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
7437         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
7438         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
7439         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
7440         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
7441         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
7442         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
7443         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
7444         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
7445         change PTR_MANGLE call to use register numbers instead of names.
7446         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
7447         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
7448         ILP32 mode, change PTR_MANGLE calls to use register numbers.
7449         * sysdeps/aarch64/start.S (_start): Ditto.
7450         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
7451         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
7452         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
7453         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
7454         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
7455         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
7456         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
7457         Make defined values dependent on __ILP32__.
7458         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
7459         (sem_t): Change __align type.
7460         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
7461         PTR_SIZE): New Macros.
7462         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
7463         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
7464         Set when in ILP32 mode.
7465         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
7466         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
7467         Set elf flags for ILP32.
7468         (add_system_dir): Set ILP32 library directories.
7469         * sysdeps/unix/sysv/linux/aarch64/init-first.c
7470         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
7471         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
7472         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
7473         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
7474         New Macros.
7475         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
7477 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7479         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
7480         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
7481         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
7483 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
7485         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
7486         <asm/cachectl.h>.
7488 2016-11-27  Zack Weinberg  <zackw@panix.com>
7490         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
7491         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
7493 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7495         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
7496         error_t to fix usage in C++ programs.
7498 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
7500         * scripts/build-many-glibcs.py: Import datetime module.
7501         (Context.__init__): Load JSON build state.  Initialize list of
7502         status logs.
7503         (Context.run_builds): Update saved build state.
7504         (Context.add_makefile_cmdlist): Update list of status logs.
7505         (Context.load_build_state_json): New function.
7506         (Context.store_build_state_json): Likewise.
7507         (Context.clear_last_build_state): Likewise.
7508         (Context.update_build_state): Likewise.
7509         (CommandList.status_logs): Likewise.
7511 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
7513         * scripts/build-many-glibcs.py (Context.__init__): Save text of
7514         script being executed.
7515         (Context.get_script_text): New function.
7516         (Context.exec_self): Likewise.
7517         (Context.checkout): Re-exec script if changed by checkout process.
7519 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7521         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7522         (setpayloadsig): New declaration.
7523         * math/Versions (setpayloadsig): New libm symbol at version
7524         GLIBC_2.25.
7525         (setpayloadsigf): Likewise.
7526         (setpayloadsigl): Likewise.
7527         * math/Makefile (libm-calls): Add s_setpayloadsigF.
7528         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
7529         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
7530         (setpayloadsig_test_data): New array.
7531         (setpayloadsig_test): New function.
7532         (main): Call setpayloadsig_test.
7533         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
7534         setpayloadsigf and setpayloadsigl.
7535         * manual/libm-err-tab.pl: Update comment on interfaces without
7536         ulps tabulated.
7537         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
7538         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
7539         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
7540         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
7541         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
7542         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
7543         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7544         setpayloadsig.
7545         (CFLAGS-nldbl-setpayloadsig.c): New variable.
7546         * sysdeps/nacl/libm.abilist: Update.
7547         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7548         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7549         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7550         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7551         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7552         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7553         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7554         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7555         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7556         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7557         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7558         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7560         Likewise.
7561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7562         Likewise.
7563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7564         Likewise.
7565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7566         Likewise.
7567         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7568         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7569         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7570         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7571         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7573         Likewise.
7574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7575         Likewise.
7576         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7577         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7578         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7580         * scripts/build-many-glibcs.py: Import json module.
7581         (Context.__init__): Take replace_sources argument.  Load
7582         versions.json.
7583         (Context.load_versions_json): New function.
7584         (Context.store_json): Likewise.
7585         (Context.store_versions_json): Likewise.
7586         (Context.set_component_version): Likewise.
7587         (Context.checkout): Update versions.json.  Check for and handle
7588         changes of version.  Prefer previously explicitly specified
7589         version to default version.
7590         (Context.checkout_vcs): Return a revision identifier.
7591         (Context.git_checkout): Likewise.
7592         (Context.gcc_checkout): Likewise.
7593         (get_parser): Add --replace-sources option.
7594         (main): Pass replace_sources argument to Context call.
7596 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7598         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
7599         * nptl/allocatestack.c (allocate_stack): Likewise.
7600         (__reclaim_stacks): Likewise.
7601         (setxid_signal_thread): Obtain pid through syscall.
7602         * nptl/nptl-init.c (sigcancel_handler): Likewise.
7603         (sighandle_setxid): Likewise.
7604         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
7605         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
7606         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7607         Likewise.
7608         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7609         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
7610         comment.
7611         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
7612         * nptl/descr.h (struct pthread): Change comment about pid value.
7613         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
7614         pid assert.
7615         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
7616         Do not set pid value.
7617         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
7618         pid cache check.
7619         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
7620         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
7621         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
7622         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
7623         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
7624         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7625         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
7626         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
7627         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
7628         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
7629         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
7630         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7631         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
7632         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7633         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
7634         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
7635         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7636         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
7637         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
7638         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
7639         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
7640         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
7641         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
7642         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
7643         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
7644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7646         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
7647         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7648         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
7649         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
7650         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
7651         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
7652         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
7653         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
7654         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7655         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
7656         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7657         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
7658         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
7659         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7660         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
7661         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7664         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7665         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7666         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7667         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
7668         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
7669         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
7670         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
7671         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
7672         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
7673         struct access.
7674         (clone_test): Remove function.
7675         (do_test): Rewrite to take in consideration pid is not cached anymore.
7677 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
7679         * bits/flt-eval-method.h: New file.
7680         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
7681         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
7682         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
7683         * math/Makefile (headers): Add bits/flt-eval-method.h.
7684         * math/math.h: Include <bits/flt-eval-method.h>.
7685         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
7686         [__USE_ISOC99] (double_t): Likewise.
7687         * bits/mathdef.h (float_t): Remove.
7688         (double_t): Likewise.
7689         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
7690         (double_t): Likewise.
7691         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
7692         (double_t): Likewise.
7693         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
7694         (double_t): Likewise.
7695         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
7696         (double_t): Likewise.
7697         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
7698         (double_t): Likewise.
7699         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
7700         (double_t): Likewise.
7701         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
7702         (double_t): Likewise.
7703         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
7704         (double_t): Likewise.
7705         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
7706         (double_t): Likewise.
7707         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
7708         (double_t): Likewise.
7709         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
7710         (double_t): Likewise.
7711         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
7712         (double_t): Likewise.
7713         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
7714         (double_t): Likewise.
7716 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
7718         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
7719         instead of PIC.
7721 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7723         [BZ #20859]
7724         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
7725         (-0x7fffffff) instead of 0x80000001.
7726         * math/test-fp-ilogb-constants.c: New file.
7727         * math/Makefile (tests): Add test-fp-ilogb-constants.
7729 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
7731         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
7732         (_init): Use it in place of hardcoded R_MIPS_JALR.
7733         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
7734         (_init): Use it in place of hardcoded R_MIPS_JALR.
7735         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
7736         (_init): Use it in place of hardcoded R_MIPS_JALR.
7738 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7740         [BZ #20787]
7741         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
7742         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
7743         (double_t): Do not define to double if [__x86_64__] when
7744         __FLT_EVAL_METHOD__ is nonzero.
7745         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
7746         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
7747         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
7748         test-flt-eval-method-387 and test-flt-eval-method-sse.
7749         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
7750         variable.
7751         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
7753 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
7755         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
7756         use of -fno-isolate-erroneous-paths options for tilepro.
7758 2016-11-23  Florian Weimer  <fweimer@redhat.com>
7760         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
7761         structure initialization is no longer needed.
7763 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
7765         [BZ #20855]
7766         * bits/mathdef.h (float_t): Define to float.
7767         * math/test-flt-eval-method.c: New file.
7768         * math/Makefile (tests): Add test-flt-eval-method.
7769         (CFLAGS-test-flt-eval-method.c): New variable.
7771 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
7773         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
7774         and __fstatfs.  Make them aliases of __fstatfs64 if
7775         STATFS_IS_STATFS64 is set to non-zero.
7776         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
7777         and __statfs64.
7778         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
7779         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
7780         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
7781         for __statfs and statfs.
7782         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
7783         to 0.
7784         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
7785         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
7786         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
7787         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7788         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7789         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
7792         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
7793         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7794         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
7795         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
7797 2016-11-22  Andreas Schwab  <schwab@suse.de>
7799         * misc/mkstemp.c: Include <fcntl.h>.
7800         * misc/mkstemps.c: Likewise.
7801         * misc/mkostemp.c: Likewise.
7802         * misc/mkostemps.c: Likewise.
7804 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
7806         [BZ #20847]
7807         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7808         array bounds.
7809         (__execvpe): Likewise.
7811 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
7813         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
7814         -fno-isolate-erroneous-paths options for tilepro.
7816 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
7818         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
7819         to 0 when in 32 bit mode.
7820         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
7821         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
7822         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
7823         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
7824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
7825         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
7826         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
7827         XSTAT_IS_XSTAT64 test.
7828         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
7829         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
7830         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
7831         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
7832         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
7833         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
7834         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
7835         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
7836         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
7837         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
7838         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
7840 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
7842         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7843         (setpayload): New declaration.
7844         * math/Versions (setpayload): New libm symbol at version
7845         GLIBC_2.25.
7846         (setpayloadf): Likewise.
7847         (setpayloadl): Likewise.
7848         * math/Makefile (libm-calls): Add s_setpayloadF.
7849         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
7850         test_Ff_b1_data.
7851         (RUN_TEST_Ff_b1): New macro.
7852         (RUN_TEST_LOOP_Ff_b1): Likewise.
7853         (canonicalize_test_data): Update type.
7854         (setpayload_test_data): New array.
7855         (setpayload_test): New function.
7856         (main): Call setpayload_test.
7857         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
7858         setpayloadf and setpayloadl.
7859         * manual/libm-err-tab.pl: Update comment on interfaces without
7860         ulps tabulated.
7861         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
7862         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
7863         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
7864         Likewise.
7865         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
7866         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
7867         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
7868         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
7869         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
7870         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
7871         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
7872         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
7873         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
7874         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7875         setpayload.
7876         (CFLAGS-nldbl-setpayload.c): New variable.
7877         * sysdeps/nacl/libm.abilist: Update.
7878         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7879         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7880         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7881         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7882         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7883         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7884         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7885         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7886         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7887         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7888         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7889         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7891         Likewise.
7892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7893         Likewise.
7894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7895         Likewise.
7896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7897         Likewise.
7898         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7899         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7900         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7901         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7902         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7903         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7904         Likewise.
7905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7906         Likewise.
7907         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7908         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7909         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7911 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7913         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
7914         * include/unistd.h: Extend comment about __access_noerrno return
7915         semantics.
7916         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
7917         (access_common): Correct typo for EACCES.
7919 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
7921         * sysdeps/tile/math-tests.h: New file.
7923         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
7924         (__old_set_dataplane): Rename from set_dataplane and make a
7925         compatibility symbol.
7926         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
7927         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
7928         sys/dataplane.h.
7930 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
7932         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
7933         script quote words in command output to log suitably for input to
7934         the shell.
7936 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
7937             Maciej W. Rozycki  <macro@imgtec.com>
7939         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
7940         `.Lno_weak_fn' label.
7941         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
7942         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
7944 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7945             Yury Norov  <ynorov@caviumnetworks.com>
7947         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7948         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7949         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7950         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7951         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7952         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7953         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7954         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7955         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7956         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7957         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7958         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7959         (sysdep_routines): Remove oldgetrlimit64.
7960         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7961         (sysdep_routines): Likewise.
7962         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7963         (sysdep_routines): Likewise.
7964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7965         [$(subdir) = resource] (sysdep_routines): Likewise.
7966         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7967         [$(subdir) = resource] (sysdep_routines): Likewise.
7968         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7969         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7970         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7971         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7972         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7973         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7974         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7975         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7976         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7977         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7978         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7979         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7980         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7981         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7982         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7983         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7984         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7985         setrlimit and getrlimit.
7986         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7987         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7988         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7991         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7992         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7993         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7994         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7995         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7996         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7997         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7998         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7999         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8000         (__old_getrlimit64): Add compatibility symbol.
8001         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8003 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8005         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8006         newly built gmp, mpfr and mpc.
8008         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8010 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8012         * conform/Makefile (linknamespace-libs): Rename to
8013         linknamespace-libs-thr.
8014         (linknamespace-libs-posix): New variable.
8015         (linknamespace-libs-xsi): Likewise.
8016         (linknamespace-libs-XPG3): Include libcrypt.a.
8017         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8018         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8019         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8020         (linknamespace-libs-XOPEN2K): Likewise.
8021         (linknamespace-libs-XOPEN2K8): Likewise.
8022         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8024         [BZ #20829]
8025         * stdio-common/Versions (__snprintf): Add to version
8026         GLIBC_PRIVATE.
8027         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8028         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8029         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8030         of snprintf.
8031         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8033 2016-11-16  Zack Weinberg  <zackw@panix.com>
8035         * string/string.h: Remove obsolete comment stating that
8036         strcoll_l and strxfrm_l have not yet been standardized.
8038 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8040         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8041         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8042         __access_noerrno.
8043         * io/access.c (__access_noerrno): New function.
8044         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8045         (hurd_fail_seterrno): Likewise.
8046         (access_common): Likewise.
8047         (__access_noerrno): Likewise.
8048         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8049         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8050         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8051         macro.
8053 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8055         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8056         Only declare fpregs if [__SH_FPU_ANY__].
8058 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8060         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8061         Make code unconditional.
8062         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8064 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8066         * manual/sysinfo.texi (S_APPEND): Delete.
8067         (S_IMMUTABLE): Likewise.
8069 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8070             Magnus Granberg  <zorry@gentoo.org>
8071             Mike Frysinger  <vapier@gentoo.org>
8073         [BZ #20662]
8074         * configure.ac (libc_cv_predef_stack_protector): Also check for
8075         __stack_chk_fail_local symbols.
8076         * configure: Regenerated.
8078 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8080         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8081         (libc_hidden_def): Remove redefinition.
8082         (__sigsetjmp): Add hidden definition.
8083         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8084         (libc_hidden_def): Remove redefinition.
8085         (__sigsetjmp): Add hidden definition.
8087 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8089         * scripts/build-many-glibcs.py (os.path): Do not import.
8090         (Context): Inherit explicitly from object.  Remove blank line
8091         between class and docstring.
8092         (Config): Likewise.
8093         (Glibc): Likewise.
8094         (Command): Likewise.
8095         (CommandList): Likewise.
8096         (Context.write_files): Store chmod mode in a variable.
8098         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8099         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8100         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8102 2016-11-14  Zack Weinberg  <zackw@panix.com>
8104         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8105         creating or re-creating it.
8107         * string/bits/string2.h: Fix typo in comment.
8109 2016-11-14  Zack Weinberg  <zackw@panix.com>
8111         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8112         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8113         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8114         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8115         of redirected function names.
8117         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8118         as well.  Document that MESSAGE must be a single string literal.
8120 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8122         * scripts/build-many-glibcs.py: New file.
8124         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8125         (do_test): Disable -Wmaybe-uninitialized around uses of
8126         except_mask.
8128         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8130 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8132         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8133         (atomic_store_release): Provide tilepro-specific implementations.
8135 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8137         * math/math.h (__MATH_TG): New macro.
8138         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8139         [__USE_ISOC99] (signbit): Likewise.
8140         [__USE_ISOC99] (isfinite): Likewise.
8141         [__USE_ISOC99] (isnan): Likewise.
8142         [__USE_ISOC99] (isinf): Likewise.
8143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8146         __MATH_TG and __MATH_EVAL_FMT2.
8147         * sysdeps/generic/math_private.h (fabs_tg): Define using
8148         __MATH_TG.
8149         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8150         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8151         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8152         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8153         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8154         macro.
8155         (__iscanonical): Likewise.
8156         (iscanonical): Define using __MATH_TG.
8158 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8160         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8161         guards.
8163         * sysdeps/unix/sysv/linux/access.c: New file.
8164         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8166 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8168         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8169         and __WORDSIZE32_PTRDIFF_LONG.
8171 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8173         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8175 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8177         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8178         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8179         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8180         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8181         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8183         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8184         * sysdeps/unix/sysv/linux/truncate.c: New file.
8185         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8186         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8187         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8188         Remove.
8189         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8190         Likewise.
8192         * posix/tst-truncate-common.c: New file.
8193         * posix/tst-truncate.c: Use tst-truncate-common.c.
8194         * posix/tst-truncate64.c: Likewise and add LFS tests.
8195         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8196         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8197         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8198         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8199         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8201         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8202         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8203         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8204         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8205         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8206         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8207         Remove.
8208         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8209         Likewise.
8211 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8213         [BZ #20790]
8214         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8215         to MAXLINESIZE.
8216         * sunrpc/bug20790.x: New file.
8217         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8218         variable.
8219         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8220         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8222         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
8224         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
8226         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
8227         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
8228         calloc, realloc, free, memalign and __libc_memalign rather than
8229         making them optional.
8231         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
8232         for libc.so.
8234 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8236         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
8237         ptw-lseek64.
8238         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
8239         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
8240         Likewise.
8241         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
8242         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
8243         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
8244         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
8245         * sysdeps/unix/sysv/linux/lseek.c: New file.
8246         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
8247         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
8248         __libc_lseek64 from auto-generation.
8249         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8250         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
8252 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8254         * nptl/tst-basic1.c (tf, do_test): Use write_message.
8255         * nptl/tst-cleanup1.c (do_test): Likewise.
8256         * nptl/tst-cleanup3.c (do_test): Likewise.
8257         * nptl/tst-key1.c (do_test): Likewise.
8258         * nptl/tst-key2.c (tf, do_test): Likewise.
8259         * nptl/tst-key3.c (tf, do_test): Likewise.
8260         * nptl/tst-stdio1.c (do_test): Likewise.
8261         * nptl/tst-stdio2.c (do_test): Likewise.
8263         * nptl/tst-kill3.c (handler): Use write_message in place of write.
8264         * nptl/tst-kill6.c (handler): Likewise.
8265         * nptl/tst-tls2.c (CB): Likewise.
8266         * nptl/tst-tls3.c (CB): Likewise.
8268 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
8270         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
8272 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
8273             Steve Ellcey  <sellcey@caviumnetworks.com>
8275         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
8276           __ASSUME_ST_INO_64_BIT as 0
8277         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
8278         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
8279           over the code where __ASSUME_ST_INO_64_BIT is used.
8280         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
8281         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
8282         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8284 2016-11-07  Florian Weimer  <fweimer@redhat.com>
8286         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8287         Document ABI exposure of the __kind offset.
8288         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8289         Mention reason for the __kind offset exposure in the ABI.
8290         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8291         Likewise.
8292         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8293         Likewise.
8294         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8295         Likewise.
8296         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
8297         (struct __pthread_mutex_s): Likewise.
8298         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8299         Likewise.
8300         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8301         Likewise.
8302         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8303         Likewise.
8304         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8305         Likewise.
8306         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8307         Likewise.
8308         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
8309         Likewise.
8310         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
8311         (struct __pthread_mutex_s): Likewise.
8312         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
8313         (struct __pthread_mutex_s): Likewise.
8314         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
8315         Likewise.
8317 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
8319         * test-skeleton.c: Document do_test usage.
8321 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
8323         * iconv/gconv.h (__gconv_info): Define __data element using a
8324         zero-length array.
8326 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
8328         * math/test-tgmath2.c: Split up test function.
8330 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8332         * Rules (tests-expected): New variable, depending on
8333         $(run-built-tests).
8334         (tests): Pass $(tests-expected) to merge-test-results.sh, not
8335         $(tests).
8337         * Rules [$(run-built-tests) = no] (tests): Do not depend on
8338         $(tests-unsupported).
8340 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8342         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
8343         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
8345 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8347         [BZ #20768]
8348         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
8349         __fegetenv instead of fegetenv.
8351         [BZ #14139]
8352         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
8353         (find_files): Obtain platform name from libm-test-ulps-name and
8354         store in %pplatforms.
8355         (canonicalize_platform): Remove.
8356         (print_platforms): Use $pplatforms directly.
8357         (by_platforms): Do not allow for platforms missing from
8358         %pplatforms.
8359         * sysdeps/aarch64/libm-test-ulps-name: New file.
8360         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
8361         * sysdeps/arm/libm-test-ulps-name: Likewise.
8362         * sysdeps/generic/libm-test-ulps-name: Likewise.
8363         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
8364         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
8365         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
8366         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
8367         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
8368         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
8369         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
8370         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
8371         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
8372         * sysdeps/nios2/libm-test-ulps-name: Likewise.
8373         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
8374         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
8375         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
8376         * sysdeps/sh/libm-test-ulps-name: Likewise.
8377         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
8378         * sysdeps/tile/libm-test-ulps-name: Likewise.
8379         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
8381         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
8383         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
8384         (test-xfail-check-execstack): New variable.
8386         * sysdeps/mips/localplt.data: New file.
8388 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
8389             Steve Ellcey  <sellcey@caviumnetworks.com>
8391         * bits/wordsize.h: Add documentation.
8392         * sysdeps/aarch64/bits/wordsize.h : New file
8393         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
8394         definitions.
8395         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
8396         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
8397         with #if instead of #ifdef.
8398         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
8399         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
8400         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
8401         Add or change defines.
8402         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
8403         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8404         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
8405         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
8406         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8407         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8408         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
8409         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
8410         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
8411         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8412         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
8413         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
8414         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
8415         * sysdeps/x86/bits/wordsize.h: Likewise.
8417 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
8418             Kevin Petit  <kevin.petit@arm.com>
8420         * sysdeps/aarch64/memchr.S (__memchr): New file.
8422 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
8424         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
8426 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
8428         [BZ #19398]
8429         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
8430         $(linknamespace-symlists-tests).
8432 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
8434         * time/tst-strptime2.c: Ignore -Wformat-length warning.
8436 2016-11-02  Florian Weimer  <fweimer@redhat.com>
8437             Carlos O'Donell  <carlos@redhat.com>
8439         [Bug #20729]
8440         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
8441         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
8442         for -Os related change.
8444 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
8446         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
8448 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
8450         [BZ #19673]
8451         * manual/math.texi (Exponents and Logarithms): Correct description
8452         of clog10.
8454 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
8456         [Bz #20729]
8457         * locale/weight.h: Include libc-internal.h.
8458         * locale/weightwc.h: Likewise.
8459         * nptl/nptl_dbP.h: Likewise.
8461 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
8463         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
8464         when it is MACH_PORT_NULL.
8466 2016-10-31  Andreas Schwab  <schwab@suse.de>
8468         [BZ #20707]
8469         * posix/glob.c (glob): Initialize pglob before checking for
8470         GLOB_BRACE.  Don't call glob recursively if pattern contains no
8471         valid brace expression despite GLOB_BRACE.
8472         * posix/globtest.sh: Test it.
8474 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8476         [BZ #20729]
8477         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
8478         Define.
8479         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
8480         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
8481         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
8482         for seq2.back_us and seq1.back_us only for -Os compiles.
8483         * locale/weightwc.h (findix): Likewise.
8484         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
8485         DB_GET_FIELD_ADDRESS only for -Os compiles.
8486         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
8487         for slen only for -Os compiles.
8488         * string/strcoll_l.c (get_next_seq): Ignore
8489         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
8490         for -Os compiles.
8492         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
8493         * include/crypt.h: New file.
8495 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8497         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
8498         from test-skeleton.c.
8499         (statclass): Replace calls to write with calls to write_message.
8501 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8503         * math/math.h
8504         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
8505         New macro.
8506         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
8507         Likewise.
8508         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
8509         Likewise.
8510         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
8511         SNANL.
8512         * math/test-double.h (snan_value_MACRO): New macro.
8513         * math/test-float.h (snan_value_MACRO): Likewise.
8514         * math/test-ldouble.h (snan_value_MACRO): Likewise.
8515         * math/libm-test.inc (issignaling_test_data): Add tests of
8516         snan_value_MACRO.
8518 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8520         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
8521         behavior when eliding a lock not held by the current thread.
8522         * sysdeps/powerpc/nptl/elide.h: Likewise.
8524 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8526         [BZ #20728]
8527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
8528         branch to _exit() by a function call.
8530 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8532         * malloc/malloc.c: Update chunk layout comments.
8533         (chunk_main_arena): Update comment.
8535 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8537         * crypt/sha256.c, crypt/sha256-block.c,
8538         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
8539         sha256_process_block to __sha256_process_block.
8540         * crypt/sha512.c, crypt/sha512-block.c,
8541         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
8542         sha512_process_block to __sha512_process_block.
8544 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
8546         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
8548         * math/test-nan-overflow.c: Include stdlib.h for malloc.
8550 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
8552         [BZ #20019]
8553         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
8554         definition in unrelocated shared library.
8555         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8557 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8559         [BZ #20729]
8560         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
8561         * sysdeps/unix/sysv/linux/i386/Makefile
8562         (uses-6-syscall-arguments): Define.
8563         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
8564         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
8565         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
8566         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
8567         Likewise.
8568         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
8569         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
8570         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
8571         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
8572         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
8573         (CFLAGS-fallocate64.os): Likewise.
8574         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
8575         (CFLAGS-pthread_rwlock_timedrdlock.os)
8576         (CFLAGS-pthread_rwlock_timedwrlock.o)
8577         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
8578         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
8579         (CFLAGS-sem_timedwait.os): Likewise.
8581 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8583         * elf/tst-linkall-static.c: New file.
8584         * elf/Makefile (tests-static): Add tst-linkall-static.
8585         (tst-linkall-static): Link against static libraries.
8587 2016-10-27  Florian Weimer  <fweimer@redhat.com>
8589         * malloc/malloc.c (sysmalloc): Initialize previous size field of
8590         mmaped chunks.
8592 2016-10-28  Florian Weimer  <fweimer@redhat.com>
8594         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
8595         members to mchunk_prev_size, mchunk_size.
8596         (chunk_main_arena): Reverse sense and rename from
8597         chunk_non_main_arena.
8598         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
8599         mchunk_size instead of size.
8600         (set_non_main_arena): Define.
8601         (chunksize): Use chunksize_nomask instead of direct member access.
8602         (chunksize_nomask): Define.
8603         (next_chunk): Use chunksize instead of direct member access.
8604         (prev_size, set_prev_size): Define.
8605         (prev_chunk): Use prev_size instead of direct member access.
8606         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
8607         (inuse_bit_at_offset, set_inuse_bit_at_offset)
8608         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
8609         (mchunk_prev_size, mchunk_size): Poison tokens.
8610         (unlink): Use chunksize_nomask, prev_size accessors.
8611         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
8612         (do_check_free_chunk): Use prev_size accessor.
8613         (sysmalloc): Use set_prev_size, set_head accessors.
8614         (munmap_chunk, mremap_chunk): Use prev_size accessor.
8615         (__libc_free): Use chunksize_nomask accessor.
8616         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
8617         chunk_main_arena accessors.
8618         (_int_free): Use chunksize_nomask, prev_size accessors.
8619         (malloc_consolidate): Use chunksize, prev_size accessors.
8620         (_int_realloc): Use chunksize_nomask accessor.
8621         (_int_memalign): Use set_prev_size accessor.
8622         (__malloc_info): Use chunksize_nomask accessor.
8623         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
8624         accessors.
8625         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
8626         (heap_trim): Use chunksize_nomask, prev_size accessors.
8628 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
8630         [BZ #19380]
8631         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
8632         for inexact results.
8633         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
8634         of inexact result where mpfr_subnormalize is the only inexact
8635         step.
8636         * stdlib/tst-strtod-round-data.h: Regenerated.
8637         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
8638         Define to 0.
8639         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
8641 2016-10-27  David S. Miller  <davem@davemloft.net>
8643         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
8645 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8647         * malloc/malloc.c (do_set_mallopt_check): New function.
8648         (do_set_mmap_threshold): Likewise.
8649         (do_set_mmaps_max): Likewise.
8650         (do_set_top_pad): Likewise.
8651         (do_set_perturb_byte): Likewise.
8652         (do_set_trim_threshold): Likewise.
8653         (do_set_arena_max): Likewise.
8654         (do_set_arena_test): Likewise.
8655         (__libc_mallopt): Use them.
8657 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
8659         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8660         (canonicalize): New declaration.
8661         * math/Versions (canonicalize): New libm symbol at version
8662         GLIBC_2.25.
8663         (canonicalizef): Likewise.
8664         (canonicalizel): Likewise.
8665         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
8666         * math/s_canonicalize_template.c: New file.
8667         * math/libm-test.inc: Update comment on functions tested and
8668         testing of NaN payloads.
8669         (TEST_NAN_PAYLOAD): New macro.
8670         (NO_TEST_INLINE): Update value.
8671         (XFAIL_TEST): Likewise.
8672         (ERRNO_UNCHANGED): Likewise.
8673         (ERRNO_EDOM): Likewise.
8674         (ERRNO_ERANGE): Likewise.
8675         (IGNORE_RESULT): Likewise.
8676         (NON_FINITE): Likewise.
8677         (TEST_SNAN): Likewise.
8678         (NO_TEST_MATHVEC): Likewise.
8679         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
8680         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
8681         (struct test_Ffp_b1_data): New type.
8682         (RUN_TEST_Ffp_b1): New macro.
8683         (RUN_TEST_LOOP_Ffp_b1): Likewise.
8684         (canonicalize_test_data): New array.
8685         (canonicalize_test): New function.
8686         (main): Call canonicalize_test.
8687         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
8688         canonicalizef and canonicalizel.
8689         * manual/libm-err-tab.pl: Update comment on interfaces without
8690         ulps tabulated.
8691         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
8692         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
8693         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8694         canonicalize.
8695         (CFLAGS-nldbl-canonicalize.c): New variable.
8696         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
8697         to ...
8698         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
8699         ... here.
8700         (do_test): Also test canonicalizel.
8701         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
8702         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
8703         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
8704         file.
8705         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
8706         Use libm_hidden_def.
8707         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
8708         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
8709         (do_test): Also test canonicalizel.
8710         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
8711         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
8712         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
8713         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
8714         libm_hidden_def.
8715         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
8716         macro.
8717         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
8718         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
8719         * sysdeps/nacl/libm.abilist: Update.
8720         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8721         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8722         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8723         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8724         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8725         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8726         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8727         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8728         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8729         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8730         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8731         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8733         Likewise.
8734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8735         Likewise.
8736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8737         Likewise.
8738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8739         Likewise.
8740         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8741         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8742         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8743         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8744         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8746         Likewise.
8747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8748         Likewise.
8749         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8750         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8751         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8753         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
8754         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8755         getpayload.
8756         (CFLAGS-nldbl-getpayload.c): New variable.
8758 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8760         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
8761         integer from the format string.
8763 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8765         [BZ #19473]
8766         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
8767         declarations.
8768         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
8769         weak aliases.
8770         * malloc/hooks.c (__malloc_get_state): Remove definition.
8771         (malloc_get_state): New stub implementation as
8772         compatibility symbol.
8773         (malloc_set_state): Rename from __malloc_set_state.  Turn into
8774         compat symbol.
8775         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
8776         malloc_set_state.
8777         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
8779 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8781         * iconvdata/iso646.c (enum variant): Drop illegal_var.
8782         (names): Turn into concatenation of strings.
8783         (gconv_init): Adapt iteration over names.
8785 2016-10-26  Florian Weimer  <fweimer@redhat.com>
8787         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
8788         make const.
8789         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
8790         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
8791         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
8792         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
8793         character in sbconv.
8794         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
8795         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
8796         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
8798 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8800         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
8802         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
8803         (M_TRIM_THRESHOLD): Likewise.
8805         * manual/memory.texi (M_ARENA_TEST): Add documentation.
8806         (M_ARENA_MAX): Likewise.
8807         * malloc/malloc.c: Remove obsolete comment.
8809         * manual/memory.texi: Add environment variable alternatives to
8810         setting mallopt parameters.
8812 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
8814         * include/atomic.h
8815         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
8816         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
8818 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8820         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
8821         * stdlib/tst-strfrom.h: New file.
8822         * stdlib/tst-strfrom.c: New file.
8823         * stdlib/tst-strfrom-locale.c: New file.
8825         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
8826         * stdlib/bug-strtod2.c: Likewise.
8827         * stdlib/tst-strtod-round-skeleton.c: Likewise.
8828         * stdlib/tst-strtod6.c: Likewise.
8829         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
8831 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8833         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
8834         * manual/arith.texi: Document strfromd, strfromf, strfroml.
8835         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
8836         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
8837         * stdlib/stdlib.h (strfromd): New declaration.
8838         (strfromf): Likewise.
8839         (strfroml): Likewise.
8840         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
8841         strfrom.
8842         * stdlib/strfromd.c: New file.
8843         * stdlib/strfromf.c: Likewise.
8844         * stdlib/strfroml.c: Likewise.
8845         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
8846         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
8847         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
8848         * sysdeps/arm/nacl/libc.abilist: Update.
8849         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
8850         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8851         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8852         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8853         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8854         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8855         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8856         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8857         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8858         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8859         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8860         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8861         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8862         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
8864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8867         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8868         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8869         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8870         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8871         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8874         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8875         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8876         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8878 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
8880         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
8881         instead of cmpli.
8882         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
8883         instead of cmpli.
8885 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
8887         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
8888         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
8889         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
8890         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8891         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8892         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8894 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8896         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
8897         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
8898         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
8899         SYSCALL_LL64_PRW.
8900         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
8901         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
8902         __ASSUME_PRW_DUMMY_ARG.
8903         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
8904         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8905         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8906         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8907         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
8908         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
8910 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
8912         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
8914 2016-10-22  Florian Weimer  <fweimer@redhat.com>
8916         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
8917         "C++", to override a potential extern "C" directive around the
8918         header file inclusion.
8920 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
8922         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
8924 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8926         * sysdeps/powerpc/fpu/fenv_private.h:
8927         (_FPU_MASK_ALL): Rename to...
8928         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
8929         XE FPSCR bits.
8931         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
8933         (_FPU_MASK_ROUNDING): Rename to...
8934         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
8935         NI bits.
8937         (_FPU_MASK_EXCEPT_ROUND): Rename to...
8938         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
8939         bits and rounding bits.
8941         (__libc_feholdbits_ppc): New inline function to mask, set,
8942         and pontentially clear FSPCR bits, and change MSR[FE] bits.
8943         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
8944         (libc_feholdexcept_setround_ppc): Likewise.
8946         (__libc_femergeenv_ppc): New function to dynamically mask both
8947         old and new FP environments and merge.
8948         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8949         (libc_feresetround_ppc): Likewise.
8950         (libc_feupdateenv_test_ppc): Likewise.
8951         (libc_feupdateenv_ppc): Likewise.
8953         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8954         of ISA RN bits, and update macro names.
8955         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8956         effectively the same as the previously mentioned function.
8958         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8959         usage with fe_resetround_ppc.
8961         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8962         to be used.
8963         (libc_feholdexcept_setround_ctxf): Likewise.
8964         (libc_feholdexcept_setround_ctxl): Likewise.
8966 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8968         [BZ #20715]
8969         * math/math.h [__cplusplus] (iszero): Define as function template.
8970         * math/Makefile [CXX] (tests): Add test-math-iszero.
8971         (CFLAGS-test-math-iszero.cc): Set.
8972         * math/test-math-iszero.cc: New file.
8974 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8976         [BZ #20660]
8977         * sysdeps/arm/e_sqrt.c: New file.
8978         * sysdeps/arm/e_sqrtf.c: Likewise.
8980 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8982         [BZ #20718]
8983         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8984         not use floating-point comparisons to test sign.
8985         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8986         Likewise.
8988         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8989         (getpayload): New declaration.
8990         * math/Versions (getpayload): New libm symbol at version
8991         GLIBC_2.25.
8992         (getpayloadf): Likewise.
8993         (getpayloadl): Likewise.
8994         * math/Makefile (libm-calls): Add s_getpayloadF.
8995         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8996         (struct test_f_f_data): Add comment.
8997         (RUN_TEST_fp_f): New macro.
8998         (RUN_TEST_LOOP_fp_f): Likewise.
8999         (getpayload_test_data): New array.
9000         (getpayload_test): New function.
9001         (main): Call getpayload_test.
9002         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9003         descriptor.
9004         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9005         getpayloadf and getpayloadl.
9006         * manual/libm-err-tab.pl: Update comment on interfaces without
9007         ulps tabulated.
9008         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9009         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9010         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9011         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9012         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9013         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9014         * sysdeps/nacl/libm.abilist: Update.
9015         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9016         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9017         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9018         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9019         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9020         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9021         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9022         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9023         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9024         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9025         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9026         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9028         Likewise.
9029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9030         Likewise.
9031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9032         Likewise.
9033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9034         Likewise.
9035         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9036         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9037         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9038         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9039         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9041         Likewise.
9042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9043         Likewise.
9044         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9045         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9046         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9048 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9050         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9051         tst-fallocate{64}.
9052         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9053         on syscall return.
9055 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9057         [BZ #20689]
9058         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9059         usable.
9061 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9063         * sysdeps/generic/nan-high-order-bit.h: New file.
9064         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9065         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9066         * sysdeps/hppa/math_private.h: Remove file.
9067         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9068         not define here.
9069         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9070         <nan-high-order-bit.h>.
9071         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9072         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9073         <nan-high-order-bit.h>.
9074         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9075         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9076         <nan-high-order-bit.h>.
9077         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9078         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9079         <nan-high-order-bit.h>.
9080         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9081         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9082         <nan-high-order-bit.h>.
9083         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9084         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9085         <nan-high-order-bit.h>.
9086         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9087         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9088         <nan-high-order-bit.h>.
9089         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9090         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9091         <nan-high-order-bit.h>.
9092         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9093         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9094         <nan-high-order-bit.h>.
9095         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9096         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9097         <nan-high-order-bit.h>.
9098         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9099         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9100         <nan-high-order-bit.h>.
9101         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9102         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9103         <nan-high-order-bit.h>.
9104         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9105         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9106         <nan-high-order-bit.h>.
9107         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9108         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9109         <nan-high-order-bit.h>.
9110         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9111         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9112         <nan-high-order-bit.h>.
9113         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9114         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9115         <nan-high-order-bit.h>.
9116         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9117         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9118         <nan-high-order-bit.h>.
9119         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9120         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9121         <nan-high-order-bit.h>.
9122         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9124 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9126         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9128 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9130         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9131         abort-instr.h.
9132         (EFAULT): Remove conditional define.
9133         (ENOSYS): Likewise.
9134         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9135         instead of conditional branch instructions.
9137 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9139         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9140         (totalordermag): New declaration.
9141         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9142         New macro.
9143         * math/Versions (totalordermag): New libm symbol at version
9144         GLIBC_2.25.
9145         (totalordermagf): Likewise.
9146         (totalordermagl): Likewise.
9147         * math/Makefile (libm-calls): Add s_totalordermagF.
9148         * math/libm-test.inc (totalordermag_test_data): New array.
9149         (totalordermag_test): New function.
9150         (main): Call totalordermag_test.
9151         * math/test-tgmath.c (NCALLS): Increase to 125.
9152         (F(compile_test)): Call totalordermag.
9153         (F(totalordermag)): New function.
9154         * manual/arith.texi (FP Comparison Functions): Document
9155         totalordermag, totalordermagf and totalordermagl.
9156         * manual/libm-err-tab.pl: Update comment on interfaces without
9157         ulps tabulated.
9158         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9159         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9160         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9161         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9162         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9163         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9164         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9165         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9166         totalordermag.
9167         (CFLAGS-nldbl-totalordermag.c): New variable.
9168         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9169         (do_test): Also test totalordermagl.
9170         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9171         Likewise.
9172         * sysdeps/nacl/libm.abilist: Update.
9173         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9174         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9175         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9176         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9177         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9178         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9179         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9180         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9181         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9182         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9183         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9184         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9186         Likewise.
9187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9188         Likewise.
9189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9190         Likewise.
9191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9192         Likewise.
9193         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9194         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9195         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9196         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9197         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9199         Likewise.
9200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9201         Likewise.
9202         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9203         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9204         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9206 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9208         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9209         boolean.
9211 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9213         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9214         raising FE_INVALID with feraisexcept in case where part of
9215         argument is infinite, subtract that part of argument from itself.
9216         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9217         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9218         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9220 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9222         * math/libm-test.inc (totalorder_test_data): Add more tests.
9224 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9226         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
9227         Undefine weak_alias and add a comment why mips64 require
9228         versioning.
9230 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
9232         [BZ #20647]
9233         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
9234         maximum CPUID level is less than 2.
9236 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9238         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9239         (totalorder): New declaration.
9240         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
9241         New macro.
9242         * math/Versions (totalorder): New libm symbol at version
9243         GLIBC_2.25.
9244         (totalorderf): Likewise.
9245         (totalorderl): Likewise.
9246         * math/Makefile (libm-calls): Add s_totalorderF.
9247         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
9248         string.
9249         * math/libm-test.inc (PAYLOAD_DIG): New macro.
9250         (qnan_value_pl): Likewise.
9251         (snan_value_pl): Likewise.
9252         (qnan_value): Define using qnan_value_pl.
9253         (snan_value): Define using snan_value_pl.
9254         (struct test_ff_i_data): Add comment about which tests use this
9255         structure.
9256         (RUN_TEST_ff_b): New macro.
9257         (RUN_TEST_LOOP_ff_b): Likewise.
9258         (totalorder_test_data): New array.
9259         (totalorder_test): New function.
9260         (main): Call totalorder_test.
9261         * math/test-tgmath.c (NCALLS): Increase to 122.
9262         (F(compile_test)): Call totalorder.
9263         (F(totalorder)): New function.
9264         * manual/arith.texi (FP Comparison Functions): Document
9265         totalorder, totalorderf and totalorderl.
9266         * manual/libm-err-tab.pl: Update comment on interfaces without
9267         ulps tabulated.
9268         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
9269         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
9270         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
9271         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
9272         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
9273         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
9274         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
9275         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9276         totalorder.
9277         (CFLAGS-nldbl-totalorder.c): New variable.
9278         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
9279         file.
9280         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9281         Add test-totalorderl-ldbl-128ibm.
9282         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
9283         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
9284         test-totalorderl-ldbl-96.
9285         * sysdeps/nacl/libm.abilist: Update.
9286         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9287         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9288         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9289         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9290         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9291         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9292         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9293         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9294         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9295         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9296         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9297         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9299         Likewise.
9300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9301         Likewise.
9302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9303         Likewise.
9304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9305         Likewise.
9306         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9307         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9308         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9309         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9310         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9312         Likewise.
9313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9314         Likewise.
9315         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9316         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9317         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9319 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9321         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
9322         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
9323         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
9324         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
9325         remove ENOSYS implementation.
9326         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
9327         Consolidate all Linux implementations.
9329 2016-10-11  Florian Weimer  <fweimer@redhat.com>
9331         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
9332         * resolv/herror.c (herror): Cast away const-ness.
9333         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
9334         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
9336 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
9338         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
9339         instead of M_NAN + M_NAN.
9340         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9342 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9344         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
9345         unused variable 'p'.
9347 2016-10-09  Alan Modra  <amodra@gmail.com>
9348             Andreas Schwab  <schwab@linux-m68k.org>
9350         [BZ #20554]
9351         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
9352         [PIC && !SHARED]: Set up PIC register for PLT call.
9354 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
9356         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
9357         conditional on value of [__FLT_EVAL_METHOD__].
9358         * math/test-iseqsig-excess-precision.c: New file.
9359         * math/Makefile (tests): Add test-iseqsig-excess-precision.
9361 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9363         * math/s_iseqsig_template.c: Include math-private.h.
9365         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
9366         * posix/tst-posix_fadvise.c: New file.
9367         * posix/tst-posix_fadvise64.c: Likewise.
9368         * posix/tst-posix_fadvise-common.c: Likewise.
9369         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9370         (__ASSUME_FADVISE64_64_6ARG): Define.
9371         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9372         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
9373         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9374         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
9375         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
9376         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
9377         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
9378         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9379         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
9380         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
9381         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
9382         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
9383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
9384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
9385         Likewise.
9386         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
9387         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
9388         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
9389         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9390         Alias to __posix_fadvise64_l32.
9391         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
9392         Add compat definition to posix_fadvise64.
9393         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
9394         Add versioned definition to posix_fadvise64.
9395         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
9396         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
9397         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
9398         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
9399         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
9401         * io/Makefile (tests): Add tst-posix_fallocate and
9402         tst-posix_fallocate64.
9403         * io/tst-posix_fallocate-common.c: New file.
9404         * io/tst-posix_fallocate.c: Likewise.
9405         * io/tst-posix_fallocate64.c: Likewise.
9406         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
9407         file.
9408         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
9409         Likewise.
9410         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
9411         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
9412         Likewise.
9413         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
9414         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
9415         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
9416         SYSCALL_LL to pass both offset and len arguments.
9417         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
9418         Likewise.
9419         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
9420         __libc_pwrite64 alias used by posix_fallocate64.
9422         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9423         tst-fallocate64.
9424         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9425         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9426         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9427         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9428         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9429         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9430         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9431         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9432         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9433         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9434         macro on offset argument.
9435         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9436         SYSCALL_LL64 on offset argument.
9438         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
9439         tst-fallocate64.
9440         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
9441         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
9442         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
9443         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
9444         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
9445         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
9446         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
9447         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9448         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
9449         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
9450         macro on offset argument.
9451         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
9452         SYSCALL_LL64 on offset argument.
9453         * test-skeleton.c (FAIL_RET): Add macro.
9454         (FAIL_EXIT): Likewise.
9455         (FAIL_EXIT1): Likewise.
9456         (_FAIL): Likewise.
9458 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9460         [BZ #20629]
9461         resolv: Remove RES_USEBSTRING and its implementation.
9462         * resolv/resolv.h (RES_USEBSTRING): Remove.
9463         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
9464         (digitvalue, encode_bitstring, decode_bitstring): Remove.
9465         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
9466         (labellen): Remove extended label types support.
9467         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
9468         * resolv/res_init.c (res_setoptions): Likewise.
9469         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9471 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9473         resolv: Remove RES_NOIP6DOTINT and its implementation.
9474         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
9475         (RES_NOIP6DOTINT): Remove.
9476         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
9477         handling.
9478         * resolv/res_debug.c (p_option): Likewise.
9479         * resolv/res_init.c (res_setoptions): Likewise.
9480         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
9482 2016-10-07  Florian Weimer  <fweimer@redhat.com>
9484         resolv: Deprecate unimplemented flags.
9485         * misc/sys/cdefs.h (__glibc_macro_warning1)
9486         (__glibc_macro_warning): Define.
9487         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
9488         (RES_KEEPTSIG): Mark as deprecated.
9489         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
9490         RES_NOCHECKNAME, RES_KEEPTSIG.
9491         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
9493 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9495         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
9496         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
9497         Use strong_alias to create symbols for glibc verison 2.19.
9499 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9501         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
9503 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9505         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
9507 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9509         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
9511 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9513         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9514         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
9515         in header for using it as type for ifunc function because __GI_* symbols
9516         for ppc32 do not target the ifunc symbols.
9517         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9519 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9521         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
9522         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
9523         libc_ifunc_hidden_def.
9524         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
9525         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
9526         Redirect ifunced function in header for using it as type of ifunc'ed
9527         function. Redefine libc_hidden_def to use fallback non ifunc'ed
9528         function for __GI_* symbol.
9529         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
9530         * include/libc-symbols.h
9531         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
9533 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9535         [BZ #20478]
9536         * sysdeps/s390/multiarch/ifunc-resolve.h
9537         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
9538         to create ifunc symbols.
9539         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
9540         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
9541         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
9542         for using it as type for ifunc function.
9543         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
9544         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9545         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9546         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9547         * sysdeps/s390/multiarch/strcat.c: Likewise.
9548         * sysdeps/s390/multiarch/strchr.c: Likewise.
9549         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9550         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9551         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9552         * sysdeps/s390/multiarch/strlen.c: Likewise.
9553         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9554         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9555         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9556         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9557         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9558         * sysdeps/s390/multiarch/strspn.c: Likewise.
9559         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9560         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9561         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9562         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9563         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9564         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9565         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9566         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
9567         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
9568         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9569         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
9570         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
9572 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9574         * include/libc-symbols.h (__ifunc_resolver):
9575         New macro is used by __ifunc* macros.
9576         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
9577         depending on HAVE_GCC_IFUNC.
9578         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
9579         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
9580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9581         Redirect ifunced function in header for using as type for ifunc function.
9582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
9583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
9584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
9585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
9586         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
9587         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
9588         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
9589         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
9590         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
9591         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
9592         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
9593         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
9594         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
9595         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
9596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
9598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
9600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9601         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
9602         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
9603         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
9604         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
9605         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
9606         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
9607         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
9608         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
9609         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
9610         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
9611         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
9612         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
9613         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
9614         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
9615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
9616         Add libc_hidden_def() and use libc_ifunc_hidden() macro
9617         instead of libc_ifunc() macro.
9618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
9619         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
9621 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
9623         * config.h.in (HAVE_GCC_IFUNC): New undef.
9624         * configure.ac: Add check if gcc supports attribute ifunc feature.
9625         * configure: Regenerated.
9626         * manual/install.texi: Add recommendation for gcc with
9627         indirect-function support.
9628         * INSTALL: Regenerated.
9630 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
9632         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
9633         macro.
9634         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9635         (__iseqsig): New declaration.
9636         * math/s_iseqsig_template.c: New file.
9637         * math/Versions (__iseqsigf): New libm symbol at version
9638         GLIBC_2.25.
9639         (__iseqsig): Likewise.
9640         (__iseqsigl): Likewise.
9641         * math/libm-test.inc (iseqsig_test_data): New array.
9642         (iseqsig_test): New function.
9643         (main): Call iseqsig_test.
9644         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
9645         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
9646         * manual/libm-err-tab.pl: Update comment on interfaces without
9647         ulps tabulated.
9648         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
9649         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
9650         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
9651         * sysdeps/nacl/libm.abilist: Update.
9652         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9653         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9654         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9655         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9656         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9657         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9658         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9659         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9660         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9661         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9662         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9663         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9665         Likewise.
9666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9667         Likewise.
9668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9669         Likewise.
9670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9671         Likewise.
9672         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9673         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9674         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9675         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9676         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9678         Likewise.
9679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9680         Likewise.
9681         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9682         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9683         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9685 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9687         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
9688         do_sincos_2, sloww, sloww1): Update comments.
9690         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
9691         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
9693         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
9694         K boolean and rename it.
9695         (__sin): Adjust.
9696         (__cos): Adjust.
9698 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9699             Siddhesh Poyarekar  <siddhesh@sourceware.org>
9701         * manual/nss.texi: Fix typos in the manual.
9703 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
9705         * manual/contrib.texi: Fix typos in the manual.
9707         * manual/maint.texi: Fix typos in the manual.
9709         * manual/install.texi: Fix typos in the manual.
9710         * INSTALL: Regenerated.
9712         * manual/lang.texi: Fix typos in the manual.
9714         * manual/probes.texi: Fix typos in the manual.
9716         * manual/threads.texi: Fix typos in the manual.
9718         * manual/debug.texi: Fix typos in the manual.
9720         * manual/crypt.texi: Fix typos in the manual.
9722         * manual/conf.texi: Fix typos in the manual.
9724         * manual/sysinfo.texi: Fix typos in the manual.
9726         * manual/users.texi: Fix typos in the manual.
9728         * manual/job.texi: Fix typos in the manual.
9730         * manual/process.texi: Fix typos in the manual.
9732         * manual/argp.texi: Fix typos in the manual.
9733         * manual/getopt.texi: Likewise.
9734         * manual/startup.texi: Likewise.
9736         * manual/signal.texi: Fix typos in the manual.
9738         * manual/setjmp.texi: Fix typos in the manual.
9740         * manual/resource.texi: Fix typos in the manual.
9742         * manual/time.texi: Fix typos in the manual.
9744         * manual/arith.texi: Fix typos in the manual.
9746         * manual/math.texi: Fix typos in the manual.
9748         * manual/syslog.texi: Fix typos in the manual.
9750         * manual/terminal.texi: Fix typos in the manual.
9752         * manual/socket.texi: Fix typos in the manual.
9754         * manual/filesys.texi: Fix typos in the manual.
9756         * manual/llio.texi: Fix typos in the manual.
9758         * manual/stdio.text: Fix typos in the manual.
9760 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9762         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
9763         instead of K1.
9765         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
9766         SHIFT_QUADRANT and make it bool.
9767         (do_sincos_2): Likewise.
9768         (sloww): Likewise.
9769         (sloww1): Likewise.
9770         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
9771         (__cos): Likewise.
9773 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9775         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9777 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
9779         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
9780         Define to __WORDSIZE, not conditional on [LONG_MAX ==
9781         0x7fffffffL].
9782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9784 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9786         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
9787         inline by __inline__.
9788         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
9789         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
9790         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
9791         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
9792         sigset_t from signal.h.
9793         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
9794         which is already required.
9796 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
9798         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9800 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
9802         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
9803         (struct tcp_repair_window): New type.
9805 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9807         * libio/tst-memstream3.c: Include string.h.
9809 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9811         [BZ #18241]
9812         [BZ #20181]
9813         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
9814         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
9815         write position is at the end the buffer.
9816         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
9817         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
9818         (_IO_str_seekoff): Set correct offset from negative displacement and
9819         set EINVAL for invalid ones.
9820         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
9821         buffer length.
9822         (_IO_wstr_switch_to_get_mode): New function.
9823         (_IO_wstr_seekoff): Set correct offset from negative displacement and
9824         set EINVAL for invalid ones.
9825         * libio/tst-memstream3.c: New file.
9826         * libio/tst-wmemstream3.c: Likewise.
9827         * manual/examples/memstrm.c: Remove warning when priting size_t.
9829 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9831         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
9832         macro to use __builtin_fma.
9833         * sysdeps/x86_64/fpu/dla.h: Remove file.
9835         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
9836         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
9837         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
9839 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
9841         [BZ #20292]
9842         * elf/Makefile (routines): Add dl-addr-obj.
9843         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
9844         tst-_dl_addr_inside_object.
9845         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
9846         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9847         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
9848         [ifeq (yesyes,$(have-fpie)$(build-shared))]
9849         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
9850         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
9851         * elf/dl-open.c: Likewise.
9852         * elf/dl-addr-obj.c: New file.
9853         * elf/tst-_dl_addr_inside_object.c: New file.
9855 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
9857         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
9858         <bits/iscanonical.h>.
9859         * bits/iscanonical.h: New file.
9860         * math/s_iscanonicall.c: Likewise.
9861         * math/Versions (__iscanonicall): New libm symbol at version
9862         GLIBC_2.25.
9863         * math/libm-test.inc (iscanonical_test_data): New array.
9864         (iscanonical_test): New function.
9865         (main): Call iscanonical_test.
9866         * math/Makefile (headers): Add bits/iscanonical.h.
9867         (type-ldouble-routines): Add s_iscanonicall.
9868         * manual/arith.texi (Floating Point Classes): Document
9869         iscanonical.
9870         * manual/libm-err-tab.pl: Update comment on interfaces without
9871         ulps tabulated.
9872         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
9873         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
9874         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
9875         Likewise.
9876         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9877         test-iscanonical-ldbl-128ibm.
9878         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
9879         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
9880         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
9881         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
9882         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
9883         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9884         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9886         Likewise.
9887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9888         Likewise.
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9890         Likewise.
9891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9892         Likewise.
9893         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9894         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9896 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9898         * string/bits/string3.h: Remove C++ style comments.
9900 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9902         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
9903         instead of ternary condition.
9904         (do_sincos_2): Likewise.
9905         (__sin): Likewise.
9906         (__cos): Likewise.
9907         (slow): Likewise.
9908         (sloww): Likewise.
9909         (sloww1): Likewise.
9910         (bsloww): Likewise.
9911         (bsloww1): Likewise.
9913         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
9914         instead of ternary condition.
9915         (do_sin_slow): Likewise.
9916         (do_sincos_1): Likewise.
9917         (do_sincos_2): Likewise.
9918         (__cos): Likewise.
9919         (sloww): Likewise.
9920         (sloww1): Likewise.
9921         (sloww2): Likewise.
9922         (bsloww): Likewise.
9923         (bsloww1): Likewise.
9924         (bsloww2): Likewise.
9926         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
9927         check from here...
9928         (slow2): ... and here...
9929         (__sin): ... to here.
9931 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
9933         * math/math.h
9934         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
9935         Cast argument to its own type.
9936         * math/test-iszero-excess-precision.c: New file.
9937         * math/Makefile (tests): Add test-iszero-excess-precision.
9938         (CFLAGS-test-iszero-excess-precision.c): New variable.
9940 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
9942         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
9943         field, add err field.
9944         (__spawni_child): Report error through err member instead of pipe.
9945         (__spawnix): Likewise.
9947 2016-09-28  Zack Weinberg  <zackw@panix.com>
9949         * scripts/check-installed-headers.sh: Generalize treatment of
9950         sys/elf.h to all target architectures.
9952         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9953         deleted typedef ucontext_t.
9955 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9957         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9958         (__INTERNAL_SYSCALL1): Likewise.
9959         (__INTERNAL_SYSCALL2): Likewise.
9960         (__INTERNAL_SYSCALL3): Likewise.
9961         (__INTERNAL_SYSCALL4): Likewise.
9962         (__INTERNAL_SYSCALL5): Likewise.
9963         (__INTERNAL_SYSCALL6): Likewise.
9964         (__INTERNAL_SYSCALL7): Likewise.
9965         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9966         (__INTERNAL_SYSCALL_NARGS): Likewise.
9967         (__INTERNAL_SYSCALL_DISP): Likewise.
9968         (INTERNAL_SYSCALL_CALL): Likewise.
9969         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9970         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9971         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9972         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9973         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9974         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9975         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9976         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9977         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9978         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9979         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9980         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9981         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9983 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9985         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9986         macro.
9987         * math/libm-test.inc (iszero_test_data): New array.
9988         (iszero_test): New function.
9989         (main): Call iszero_test.
9990         * manual/arith.texi (Floating Point Classes): Document iszero.
9991         * manual/libm-err-tab.pl: Update comment on interfaces without
9992         ulps tabulated.
9994 2016-09-23  Zack Weinberg  <zackw@panix.com>
9996         * scripts/check-installed-headers.sh: New script.
9997         * Rules: In each directory that defines header files to be installed,
9998         run check-installed-headers.sh on them as a special test.
9999         * Makefile: Likewise for the headers installed at top level.
10001         * include/aliases.h, include/alloca.h, include/argz.h
10002         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10003         * include/elf.h, include/envz.h, include/err.h
10004         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10005         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10006         * include/link.h, include/malloc.h, include/mcheck.h
10007         * include/mntent.h, include/netinet/ether.h
10008         * include/nss.h, include/obstack.h, include/printf.h
10009         * include/pty.h, include/resolv.h, include/rpc/auth.h
10010         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10011         * include/rpc/clnt.h, include/rpc/des_crypt.h
10012         * include/rpc/key_prot.h, include/rpc/netdb.h
10013         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10014         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10015         * include/rpc/rpc_msg.h, include/rpc/svc.h
10016         * include/rpc/svc_auth.h, include/rpc/xdr.h
10017         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10018         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10019         * include/rpcsvc/ypupd.h, include/shadow.h
10020         * include/stdio_ext.h, include/sys/epoll.h
10021         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10022         * include/sys/prctl.h, include/sys/profil.h
10023         * include/sys/statfs.h, include/sys/sysctl.h
10024         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10025         * sysdeps/arm/nacl/include/bits/setjmp.h
10026         * sysdeps/mips/include/sys/asm.h
10027         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10028         * sysdeps/unix/sysv/linux/include/sys/timex.h
10029         * sysdeps/x86/fpu/include/bits/fenv.h:
10030         Add #ifndef _ISOMAC guard around internal declarations.
10031         Add multiple-inclusion guard if not already present.
10033 2016-09-23  Zack Weinberg  <zackw@panix.com>
10035         * sysdeps/generic/sys/ucontext.h
10036         * sysdeps/arm/sys/ucontext.h
10037         * sysdeps/i386/sys/ucontext.h
10038         * sysdeps/m68k/sys/ucontext.h
10039         * sysdeps/mips/sys/ucontext.h
10040         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10041         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10042         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10043         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10044         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10045         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10046         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10047         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10048         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10049         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10050         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10051         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10052         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10053         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10054         Include both bits/sigcontext.h and bits/sigstack.h.
10055         Fix grammar error in comment, if present.
10057         * bits/sigstack.h
10058         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10059         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10060         * sysdeps/unix/sysv/linux/bits/sigstack.h
10061         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10062         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10063         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10064         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10065         * bits/sigcontext.h
10066         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10067         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10068         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10069         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10070         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10071         as well as signal.h, if this was not already allowed.  Request
10072         definition of size_t if necessary.  Minimize semantically-null
10073         differences across files.
10075 2016-09-23  Zack Weinberg  <zackw@panix.com>
10077         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10078         Remove all logic conditional on __need macros.  Move all the
10079         conditionally defined types to their own headers...
10080         * time/bits/types/clock_t.h: Define clock_t here.
10081         * time/bits/types/clockid_t.h: Define clockid_t here.
10082         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10083         * time/bits/types/struct_timespec.h: Define struct timespec here.
10084         * time/bits/types/struct_timeval.h: Define struct timeval here.
10085         * time/bits/types/struct_tm.h: Define struct tm here.
10086         * time/bits/types/time_t.h: Define time_t here.
10087         * time/bits/types/timer_t.h: Define timer_t here.
10088         * time/Makefile: Install the new headers.
10090         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10091         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10092         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10093         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10094         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10095         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10096         * sysdeps/unix/sysv/linux/bits/resource.h
10097         * sysdeps/unix/sysv/linux/bits/timex.h
10098         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10099         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10100         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10101         * sysdeps/unix/sysv/linux/sys/acct.h
10102         * sysdeps/unix/sysv/linux/sys/timerfd.h
10103         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10104         * time/sys/time.h, time/sys/timeb.h
10105         Use the new bits/types headers.
10107         * include/time.h: Remove __need logic.
10108         * include/bits/time.h
10109         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10110         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10111         * include/bits/types/struct_itimerspec.h
10112         * include/bits/types/struct_timespec.h
10113         * include/bits/types/struct_timeval.h
10114         * include/bits/types/struct_tm.h:
10115         New wrapper headers.
10117 2016-09-23  Zack Weinberg  <zackw@panix.com>
10119         * sysdeps/mach/hurd/net/if_ppp.h
10120         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10121         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10122         if __USE_MISC is defined, to ensure struct ifreq is declared.
10124         * inet/netinet/ether.h: Condition all function prototypes
10125         on __USE_MISC, to ensure struct ether_addr is declared.
10127         * socket/bits/types/struct_osockaddr.h: New header.
10128         * include/bits/types/struct_osockaddr.h: New wrapper.
10129         * socket/Makefile: Install the new header.
10130         * socket/sys/socket.h, inet/protocols/talkd.h:
10131         Refer to bits/types/struct_osockaddr.h for the definition of
10132         struct osockaddr.
10134 2016-09-23  Zack Weinberg  <zackw@panix.com>
10136         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10137         * inet/protocols/routed.h, inet/protocols/talkd.h
10138         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10139         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10140         * sysdeps/generic/netinet/if_ether.h
10141         * sysdeps/generic/netinet/in_systm.h
10142         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10143         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10144         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10145         * sysdeps/mach/hurd/net/if_arp.h
10146         * sysdeps/mach/hurd/net/if_ppp.h
10147         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10148         * sysdeps/unix/sysv/linux/bits/in.h
10149         * sysdeps/unix/sysv/linux/net/ethernet.h
10150         * sysdeps/unix/sysv/linux/net/if_arp.h
10151         * sysdeps/unix/sysv/linux/net/if_ppp.h
10152         * sysdeps/unix/sysv/linux/net/if_shaper.h
10153         * sysdeps/unix/sysv/linux/net/route.h
10154         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10155         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10156         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10157         * sysdeps/unix/sysv/linux/netipx/ipx.h
10158         * sysdeps/unix/sysv/linux/sys/acct.h
10159         * include/arpa/nameser.h, include/resolv.h:
10160         Change all uses of u_char to unsigned char,
10161         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10162         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10163         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10164         and u_int64_t and u_quad_t to uint64_t.
10166         * mach/sys/reboot.h: Remove two casts of integer literals
10167         to the types they already have.
10169         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10170         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10171         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10172         from referring to 'unsigned char' to 'uint8_t' for consistency with
10173         the macro definition below.
10175         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10176         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10177         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10178         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10179         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10180         * sysdeps/unix/sysv/linux/sys/acct.h
10181         * include/arpa/nameser.h, include/resolv.h:
10182         Fix indentation disrupted by mechanical edits.
10184         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10185         * sysdeps/generic/netinet/in_systm.h
10186         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10187         * sysdeps/gnu/netinet/udp.h
10188         * sysdeps/unix/sysv/linux/net/ethernet.h
10189         * sysdeps/unix/sysv/linux/net/if_arp.h
10190         * sysdeps/unix/sysv/linux/net/if_ppp.h
10191         * sysdeps/unix/sysv/linux/net/if_shaper.h
10192         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10193         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10194         * sysdeps/unix/sysv/linux/netipx/ipx.h
10195         * sysdeps/unix/sysv/linux/sys/acct.h
10196         Include stdint.h for uintNN_t definitions.
10197         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10199 2016-09-23  Zack Weinberg  <zackw@panix.com>
10201         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10202         * sysdeps/unix/sysv/linux/netrose/rose.h:
10203         Include sys/socket.h and netax25/ax25.h.
10205         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10206         * resolv/arpa/nameser_compat.h:
10207         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10209         * sysdeps/unix/sysv/linux/sys/quota.h:
10210         Use __caddr_t instead of caddr_t.
10211         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10212         Use __clockid_t instead of clockid_t.
10214         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10216         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10217         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10218         expanding it.
10220         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10221         Define __glibc_c99_flexarr_available to 1 when the compiler
10222         supports C99-compatible flexible array members, 0 otherwise.
10223         * sysdeps/unix/sysv/linux/bits/socket.h
10224         * sysdeps/mach/hurd/bits/socket.h
10225         * bits/socket.h: Use __glibc_c99_flexarr_available in
10226         definitions of struct cmsghdr and CMSG_DATA.
10228 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10230         * manual/nss.texi (NSS Modules Interface): Adjust function return
10231         type to enum nss_status.  Document errnop argument.  Clarify
10232         h_errnop semantics.  Fix cross-reference formatting.
10233         (NSS Module Function Internals): Mention that *errnop needs to be
10234         set on failure, but not to zero.
10236 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10238         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
10239         (get_random_name): New functions.
10240         (check_wrapper_flags_mode): Use linkat to give the new file a name
10241         determined by get_random_name.
10242         (do_test): Add calls to test open64 and openat64.
10244 2016-09-23  Florian Weimer  <fweimer@redhat.com>
10246         * test-skeleton.c: Remove #include <stdarg.h>.
10248 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
10250         [BZ #19826]
10251         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
10252         initialization of static TLS entries.
10253         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
10254         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10256 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10258         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
10259         _hurd_malloc_fork_prepare.
10260         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
10261         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
10262         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
10263         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
10264         (_hurd_fork_child_hook): Drop malloc_fork_child.
10265         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
10266         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
10267         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
10268         after locking locks (notably hurd_dtable_lock). Call
10269         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
10270         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
10271         __malloc_fork_unlock_child.
10272         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
10274 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
10276         * soft-fp/extendhftf2.c: New.
10277         * soft-fp/fixhfti.c: Likewise.
10278         * soft-fp/fixunshfti.c: Likewise.
10279         * soft-fp/floattihf.c: Likewise.
10280         * soft-fp/floatuntihf.c: Likewise.
10281         * soft-fp/half.h: Likewise.
10282         * soft-fp/trunctfhf2.c: Likewise.
10284 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
10286         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
10287         macro.
10288         * math/libm-test.inc (issubnormal_test_data): New array.
10289         (issubnormal_test): New function.
10290         * manual/arith.texi (Floating Point Classes): Document
10291         issubnormal.
10292         * manual/libm-err-tab.pl: Update comment on interfaces without
10293         ulps tabulated.
10295         * sysdeps/generic/stdint.h: Define
10296         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10297         <bits/libc-header-start.h> instead of including <features.h>.
10298         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
10299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
10300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
10301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
10302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
10303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
10304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
10305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
10306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
10307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
10308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
10309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
10310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
10311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
10312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
10313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
10314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
10315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
10316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
10317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
10318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
10319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
10320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
10321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
10322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
10323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
10324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
10325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
10326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
10327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
10328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
10329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
10330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
10331         * manual/arith.texi (Integers): Document these macros for types
10332         specified by width properties.
10333         * manual/lang.texi (Width of Type): Document these macros for
10334         other standard typedefs.
10335         * stdlib/tst-width-stdint.c: New file.
10336         * stdlib/Makefile (tests): Add tst-width-stdint.
10338 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10340         [BZ #20016]
10341         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
10342         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
10343         Move ...
10344         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
10345         ... here, as compatibility symbols in a new file.
10346         * resolv/Makefile (libresolv-routines): Add compat-hooks.
10347         * resolv/res_init.c (__res_vinit): Adjust member names.
10348         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
10349         * resolv/resolv.h (res_sendhookact, res_send_qhook)
10350         (res_send_rhook): Remove.
10351         (struct __res_state): Rename qhook, rhook members.
10353 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10355         malloc: Use __libc_lock wrappers.
10356         * malloc/arena.c (list_lock, free_list_lock): Define using
10357         __libc_lock_define_initialized.
10358         (arena_lock): Adjust formatting.
10359         * malloc/malloc.c (struct malloc_state): Define mutex using
10360         __libc_lock_define.
10361         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
10362         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
10363         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
10364         (mutex_unlock, mutex_trylock): Remove.
10365         (__pthread_initialize): Remove unused macro.
10366         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
10367         (mutex_unlock, mutex_trylock): Remove.
10369 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10371         [BZ #20592]
10372         Remove RR type classification macros.
10373         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
10374         (ns_t_udp_p, ns_t_xfr_p): Remove.
10376 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10378         Remove misleading version information.
10379         * resolv/arpa/nameser.h (__NAMESER): Remove.
10380         * resolv/arpa/nameser_compat.h (__BIND): Remove.
10382 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10384         Remove the always-defined BIND_4_COMPAT macro.
10385         * resolv/arpa/nameser.h: Unconditionally include
10386         <arpa/nameser_compat.h>.
10387         (BIND_4_COMPAT): Remove.
10388         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
10390 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10392         [BZ #20591]
10393         Remove obsolete DNSSEC support.
10394         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
10395         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
10396         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
10397         (ns_verify_tcp, ns_verify_tcp_init): Remove.
10398         (ns_cert_types): Add comment.
10399         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
10400         separately.
10401         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
10402         (dst_s_dns_key_id): Remove.
10403         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
10404         variables.
10406 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10408         [BZ #20524]
10409         * manual/string.texi (String/Array Comparison): Clarify the
10410         strverscmp behavior.
10412 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10414         * test-skeleton.c (xasprintf): Add function.
10415         * io/tst-open-tmpfile.c: New test.
10416         * io/Makefile (tests): Add it.
10418 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10420         Avoid running $(CXX) during build to obtain header file paths.
10421         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
10422         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
10423         * Makerules (cstdlib, cmath): Remove variables.  Use
10424         $(c++-cstdlib-header), $(c++-cmath-header) instead.
10425         * configure: Regenerate.
10427 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10429         * Makeconfig (all-object-suffixes): Include .op only if
10430         $(build-profile).
10432 2016-09-21  Florian Weimer  <fweimer@redhat.com>
10434         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
10435         conditionals.  Do not define PATH_MAX.
10437 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10439         * posix/Makefile (tests): Add tst-spawn3.
10440         * posix/tst-spawn3.c: New file.
10441         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
10442         if it is already opened for open action.
10444         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
10445         all signals when executing the clone vfork child.
10446         (SIGALL_SET): Remove macro.
10448         * nptl/Makefile (tests): Add tst-exec5.
10449         * nptl/tst-exec5.c: New file.
10450         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
10451         asynchronous cancellation.
10453 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10455         * hurd/exc2signal.c: #include <hurd/signal.h>
10456         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
10457         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
10458         accordingly.
10459         * mach/mach_error.c (mach_error): Fix old-style function definition.
10460         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
10462 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10464         * math/Makefile (libm-calls): Remove s_nanF.
10465         (gen-libm-calls): Add s_nanF.
10467         * math/s_nan.c: Refactor into ...
10468         * math/s_nan_template.c: New file.
10470         * math/s_nanf.c: Removed.
10471         * math/s_nanl.c: Removed.
10472         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
10473         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
10475         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10476         (LDOUBLE_nanl_libm_version): New macro.
10478         * sysdeps/generic/math-type-macros-double.h:
10479         (M_STRTO_NAN): New macro.
10480         * sysdeps/generic/math-type-macros-float.h: Likewise.
10481         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10483         * sysdeps/generic/math-type-macros.h: Document
10484         M_STRTO_NAN.
10486 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10488         * math/s_nanf.c: Remove __nanf undef.
10489         * math/s_nan.c: Remove __nan undef.
10490         * math/s_nanl.c: Remove __nanl undef.
10492         * sysdeps/generic/math_private.h (__nan): Remove macro
10493         override.
10494         (__nanf): Likewise.
10495         (__nanl): Likewise.
10497 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10499         * math/Makefile (gen-all-calls): New variable.
10500         (generated): Replace gen-libm-calls with gen-all-calls.
10501         (gen-libm-templates.stmp): Likewise.  Also, ensure
10502         the output directory exists or is created and add
10503         dependency on the Makefile.
10504         (calls): Move s_ldexpF into gen-calls.
10505         (gen-calls): New variable.
10507         * math/s_ldexpf.c: Removed.
10508         * math/s_ldexpl.c: Removed.
10509         * math/s_ldexp.c: Refactored into ...
10510         * math/s_ldexp_template.c: New file.
10512         * sysdeps/generic/math-type-macros-double.h: Remove
10513         redundant fall-through definition of declare_mgen_alias.
10514         (declare_mgen_alias_2): New macro.
10516         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
10517         New macro for function aliased to two exported symbols.
10519         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
10520         new template file.
10521         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
10523 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10525         * Makeconfig (all-object-suffixes): Remove .og.
10526         * Makerules (elide-routines.og): Remove.
10527         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
10528         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
10529         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
10531 2016-09-20  Florian Weimer  <fweimer@redhat.com>
10533         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
10534         .os objects.
10536 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10538         [BZ #20615]
10539         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
10540         fpu directory by non-fpu.
10541         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
10542         on non-fpu directory from a fpu directory.
10544 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
10546         * include/limits.h: Define
10547         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10548         <bits/libc-header-start.h> instead of including <features.h>.
10549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
10550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
10551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
10552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
10553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
10554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
10555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
10556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
10557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
10559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
10560         * manual/lang.texi (Width of Type): Document these macros.
10561         * stdlib/tst-width.c: New file.
10562         * stdlib/Makefile (tests): Add tst-width.
10564 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10566         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
10567         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
10569 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10571         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
10572         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10573         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10575 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10577         [BZ #18243]
10578         * rt/Makefile (test): Add tst-shm-cancel.
10579         * rt/tst-shm-cancel.c: New file.
10580         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
10582         [BZ #18243]
10583         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
10584         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
10585         definition.
10586         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
10587         uncontended case.
10588         * nptl/sem_wait.c (__new_sem_wait): Likewise.
10589         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
10590         (tf): Fix check for uncontended case.
10591         (do_test): Likewise.
10592         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
10593         (tf): Fix check for uncontended case.
10594         (do_test): Likewise.
10595         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
10596         (tf): Fix check for uncontended case.
10597         (do_test): Likewise.
10598         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
10599         (tf): Fix check for uncontended case.
10600         (do_test): Likewise.
10602         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
10603         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
10605         [BZ #15765]
10606         * nptl/Makefile (tests): Add tst-sem16.
10607         * nptl/tst-sem16.c: New file.
10608         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
10610         * nptl/sem_open.c (sem_open): Init pad value to 0.
10611         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
10612         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
10614 2016-09-15  Florian Weimer  <fweimer@redhat.com>
10616         [BZ #20611]
10617         * inet/Makefile (routines): Add inet6_scopeid_pton.
10618         (tests): Add tst-inet6_scopeid_pton.
10619         * inet/inet6_scopeid_pton.c: New file.
10620         * inet/net-internal.h: Likewise.
10621         * inet/tst-inet6_scopeid_pton.c: New test.
10622         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
10623         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
10624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10626 2016-09-14  Florian Weimer  <fweimer@redhat.com>
10628         Remove support for compiling wrappers with PTW.
10629         * sysdeps/nptl/Makeconfig: Drop ptw- support.
10630         * nptl/Makefile (pthread-compat-wrappers): Define.
10631         (libpthread-routines): Use pthread-compat-wrappers.
10632         * sysdeps/unix/sysv/linux/alpha/Makefile
10633         (libpthread-routines, libpthread-shared-only-routines): Remove
10634         ptw- prefix.
10635         * sysdeps/s390/nptl/Makefile
10636         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10637         * sysdeps/ia64/nptl/Makefile
10638         (libpthread-routines, libpthread-shared-only-routines): Likewise.
10639         * sysdeps/nacl/Makefile (libpthread-routines): Use
10640         pthread-compat-wrappers to filter the routines list instead of the
10641         ptw- prefix.
10643 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10645         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
10646         with L() and remove explicit suffix, convert real literals
10647         which can be equivalentally substituted with integers, and
10648         transform -L(x) to L(-x).
10650         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10651         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10652         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10653         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10654         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10655         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10656         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10657         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10658         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10659         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10660         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10661         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10662         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10663         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10664         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10665         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10666         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10667         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10668         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10669         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10670         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10671         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10672         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10673         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10674         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10675         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10676         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10677         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10678         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10679         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10680         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10681         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10682         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10683         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10684         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10685         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10686         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10687         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10688         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10689         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10690         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10691         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10692         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10693         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10694         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10695         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10696         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10697         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10698         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10699         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10701 2016-09-13  Florian Weimer  <fweimer@redhat.com>
10703         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
10705 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10707         * malloc/Makefile (tests): Remove individual static test names
10708         and just add all of tests-static.
10710         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
10712 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
10714         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
10715         file.
10717         * sysdeps/sparc/fpu/fegetmode.c: New file.
10718         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
10720         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
10721         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
10723         * sysdeps/s390/fpu/fegetmode.c: New file.
10724         * sysdeps/s390/fpu/fesetmode.c: Likewise.
10726         * sysdeps/powerpc/fpu/fegetmode.c: New file.
10727         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
10728         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
10729         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
10730         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
10731         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
10733         * sysdeps/mips/fpu/fegetmode.c: New file.
10734         * sysdeps/mips/fpu/fesetmode.c: Likewise.
10736         * sysdeps/m68k/fpu/fegetmode.c: New file.
10737         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
10739         * sysdeps/ia64/fpu/fegetmode.c: New file.
10740         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
10742         * sysdeps/hppa/fpu/fegetmode.c: New file.
10743         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
10745         * sysdeps/arm/fegetmode.c: New file.
10746         * sysdeps/arm/fesetmode.c: Likewise.
10748         * sysdeps/alpha/fpu/fegetmode.c: New file.
10749         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
10751         * sysdeps/aarch64/fpu/fegetmode.c: New file.
10752         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
10754         * math/fegetmode.c: New file.
10755         * math/fesetmode.c: Likewise.
10756         * sysdeps/i386/fpu/fegetmode.c: Likewise.
10757         * sysdeps/i386/fpu/fesetmode.c: Likewise.
10758         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
10759         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
10760         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
10761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
10762         declaration.
10763         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
10764         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
10765         typedef.
10766         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10767         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10768         (femode_t): New typedef.
10769         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10770         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10771         (femode_t): New typedef.
10772         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10773         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10774         (femode_t): New typedef.
10775         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10776         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10777         (femode_t): New typedef.
10778         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10779         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10780         (femode_t): New typedef.
10781         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10782         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10783         (femode_t): New typedef.
10784         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10785         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10786         (femode_t): New typedef.
10787         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10788         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10789         (femode_t): New typedef.
10790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10791         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10792         (femode_t): New typedef.
10793         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10794         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10795         (femode_t): New typedef.
10796         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
10797         declaration.
10798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10799         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10800         (femode_t): New typedef.
10801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10802         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10803         (femode_t): New typedef.
10804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10805         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10806         (femode_t): New typedef.
10807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10808         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10809         (femode_t): New typedef.
10810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10811         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10812         (femode_t): New typedef.
10813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
10814         * manual/arith.texi (FE_DFL_MODE): Document macro.
10815         (fegetmode): Document function.
10816         (fesetmode): Likewise.
10817         * math/Versions (fegetmode): New libm symbol at version
10818         GLIBC_2.25.
10819         (fesetmode): Likewise.
10820         * math/Makefile (libm-support): Add fegetmode and fesetmode.
10821         (tests): Add test-femode and test-femode-traps.
10822         * math/test-femode-traps.c: New file.
10823         * math/test-femode.c: Likewise.
10824         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
10825         alias for __fe_dfl_env.
10826         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
10827         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
10828         (__fe_dfl_mode): Likewise.
10829         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
10830         version GLIBC_2.25.
10831         * sysdeps/nacl/libm.abilist: Update.
10832         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10833         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10834         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10835         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10836         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10837         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10838         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10839         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10840         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10841         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10842         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10843         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10845         Likewise.
10846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10847         Likewise.
10848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10849         Likewise.
10850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10851         Likewise.
10852         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10853         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10854         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10855         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10856         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10858         Likewise.
10859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10860         Likewise.
10861         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10862         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10863         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10865 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
10867         [BZ #20495]
10868         [BZ #20508]
10869         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
10870         processors, set Use_dl_runtime_resolve_slow and set
10871         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
10872         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
10873         New.
10874         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
10875         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
10876         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
10877         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
10878         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
10879         if Use_dl_runtime_resolve_opt is set.  Use
10880         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
10881         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
10882         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
10883         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
10884         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
10885         New.
10886         (_dl_runtime_resolve_opt): Likewise.
10887         (_dl_runtime_profile): Define only if _dl_runtime_profile is
10888         defined.
10890 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10892         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
10893         __libc_memalign with "+ RELA R_390_GLOB_DAT".
10895 2016-09-06  Florian Weimer  <fweimer@redhat.com>
10897         Convert malloc to __libc_lock.  Automated part, using this Perl
10898         s/// command:
10899           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
10900             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
10901         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
10902         conversion.
10904 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
10906         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
10907         (linknamespace-symlists-tests): Likewise.
10908         (linknamespace-header-tests): Likewise.
10910 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
10912         [BZ #19810]
10913         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
10914         * elf/tst-noload.c: New test case.
10915         * elf/Makefile (tests): Add tst-noload.
10917 2016-09-02  Roland McGrath  <roland@hack.frob.com>
10919         * sysdeps/nacl/dup.c: Add libc_hidden_def.
10921         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
10922         not any more.
10924         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
10926 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10928         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
10929         (do_cos_slow): Likewise.
10930         (do_sin): Likewise.
10931         (do_sin_slow): Likewise.
10932         (slow): Likewise.
10933         (slow1): Likewise.
10934         (slow2): Likewise.
10935         (sloww): Likewise.
10936         (sloww1): Likewise.
10937         (sloww2): Likewise.
10938         (bsloww): Likewise.
10939         (bsloww1): Likewise.
10940         (bsloww2): Likewise.
10941         (cslow2): Likewise.
10943         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10945         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10946         arguments.  Consolidate input partitioning from callers here.
10947         (do_cos_slow): Likewise.
10948         (do_sin): Likewise.
10949         (do_sin_slow): Likewise.
10950         (do_sincos_1): Remove the no longer necessary input partitioning.
10951         (do_sincos_2): Likewise.
10952         (__sin): Likewise.
10953         (__cos): Likewise.
10954         (slow1): Likewise.
10955         (slow2): Likewise.
10956         (sloww1): Likewise.
10957         (sloww2): Likewise.
10958         (bsloww1): Likewise.
10959         (bsloww2): Likewise.
10960         (cslow2): Likewise.
10962 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10964         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10965         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10966         outside of allocated array.
10968 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10970         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10971         instead of MB_CUR_MAX to avoid variable-length array.
10973 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10975         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10976         (type-double-routines): Add k_rem_pio2.
10977         (type-float-routines): Add k_rem_pio2f.
10979         * sysdeps/generic/math_private.h:
10980         (__kernel_rem_pio2l): Removed.
10982         * math/k_rem_pio2l.c: Removed.
10983         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10984         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10985         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10986         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10988 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10990         * math/Makefile (gen-libm-calls): Add s_fmin
10991         (libm-calls): Remove above.
10993         * math/s_fmin.c: Refactor into ...
10994         * math/s_fmin_template.c: New file.
10996         * math/s_fminf.c: Removed.
10997         * math/s_fminl.c: Removed.
10998         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10999         (LDOUBLE_fmin_libm_version): New macro.
11001         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11002         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11004 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11006         * math/Makefile: (gen-libm-calls): Add s_fmax.
11007         (libm-calls): Remove above.
11009         * math/s_fmax.c: Refactor into ...
11010         * math/s_fmax_template.c: New file.
11011         * math/s_fmaxf.c: Removed.
11012         * math/s_fmaxl.c: Removed.
11014         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11015         (LDOUBLE_fmaxl_libm_version): New macro.
11017         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11018         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11020         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11021         s_fmin.c to pick the aarch64 version of the file.
11022         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11023         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11025 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11027         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11028         (libm-calls): Remove above.
11030         * math/s_nextdown.c: Refactor into ...
11031         * math/s_nextdown_template.c: New file.
11032         * math/s_nextdownf.c: Removed.
11033         * math/s_nextdownl.c: Removed.
11035         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11037 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11039         * math/Makefile (gen-libm-calls): Add s_fdim.
11040         (libm-calls): Move to above.
11042         * math/s_fdim.c: Renamed and refactored into to ...
11043         * math/s_fdim_template.c: New file.
11044         * math/s_fdiml.c: Removed.
11045         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11046         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11048         * sysdeps/generic/math-type-macros-double.h:
11049         (declare_mgen_alias): Don't declare if already declared.
11050         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11051         Likewise.
11053         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11054         (declare_mgen_alias): Don't declare if already declared.
11055         (M_LIBM_NEED_COMPAT): Likewise.
11056         (declare_mgen_libm_compat): Likewise.
11057         (LDOUBLE_fdiml_libm_version): New macro.
11059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11060         Include math/s_fdim.c now that ldbl-opt version is not needed.
11061         (declare_mgen_alias): New macro to disable aliasing.
11063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11064         (declare_mgen_alias): Likewise.
11065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11066         (declare_mgen_alias): Likewise.
11067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11068         (declare_mgen_alias): Likewise.
11069         (M_LIBM_NEED_COMPAT): Likewise.
11071 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11073         [BZ #20525]
11074         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11075         Include <linux/quota.h>.
11076         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11077         and btodb.
11078         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11079         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11080         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11081         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11082         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11083         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11084         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11085         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11086         types.
11087         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11088         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11090 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11092         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11093         (gammal_positive): Fix spacing.
11094         (__ieee754_gammal_r): Likewise.
11096 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11098         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11099         (_Float128): Define as long double, always.
11100         (L): Apply long double type suffix, always.
11102         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11103         _Float128, excepting comments.
11105         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11106         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11107         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11108         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11109         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11110         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11111         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11112         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11113         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11114         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11115         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11116         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11117         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11118         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11119         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11120         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11121         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11122         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11123         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11124         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11125         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11126         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11127         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11128         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11129         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11130         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11131         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11132         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11133         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11134         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11135         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11136         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11137         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11138         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11139         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11140         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11141         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11142         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11143         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11144         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11145         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11146         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11147         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11148         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11149         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11150         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11151         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11152         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11153         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11154         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11155         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11156         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11157         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11158         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11159         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11160         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11161         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11162         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11163         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11164         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11165         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11166         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11167         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11168         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11169         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11170         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11171         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11172         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11174         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11175         _Float128, and include math_private.h.
11176         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11178         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11179         long double semantics.
11180         (_Float128): Likewise.
11181         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11182         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11183         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11184         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11186 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11188         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11189         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11190         * sysdeps/s390/configure: Regenerated.
11191         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11192         instruction for raising over-/underflow if z196 zarch is supported
11193         by default.
11194         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11196 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11198         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11199         it point to a dumb buffer for RPC to fill it.
11201 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11203         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11204         instead of if/else.
11205         (do_sin_slow): Likewise.
11206         (do_sincos_1): Use fabs instead of if/else.
11207         (do_sincos_2): Likewise.
11208         (__sin): Likewise.
11209         (__cos): Likewise.
11210         (slow2): Likewise.
11211         (sloww): Likewise.
11212         (sloww1): Likewise.  Drop argument M.
11213         (sloww2): Use fabs instead of if/else.
11214         (bsloww): Likewise.
11215         (bsloww1): Likewise.
11216         (bsloww2): Likewise.
11218         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11219         fall through comment.
11220         (do_sincos_1): Likewise.
11222         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
11223         Consolidate switch cases 0 and 2.
11225 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11227         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
11228         (libm-calls): Remove the above.
11230         * math/s_cexp_template.c: Update using type-generic macros.
11231         * math/s_clog10_template.c: Likewise.
11232         * math/s_cpow_template.c: Likewise.
11233         * math/s_clog_template.c: Likewise.
11234         * math/s_cproj_template.c: Likewise.
11235         * math/s_csqrt_template.c: Likewise.
11237         * math/s_cexp.c: Removed.
11238         * math/s_cexpf.c: Removed.
11239         * math/s_cexpl.c: Removed.
11240         * math/s_clog10.c: Removed.
11241         * math/s_clog10f.c: Removed.
11242         * math/s_clog10l.c: Removed.
11243         * math/s_cpow.c: Removed.
11244         * math/s_cpowf.c: Removed.
11245         * math/s_cpowl.c: Removed.
11246         * math/s_clog.c: Removed.
11247         * math/s_clogf.c: Removed.
11248         * math/s_clogl.c: Removed.
11249         * math/s_cproj.c: Removed.
11250         * math/s_cprojf.c: Removed.
11251         * math/s_cprojl.c: Removed.
11252         * math/s_csqrt.c: Removed.
11253         * math/s_csqrtf.c: Removed.
11254         * math/s_csqrtl.c: Removed.
11256         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
11257         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
11258         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
11259         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
11260         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
11261         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
11263         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
11264         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
11265         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
11266         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
11267         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
11268         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
11269         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
11270         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
11271         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
11272         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
11273         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
11275         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
11276         version.
11278         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
11279         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
11280         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
11281         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
11283 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11285         * s_cexp_template.c: Copy of s_cexp.c.
11286         * s_clog_template.c: Copy of s_clog.c.
11287         * s_clog10_template.c: Copy of s_clog10.c.
11288         * s_cpow_template.c: Copy of s_cpow.c.
11289         * s_cproj_template.c: Copy of s_cproj.c.
11290         * s_csqrt_template.c: Copy of s_csqrt.c.
11292 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11294         [BZ #20517]
11295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11296         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
11297         exported.
11299 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
11301         * math/fetestexceptflag.c: New file.
11302         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
11303         Stefan Liebler.
11304         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11305         (fetestexceptflag): New function declaration.
11306         * manual/arith.texi (fetestexceptflag): Document function.
11307         * math/Versions (fetestexceptflag): New libm symbol at version
11308         GLIBC_2.25.
11309         * math/Makefile (libm-support): Add fetestexceptflag.
11310         (tests): Add test-fetestexceptflag.
11311         * math/test-fetestexceptflag.c: New file.
11312         * sysdeps/nacl/libm.abilist: Update.
11313         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11314         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11315         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11316         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11317         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11318         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11319         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11320         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11321         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11322         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11323         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11324         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11326         Likewise.
11327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11328         Likewise.
11329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11330         Likewise.
11331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11332         Likewise.
11333         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11334         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11335         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11336         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11337         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11339         Likewise.
11340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11341         Likewise.
11342         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11343         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11344         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11346 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11348         [BZ #20432]
11349         Avoid strong references to malloc-internal symbols when linking
11350         statically, to support statically interposed mallocs.
11351         * include/libc-symbols.h (call_function_static_weak): New macro.
11352         * malloc/Makefile (tests): Add tst-interpose-nothread,
11353         tst-interpose-thread, tst-interpose-static-nothread,
11354         tst-interpose-static-thread.
11355         (tests-static): Add tst-interpose-static-nothread,
11356         tst-interpose-static-thread.
11357         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
11358         tst-interpose-aux-thread.o.
11359         (test-extras): Add tst-interpose-aux-nothread,
11360         tst-interpose-aux-thread.
11361         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
11362         tst-interpose-aux-nothread.o.
11363         (tst-interpose-thread, tst-interpose-static-thread): Link with
11364         tst-interpose-aux-thread.o and libthread.
11365         * malloc/tst-interpose-aux-nothread.c: New file.
11366         * malloc/tst-interpose-aux-thread.c: Likewise.
11367         * malloc/tst-interpose-aux.c: Likewise.
11368         * malloc/tst-interpose-aux.h: Likewise.
11369         * malloc/tst-interpose-nothread.c: Likewise.
11370         * malloc/tst-interpose-skeleton.c: Likewise.
11371         * malloc/tst-interpose-static-nothread.c: Likewise.
11372         * malloc/tst-interpose-static-thread.c: Likewise.
11373         * malloc/tst-interpose-thread.c: Likewise.
11374         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
11375         * sysdeps/mach/hurd/fork.c (__fork): Only call
11376         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11377         __malloc_fork_unlock_child if defined.
11378         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11380 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11382         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
11383         timespec C99 designated initialization.
11385 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11387         [BZ #19946]
11388         Avoid expected SIGALRM signals.
11389         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
11390         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
11391         (xpthread_create, xpthread_detach, xpthread_join)
11392         (delayed_exit_thread, delayed_exit): New functions.
11393         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
11394         (tf): Use xpthread_cond_wait.
11395         (do_test): Likewise.  Replace alarm with delayed_exit.
11396         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11397         (do_test): Call delayed_exit.  Report failure.
11398         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11399         (do_test): Call delayed_exit.
11400         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11401         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
11402         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11403         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
11404         error.
11405         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
11406         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
11407         error.
11408         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
11409         (do_test): Call delayed_exit.
11410         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
11411         (do_test): Call delayed_exit.
11412         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
11413         (do_test): Call delayed_exit instead of alarm.  Use
11414         xpthread_mutex_lock.
11415         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
11416         (do_test): Call delayed_exit instead of alarm.  Use
11417         xpthread_mutex_lock.
11418         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
11419         (do_test): Call delayed_exit instead of alarm.
11420         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
11421         (do_test): Call delayed_exit instead of alarm.  Use
11422         xpthread_spin_lock.
11423         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
11424         (do_test): Call delayed_exit instead of alarm.  Use
11425         xpthread_join.
11427 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11429         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
11430         adjust CFA when allocating register save area on re-aligned
11431         stack.
11433 2016-08-26  Florian Weimer  <fweimer@redhat.com>
11435         * string/tst-cmp.c: New test.
11436         * string/Makefile (tests): Add it.
11438 2016-08-25  Mark Wielaard  <mark@klomp.org>
11440         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
11441         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
11442         (check_tree_recurse): Use newly defined accessors.
11443         (check_tree): Likewise.
11444         (maybe_split_for_insert): Likewise.
11445         (__tfind): Likewise.
11446         (__tdelete): Likewise.
11447         (trecurse): Likewise.
11448         (tdestroy_recurse): Likewise.
11449         (__tsearch): Likewise. And add asserts for malloc alignment.
11450         (__twalk): Cast root to node in case CHECK_TREE is defined.
11452 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11454         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
11456 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11458         * math/Makefile (libm-gen-calls): Add
11459         catan, catanh, ctan, ctanh.
11460         (libm-calls): Remove the above.
11462         * math/s_catan_template.c: Update using type-generic macros.
11463         * math/s_catanh_template.c: Likewise.
11464         * math/s_ctan_template.c: Likewise.
11465         * math/s_ctanh_template.c: Likewise.
11467         * math/s_catanf.c: Removed.
11468         * math/s_catan.c: Removed.
11469         * math/s_catanl.c: Removed.
11470         * math/s_catanhf.c: Removed.
11471         * math/s_catanh.c: Removed.
11472         * math/s_catanhl.c: Removed.
11473         * math/s_ctanf.c: Removed.
11474         * math/s_ctan.c: Removed.
11475         * math/s_ctanl.c: Removed.
11476         * math/s_ctanhf.c: Removed.
11477         * math/s_ctanh.c: Removed.
11478         * math/s_ctanhl.c: Removed.
11480         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
11481         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
11482         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
11483         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
11484         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
11485         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
11487         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
11488         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
11489         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
11490         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
11492 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11494         * s_catan_template.c: Copy of s_catan.c.
11495         * s_catanh_template.c: Copy of s_catanh.c.
11496         * s_ctan_template.c: Copy of s_ctan.c.
11497         * s_ctanh_template.c: Copy of s_ctanh.c.
11499 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11501         * math/Makefile (gen-libm-calls): Move
11502         casin, casinh, csin, csinh here.
11503         (libm-calls): Remove the above.
11505         * math/s_casin_template.c: Update using type-generic macros.
11506         * math/s_casinh_template.c: Likewise.
11507         * math/s_csin_template.c: Likewise.
11508         * math/s_csinh_template.c: Likewise.
11509         * math/k_casinh_template.c: Likewise.
11511         * math/s_casinf.c: Removed.
11512         * math/s_casin.c: Removed.
11513         * math/s_casinl.c: Removed.
11514         * math/s_casinh.c: Removed.
11515         * math/s_casinhf.c: Removed.
11516         * math/s_casinhl.c: Removed.
11517         * math/s_csin.c: Removed.
11518         * math/s_csinf.c: Removed.
11519         * math/s_csinl.c: Removed.
11520         * math/s_csinh.c: Removed.
11521         * math/s_csinhf.c: Removed.
11522         * math/s_csinhl.c: Removed.
11523         * math/k_casinh.c: Removed.
11524         * math/k_casinhf.c: Removed.
11525         * math/k_casinhl.c: Removed.
11527         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
11528         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
11529         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
11530         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
11532         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
11533         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
11534         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
11535         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
11536         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
11537         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
11538         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
11539         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
11541         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
11542         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
11543         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
11544         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
11546         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
11547         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
11548         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
11549         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
11551 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11553         * s_casin_template.c: Copy of s_casin.c.
11554         * s_casinh_template.c: Copy of s_casinh.c.
11555         * s_csin_template.c: Copy of s_csin.c.
11556         * s_csinh_template.c: Copy of s_csinh.c.
11557         * k_casinh_template.c: Copy of k_casinh.c.
11559 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
11561         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
11563 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11565         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
11566         (mul_split) Remove, rename as mul_splitl, remove
11567         redundant float.h include, and include via mul_splitl.h
11569         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11570         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11571         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
11572         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
11573         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
11575         * math/mul_splitl.h: New file.
11577         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
11578         Move into mul_split.h, and remove redundant float.h include.
11580         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
11581         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
11582         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
11583         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
11585         * math/mul_split.h: New file.
11587 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11589         * math/Makefile (libm-gen-calls): Move
11590         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
11591         (libm-calls): Remove above.
11593         * math/s_cacos_template.c: Update using type-generic macros.
11594         * math/s_cacosh_template.c: Likewise.
11595         * math/s_ccos_template.c: Likewise.
11596         * math/s_ccosh_template.c: Likewise.
11598         * math/s_cacosf.c: Removed.
11599         * math/s_cacos.c: Removed.
11600         * math/s_cacosl.c: Removed.
11601         * math/s_cacoshf.c: Removed.
11602         * math/s_cacosh.c: Removed.
11603         * math/s_cacoshl.c: Removed.
11604         * math/s_ccosf.c: Removed.
11605         * math/s_ccos.c: Removed.
11606         * math/s_ccosl.c: Removed.
11607         * math/s_ccoshf.c: Removed.
11608         * math/s_ccosh.c: Removed.
11609         * math/s_ccoshl.c: Removed.
11611         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
11612         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
11613         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
11614         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
11615         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
11616         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
11618         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
11619         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
11620         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
11621         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
11623         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
11624         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
11625         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
11626         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
11628 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11630         * s_cacos_template.c: Copy of s_cacos.c.
11631         * s_cacosh_template.c: Copy of s_cacosh.c.
11632         * s_ccos_template.c: Copy of s_ccos.c.
11633         * s_ccosh_template.c: Copy of s_ccosh.c.
11635 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11637         * stdlib/tst-strtod-round-skeleton.c:
11638         Refactored from tst-strtod-round.c.
11640         (L_): New macro to apply literal modifier.
11641         (FNPFX): New macro to select str or wcs prefix.
11642         (CHAR): New macro to choose wchar_t or char.
11643         (STRM): New macro to choose printf for tested character type.
11645         (STRTO): New macro to choose appropriate string -> real function.
11646         (FNPFXS): Stringitized version of FNPFX.
11647         (STR): Support for above macro.
11648         (STRX): Likewise.
11650         (TEST): Update with above macros.
11651         (test): Likewise.
11652         (GEN_ONE_TEST): Likewise.
11653         (test_in_one_mode): Likewise.
11655         * stdlib/tst-strtod-round.c: New file.
11656         * wcsmbs/tst-wcstod-round.c: New file.
11658         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
11659         (tst-wcstod-round): Add libm depencency for fesetround.
11661 2016-08-19  Zack Weinberg  <zackw@panix.com>
11663         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
11665 2016-08-18  Torvald Riegel  <triegel@redhat.com>
11667         [BZ #20477]
11668         * resolv/res_hconf.c (do_init): Use atomic access.
11669         * resolv/res_hconf.h: Add comments.
11670         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
11671         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
11672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11674 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11676         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
11677         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
11678         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
11679         Likewise.
11681 2016-08-18  Florian Weimer  <fweimer@redhat.com>
11683         [BZ #16907]
11684         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
11685         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
11686         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
11687         (__attribute__): Remove definition.
11689 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11691         * sysdeps/ieee754/ldbl-128/e_asinl.c:
11692         Remove unused sqrtl declaration.
11694 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11696         * math/Makefile: (gen-libm-templates.stmp): New rule.
11697         (libm-calls): Move carg conj cimag and cabs into ...
11698         (gen-libm-calls): New variable.
11699         (generated): Inform Make objects from gen-libm-calls
11700         may be generated.
11702         * sysdeps/generic/math-type-macros.h: New file.
11703         * sysdeps/generic/math-type-macros-float.h: Likewise.
11704         * sysdeps/generic/math-type-macros-double.h: Likewise.
11705         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11706         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
11707         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
11709         * math/cabs.c: Refactor into
11710         * math/cabs_template.c: new file.
11711         * math/cabsf.c: Removed.
11712         * math/cabsl.c: Removed.
11713         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
11714         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
11716         * math/carg.c: Refactor into
11717         * math/carg_template.c: new file.
11718         * math/cargf.c: Removed.
11719         * math/cargl.c: Removed.
11720         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
11721         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
11723         * math/conj.c: Refactor into
11724         * math/conj_template.c: new file.
11725         * math/conjf.c: Removed.
11726         * math/conjl.c: Removed.
11727         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
11728         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
11730         * math/cimag.c: Refactor into
11731         * math/cimag_template.c: new file.
11732         * math/cimagf.c: Removed.
11733         * math/cimagl.c: Removed.
11734         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11735         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11737         * math/cimag.c: Refactor into
11738         * math/cimag_template.c: new file.
11739         * math/cimagf.c: Removed.
11740         * math/cimagl.c: Removed.
11741         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
11742         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
11744 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11746         Reduce time to expected nptl/tst-once5 failure.
11747         * nptl/tst-once5.cc (TIMEOUT): Define.
11749 2016-08-17  Florian Weimer  <fweimer@redhat.com>
11751         [BZ #20452]
11752         Avoid additional copies of objects in libc.a in static libraries.
11753         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
11754         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
11755         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
11756         rt-sysdep.
11757         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
11758         Add nptl-sysdep.
11759         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
11760         Add ptw-sysdep.
11761         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
11762         rt-sysdep.
11763         * sysdeps/unix/sysv/linux/alpha/Makefile
11764         (libpthread-shared-only-routines): Add ptw-sysdep,
11765         ptw-sigprocmask, ptw-rt_sigaction.
11766         * sysdeps/unix/sysv/linux/ia64/Makefile
11767         (librt-shared-only-routines): Add rt-sysdep.
11768         * sysdeps/unix/sysv/linux/i386/Makefile
11769         (libpthread-shared-only-routines): Add libc-do-syscall.
11770         * sysdeps/unix/sysv/linux/microblaze/Makefile
11771         (libpthread-shared-only-routines): Add sysdep.
11772         * sysdeps/unix/sysv/linux/powerpc/Makefile
11773         (librt-shared-only-routines): Add rt-sysdep.
11774         (libpthread-shared-only-routines): Add sysdep.
11775         * sysdeps/unix/sysv/linux/s390/Makefile
11776         (librt-shared-only-routines): Add rt-sysdep.
11777         * sysdeps/unix/sysv/linux/sparc/Makefile
11778         (librt-shared-only-routines): Add rt-sysdep.
11779         (libpthread-shared-only-routines): Add sysdep.
11780         * sysdeps/unix/sysv/linux/tile/Makefile
11781         (libpthread-shared-only-routines): Likewise.
11783 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
11785         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
11786         Mask implicit bit out of unpacked value.
11787         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
11788         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
11789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
11791         * sysdeps/sparc/fpu/fesetexcept.c: New file.
11793         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
11795         * sysdeps/s390/fpu/fesetexcept.c: New file.
11797         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
11798         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
11799         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
11801         * sysdeps/mips/fpu/fesetexcept.c: New file.
11803         * sysdeps/m68k/fpu/fesetexcept.c: New file.
11805         * sysdeps/ia64/fpu/fesetexcept.c: New file.
11807         * sysdeps/hppa/fpu/fesetexcept.c: New file.
11809         * sysdeps/arm/fesetexcept.c: New file.
11811         * sysdeps/alpha/fpu/fesetexcept.c: New file.
11813         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
11815         * math/fesetexcept.c: New file.
11816         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
11817         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
11818         * math/fenv.h: Define
11819         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11820         <bits/libc-header-start.h> instead of including <features.h>.
11821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
11822         declaration.
11823         * manual/arith.texi (fesetexcept): Document function.
11824         * math/Versions (fesetexcept): New libm symbol at version
11825         GLIBC_2.25.
11826         * math/Makefile (libm-support): Add fesetexcept.
11827         (tests): Add test-fesetexcept and test-fesetexcept-traps.
11828         * math/test-fesetexcept.c: New file.
11829         * math/test-fesetexcept-traps.c: Likewise.
11830         * sysdeps/nacl/libm.abilist: Update.
11831         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11832         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11833         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11834         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11835         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11836         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11837         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11838         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11839         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11840         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11841         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11842         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11844         Likewise.
11845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11846         Likewise.
11847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11848         Likewise.
11849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11850         Likewise.
11851         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11852         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11853         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11854         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11855         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11857         Likewise.
11858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11859         Likewise.
11860         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11861         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11862         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11864 2016-08-16  Florian Weimer  <fweimer@redhat.com>
11866         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
11867         New.
11868         (do_test): Apply default_stack_size_in_mb if not set.
11869         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
11871 2016-08-15  Andreas Schwab  <schwab@suse.de>
11873         [BZ #20435]
11874         CVE-2016-6323
11875         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
11876         as .cantunwind.
11878 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
11880         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
11881         comment from fraiseexcpt.c.
11883         * math/test-fexcept.c (feraiseexcept_exact): New function.
11884         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
11885         (test_except): Likewise.
11887 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
11889         [BZ #20455]
11890         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
11891         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
11892         to be restored.
11894         * math/test-fexcept-traps.c: New file.
11895         * math/test-fexcept.c: Likewise.
11896         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
11897         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
11898         macro.
11899         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
11900         (EXCEPTION_SET_FORCES_TRAP): Likewise.
11902 2016-08-09  Torvald Riegel  <triegel@redhat.com>
11904         * include/atomic.h (atomic_fetch_and_relaxed,
11905         atomic_fetch_and_release, atomic_fetch_or_release,
11906         atomic_fetch_xor_release): New.
11908 2016-08-06  Christian Seiler  <christian@iwakd.de>
11910         [BZ #20444]
11911         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
11912         MACH_PORT_NULL.
11914 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11916         * math/s_fdim.c: Avoid alias renamed.
11917         * math/s_fdimf.c: Likewise.
11918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11919         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11920         Add s_fdimf-vis3, s_fdim-vis3.
11921         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11922         (CFLAGS-s_fdim-vis3.c): Likewise.
11923         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
11924         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
11926 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11929         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11930         Remove s_fdimf-vis3, s_fdim-vis3.
11931         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
11932         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
11933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
11934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
11935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
11936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
11937         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
11938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
11939         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
11940         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
11942 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
11944         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11945         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11946         -Wa,-Av9a -mvis.
11948 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11950         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11951         LIT() to individual constants in simple expressions
11952         after splitting on spaces.
11953         (_apply_lit): Rename replaced version, and use it to
11954         apply to what appears to be a token.
11956         * math/libm-test.inc: Fix many, many issues with
11957         spacing.
11959 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11961         * math/math.h: Move comment about <bits/mathdef.h> definitions
11962         above inclusion of <bits/mathdef.h>.  Do not mention
11963         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11965 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11967         * include/atomic.h (atomic_exchange_relaxed): New.
11969 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11971         * math/e_scalb.c: Do not include <fenv.h>.
11972         (invalid_fn): Do calculation resulting in NaN instead of raising
11973         FE_INVALID and returning a NaN explicitly.
11974         * math/e_scalbf.c: Do not include <fenv.h>.
11975         (invalid_fn): Do calculation resulting in NaN instead of raising
11976         FE_INVALID and returning a NaN explicitly.
11977         * math/e_scalbl.c: Do not include <fenv.h>.
11978         (invalid_fn): Do calculation resulting in NaN instead of raising
11979         FE_INVALID and returning a NaN explicitly.
11981 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11983         * po/de.po: Updated from Translation Project.
11984         * po/fi.po: Likewise.
11985         * po/sv.po: Likewise.
11987 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11989         [BZ #20452]
11990         Use sysdep.o from libc.a in static libraries.
11991         * sysdeps/unix/sysv/linux/i386/Makefile
11992         (libpthread-shared-only-routines): Add sysdep.
11993         (librt-shared-only-routines): Likewise.
11995 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11997         * math/tgmath.h (nextdown): Define if
11998         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11999         (nextup): Likewise.
12001         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12002         macro.
12003         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12004         Document.
12005         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12006         Document macro.
12007         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12008         (exp10f): Likewise.
12009         (exp10l): Likewise.
12010         * math/bits/mathcalls.h (exp10): Declare if
12011         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12013         * manual/arith.texi (nextup): Fix typo in last change.
12015 2016-08-03  Zack Weinberg  <zackw@panix.com>
12017         [BZ #19239]
12018         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12019         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12020         define major, minor, and makedev to issue deprecation warnings on use.
12021         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12022         previously-activated deprecation warnings for these macros and prevent
12023         subsequent inclusions of this header from having any effect.
12024         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12025         including <sys/sysmacros.h>, and undefine it again afterward.
12027 2016-08-03  Zack Weinberg  <zackw@panix.com>
12029         * sysdeps/generic/sys/sysmacros.h: Delete file.
12030         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12031         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12032         * bits/sysmacros.h: ... here; this encoding is now the generic
12033         encoding.  Now defines only the following macros:
12034         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12035         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12036         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12038         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12039         bits/sysmacros.h and the above new macros to generate the
12040         public implementations of major, minor, and makedev.
12041         * misc/tst-makedev.c: New test.
12042         * include/sys/sysmacros.h: New wrapper.
12044         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12045         (routines): Add makedev.
12046         (tests): Add tst-makedev.
12047         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12048         gnu_dev_makedev.
12049         * posix/Makefile (headers): Remove sys/sysmacros.h.
12050         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12052         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12053         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12054         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12055         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12056         * sysdeps/unix/sysv/linux/arm/libc.abilist
12057         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12058         * sysdeps/unix/sysv/linux/i386/libc.abilist
12059         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12060         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12061         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12062         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12063         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12064         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12065         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12066         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12067         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12072         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12073         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12074         * sysdeps/unix/sysv/linux/sh/libc.abilist
12075         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12076         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12079         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12080         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12081         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12082         Add GLIBC_2.25.
12084         * include/features.h (__glibc_clang_prereq): New macro.
12085         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12086         (__attribute_deprecated_msg__): New macros.
12088 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12090         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12091         macro.
12092         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12093         * manual/arith.texi (issignaling): Document as ISO from TS
12094         18661-1:2014.
12095         (nextup): Likewise.
12096         (nextupf): Likewise.
12097         (nextupl): Likewise.
12098         (nextdown): Likewise.
12099         (nextdownf): Likewise.
12100         (nextdownl): Likewise.
12101         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12102         macro.
12103         * math/math.h: Define
12104         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12105         <bits/libc-header-start.h> instead of including <features.h>.
12106         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12107         [__USE_GNU].
12108         * math/bits/mathcalls.h (nextdown): Declare if
12109         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12110         (nextup): Likewise.
12111         (__issignaling): Likewise.
12113 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12115         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12116         check, and remove __glibc_likely hint
12117         from FP_INFINITE check.
12118         * s_csinhf.c (__csinhf): Likewise.
12120         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12121         hint from FP_INFINITE check.
12122         * s_csinhl.c (__csinhl): Likewise.
12124 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12126         * math/Makefile (libm-calls): Insert F placeholder into
12127         object names.  Move w_lgamma_compat* routines into
12128         (libm-compat-calls): New variable.
12129         (libm-compat-calls-ldouble-yes): New variable.
12130         (calls): Insert F placeholder.
12131         (generated): Redefine using new type-foreach macro call.
12132         (routines): Likewise.
12134         (types): New variable to hold a list of symbolic names
12135         for each type supported by the target machine.
12136         (libm-routines): Redefine using new types variable.
12137         (type-foreach): macro to replace fooF with the
12138         appropriately suffixed foo for each types.
12140         (type-ldouble-suffix): New variable.
12141         (type-ldouble-routines): Likewise.
12142         (type-ldouble-yes): Likewise.
12143         (type-double-suffix): Likewise.
12144         (type-double-routines): Likewise.
12145         (type-float-suffix): Likewise.
12146         (type-float-routines): Likewise.
12148         (dbl-only-routines): Remove.
12149         (long-c-yes): Likewise.
12150         (long-m-routines): Likewise.
12151         (long-m-support): Likewise.
12152         (long-m-yes): Likewise.
12153         (test-longdouble-yes): Likewise.
12155         (test-float.o): Simplify by increasing the scope of the
12156         recipe which adds libm-test.stmp to the vector types.
12157         (test-ifloat.o): Likewise.
12158         (test-float-finite.o): Likewise.
12159         (test-double.o): Likewise
12160         (test-idouble.o): Likewise.
12161         (test-double-finite.o): Likewise.
12162         (test-ldouble.o): Likewise
12163         (test-ildoubl.o): Likewise.
12164         (test-ldouble-finite.o): Likewise.
12166         (libm-tests): Redefine type tests using foreach and the
12167         list of types in types.
12169         (CPPFLAGS-test-ildoubl.c): Rename to
12170         (CPPFLAGS-test-ildouble.c): New variable
12172         * math/test-ildoubl.c: Rename to
12173         * math/test-ildouble.c: New file.
12175 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12177         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12178         Use fabsl instead of fabs.
12179         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12180         Likewise.
12181         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12182         Add long double suffix to constant to ensure proper
12183         promotion to long double.
12185 2016-08-03  Tom Tromey  <tom@tromey.com>
12187         [BZ #20311]
12188         * nptl_db/Makefile (headers): Add proc_service.h.
12189         * nptl_db/proc_service.h: Add include guard.  Use
12190         __BEGIN/__END_DECLS.
12191         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12192         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12193         arguments.
12196 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12198         [BZ #17730]
12199         Avoid using memalign for TCB allocations.
12200         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12201         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12202         Avoid alignment gap in the TLS_DTV_AT_TP case.
12203         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12204         determine the pointer to free.
12205         * nptl/tst-tls3-malloc.c: New test.
12206         * nptl/Makefile (tests): Add it.
12207         (tst-tls3-malloc): Link with libdl, libpthread.
12208         (LDFLAGS-tst-tls3-malloc): Set.
12209         (tst-tls3-malloc.out): Depend on DSO used in test.
12211 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12213         [BZ #17730]
12214         Avoid using memalign for TLS allocations.
12215         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12216         is_static member with to_free member.
12217         (union dtv): Use struct dtv_pointer.
12218         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12219         dtv_pointer instead of is_static.
12220         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12221         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12222         instead of val.
12223         (allocate_dtv_entry): New function.
12224         (allocate_and_init): Return struct dtv_pointer.  Call
12225         allocate_dtv_entry instead of __libc_memalign.
12226         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
12227         instead of val.
12228         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
12229         instead of is_static.  Adjust call to allocate_and_init.
12230         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
12231         struct dtv_pointer instead of val.
12233 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12235         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
12236         (MALLOC_ALIGN_MASK): Move ...
12237         * malloc/malloc-internal.h: ... to here.
12238         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
12240 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12242         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
12243         (UDP_ENCAP_GTP1U): Likewise.
12245         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
12246         (PF_MAX): Update value.
12247         (AF_QIPCRTR): New macro.
12249 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12251         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
12252         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
12253         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
12254         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
12255         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12256         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12257         s_truncf-vis3, s_trunc-vis3.
12258         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12259         (CFLAGS-s_ceil-vis3.c): Likewise.
12260         (CFLAGS-s_floorf-vis3.c): Likewise.
12261         (CFLAGS-s_floor-vis3.c): Likewise.
12262         (CFLAGS-s_truncf-vis3.c): Likewise.
12263         (CFLAGS-s_trunc-vis3.c): Likewise.
12264         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
12265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
12266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
12267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
12268         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
12269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
12270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
12271         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
12272         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
12273         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
12274         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
12275         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
12277 2016-08-02  David S. Miller  <davem@davemloft.net>
12279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12280         (__nearbyint_vis3): Don't check for sNaN before float register is
12281         loaded with the incoming argument.
12282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12283         (__nearbyintf_vis3): Likewise.
12284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
12285         Likewise.
12286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
12287         Likewise.
12289         * string/test-strncmp.c (do_test_limit): Make sure the test data
12290         stream is aligned as required for the type "CHAR".
12291         (do_test): Likewise.
12293 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
12295         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
12296         by beq instructions jumping to the end of the function.
12297         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
12298         clobber list. Use "i" constraint instead of "X".
12299         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
12300         of "X".
12302 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
12304         * bits/libc-header-start.h: New file.
12305         * Makefile (headers): Add bits/libc-header-start.h.
12306         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
12307         (__GLIBC_USE): New macro.
12308         * libio/stdio.h: Define
12309         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12310         <bits/libc-header-start.h> instead of including <features.h>.
12311         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
12312         (open_memstream): Likewise.
12313         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
12314         (__asprintf): Likewise.
12315         (asprintf): Likewise.
12316         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
12317         (getdelim): Likewise.
12318         (getline): Likewise.
12319         * string/string.h: Define
12320         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12321         <bits/libc-header-start.h> instead of including <features.h>.
12322         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
12323         (strndup): Likewise.
12324         * wcsmbs/wchar.h: Define
12325         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12326         <bits/libc-header-start.h> instead of including <features.h>.
12327         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
12328         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
12330 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12332         Support linking against compatibility symbols, for use in tests.
12333         * include/libc-symbols.h (symbol_version_reference): New macro.
12334         (symbol_version): Use it.
12335         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
12336         (compat_symbol): Use compat_symbol_reference.
12337         (compat_symbol_1, compat_symbol_2): Remove.
12338         (compat_symbol_reference, compat_symbol_reference_1)
12339         (compat_symbol_reference_2): New macro.  Use
12340         symbol_version_reference.
12342 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12344         [BZ #19469]
12345         * malloc/Makefile (CPPFLAGS): Compile tests with
12346         -DTEST_NO_MALLOPT.
12347         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
12349 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
12351         [BZ #20033]
12352         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
12353         finite version.
12354         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
12355         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
12356         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
12357         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
12358         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
12359         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
12360         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
12361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
12362         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
12363         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
12364         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
12365         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
12366         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
12367         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
12368         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
12369         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
12370         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
12371         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
12372         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
12373         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
12374         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
12375         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
12376         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
12377         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
12378         in zero power.
12380 2016-08-02  Florian Weimer  <fweimer@redhat.com>
12382         [BZ #20370]
12383         * malloc/arena.c (get_free_list): Update comment.  Assert that
12384         arenas on the free list have no attached threads.
12385         (remove_from_free_list): New function.
12386         (reused_arena): Call it.
12388 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
12390         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
12391         when it is a NaN.
12392         [_IEEE_FP_INEXACT] Remove.
12393         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
12394         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
12395         when it is a NaN.
12396         [_IEEE_FP_INEXACT] Remove.
12397         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
12398         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
12399         when it is a NaN.
12400         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
12401         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
12402         when its absolute value is greater than 0x1.0p52.
12403         [_IEEE_FP_INEXACT] Remove.
12404         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
12405         when its absolute value is greater than 0x1.0p23.
12406         [_IEEE_FP_INEXACT] Remove.
12408 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
12410         * version.h (RELEASE): Set to "development"
12411         (VERSION): Set to 2.24.90.
12412         * NEWS: Add 2.25 section.
12414         * version.h (RELEASE): Set to "stable"
12415         (VERSION): Set to 2.24.
12416         * include/features.h (__GLIBC_MINOR__): Set to 24.
12418         * NEWS: Add 2.24 fixed bugs.
12419         * po/libc.pot: Regenerate.
12421 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
12423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12424         [$(subdir) = math] (libm-sysdep_routines): Remove.
12425         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12426         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
12427         s_truncf-vis3, s_trunc-vis3.
12428         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
12430         file.
12431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
12432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
12433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
12437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
12438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
12440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
12441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
12442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
12443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
12444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
12445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
12446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
12448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
12450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
12451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
12452         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
12453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
12456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12458         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
12459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
12462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12464         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
12465         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
12466         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
12467         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
12468         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
12469         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
12470         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
12471         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
12472         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
12473         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
12475 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
12477         [BZ #20384]
12478         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
12479         test-double-libmvec-sincos-avx-main.o,
12480         test-double-libmvec-sincos-avx2-main.o,
12481         test-double-libmvec-sincos-main.o,
12482         test-float-libmvec-sincosf-avx-main.o,
12483         test-float-libmvec-sincosf-avx2-main.o and
12484         test-float-libmvec-sincosf-main.o.
12485         test-float-libmvec-sincosf-avx512-main.o.
12486         ($(objpfx)test-double-libmvec-sincos): Also link with
12487         $(objpfx)test-double-libmvec-sincos-main.o.
12488         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
12489         $(objpfx)test-double-libmvec-sincos-avx-main.o.
12490         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
12491         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
12492         ($(objpfx)test-float-libmvec-sincosf): Also link with
12493         $(objpfx)test-float-libmvec-sincosf-main.o.
12494         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
12495         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
12496         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
12497         test-double-libmvec-sincos-avx512-main.o and
12498         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
12499         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
12500         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
12501         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
12502         (CFLAGS-test-double-libmvec-sincos.c): Removed.
12503         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
12504         (CFLAGS-test-double-libmvec-sincos-main.c): New.
12505         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
12506         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
12507         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
12508         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
12509         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
12510         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
12511         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
12512         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
12513         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
12514         -DREQUIRE_AVX2.
12515         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
12516         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
12517         -DREQUIRE_AVX512F.
12518         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
12519         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
12520         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12521         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
12522         file.
12523         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
12524         Likewise.
12525         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
12526         Likewise.
12527         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
12528         Likewise.
12529         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
12530         Likewise.
12531         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
12532         Likewise.
12533         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
12534         Likewise.
12535         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
12536         Likewise.
12538 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
12540         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
12542 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
12544         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
12545         and typo in a comment about AT_HWCAP entry.
12547 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12549         * sysdeps/aarch64/libm-test-ulps: Updated.
12551 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12553         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
12554         of r13 as it is not restored in mvcle case.
12556 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
12558         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
12559         Rename "ret" to "__ret".
12560         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
12561         inline_syscall5, inline_syscall6): Likewise.
12563 2016-07-19   Will Newton  <will.newton@gmail.com>
12565         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
12566         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
12567         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
12568         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
12569         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
12571 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
12573         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
12574         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
12575         -mfpmath=387 with $(rtld-CFLAGS).
12576         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
12577         $(rtld-CFLAGS).
12579 2016-07-18   Ross Burton  <ross.burton@intel.com>
12580              Khem Raj  <raj.khem@gmail.com>
12582         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
12583         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
12584         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
12585         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
12586         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
12587         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
12588         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
12589         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
12590         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
12591         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
12592         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
12593         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
12594         R_METAG_TLS_DTPOFF): New.
12596 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12597             Matt Clay  <mclay@lycos.com>
12599         [BZ #20357]
12600         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
12601         to call __mpsin/__mpcos and to negate values.
12602         * math/auto-libm-test-in: Add test.
12603         * math/auto-libm-test-out: Regenerate.
12605 2016-07-18  Zack Weinberg  <zackw@panix.com>
12607         * grp/Makefile: Don't install the internal header grp-merge.h.
12609 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12611         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12613 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12615         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
12617 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12619         [BZ #15368]
12620         * sysdeps/unix/sysv/linux/nptl-signals.h
12621         (__nptl_clear_internal_signals): New function.
12622         (__libc_signal_block_all): Likewise.
12623         (__libc_signal_block_app): Likewise.
12624         (__libc_signal_restore_set): Likewise.
12625         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
12626         implementation.
12627         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
12628         the cached pid/tid value in pthread structure.
12630 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
12632         [BZ #20347]
12633         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12635 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12637         [BZ #20348]
12638         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
12639         preadv64, pwrite64 and pwritev64.
12641 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12643         [BZ #20350]
12644         * posix/tst-preadwrite.c: Renamed to ...
12645         * posix/tst-preadwrite-common.c: This.
12646         (PREAD): Removed.
12647         (PWRITE): Likewise.
12648         (STRINGIFY): Likewise.
12649         (STRINGIFY2): Likewise.
12650         (do_prepare): Make it static and remove function arguments.
12651         (do_test): Likewise.
12652         (PREPARE): Updated.
12653         (TEST_FUNCTION): New.
12654         (name): Make it static.
12655         (fd): Likewise.
12656         (do_prepare): Use create_temp_file.
12657         (do_test): Renamed to ...
12658         (do_test_with_offset): This.  Make it static and accept offset.
12659         Properly check return value of PWRITE and PREAD.  Return bytes
12660         read.  Don't close fd nor unlink name.
12661         * posix/tst-preadwrite.c: Rewrite.
12662         * posix/tst-preadwrite64.c: Likewise.
12664 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
12666         [BZ #20309]
12667         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
12668         -mtls-dialect=gnu2 works.
12669         * configure: Regenerated.
12670         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
12671         (tests): Add tst-gnu2-tls1.
12672         (modules-names): Add tst-gnu2-tls1mod.
12673         ($(objpfx)tst-gnu2-tls1): New.
12674         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
12675         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
12676         * elf/tst-gnu2-tls1.c: New file.
12677         * elf/tst-gnu2-tls1mod.c: Likewise.
12678         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
12679         bytes for push in the PLT entry to align the stack.
12681 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
12683         [BZ #20349]
12684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
12686 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12688         [BZ #18707]
12689         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
12690         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
12692 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12694         * sysdeps/unix/sysv/linux/sysdep.h
12695         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
12696         guards.
12697         * misc/tst-preadvwritev-common.c: New file.
12698         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
12699         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
12700         a check for files larger than 2GB.
12702         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12703         (__ASSUME_OFF_DIFF_OFF64): Remove define.
12704         * sysdeps/unix/sysv/linux/pread.c
12705         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
12706         __OFF_T_MATCHES_OFF64_T.
12707         * sysdeps/unix/sysv/linux/pread64.c
12708         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
12709         * sysdeps/unix/sysv/linux/preadv.c
12710         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
12711         * sysdeps/unix/sysv/linux/preadv64.c
12712         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
12713         * sysdeps/unix/sysv/linux/pwrite.c
12714         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
12715         * sysdeps/unix/sysv/linux/pwrite64.c
12716         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
12717         * sysdeps/unix/sysv/linux/pwritev.c
12718         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
12719         * sysdeps/unix/sysv/linux/pwritev64.c
12720         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
12722 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
12724         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12725         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
12727 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12729         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
12731 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
12733         [BZ #20240]
12734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
12735         (CFLAGS-s_modf-ppc32.c): New variable.
12736         (CFLAGS-s_modff-ppc32.c): Likewise.
12737         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12738         (CFLAGS-s_modf-ppc64.c): Likewise.
12739         (CFLAGS-s_modff-ppc64.c): Likewise.
12741 2016-07-07  Andreas Schwab  <schwab@suse.de>
12743         [BZ #20263]
12744         * nptl/tst-robust10.c: New test.
12745         * nptl/Makefile (tests): Add tst-robust10.
12747 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
12749         [BZ #20263]
12750         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
12752 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
12754         * sysdeps/s390/linkmap.h (struct link_map_machine):
12755         Remove member gotplt and add member jmprel.
12756         * sysdeps/s390/s390-32/dl-machine.h
12757         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
12758         instead of gotplt with &got[3].
12759         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
12760         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12762 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
12764         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
12766 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12768         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
12769         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
12770         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12771         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
12772         * libio/vtables.c (_IO_vtable_check)
12773         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
12774         * libio/libioP.h (IO_set_accept_foreign_vtables)
12775         [!PTR_MANGLE]: Do not call PTR_MANGLE.
12777 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
12779         [BZ #20314]
12780         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
12781         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
12782         $(common-objpfx)cmath.
12783         ($(common-objpfx)cstdlib): New target.
12784         ($(common-objpfx)cmath): Likewise.
12786 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
12788         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
12790 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12792         [BZ #20327]
12793         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
12794         are not part of the string.
12796 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12798         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
12799         * nptl/tst-cancel4-common.h (fifoname): New variable.
12800         (fifofd): Likewise.
12801         (cl_fifo): New function.
12802         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
12803         SIGINT.
12804         (tf_open): Add early cancel test.
12806 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
12808         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
12810 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
12812         * sysdeps/generic/ldsodefs.h
12813         (dl_symbol_visibility_binds_local_p): New inline function.
12814         * elf/dl-addr.c (determine_info): Treat hidden and internal
12815         symbols as local.
12816         * elf/dl-lookup.c (do_lookup_x): Likewise.
12817         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
12819 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
12821         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
12822         invalid exception for a sNaN input.
12823         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12824         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
12825         (__nearbyint_vis3): Likewise
12826         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
12827         (__nearbyintf_vis3): Likewise
12828         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
12829         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12830         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
12831         Likewise.
12832         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
12833         Likewise.
12835 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
12837         [BZ #20139]
12838         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
12839         (HAVE_AVX512DQ_ASM_SUPPORT): This.
12840         * sysdeps/x86_64/configure.ac: Require assembler from binutils
12841         2.24 or above.
12842         (HAVE_AVX512_ASM_SUPPORT): Removed.
12843         (HAVE_AVX512DQ_ASM_SUPPORT): New.
12844         * sysdeps/x86_64/configure: Regenerated.
12845         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
12846         check unconditional.
12847         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12848         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12849         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12850         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
12851         Likewise.
12852         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12853         Likewise.
12854         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12855         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12856         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12857         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12858         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12859         Likewise.
12860         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12861         Likewise.
12862         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12863         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12864         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
12865         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
12866         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
12867         Likewise.
12868         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
12869         Likewise.
12870         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
12871         Likewise.
12872         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
12873         Likewise.
12874         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
12875         Likewise.
12876         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
12877         Likewise.
12878         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
12879         Likewise.
12880         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
12881         Likewise.
12882         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
12883         Likewise.
12884         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
12885         Likewise.
12886         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
12887         Likewise.
12889 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
12891         [BZ #20024]
12892         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
12893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
12894         of this implementation of vector function.
12895         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12896         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12897         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
12898         Likewise.
12899         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12900         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12901         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
12902         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
12903         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
12904         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
12905         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
12906         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
12907         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
12908         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
12909         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
12910         for testing vector sincos with fixed ABI.
12911         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12912         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12913         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12914         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12915         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12916         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12917         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12918         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
12919         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
12920         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
12921         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
12922         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
12923         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
12924         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
12925         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
12926         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12928 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12930         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
12932 2016-06-30  Anton Blanchard  <anton@samba.org>
12934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12935         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
12936         s_sinf-ppc64.
12937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
12938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
12939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
12940         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
12942 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12946         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12947         e_expf-ppc64.
12948         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12949         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12951         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12953 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12955         [BZ #20277]
12956         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12957         when SHARED is defined.
12959 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12961         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12962         (index_arch_Prefer_ERMS): Likewise.
12963         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12964         __memcpy_erms for Prefer_ERMS.
12965         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12966         (__memmove_erms): Enabled for libc.a.
12967         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12968         __memmove_erms or Prefer_ERMS.
12969         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12970         __mempcpy_erms for Prefer_ERMS.
12971         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12972         __memset_erms for Prefer_ERMS.
12974 2016-06-30  Andreas Schwab  <schwab@suse.de>
12976         [BZ #20262]
12977         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12978         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12979         of memory.
12981 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12983         [BZ #18645]
12984         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12985         (test-extras): Add tst-cleanupx4aux.
12986         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12987         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12988         tst-cleanupx4aux.o.
12989         * nptl/tst-cleanupx4aux.c: New file.
12991 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12993         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12995 2016-06-29  Andreas Schwab  <schwab@suse.de>
12997         [BZ #20260]
12998         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12999         address before the beginning of the string as an integer to avoid
13000         array-bounds warning.
13002 2016-06-28  Richard Henderson  <rth@redhat.com>
13004         * elf/elf.h (EM_BPF): New.
13005         (EM_NUM): Update.
13006         (R_BPF_NONE, R_BPF_MAP_FD): New.
13008         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13009         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13010         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13011         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13012         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13013         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13014         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13015         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13016         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13017         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13018         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13019         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13020         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13021         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13022         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13023         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13024         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13025         (EM_NUM): Update.
13027 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13029         [BZ #18960]
13030         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13031         Set _nl_current_LC_CATEGORY_used to two instead of one.
13033 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13035         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13036         (do_test): ... this.
13037         (TEST_FUNCTION): New macro.
13038          Include test-skeleton.c.
13039         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13040         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13042 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13044         [BZ #15479]
13045         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13046         floating-point environment rather than just control word.
13047         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13048         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13049         floating-point environment, with "invalid" exceptions merged in,
13050         rather than just control word.
13051         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13052         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13053         "inexact" exceptions.
13055         [BZ #15479]
13056         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13057         floating-point environment rather than just control word.
13058         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13059         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13060         floating-point environment, with "invalid" exceptions merged in,
13061         rather than just control word.
13062         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13063         * math/libm-test.inc (floor_test_data): Do not allow spurious
13064         "inexact" exceptions.
13066         [BZ #15479]
13067         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13068         floating-point environment rather than just control word.
13069         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13070         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13071         floating-point environment, with "invalid" exceptions merged in,
13072         rather than just control word.
13073         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13074         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13075         "inexact" exceptions.
13077 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13079         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13080         __libc_vfork.
13081         (__vfork) [IS_IN (libc)]: Remove alias.
13082         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13083         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13084         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13086 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13088         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13089         of atomic_compare_and_exchange_bool_rel.
13090         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13091         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13092         catomic_compare_and_exchange_bool_rel): Remove.
13093         * sysdeps/aarch64/atomic-machine.h
13094         (atomic_compare_and_exchange_bool_rel): Likewise.
13095         * sysdeps/alpha/atomic-machine.h
13096         (atomic_compare_and_exchange_bool_rel): Likewise.
13097         * sysdeps/arm/atomic-machine.h
13098         (atomic_compare_and_exchange_bool_rel): Likewise.
13099         * sysdeps/mips/atomic-machine.h
13100         (atomic_compare_and_exchange_bool_rel): Likewise.
13101         * sysdeps/microblaze/atomic-machine.h
13102         ( __arch_compare_and_exchange_bool_8_rel,
13103         __arch_compare_and_exchange_bool_16_rel): Likewise.
13104         * sysdeps/powerpc/atomic-machine.h
13105         ( __arch_compare_and_exchange_bool_8_rel,
13106         __arch_compare_and_exchange_bool_16_rel): Likewise.
13107         * sysdeps/powerpc/powerpc32/atomic-machine.h
13108         ( __arch_compare_and_exchange_bool_32_rel,
13109         __arch_compare_and_exchange_bool_64_rel): Likewise.
13110         * sysdeps/powerpc/powerpc64/atomic-machine.h
13111         ( __arch_compare_and_exchange_bool_32_rel,
13112         __arch_compare_and_exchange_bool_64_rel): Likewise.
13113         * sysdeps/tile/atomic-machine.h
13114         (atomic_compare_and_exchange_bool_rel): Likewise.
13116 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13118         [BZ #20296]
13119         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13120         when either argument is a NaN.
13121         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13122         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13124         * math/libm-test.inc (snan_value_ld): New macro.
13125         (isgreater_test_data): Add sNaN tests.
13126         (isgreaterequal_test_data): Likewise.
13127         (isless_test_data): Likewise.
13128         (islessequal_test_data): Likewise.
13129         (islessgreater_test_data): Likewise.
13130         (isunordered_test_data): Likewise.
13131         (nextafter_test_data): Likewise.
13132         (nexttoward_test_data): Likewise.
13133         (remainder_test_data): Likewise.
13134         (remquo_test_data): Likewise.
13135         (significand_test_data): Likewise.
13136         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13138 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13140         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13141         environment macros are defined.
13142         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13144 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13146         [BZ #20191]
13147         Implement vtable verification in libio.
13148         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13149         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13150         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13151         _IO_new_file_init_internal instead of _IO_file_init.
13152         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13153         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13154         * libio/Makefile (routines): Add vtables.
13155         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13156         (_IO_init): Remove, not for internal use.
13157         (_IO_init_internal): Declare, internal replacement for _IO_init.
13158         (_IO_file_init): Remove, not for internal use.
13159         (_IO_new_file_init): Remove, not for internal use.
13160         (_IO_new_file_init_internal): Declare, internal replacement for
13161         _IO_new_file_init.
13162         (_IO_old_file_init): Remove, not for internal use.
13163         (_IO_old_file_init_internal): Declare, internal replacement for
13164         _IO_old_file_init.
13165         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13166         internal use.
13167         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13168         Declare.
13169         (libio_vtable): New macro.
13170         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13171         functions.
13172         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13173         _IO_new_file_init.
13174         (_IO_new_file_init): New externally visible wrapper which disables
13175         vtable verification.
13176         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13177         Define as vtables.
13178         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13179         (_IO_init): New externally visible wrapper which disables
13180         vtable verification.
13181         * libio/iofdopen.c (_IO_new_fdopen): Call
13182         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13183         comment.
13184         * libio/iofopen.c (__fopen_internal): Call
13185         _IO_new_file_init_internal instead of _IO_file_init.
13186         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13187         Define as vtables.
13188         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13189         _IO_new_file_init_internal instead of _IO_file_init.
13190         * libio/iopopen.c (_IO_new_popen): Likewise.
13191         (_IO_proc_jumps): Define as vtable.
13192         * libio/iovdprintf.c (_IO_vdprintf): Call
13193         _IO_new_file_init_internal instead of _IO_file_init.
13194         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13195         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13196         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13197         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13198         _IO_old_file_init.
13199         (_IO_old_file_init): New externally visible wrapper which disables
13200         vtable verification.
13201         (_IO_old_file_jumps): Define as vtable.
13202         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13203         _IO_old_file_init_internal instead of _IO_old_file_init.
13204         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13205         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13206         (_IO_old_proc_jumps): Define as vtable.
13207         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13208         Define as vtables.
13209         * libio/vtables.c: New file.
13210         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13211         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13212         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13213         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13214         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13215         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13216         instead of _IO_init.
13218 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13220         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13222 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13224         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
13225         potentially unused.
13227 2016-06-22  Florian Weimer  <fweimer@redhat.com>
13229         * test-skeleton.c (write_message): New function.
13230         * malloc/tst-mallocfork2.c (write_message): Remove.
13231         * debug/tst-longjmp_chk2.c (write_indented): New function.
13232         (write_message): Remove.
13233         (stackoverflow_handler): Call write_indented.
13235 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
13237         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
13238         "inexact" exceptions after fnstenv.
13239         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13240         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13241         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
13243 2015-06-22  Zack Weinberg  <zackw@panix.com>
13245         * sysdeps/generic/bits/hwcap.h: Moved to ...
13246         * bits/hwcap.h: Here.
13248 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
13250         * sysdeps/aarch64/memcpy.S (memcpy):
13251         Further tuning for performance.
13253 2016-06-21  Florian Weimer  <fweimer@redhat.com>
13255         [BZ #20284]
13256         * malloc/arena.c (reused_arena): Do not return NULL if we start
13257         out with a non-corrupted arena.
13259 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13261         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
13262         * misc/tst-preadvwritev.c: New file.
13263         * misc/tst-preadvwritev64.c: Likewise.
13264         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
13265         usage.
13266         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
13267         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
13268         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
13269         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
13271 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
13273         [BZ #19654]
13274         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13275         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
13276         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
13277         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
13278         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
13279         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
13280         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
13281         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
13282         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
13283         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
13284         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
13285         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
13286         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
13287         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
13288         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
13289         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
13290         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
13291         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
13292         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
13293         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
13294         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
13295         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
13296         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
13297         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
13298         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
13299         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
13301 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13303         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
13304         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
13306 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
13308         * sysdeps/aarch64/memcpy.S (memcpy):
13309         Rewrite of optimized memcpy and memmove.
13310         * sysdeps/aarch64/memmove.S (memmove): Remove
13311         memmove code (merged into memcpy.S).
13313 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13315         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
13316         * sysdeps/generic/dl-dtv.h: New file.
13317         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13318         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
13319         (dtv_t): Remove.
13320         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13321         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
13322         (dtv_t): Remove.
13323         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13324         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
13325         (dtv_t): Remove.
13326         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13327         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
13328         (dtv_t): Remove.
13329         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13330         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
13331         (dtv_t): Remove.
13332         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13333         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
13334         (dtv_t): Remove.
13335         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13336         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
13337         (dtv_t): Remove.
13338         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
13339         (dtv_t): Remove.
13340         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13341         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
13342         (dtv_t): Remove.
13343         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13344         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
13345         (dtv_t): Remove.
13346         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13347         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
13348         (dtv_t): Remove.
13349         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13350         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
13351         (dtv_t): Remove.
13352         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13353         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
13354         (dtv_t): Remove.
13355         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13356         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
13357         (dtv_t): Remove.
13358         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13359         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
13360         (dtv_t): Remove.
13361         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
13362         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
13363         (dtv_t): Remove.
13365 2016-06-20  Florian Weimer  <fweimer@redhat.com>
13367         Revert symbol poisoning of  __malloc_initialize_hook.
13368         * include/stdc-predef.h (__malloc_initialize_hook): Remove
13369         poisoning.
13370         * malloc/Makefile: Remove un-poisoning.
13371         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
13372         instead of old__malloc_initialize_hook.
13373         * malloc/malloc-hooks.h: Likewise.
13374         * malloc/malloc.c: Likewise.
13375         * malloc/mcheck-init.c: Likewise.
13377 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
13379         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
13381 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
13383         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
13384         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
13385         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13386         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13388 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13390         * NEWS: Mention addition of nextup and nextdown.
13391         * manual/arith.texi: Document nextup and nextdown.
13392         * manual/libm-err-tab.pl: Add nextup and nextdown.
13393         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
13394         * math/Versions (libm): Add GLIBC_2.24.
13395         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
13396         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13397         Add new test.
13398         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
13399         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
13400         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
13401         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
13402         (nextup_test_data): Likewise.
13403         (nextdown_test_data): Likewise.
13404         * math/s_nextdown.c: New file.
13405         * math/s_nextdownf.c: Likewise.
13406         * math/s_nextdownl.c: Likewise.
13407         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
13408         F(nextup): New function.
13409         F(nextdown): Likewise.
13410         * math/tgmath.h: Add nextup and nextdown.
13411         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
13412         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
13413         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
13414         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
13415         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
13416         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
13417         Add nextup and nextdown.
13418         (CFLAGS-nldbl-nextup.c): New variable.
13419         (CFLAGS-nldbl-nextdown.c): Likewise.
13420         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
13421         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
13422         * sysdeps/nacl/libm.abilist: Update.
13423         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13424         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13425         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13426         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13427         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13428         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13429         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13430         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13431         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13432         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13433         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13434         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13437         Likewise.
13438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13440         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13441         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13442         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13443         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13444         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
13446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
13447         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13448         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13449         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
13450         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13452 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13454         * manual/pattern.texi: Fix typos & grammar errors.
13456 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13458         * manual/search.texi: Fix typos & grammar errors.
13460 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13462         * manual/message.texi: Fix typos & grammar errors.
13464 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
13466         * manual/contrib.texi: Fix spelling typos.
13467         * manual/crypt.texi: Likewise.
13468         * manual/filesys.texi: Likewise.
13469         * manual/locale.texi: Likewise.
13470         * manual/message.texi: Likewise.
13471         * manual/nss.texi: Likewise.
13472         * manual/string.texi: Likewise.
13474 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13476         * manual/locale.texi: Fix typos & grammar errors.
13478 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13480         * manual/charset.texi: Fix typos & grammar errors.
13482 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13484         * manual/string.texi: Fix typos.
13486 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13488         * manual/ctype.texi: Fix typos.
13490 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
13492         * manual/memory.texi: Fix various typos & grammar errors.
13494 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
13496         [BZ #20255]
13497         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
13498         * math/libm-test.inc (fdim_test_data): Add another test.
13500         [BZ #6796]
13501         [BZ #20255]
13502         [BZ #20256]
13503         * math/s_fdim.c: Include <math_private.h>.
13504         (__fdim): Use math_narrow_eval on result.
13505         * math/s_fdimf.c: Include <math_private.h>.
13506         (__fdimf): Use math_narrow_eval on result.
13507         * sysdeps/i386/fpu/s_fdim.S: Remove file.
13508         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
13509         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
13510         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
13511         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
13512         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
13513         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
13514         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
13515         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
13516         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
13517         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
13518         * math/libm-test.inc (fdim_test_data): Expect errno setting on
13519         overflow.  Add sNaN tests.
13521         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
13522         fpclassify.
13523         * math/s_fdimf.c (__fdimf): Likewise.
13524         * math/s_fdiml.c (__fdiml): Likewise.
13526 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13528         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
13529         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
13530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13531         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
13532         ifunc'ed strcasecmp/strncasecmp.
13533         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
13534         [EALIGN]: Removed.
13535         [END]: Likewise.
13536         [__strcasecmp]: Define instead of the above to control symbol name.
13537         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
13538         for __strcasecmp_power8.
13539         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
13540         for __strncasecmp_power8.
13541         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
13542         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
13543         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
13544         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
13545         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
13546         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
13548 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
13550         [BZ #20252]
13551         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
13552         arguments when second argument is a NaN.
13553         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
13554         qNaN tests.
13556         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
13557         (conj_test_data): Likewise.
13558         (copysign_test_data): Likewise.
13559         (creal_test_data): Likewise.
13560         (fma_test_data): Likewise.
13561         (fmod_test_data): Likewise.
13563         [BZ #20250]
13564         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
13565         itself.
13566         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
13567         zero input to itself.
13568         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
13569         Likewise.
13570         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
13571         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
13572         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13573         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
13574         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
13576 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13578         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
13579         * nptl/tst-cancel4-common.c: New file.
13580         * nptl/tst-cancel4-common.h: Likewise.
13581         * nptl/tst-cancel4.c: Move common definitions to
13582         tst-cancel4-common.{c,h} file.
13583         * nptl/tst-cancel4_1.c: New test.
13584         * nptl/tst-cancel4_2.c: New test.
13586 2016-06-13  Florian Weimer  <fweimer@redhat.com>
13588         [BZ #20248]
13589         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
13590         (write_message): New function.
13591         (stackoverflow_handler): Call it instead of printf, to avoid
13592         excessive stack usage by printf.
13593         (do_test): Restore SIGSEGV, SIGBUS default handlers.
13595 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13597         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
13598         (prio_inherit_missing): Remove define.
13599         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13600         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13601         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
13602         Likewise.
13603         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13604         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13605         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13606         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13607         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13608         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13610 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13612         [BZ #19670]
13613         [BZ #19672]
13615         * io/test-lfs.c (do_prepare): Use xmalloc.
13616         * io/tst-fcntl.c (do_prepare): Likewise.
13617         * libio/tst-fopenloc.c (do_bz17916): Likewise.
13618         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
13619         * login/tst-utmp.c (do_prepare): Likewise.
13620         * posix/tst-exec.c (do_prepare): Likewise.
13621         * posix/tst-pathconf.c (prepare): Likewise.
13622         * posix/tst-spawn.c (do_prepare): Likewise.
13623         * posix/tst-truncate.c (do_prepare): Likewise.
13624         * rt/tst-aio.c (do_prepare): Likewise.
13625         * rt/tst-aio64.c (do_prepare): Likewise.
13627 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13629         [BZ #20237]
13630         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
13631         (get*ent): Set entidx to NULL during initialization.  If entidx is
13632         NULL, start iteration from the beginning.
13634 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13636         * malloc/malloc.c (musable): Return correct size for dumped fake
13637         mmapped chunk.
13639 2016-06-11  Florian Weimer  <fweimer@redhat.com>
13641         [BZ #20222]
13642         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
13643         (_IO_cookie_write): Likewise.
13644         (_IO_cookie_seek): Likewise.
13645         (_IO_cookie_close): Likewise.
13646         (_IO_old_cookie_seek): Likewise.
13647         (set_callbacks): New function.
13648         (_IO_cookie_init): Call set_callbacks to copy callbacks.
13650 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
13652         * locale/programs/localedef.c (oldstyle_tables): Remove.
13653         * locale/programs/localedef.h (oldstyle_tables): Likewise.
13655 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
13657         [BZ #20240]
13658         * math/Makefile (CFLAGS-s_modf.c): New variable.
13659         (CFLAGS-s_modff.c): Likewise.
13660         (CFLAGS-s_modfl.c): Likewise.
13661         * math/libm-test.inc (modf_test_data): Add sNaN tests.
13663 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
13665         [BZ #20215]
13666         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
13667         [!__GNUC_PREREQ (3,2)]: Likewise.
13669 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
13671         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
13672         (msghdr.msg_controllen): Likewise.
13673         (cmsghdr.cmsg_len): Likewise.
13674         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
13675         ptw-oldsendmsg.
13676         (CFLAGS-oldrecvmsg.c): Remove rule.
13677         (CFLAGS-oldsendmsg.c): Likewise.
13678         (CFLAGS-recvmsg.c): Add rule.
13679         (CFLAGS-sendmsg.c): Likewise.
13680         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
13681         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
13682         (CFLAGS-recvmsg.c): Remove rule.
13683         (CFLAGS-sendmsg.c): Likewise.
13684         (CFLAGS-oldrecvmsg.c): Likewise.
13685         (CFLAGS-oldsendmsg.c): Likewise.
13686         (CFLAGS-recvmmsg.c): Likewise.
13687         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
13688         to kernel defined interfaces.
13689         (msghdr.msg_controllen): Likewise.
13690         (cmsghdr.cmsg_len): Likewise.
13691         (msghdr.__glibc_reserved1): Remove member.
13692         (msghdr.__glibc_reserved2): Likewise.
13693         (cmsghdr.__glibc_reserved1): Likewise.
13694         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
13695         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
13696         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13697         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13698         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
13699         version.
13700         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
13701         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
13702         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
13703         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
13704         Remove recvmsg and sendmsg.
13705         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
13706         Likewise.
13707         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13708         Likewise.
13709         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13710         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13711         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13712         Likewise.
13713         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13714         Likewise.
13715         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
13716         [libc] (GLIBC_2.24): Likewise.
13717         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13718         Likewise.
13719         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13720         Likewise.
13721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13722         [libc] (GLIBC_2.24): Likewise.
13723         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13724         Likewise.
13725         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13726         Likewise.
13727         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13728         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13729         Likewise.
13730         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13731         Likewise.
13732         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13733         Likewise.
13734         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
13735         Likewise.
13736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
13737         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
13738         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
13739         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
13740         version for {recv,send,recm,sendm}msg.
13741         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13742         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13743         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13744         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13745         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13746         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13747         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13748         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13749         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13750         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13751         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13752         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13754         Likewise.
13755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13756         Likewise.
13757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13759         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13760         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13761         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13762         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13763         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13764         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13767         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13768         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13769         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13771 2016-06-10  Florian Weimer  <fweimer@redhat.com>
13773         [BZ #19564]
13774         Remove __malloc_initialize_hook from the API.
13775         * malloc/malloc.h (__malloc_initialize_hook): Remove.
13776         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
13777         #pragma GCC poison.
13778         * malloc/malloc-hooks.h: New file.
13779         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
13780         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
13781         (old__malloc_initialize_hook): Rename from
13782         __malloc_initialize_hook to evade poisoning.  Turn into compat
13783         symbol.
13784         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
13785         __malloc_initialize_hook.
13786         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
13787         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
13788         * manual/memory.texi (Hooks for Malloc): Remove
13789         __malloc_initialize_hook.  Adjust hook example.
13791 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
13793         [BZ #20235]
13794         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
13795         itself.
13796         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
13797         * math/libm-test.inc (log2_test_data): Add sNaN tests.
13799         [BZ #20234]
13800         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
13801         infinity or NaN input to itself.
13803         [BZ #20233]
13804         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
13805         to itself.
13807         [BZ #20232]
13808         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
13809         itself.
13811 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13813         * sysdeps/x86_64/start.S (_start): Always indirect branch to
13814         __libc_start_main via GOT.
13816 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
13818         * sysdeps/x86_64/memcopy.h: New file.
13819         * sysdeps/x86_64/wordcopy.c: Likewise.
13821 2016-06-09  Florian Weimer  <fweimer@redhat.com>
13823         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
13824         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
13825         <cstdlib>.
13826         (optimization_barrier): New.
13827         (do_test): Use it.  Call quick_exit in the global namespace.
13828         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
13829         instead of <cstdlib>, <thread>.
13830         (optimization_barrier): New.
13831         (non_main_thread): Adjust declaration.  Call optimization_barrier.
13832         Call quick_exit in the global namespace.
13833         (do_test): Call optimization_barrier.  Use pthread_create,
13834         pthread_join instead of std::thread.
13836 2016-06-09  Andreas Schwab  <schwab@suse.de>
13838         [BZ #19755]
13839         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
13840         new entries in auto-propagate mode.
13841         * nscd/grpcache.c (cache_addgr): Likewise.
13843 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
13845         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
13846         New functions.
13847         (add_temp_file): Use them.
13849 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
13851         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
13853 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
13855         [BZ #20229]
13856         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
13857         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
13858         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
13860         [BZ #20228]
13861         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
13862         itself.
13863         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13864         * math/libm-test.inc (log10_test_data): Add sNaN tests.
13866         [BZ #20227]
13867         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
13868         itself.
13869         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13870         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13871         * math/libm-test.inc (log_test_data): Add sNaN tests.
13873         [BZ #20226]
13874         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
13875         itself.
13876         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
13877         * math/libm-test.inc (exp_test_data): Add sNaN tests.
13878         (exp10_test_data): Likewise.
13879         (expm1_test_data): Likewise.
13881         [BZ #20225]
13882         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
13883         itself.
13884         * math/s_ldexpf.c (__ldexpf): Likewise.
13885         * math/s_ldexpl.c (__ldexpl): Likewise.
13886         * math/w_scalbln.c (__w_scalbln): Likewise.
13887         * math/w_scalblnf.c (__w_scalblnf): Likewise.
13888         * math/w_scalblnl.c (__w_scalblnl): Likewise.
13889         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
13890         (scalbln_test_data): Likewise.
13892         [BZ #20224]
13893         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
13894         argument to itself.
13895         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
13897 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13899         [BZ #19776]
13900         * sysdeps/x86_64/memcpy.S: Make it dummy.
13901         * sysdeps/x86_64/mempcpy.S: Likewise.
13902         * sysdeps/x86_64/memmove.S: New file.
13903         * sysdeps/x86_64/memmove_chk.S: Likewise.
13904         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13905         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13906         * sysdeps/x86_64/memmove.c: Removed.
13907         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
13908         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
13909         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
13910         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13911         Likewise.
13912         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13913         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13915         memcpy-sse2-unaligned, memmove-avx-unaligned,
13916         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
13917         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13918         (__libc_ifunc_impl_list): Replace
13919         __memmove_chk_avx512_unaligned_2 with
13920         __memmove_chk_avx512_unaligned.  Remove
13921         __memmove_chk_avx_unaligned_2.  Replace
13922         __memmove_chk_sse2_unaligned_2 with
13923         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
13924         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
13925         with __memmove_avx512_unaligned.  Replace
13926         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
13927         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
13928         with __memcpy_chk_avx512_unaligned.  Remove
13929         __memcpy_chk_avx_unaligned_2.  Replace
13930         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
13931         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
13932         Replace __memcpy_avx512_unaligned_2 with
13933         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
13934         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
13935         with __mempcpy_chk_avx512_unaligned.  Remove
13936         __mempcpy_chk_avx_unaligned_2.  Replace
13937         __mempcpy_chk_sse2_unaligned_2 with
13938         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
13939         Replace __mempcpy_avx512_unaligned_2 with
13940         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
13941         Replace __mempcpy_sse2_unaligned_2 with
13942         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
13943         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
13944         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13945         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13946         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
13947         (ENTRY): Removed.
13948         (END): Likewise.
13949         (ENTRY_CHK): Likewise.
13950         (libc_hidden_builtin_def): Likewise.
13951         Don't include ../memcpy.S.
13952         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13953         __memcpy_chk_avx512_unaligned_erms and
13954         __memcpy_chk_avx512_unaligned.  Use
13955         __memcpy_chk_avx_unaligned_erms and
13956         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13957         Default to __memcpy_chk_sse2_unaligned.
13958         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13959         Change function suffix from unaligned_2 to unaligned.
13960         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13961         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13962         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13963         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13964         (ENTRY): Removed.
13965         (END): Likewise.
13966         (ENTRY_CHK): Likewise.
13967         (libc_hidden_builtin_def): Likewise.
13968         Don't include ../mempcpy.S.
13969         (mempcpy): New.  Add a weak alias.
13970         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13971         __mempcpy_chk_avx512_unaligned_erms and
13972         __mempcpy_chk_avx512_unaligned.  Use
13973         __mempcpy_chk_avx_unaligned_erms and
13974         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13975         Default to __mempcpy_chk_sse2_unaligned.
13977 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13979         [BZ #19881]
13980         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13981         into ...
13982         * sysdeps/x86_64/memset.S: This.
13983         (__bzero): Removed.
13984         (__memset_tail): Likewise.
13985         (__memset_chk): Likewise.
13986         (memset): Likewise.
13987         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13988         defined.
13989         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13990         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13991         (__memset_zero_constant_len_parameter): Check SHARED instead of
13992         PIC.
13993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13994         memset-avx2 and memset-sse2-unaligned-erms.
13995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13996         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13997         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13998         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13999         (__bzero): Enabled.
14000         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14001         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14002         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14003         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14004         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14005         (memset): Removed.
14006         (__memset_chk): Likewise.
14007         (MEMSET_SYMBOL): New.
14008         (libc_hidden_builtin_def): Replace __memset_sse2 with
14009         __memset_sse2_unaligned.
14010         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14011         __memset_chk_sse2 and __memset_chk_avx2 with
14012         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14013         Use __memset_chk_sse2_unaligned_erms or
14014         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14015         __memset_chk_avx512_unaligned_erms and
14016         __memset_chk_avx512_unaligned.
14018 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14020         * math/gen-auto-libm-test.c (fp_format_desc): remove
14021         suffix member.
14022         (output_generic_value): Remove usage of suffix member,
14023         and the resulting unuse of the fp_format argument.
14024         (output_for_one_input_case): Remove unused fp_format
14025         parameter.
14027         * math/auto-libm-test-out: Regenerate.
14029         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14030         usage with TEST_COND_ibm128.
14031         (TEST_COND_flt_32): Remove.
14032         (TEST_COND_dbl_64): Remove.
14033         (TEST_COND_ldbl_96_intel): Remove.
14034         (TEST_COND_ldbl_96_m68k): Remove.
14035         (TEST_COND_ldbl_128): Remove.
14037 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14039         * auto-libm-test-in:
14040         Replace flt-32 usage with binary32.
14041         Replace dbl-64 usage with binary64.
14042         Replace ldbl-intel-96 usage with intel96.
14043         Replace ldbl-m68k-96 usage with m68k96.
14044         Replace ldbl-128ibm usage with ibm128.
14045         Replace ldbl-128 usage with binary128.
14047         * auto-libm-test-out: Regenerate.
14049 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14051         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14052         (parse_ulps): Dynamically generate type name matching
14053         string from all_floats.
14054         (get_ulps): Generate the ulps as an array instead.
14055         (output_ulps): Dynamically compose the type based
14056         on the number of supported formats, and print
14057         the indices as type specific helper macros.
14059         * math/libm-test.inc: Remove comment about CHOOSE.
14060         (ulp_data): Generate the type in libm-test-ulps.h.
14061         (ULP_IDX): New macro.
14062         (find_ulps): Update usage of max_ulp.
14064         * math/test-double-vlen2.h (CHOOSE): Remove.
14065         * math/test-double-vlen4.h (CHOOSE): Likewise.
14066         * math/test-double-vlen8.h (CHOOSE): Likewise.
14067         * math/test-float.c (CHOOSE): Likewise.
14068         * math/test-float-finite.c (CHOOSE): Likewise.
14069         * math/test-double.c (CHOOSE): Likewise.
14070         * math/test-double-finite.c (CHOOSE): Likewise.
14071         * math/test-idouble.c (CHOOSE): Likewise.
14072         * math/test-ifloat.c (CHOOSE): Likewise.
14073         * math/test-ildoubl.c (CHOOSE): Likewise.
14074         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14075         * math/test-ldouble.c (CHOOSE): Likewise.
14077         * math/test-float.h (TEST_FLOAT): Remove.
14078         * math/test-double.h (TEST_DOUBLE): Likewise.
14079         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14081 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14083         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14084         (parse_args): Strip C suffix from floating point literals
14085         typed with 'f' and wrap them with LIT().
14087         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14088         (test_ff_f_data_nexttoward): Rename to
14089         (test_fj_f_data): New struct.
14090         (nexttoward_test_data): Relabel tests as
14091         TEST_fj_f instead of TEST_ff_f.
14093 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14095         Emacs bug 23726.
14096         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14097         (__libc_realloc): Correct size computation for dumped fake mmapped
14098         chunks.
14100 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14102         [BZ #20219]
14103         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14104         to itself.
14105         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14107         [BZ #20218]
14108         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14109         to itself.
14110         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14112 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14114         [BZ #20195]
14115         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14116         check to ...
14117         (init_cpu_features): Here.
14119 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14121         [BZ #20214]
14122         * sysdeps/unix/sysv/linux/bits/in.h
14123         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14124          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14125         Define to 1.
14126         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14127          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14128         Define to 0.
14129         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14130         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14132 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14134         [BZ #20198]
14135         * stdlib/Makefile (tests): Add tst-quick_exit, and
14136         tst-thread-quick_exit.
14137         [ifeq ($(have-cxx-thread_local),yes)]
14138         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14139         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14140         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14141         (LDLIBS-tst-thread-quick_exit): Likewise.
14142         [ifneq ($(have-cxx-thread_local),yes)]
14143         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14144         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14145         If run_dtors is true call __call_tls_dtors.
14146         (exit): Call __run_exit_handlers with run_dtors set to true.
14147         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14148         definition.
14149         * stdlib/quick_exit.c (quick_exit): Remove function.
14150         (__new_quick_exit): New function.
14151         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14152         function.
14153         * stdlib/tst-quick_exit.cc: New file.
14154         * stdlib/tst-thread-quick_exit.cc: New file.
14155         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14156         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14157         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14158         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14159         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14160         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14161         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14162         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14163         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14164         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14165         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14166         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14167         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14168         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14169         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14170         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14175         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14176         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14177         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14178         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14179         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14182         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14183         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14184         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14186 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14188         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14189         a typo in comments.
14191 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14193         [BZ #20213]
14194         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14195         argument to itself.
14196         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14198 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14200         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14201         required flags.
14202         (CFLAGS-pwritev64.c): Likewise.
14203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14205         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14206         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14207         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14208         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14209         syscall from auto-generation.
14210         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14211         [WORDSIZE == 64] (pwritev64): Remove macro.
14212         [!PWRITEV] (PWRITEV): Likewise.
14213         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14214         [!PWRITEV] (PWRITE): Likewise.
14215         [!PWRITEV] (OFF_T): Likewise.
14216         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14217         (LO_HI_LONG): Remove macro.
14218         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14219         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14220         (PWRITEV): Remove macro.
14221         (PWRITEV_REPLACEMENTE): Likewise.
14222         (PWRITE): Likewise.
14223         (OFF_T): Likewise.
14224         (pwritev64): New function.
14225         * nptl/tst-cancel4.c (tf_writev): Add test.
14227         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
14228         required flags.
14229         (CFLAGS-preadv64.c): Likewise.
14230         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
14231         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14232         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
14233         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
14234         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
14235         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
14236         syscall from auto-generation.
14237         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
14238         [WORDSIZE == 64] (preadv64): Remove macro.
14239         [!PREADV] (PREADV): Likewise.
14240         [!PREADV] (PREADV_REPLACEMENT): Likewise.
14241         [!PREADV] (PREAD): Likewise.
14242         [!PREADV] (OFF_T): Likewise.
14243         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
14244         (LO_HI_LONG): Remove macro.
14245         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
14246         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
14247         (PREADV): Remove macro.
14248         (PREADV_REPLACEMENTE): Likewise.
14249         (PREAD): Likewise.
14250         (OFF_T): Likewise.
14251         (preadv64): New function.
14252         * nptl/tst-cancel4.c (tf_preadv): Add test.
14254 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14256         [BZ #20212]
14257         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
14258         argument to itself.
14259         * math/libm-test.inc (acos_test_data): Add sNaN tests.
14261 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14263         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
14264         New symbol defined as libc_hidden_def.
14265         (strcasestr): Became a weak alias to __strcasestr.
14266         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
14267         according to multi-arch support.  Move __stpncpy hidden
14268         definition from here to...
14269         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
14270         symbol stpncpy.
14271         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
14272         libc_hidden_builtin_def.
14273         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
14274         memset symbol to use when multi-arch support is available.
14276 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14278         * dlfcn/tst-rec-dlopen.c: Include string.h.
14280 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14282         * manual/install.texi: Remove mention of --without-tls
14283         * INSTALL: Regenerate.
14285 2016-06-05  Florian Weimer  <fweimer@redhat.com>
14287         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
14288         Remove.
14289         (call_function, interposed_malloc_called): New variables.
14290         (malloc): New function.
14291         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
14292         and clear call_function as needed.
14294 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
14296         * include/wchar.h (__wmemset): Use __typeof.
14298 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
14300         * include/wchar.h (__wmemset): Declare function without typeof.
14302 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
14304         [BZ #20205]
14305         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
14306         exponent when incrementing negative subnormal with low mantissa
14307         word zero.
14308         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14309         Add another test.
14311 2016-06-03  Florian Weimer  <fweimer@redhat.com>
14313         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
14314         __wmemset instead of wmemset.
14316 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
14318         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
14319         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
14320         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
14321         __USE_KERNEL_IPV6_DEFS to 0.
14322         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
14323         Update comment.
14325 2016-06-01  Florian Weimer  <fweimer@redhat.com>
14327         [BZ #19861]
14328         Do not use IFUNC resolver with potentially unrelocated symbol.
14329         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
14330         (DEFINE_FORK): Remove macro and inline definition.
14331         (fork_alias): Renamed from fork_ifunc.
14332         (__fork_alias): Renamed from __fork_ifunc.
14334 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
14336         [BZ 19653]
14337         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
14338         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
14340 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14342         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
14343         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
14344         i386-linux-gnu).
14345         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
14346         Set to no.
14347         * sysdeps/mach/hurd/configure: Refresh.
14349 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14351         [BZ #20178]
14352         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
14353         on failure instead of exit.
14355 2016-05-30  Roland McGrath  <roland@hack.frob.com>
14357         [BZ #3629]
14358         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
14359         of POSIX.1-2008.
14361 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14363         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
14364           Use PLT entry for calling _hurd_self_sigstate.
14366 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
14368         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
14369         available logical processors with SMT level type sharing L2
14370         cache for Intel processors.
14372 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14374         [BZ #20160]
14375         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
14376         argument to itself before returning the result.
14377         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14378         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14379         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14380         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
14381         Likewise.
14382         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
14383         Likewise.
14384         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
14385         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
14386         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
14387         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
14388         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14389         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14391         [BZ #20160]
14392         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
14393         argument to itself before returning the result.
14394         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14395         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14396         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14397         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
14398         Likewise.
14399         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14400         Likewise.
14401         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
14402         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
14403         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
14404         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
14405         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14406         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14408 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14410         * libm-test.inc: Replace usage of M_El with
14411         (lit_e): New macro.
14413 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14415         * libm-test.inc: Replace usage of M_PI_4l with
14416         (lit_pi_4_d): New macro.
14418 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14420         * libm-test.inc: Replace usage of M_PIl with
14421         (lit_pi): New macro.
14423 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14425         * libm-test.inc: Replace usage of M_PI2l with
14426         (lit_pi_2_d): New macro.
14428         * math/test-double.h (LITM): New macro.
14429         * math/test-float.h (LITM): Likewise.
14430         * math/test-ldouble.h (LITM): Likewise.
14432 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14434         * libm-test.inc (M_PI_34l): Rename to
14435         (lit_pi_3_m_4_d): New Macro.
14436         (M_PI_34_LOG10El): Rename to
14437         (lit_pi_3_m_4_ln10_m_d): New Macro.
14438         (M_PI2_LOG10El): Rename to
14439         (lit_pi_2_ln10_m_d):  New Macro.
14440         (M_PI4_LOG10El): Rename to
14441         (lit_pi_4_ln10_m_d):  New Macro.
14442         (M_PI_LOG10El): Rename to
14443         (lit_pi_ln10_d):  New Macro.
14445 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14447         [BZ #20157]
14448         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
14449         determine whether to negate low half if [_ARCH_PPCGR], and integer
14450         comparison otherwise.
14451         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
14452         determine whether to negate low half.
14454         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
14455         (NO_TEST_INLINE_DOUBLE): Likewise.
14456         (TEST_COND_x86_64): Likewise.
14457         (TEST_COND_x86): Likewise.
14458         (M_PI_6l): Likewise.
14460 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14462         * math/libm-test.inc:
14463         (TEST_FLOAT): Change usage to TEST_COND_binary32.
14464         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
14465         (TEST_LDOUBLE): Update usage to evaluate as true if
14466         the guarded tests match the property being tested.
14467         (LDBL_MAX_EXP): Change to MAX_EXP.
14468         (LDBL_MIN_EXP): Change to MIN_EXP.
14469         (LDBL_MANT_DIG): Change to MANT_DIG, except for
14470         nexttoward tests.
14472 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14474         * math/libm-test.inc:
14475         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
14476         (TYPE_MIN): Likewise.
14477         (TYPE_TRUE_MIN): Likewise.
14478         (TYPE_MAX): Likewise.
14479         (MIN_EXP): Likewise.
14480         (MAX_EXP): Likewise.
14481         (MANT_DIG): Likewise.
14483         (FSTR_MAX): New macro.
14484         (__CONCATX): Likewise.
14485         (QTYPE_STR): Likewise.
14486         (TEST_COND_binary32): Likewise.
14487         (TEST_COND_binary64): Likewise.
14488         (TEST_COND_binary128): Likewise.
14489         (TEST_COND_ibm128): Likewise.
14490         (TEST_COND_intel96): Likewise.
14491         (TEST_COND_m68k96): Likewise.
14493         (TEST_COND_flt_32): Redefine as equivalent format test macro.
14494         (TEST_COND_dbl_64): Likewise.
14495         (TEST_COND_ldbl_96_intel): Likewise.
14496         (TEST_COND_ldbl_96_m68k): Likewise.
14497         (TEST_COND_ldbl_128): Likewise.
14498         (TEST_COND_ldbl_128ibm): Likewise.
14500         (plus_zero): Redefine using LIT macro.
14501         (minus_zero): Likewise.
14502         (plus_infty): Redefine as (INF).
14503         (minux_infty): Redefine as (-INF).
14504         (max_value): Redefine as TYPE_MAX.
14505         (min_value): Redefine as TYPE_MIN.
14506         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
14508         (print_float): Refactor to use snprintf to convert FLOAT values
14509         to string. This brings it closer to dropin replacement of strtof
14510         for the TS 18661 defined types.
14511         (update_stats): Likewise.
14512         (print_complex_function_ulps): Likewise.
14513         (print_max_error): Likewise.
14514         (print_complex_max_error): Likewise.
14515         (check_float_internal): Likewise.
14517         * math/test-float.h (PREFIX): New macro.
14518         (LIT): Likewise.
14519         (TYPE_STR): Likewise.
14520         (FTOSTR): Likewise.
14522         * math/test-double.h (PREFIX): New macro.
14523         (LIT): Likewise.
14524         (TYPE_STR): Likewise.
14525         (FTOSTR): Likewise.
14527         * math/test-ldouble.h (PREFIX): New macro.
14528         (LIT): Likewise.
14529         (TYPE_STR): Likewise.
14530         (FTOSTR): Likewise.
14532 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
14534         [BZ #20156]
14535         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
14536         to itself when zero or not finite.
14537         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
14538         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14539         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
14540         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
14542 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
14544         [BZ #20153]
14545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
14546         x * x + x for infinities and NaNs.
14548         [BZ #20151]
14549         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
14550         argument to itself before returning result.
14551         (__ieee754_y0l): Likewise.
14552         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14553         (__ieee754_y1l).
14555         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
14556         (atan_test_data): Likewise.
14557         (ceil_test_data): Likewise.
14558         (cos_test_data): Likewise.
14559         (cosh_test_data): Likewise.
14560         (erf_test_data): Likewise.
14561         (exp2_test_data): Likewise.
14562         (fabs_test_data): Likewise.
14563         (floor_test_data): Likewise.
14564         (ilogb_test_data): Likewise.
14565         (j0_test_data): Likewise.
14566         (j1_test_data): Likewise.
14567         (jn_test_data): Likewise.
14568         (lgamma_test_data): Likewise.
14569         (lrint_test_data): Likewise.
14570         (llrint_test_data): Likewise.
14571         (logb_test_data): Likewise.
14572         (lround_test_data): Likewise.
14573         (llround_test_data): Likewise.
14574         (nearbyint_test_data): Likewise.
14575         (rint_test_data): Likewise.
14576         (round_test_data): Likewise.
14577         (sin_test_data): Likewise.
14578         (sincos_test_data): Likewise.
14579         (sinh_test_data): Likewise.
14580         (sqrt_test_data): Likewise.
14581         (tan_test_data): Likewise.
14582         (tanh_test_data): Likewise.
14583         (tgamma_test_data): Likewise.
14584         (trunc_test_data): Likewise.
14585         (y0_test_data): Likewise.
14586         (y1_test_data): Likewise.
14587         (yn_test_data): Likewise.
14589         * math/libm-test.inc: Update comment about NaN testing.
14590         (TEST_SNAN): New macro.
14591         (snan_value): Likewise.
14592         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
14593         (fpclassify_test_data): Add sNaN tests.
14594         (isfinite_test_data): Likewise.
14595         (isinf_test_data): Likewise.
14596         (isnan_test_data): Likewise.
14597         (isnormal_test_data): Likewise.
14598         (issignaling_test_data): Likewise.
14599         (signbit_test_data): Likewise.
14600         * math/gen-libm-test.pl (%beautify): Add snan_value.
14601         (show_exceptions): Add argument $test_snan.
14602         (parse_args): Handle snan_value as non-finite.  Update call to
14603         show_exceptions.
14604         * math/Makefile (libm-test-no-inline-cflags): Add
14605         -fsignaling-nans.
14607 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14609         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
14610         (CFLAGS-oldsendmsg.c): Add rule.
14611         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14612         Correct recvmsg symbol name.
14613         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
14614         Likewise.
14616 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14618         * sysdeps/unix/sysv/linux/Makefile
14619         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
14620         oldsendmmsg.
14621         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
14622         sendmmsg.
14623         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14624         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14625         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14626         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14628         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14629         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14631         Likewise.
14632         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14633         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
14634         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14635         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
14636         iovlen and controllen fields to adjust to POSIX specification.
14637         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14639         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
14640         and change to correct expected type.
14641         (msghdr.msg_controllen): Likewise.
14642         (cmsghdr.cmsg_len): Likewise.
14643         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
14644         expected POSIX assumption about the size.
14645         (msghdr.msg_controllen): Likewise.
14646         (msghdr.__glibc_reserved1): Likewise.
14647         (msghdr.__glibc_reserved2): Likewise.
14648         (cmsghdr.cmsg_len): Likewise.
14649         (cmsghdr.__glibc_reserved1): Likewise.
14650         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
14651         Add ptw-oldrecvmsg and ptw-oldsendmsg.
14652         (CFLAGS-sendmsg.c): Remove rule.
14653         (CFLAGS-recvmsg.c): Likewise.
14654         (CFLAGS-oldsendmsg.c): Add rule.
14655         (CFLAGS-oldrecvmsg.c): Likewise.
14656         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
14657         recvmsg and sendmsg.
14658         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
14659         Likewise.
14660         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
14661         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
14662         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14663         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
14664         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14665         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14666         Likewise.
14667         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14668         Likewise.
14669         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
14670         Likewise.
14671         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
14672         Likewise.
14673         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14674         Likewise.
14675         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14676         Likewise.
14677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
14678         (GLIBC_2.24): Likewise.
14679         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14680         Likewise.
14681         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14682         Likewise.
14683         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14684         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14685         Likewise.
14686         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14687         Likewise.
14688         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14689         Likewise.
14690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
14691         (GLIBC_2.24): Likewise.
14692         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
14693         Likewise.
14694         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
14695         Likewise.
14696         * sysdeps/unix/sysv/linux/Makefile
14697         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
14698         (CFLAGS-sendmsg.c): Add rule.
14699         (CFLAGS-recvmsg.c): Likewise.
14700         (CFLAGS-oldsendmsg.c): Likewise.
14701         (CFLAGS-oldrecvmsg.c): Likewise.
14702         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
14703         initialization.
14704         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
14705         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
14706         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
14707         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14708         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
14709         iovlen and controllen fields to adjust to POSIX specification.
14710         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
14711         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
14712         added recvmsg and sendmsg.
14713         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14714         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14715         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14716         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14717         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14718         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14719         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14720         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14721         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14722         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14723         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14724         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14726         Likewise.
14727         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14729         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14730         Likewise.
14731         Likewise.
14732         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14733         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14734         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14735         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14736         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14737         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14739         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14741         Likewise.
14742         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14743         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14745         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
14746         from auto-generation.
14747         (sendmsg): Likewise.
14748         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
14749         (sendmsg): Likewise.
14750         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
14751         (sendmsg): Likewise.
14752         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
14753         (sendmsg): Likewise.
14754         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
14755         (sendmsg): Likewise.
14756         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
14757         (sendmsg): Likewise.
14758         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
14759         Likewise.
14760         (sendmsg): Likewise.
14761         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
14762         (sendmsg): Likewise.
14763         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14764         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14765         Remove.
14766         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14767         Likewise.
14768         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14769         Undefine.
14770         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14771         Likewise.
14772         * sysdeps/unix/sysv/linux/kernel-features.h
14773         (__ASSUME_SENDMSG_SYSCALL): Define.
14774         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14775         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14776         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14777         Remove.
14778         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14779         Likewise.
14780         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14781         Undefine.
14782         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14783         Likewise.
14784         * sysdeps/unix/sysv/linux/s390/kernel-features.h
14785         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14786         Remove.
14787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14788         Likewise.
14789         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14790         Undefine.
14791         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14792         Likewise.
14793         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14794         (__ASSUME_SENDMSG_SYSCALL): Undefine.
14795         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14796         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14797         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14798         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14799         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14800         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14801         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14803 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14805         * stdlib/gen-tst-strtod-round.c: Add backslash to
14806         compile command in comment.
14807         (printfp): Remove the literal suffix, and define an infinite
14808         value as INF to avoid expansion clash with INFINITY.
14809         (round_str): Remove the literal suffix.
14810         (round_for_all): Likewise, remove the now duplicate ldbl-64
14811         entry, and remove some magic constants.
14813         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
14814         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
14815         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
14816         (_CONCAT): New macro.
14817         (CONCAT): Likewise.
14818         (CHOOSE_ld): Likewise.
14819         (CHOOSE_f): Likewise.
14820         (CHOOSE_d): Likewise.
14821         (FTYPE_MEMBER): Likewise.
14822         (BOOL_MEMBER): Likewise.
14823         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
14824         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
14825         (_XNTRY): Likewise.
14826         (XNTRY): Likewise.
14827         (_ENTRY): Likewise.
14828         (ENTRY): Likewise.
14829         (test_exactness): Generate members via macro.
14830         (test_results): Likewise.
14831         (test): Update members.
14832         (TEST): Redefine using new macros.
14833         (INF): New macro.
14834         (fetestmodes): New structure.
14835         (do_test): Refactor to be type generic.
14836         (test_in_one_mode): Refactor duplicate code into
14837         (GEN_ONE_TEST): New macro.
14839         * stdlib/tst-strtod-round-data.h: Regenerate.
14841         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
14842         Extend to pass additional arbitrary parameters to
14843         generators.
14845 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
14847         [BZ #15479]
14848         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
14849         floating-point state after first floating-point operation on
14850         input.  Restore full floating-point state instead of just rounding
14851         mode.
14852         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
14853         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
14854         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
14855         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
14856         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
14858         [BZ #15479]
14859         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
14860         floating-point state after first floating-point operation on
14861         input.  Restore full floating-point state instead of just rounding
14862         mode.
14863         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
14864         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
14865         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
14866         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
14867         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
14869 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14871         [BZ #19727]
14872         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
14873         valid high surrogate.
14874         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
14875         of an utf16 surrogate.
14876         * iconv/gconv_simple.c (BODY): Likewise.
14877         * iconvdata/bug-iconv12.c: New file.
14878         * iconvdata/Makefile (tests): Add bug-iconv12.
14880 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14882         [BZ #19726]
14883         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
14884         outptrp in case of an illegal input.
14885         * iconv/tst-iconv6.c: New file.
14886         * iconv/Makefile (tests): Add tst-iconv6.
14888 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14890         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
14891         an error in case of a value in range of an utf16 low surrogate.
14893 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14895         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
14896         an error in case of a value in range of an utf16 low surrogate.
14898 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14900         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
14901         Move to ...
14902         * sysdeps/s390/Makefile: ... here.
14903         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
14904         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
14905         (BRANCH_ON_COUNT): New define.
14906         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
14907         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
14908         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
14909         run on s390-32, too.
14910         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
14911         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
14912         run on s390-32, too.
14913         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
14914         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
14915         run on s390-32, too.
14917 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14919         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
14920         etf3eh or new vector loop-variant.
14922 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14924         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
14925         etf3eh or new vector loop-variant.
14927 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14929         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
14930         or new vector loop-variant.
14932 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14934         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
14935         Rename to TR_LOOP and usage of tr instead of troo instruction.
14937 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14939         * sysdeps/s390/multiarch/gconv_simple.c: New File.
14940         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
14942 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14944         * sysdeps/s390/multiarch/8bit-generic.c: New File.
14945         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14946         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14947         New override define.
14948         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14950 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14952         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14953         * sysdeps/s390/configure.ac: Add test for S390 vector register
14954         support in gcc.
14955         * sysdeps/s390/configure: Regenerated.
14957 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14959         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14960         Install file from $(objpfx)gconv-modules.
14961         ($(objpfx)gconv-modules): Concatenate architecture specific file
14962         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14963         * sysdeps/s390/gconv-modules: New file.
14964         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14965         Deleted.
14966         ($(objpfx)gconv-modules-s390): Deleted.
14967         (sysdeps-gconv-modules): New variable.
14969 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14971         [BZ #15479]
14972         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14973         of immediate operand to rounding instruction.
14974         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14975         Likewise.
14976         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14977         Likewise.
14978         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14979         Likewise.
14981 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14983         * math/libm-test.inc (MIN_EXP): Directly define as
14984         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14986 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14988         * math/libm-test.inc (MANT_DIG): Directly define as
14989         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14991 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14993         * stdlib/gen-tst-strtod-round.c (main):
14994           Change usage to more closely match the generated
14995           output.  Add usage and compilation instructions.
14996           (string_to_fp): Add and use FILE* parameter as
14997           output target.
14998           (print_fp): Likewise.
14999           (round_str): Likewise.
15000           (round_for_all): Likewise.
15001         * stdlib/tst-strtod-round.c (tests): Move into
15002         * stdlib/tst-strtod-round-data.h: New file.
15004 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15006         [BZ #15479]
15007         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15008         (__round): Do not force "inexact" exception.
15009         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15010         variable.
15011         (__round): Do not force "inexact" exception.
15012         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15013         (__roundf): Do not force "inexact" exception.
15014         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15015         (__roundl): Do not force "inexact" exception.
15016         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15017         (__roundl): Do not force "inexact" exception.
15018         * math/libm-test.inc (round_test_data): Do not allow spurious
15019         "inexact" exceptions.
15021         [BZ #15479]
15022         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15023         exception in comment.
15024         (huge): Remove variable.
15025         (__floor): Do not force "inexact" exception.
15026         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15027         "inexact" exception in comment.
15028         (huge): Remove variable.
15029         (__floor): Do not force "inexact" exception.
15030         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15031         exception in comment.
15032         (huge): Remove variable.
15033         (__floorf): Do not force "inexact" exception.
15034         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15035         exception in comment.
15036         (huge): Remove variable.
15037         (__floorl): Do not force "inexact" exception.
15039         [BZ #15479]
15040         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15041         exception in comment.
15042         (huge): Remove variable.
15043         (__ceil): Do not force "inexact" exception.
15044         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15045         "inexact" exception in comment.
15046         (huge): Remove variable.
15047         (__ceil): Do not force "inexact" exception.
15048         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15049         (__ceilf): Do not force "inexact" exception.
15050         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15051         exception in comment.
15052         (huge): Remove variable.
15053         (__ceill): Do not force "inexact" exception.
15055 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15057         * config.h.in (BIND_NOW): New.
15058         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15059         * configure: Regenerated.
15060         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15061         indirect branch via the GOT slot.
15063 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15065         [BZ #19765]
15066         * sysdeps/s390/mempcpy.S: New File.
15067         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15068         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15069         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15070         Add mempcpy variants.
15071         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15072         (memcpy): Adjust to be usable from mempcpy entry point.
15073         (__memcpy_mvcle): Likewise.
15074         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15075         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15076         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15077         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15078         (__memcpy_z10): Likewise.
15079         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15081 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15083         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15084         Remove __GI_ symbol.
15085         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15086         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15087         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15088         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15089         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15090         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15092 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15094         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15095         Use cghi instead of chi to compare 64bit value.
15097 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15099         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15100         Jump to 1MB check before executing mvc-loop.
15102 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15104         [BZ #6527]
15105         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15106         unconditionally.
15107         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15109 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15111         * stdlib/tst-strtod6.c (do_test): Use new type generic
15112         invocation of the test function.
15113         (test): Refactor into ...
15114         (TEST_STRTOD): New macro base function.
15116 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15118         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15119         (TEST_STRTOD): New macro.
15120         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15122 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15124         * stdlib/tst-strtod6.c (do_test): Use new type generic
15125         invocation of the test function.
15126         (test): Refactor into ...
15127         (TEST_STRTOD): New macro base function.
15129 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15131         CVE-2016-4429
15132         [BZ #20112]
15133         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15134         payload.
15136 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15138         [BZ #20111]
15139         * bits/sockaddr.h (_SS_SIZE): Define.
15140         * bits/socket.h (_SS_SIZE): Remove.
15141         (_SS_PADSIZE): Adjust to account for all padding.
15142         (struct sockaddr_storage): Update comment.  Avoid implicit
15143         padding.
15144         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15145         (_SS_PADSIZE): Adjust to account for all padding.
15146         (struct sockaddr_storage): Update comment.  Avoid implicit
15147         padding.
15148         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15149         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15150         (_SS_PADSIZE): Adjust to account for all padding.
15151         (struct sockaddr_storage): Update comment.  Avoid implicit
15152         padding.
15153         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15154         __SS_SIZE is 126 in this version.
15155         * inet/tst-sockaddr.c: New file.
15156         * inet/Makefile (tests): Add tst-sockaddr.c
15157         (tst-sockaddr.c): Compile with non-strict aliasing.
15159 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15161         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15162         [XPG3 || XPG4].
15163         (NL_ARGMAX): Also expect for [XPG3].
15164         (NL_LANGMAX): Likewise.
15165         (NL_MSGMAX): Likewise.
15166         (NL_NMAX): Likewise.
15167         (NL_SETMAX): Likewise.
15168         (NL_TEXTMAX): Likewise.
15169         (NZERO): Likewise.
15170         (TMP_MAX): Likewise.
15171         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15172         variable.
15174         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15175         (PF_MAX): Update value.
15176         (AF_KCM): New macro.
15177         (SOL_NETBEUI): Likewise.
15178         (SOL_LLC): Likewise.
15179         (SOL_DCCP): Likewise.
15180         (SOL_NETLINK): Likewise.
15181         (SOL_TIPC): Likewise.
15182         (SOL_RXRPC): Likewise.
15183         (SOL_PPPOL2TP): Likewise.
15184         (SOL_BLUETOOTH): Likewise.
15185         (SOL_PNPIPE): Likewise.
15186         (SOL_RDS): Likewise.
15187         (SOL_IUCV): Likewise.
15188         (SOL_CAIF): Likewise.
15189         (SOL_ALG): Likewise.
15190         (SOL_NFC): Likewise.
15191         (SOL_KCM): Likewise.
15192         (MSG_BATCH): New enum value and macro.
15194 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15196         [BZ #18185]
15197         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15198         sharing L2 cache to 2 for Knights Landing.
15200 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15202         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15203         (FTW_DP): Do not expect for [XPG3 || XPG4].
15204         (FTW_SL): Do not expect for [XPG3].
15205         (FTW_SLN): Likewise.
15206         (FTW_PHYS): Likewise.
15207         (FTW_MOUNT): Likewise.
15208         (FTW_DEPTH): Likewise.
15209         (FTW_CHDIR): Likewise.
15210         (nftw): Likewise.
15211         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15212         variable.
15214 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15216         * manual/errno.texi: Fix various typos & grammar errors.
15218 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15220         * manual/intro.texi: Fix duplicated typo.
15222 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15224         [BZ #13304]
15225         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
15226         <float.h>, <math_private.h> and <stdlib.h>.
15227         (add_split): New function.
15228         (mul_split): Likewise.
15229         (ext_val): New typedef.
15230         (store_ext_val): New function.
15231         (mul_ext_val): New function.
15232         (compare): New function.
15233         (add_split_ext): New function.
15234         (__fmal): After checking for Inf, NaN and zero, compute result as
15235         an exact sum of scaled double values in round-to-nearest before
15236         adding those up and adjusting for other rounding modes.
15237         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
15238         tests of fma.
15239         * math/auto-libm-test-out: Regenerated.
15241 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15243         [BZ #20119]
15244         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
15245         processor level type mask for CPUID with EAX == 11.
15247 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15249         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
15250         logical threads if the HTT bit is 0.
15251         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
15252         (index_cpu_HTT): Likewise.
15253         (reg_HTT): Likewise.
15255 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
15257         [BZ #20115]
15258         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
15259         Remove alignments on jump targets.
15261 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
15263         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
15264         (getpwent): Likewise.
15265         (setpwent): Likewise.
15266         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
15267         variable.
15269         * conform/data/search.h-data (insque): Do not expect for [XPG3].
15270         (remque): Likewise.
15271         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
15272         variable.
15274 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15276         * math/libm-test.inc: Update comment not to refer to signs of NaNs
15277         not being tested.
15279 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15281         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
15282         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
15283         call.
15284         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
15285         (__condvar_cleanup1): Likewise.
15287 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15289         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
15290         New
15291         (__pthread_unwind): Renamed to ...
15292         (PTHREAD_UNWIND): This.
15293         (__pthread_enable_asynccancel): Replace
15294         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
15296 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
15298         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
15299         (CLONE_NEWCGROUP): New macro.
15301         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
15302         (Q_GETNEXTQUOTA): New macro.
15304 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
15306         [BZ #19907]
15307         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
15308         buffer updated by the previous run.
15309         * string/test-memcpy.c (do_one_test): Likewise.
15310         * benchtests/bench-memmove.c (do_one_test): Add a comment.
15311         * string/test-memmove.c (do_one_test): Likewise.
15313 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
15315         [BZ #20094]
15316         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
15317         not [__USE_XOPEN].
15318         (unlockpt): Likewise.
15319         (ptsname): Likewise.
15320         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
15321         variable.
15323         [BZ #20076]
15324         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
15325         instead of [__USE_UNIX98].
15326         (S_ISSOCK): Likewise.
15327         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
15328         variable.
15330         [BZ #20074]
15331         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
15332         [__USE_POSIX].
15333         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
15334         variable.
15336         [BZ #20051]
15337         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
15338         (ttyslot): Do not declare.
15339         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
15340         (ttyslot): New prototype.
15341         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
15342         variable.
15343         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15345 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15347         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
15349 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15351         Fix race condition in tst-mallocfork2, use fewer resources.
15352         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
15353         to current process group.
15354         (signal_sender): Yield in the non-sleeping case.
15356 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
15358         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
15359         (ecvt): Likewise.
15360         (fcvt): Likewise.
15361         (gcvt): Likewise.
15362         (getsubopt): Likewise.
15363         (grantpt): Likewise.
15364         (initstate): Likewise.
15365         (l64a): Likewise.
15366         (mktemp): Likewise.
15367         (mkstemp): Likewise.
15368         (ptsname): Likewise.
15369         (random): Likewise.
15370         (realpath): Likewise.
15371         (setstate): Likewise.
15372         (srandom): Likewise.
15373         (ttyslot): Likewise.
15374         (unlockpt): Likewise.
15375         (valloc): Likewise.
15377         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
15378         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
15379         variable.
15381 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15383         [BZ #20072]
15384         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
15385         init_cpu_features only if SHARED is defined.
15386         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
15388 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
15390         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
15391         non-inclusive caches on Intel processors.
15393 2016-05-13  Florian Weimer  <fweimer@redhat.com>
15395         * malloc/malloc.c (dumped_main_arena_start)
15396         (dumped_main_arena_end): New variables.
15397         (DUMPED_MAIN_ARENA_CHUNK): New macro.
15398         (do_check_chunk): Skip dumped fake mmapped chunks.
15399         (munmap_chunk): Likewise.
15400         (__libc_free): Do not adjust statistics for fake mmapped chunks.
15401         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
15402         mmapped chunks.
15403         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
15404         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
15405         and dumped_main_arena_end to cover the dumped heap.
15407 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
15409         * conform/data/time.h-data (getdate_err): Do not expect for
15410         [XPG3].
15411         (getdate): Likewise.
15412         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
15413         variable.
15415         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
15416         (F_ULOCK): Likewise.
15417         (F_TEST): Likewise.
15418         (F_TLOCK): Likewise.
15419         (useconds_t): Likewise.
15420         (intptr_t): Do not expect for [XPG3] or [XPG4].
15421         (brk): Do not expect for [XPG3]
15422         (fchown): Likewise.
15423         (fchdir): Likewise.
15424         (ftruncate): Likewise.
15425         (getdtablesize): Likewise.
15426         (gethostid): Likewise.
15427         (getpagesize): Likewise.
15428         (getpgid): Likewise.
15429         (getsid): Likewise.
15430         (getwd): Likewise.
15431         (lchown): Likewise.
15432         (lockf): Likewise.
15433         (readlink): Likewise.
15434         (sbrk): Likewise.
15435         (setpgrp): Likewise.
15436         (setregid): Likewise.
15437         (setreuid): Likewise.
15438         (symlink): Likewise.
15439         (sync): Likewise.
15440         (truncate): Likewise.
15441         (ualarm): Likewise.
15442         (usleep): Likewise.
15443         (vfork): Likewise.
15444         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
15445         variable.
15447         [BZ #20054]
15448         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
15449         not [__USE_UNIX98].
15450         * conform/data/unistd.h-data (gethostname): Do not expect for
15451         [XPG3].
15453         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
15454         [!POSIX] (S_IFBLK): Likewise.
15455         [!POSIX] (S_IFCHR): Likewise.
15456         [!POSIX] (S_IFIFO): Likewise.
15457         [!POSIX] (S_IFREG): Likewise.
15458         [!POSIX] (S_IFDIR): Likewise.
15459         [!POSIX] (S_IFLNK): Likewise.
15460         [!POSIX] (S_IFSOCK): Likewise.
15461         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
15462         variable.
15463         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15465 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
15467         * sysdeps/aarch64/memset.S (__memset):
15468         Rewrite of optimized memset.
15470 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15472         [BZ #19703]
15473         Partially async-signal-safe fork for single-threaded processes.
15474         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
15475         variable.  Do not acquire and reset/release malloc and libio locks
15476         in single-threaded processes.
15477         * malloc/tst-mallocfork2.c: New file.
15478         * malloc/Makefile (tests): Add it.
15480 2016-05-12  Florian Weimer  <fweimer@redhat.com>
15482         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
15483         argument.  Use scratch buffer instead of extend_alloca.
15484         (gethosts): Use scratch buffer instead of extend_alloca.
15485         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
15486         extend_alloca.
15487         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
15489 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
15491         [BZ #20055]
15492         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
15493         instead of [__USE_UNIX98].
15494         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
15495         [__USE_UNIX98].
15496         * conform/data/termios.h-data (tcgetsid): Do not expect for
15497         [XPG3].
15498         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
15499         variable.
15500         (test-xfail-XPG4/termios.h/conform): Likewise.
15502 2016-05-11  Florian Weimer  <fweimer@redhat.com>
15504         Do not use mcheck in localedef.
15505         * locale/programs/localedef.c (turn_on_mcheck)
15506         (__malloc_initialize_hook): Remove.
15508 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15510         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
15511         * sysdeps/s390/s390-64/Makefile: Likewise.
15513 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
15515         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
15516         Remove ifunc-defines.sym.
15517         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
15518         Likewise.
15519         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
15520         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15521         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
15522         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
15523         rtld-global-offsets.sym.
15524         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
15525         * sysdeps/x86/cpu-features-offsets.sym: This.
15526         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
15527         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
15529 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
15531         [BZ #20073]
15532         * io/sys/stat.h (fchmod): Declare for
15533         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
15534         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
15535         variable.
15537         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
15538         [XPG3] (S_IFSOCK): Likewise.
15539         [XPG3] (S_ISVTX): Likewise.
15540         [XPG3] (S_ISLNK): Likewise.
15541         [XPG3] (S_ISSOCK): Likewise.
15542         [XPG3] (fchmod): Likewise.
15543         [XPG3] (lstat): Likewise.
15544         [XPG3] (mknod): Likewise.
15546         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
15547         [XPG3].  Expect type long and XFAIL for [XPG4].
15548         (st_blocks): Likewise.
15550         [BZ #20044]
15551         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
15552         (pthread_atfork): New prototype.
15553         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
15554         variable.
15556         [BZ #20043]
15557         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
15558         prototype.
15560 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15562         [BZ #20017]
15563         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
15564         gmtime.
15566 2016-05-10  Florian Weimer  <fweimer@redhat.com>
15568         [BZ #19994]
15569         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
15570         flag in _res.options.
15572 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
15574         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
15575         [XPG3 || XPG4].
15576         (blksize_t): Likewise.
15577         (clockid_t): Likewise.
15578         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
15579         variable.
15580         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15582 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15584         * sysdeps/unix/sysv/linux/s390/init-first.c:
15585         Add VDSO_SYMBOL(getcpu).
15586         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
15587         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
15588         Add VDSO_SYMBOL(getcpu).
15589         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
15590         New define HAVE_GETCPU_VSYSCALL.
15591         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15593 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
15595         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
15596         instead of <sysdeps/x86_64/cacheinfo.c>.
15597         * sysdeps/x86_64/cacheinfo.c: Moved to ...
15598         * sysdeps/x86/cacheinfo.c: Here.
15600 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15602         * malloc/malloc-internal.h: Adjust header file guard.
15604 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15606         [BZ #19787]
15607         * inet/getnameinfo.c (check_sprintf_result): New function.
15608         (CHECKED_SNPRINTF): New macro.
15609         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
15610         to the host buffer.
15611         (gni_host_local): Use checked_copy to copy the host name.
15612         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
15613         (gni_serv_local): Use checked_copy to copy the service name.
15614         (getnameinfo): Remove unnecessary truncation of result buffers.
15616 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15618         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
15619         in case of inet_ntop failure.
15621 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15623         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
15624         avoid long lines.
15625         (gni_host_inet_numeric): Likewise.  Reduce scope of local
15626         variables.
15627         (gni_host_inet, gni_host_local): Add comment.
15628         (gni_host): Add comment.  Use temporary to avoid long lines.
15630 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15632         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
15633         registers specifiers where general purpose registers specifiers should
15634         have been used.
15636 2016-05-04  Florian Weimer  <fweimer@redhat.com>
15638         [BZ #19779]
15639         CVE-2016-1234
15640         Avoid copying names of directory entries.
15641         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
15642         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
15643         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
15644         (struct readdir_result): New type.
15645         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
15646         (GL_READDIR): New macros.
15647         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
15648         (convert_dirent, convert_dirent64): New functions.
15649         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
15650         convert_dirent64.  Adjust references to the readdir result.
15651         * sysdeps/unix/sysv/linux/i386/glob64.c:
15652         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
15653         * posix/bug-glob2.c (LONG_NAME): Define.
15654         (filesystem): Add LONG_NAME.
15655         (my_DIR): Increase the size of room_for_dirent.
15657 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
15659         [BZ #20041]
15660         * misc/sys/select.h (__need_timespec): Only define if
15661         [__USE_XOPEN2K].
15662         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
15663         variable.
15664         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15665         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15666         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15668 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15669             Segher Boessenkool  <segher@gcc.gnu.org>
15671         [BZ #20004]
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
15673         (__novec_swapcontext): Add missing load.
15675 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
15677         [BZ #20023]
15678         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
15679         <time.h>.
15680         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
15681         variable.
15682         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15684 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
15687         flags CLONE_VM compare.
15689 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15691         [BZ #20031]
15692         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
15693         completely empty.
15695 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15697         [BZ #19573]
15698         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
15699         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
15700         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
15701         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
15702         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
15703         (hesiod_free_list): Mark as hidden.
15704         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
15705         res_set, res_get.
15706         * hesiod/hesiod.c: Remove unnecessary forward declarations.
15707         (init, __hesiod_res_get, __hesiod_res_set): Remove.
15708         (hesiod_init): Remove obsolete res_ninit call.
15709         (hesiod_end): Do not free resolver state.  Do not invoke callback.
15710         (hesiod_bind): Do not call init.
15711         (get_txt_records): Use res_mkquery, res_send instead of
15712         res_nmkquery, res_nsend.
15713         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
15714         instead of _nss_hesiod_init.
15715         (_nss_hesiod_initgroups_dyn): Likewise.
15716         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
15717         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
15718         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
15720 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15722         * hesiod/hesiod_p.h (DEF_RHS): Remove.
15723         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
15725 2016-05-02  Florian Weimer  <fweimer@redhat.com>
15727         * hesiod/hesiod.h: Remove RCS keyword.
15728         * hesiod/hesiod_p.h: Likewise.
15730         * hesiod/hesiod.c: Likewise.
15732 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
15734         [BZ #12450]
15735         * locale/iso-639.def: Add Samogitian/sgs.
15737 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
15739         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
15741         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
15743 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
15744             Carlos O'Donell  <carlos@redhat.com>
15746         [BZ #19072]
15747         * grp/Makefile (headers): Add grp-merge.h
15748         (routines): Add grp-merge.
15749         * grp/getgrgid_r.c: Include grp-merge.h.
15750         (DEEPCOPY_FN): Define.
15751         (MERGE_FN): Define.
15752         * grp/getgrname_r.c: Include grp-merge.h.
15753         (DEEPCOPY_FN): Define.
15754         (MERGE_FN): Define.
15755         * grp/grp-merge.c: New file.
15756         * grp/grp-merge.h: New file.
15757         * include/grp-merge.h: New file.
15758         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
15759         __copy_grp@GLIBC_PRIVATE.
15760         * manual/nss.texi (Actions in the NSS configuration): Describe
15761         return, continue, and merge.
15762         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
15763         (DEEPCOPY_FN): Define.
15764         (MERGE_FN): Define.
15765         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
15766         (DEEPCOPY_FN): Define.
15767         (MERGE_FN): Define.
15768         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
15769         [!MERGE_FN]: Define __merge_einval.
15770         (CHECK_MERGE): Define.
15771         (REENTRANT_NAME): Process merge if do_merge is true.
15772         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
15773         (__nss_getent_r): Likewise.
15774         * nss/nsswitch.c (nss_parse_service_list): Likewise.
15775         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
15777 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15779         [BZ #20012]
15780         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
15781         length to calculate the buffer to read.
15782         (fmemopen_write): Set the buffer position based on bytes written.
15783         (fmemopen_seek): Return EINVAL for invalid whence modes.
15785         [BZ #19957]
15786         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
15787         tst-getpid2.
15788         (test): Add tst-clone2.
15789         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
15790         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
15791         pid/tid fields for CLONE_VM.
15792         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
15793         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
15794         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
15795         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
15796         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
15797         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
15798         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
15799         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
15800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
15801         Likewise.
15802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15803         Likewise.
15804         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
15805         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
15806         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
15807         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
15808         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
15809         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
15810         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
15811         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
15813 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15815         [BZ #19642]
15816         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
15817         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
15818         (gni_serv_local, gni_serv): New functions extracted from
15819         getnameinfo.
15820         (getnameinfo): Call gni_host and gni_serv to perform the
15821         processing.  Always free scratch buffer.
15823 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15825         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
15826         remaining bytes in the dest string, with zeros.
15828 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15830         [BZ #20010]
15831         CVE-2016-3706
15832         * sysdeps/posix/getaddrinfo.c
15833         (convert_hostent_to_gaih_addrtuple): New function.
15834         (gethosts): Call convert_hostent_to_gaih_addrtuple.
15835         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
15836         AF_INET data.
15838 2016-04-29  Florian Weimer  <fweimer@redhat.com>
15840         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
15841         callback function gl_readdir.
15842         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
15843         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
15844         (glob_in_dir): Remove len.  Use strdup instead of malloc and
15845         memcpy to copy the name.
15846         * manual/pattern.texi (Calling Glob): Document requirements for
15847         implementations of the gl_readdir callback function.
15848         * manual/examples/mkdirent.c: New example.
15849         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
15850         per the manual guidance.
15851         * posix/tst-gnuglob.c (my_readdir): Likewise.
15853 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
15855         [BZ #20014]
15856         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
15857         not [__USE_POSIX].
15858         (getchar_unlocked): Likewise.
15859         (putc_unlocked): Likewise.
15860         (putchar_unlocked): Likewise.
15861         (flockfile): Likewise.
15862         (ftrylockfile): Likewise.
15863         (funlockfile): Likewise.
15864         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
15865         variable.
15866         (test-xfail-XPG4/stdio.h/conform): Likewise.
15868         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
15869         Expect constant.
15870         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
15871         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
15872         variable.
15873         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15874         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15876         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
15877         [__USE_LARGEFILE64] (off64_t): Likewise.
15878         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
15879         variable.
15881 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15883         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
15885 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15887         * resolv/inet_addr.c: Reindent preprocessor conditionals.
15888         * resolv/res_init.c: Likewise.
15889         * resolv/res_mkquery.c: Likewise.
15891 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15893         * resolv/res_init.c (isascii): Do not define.  Use definition in
15894         <ctype.h>.
15895         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
15896         (LOG_AUTH): Remove.
15897         (SPRINTF): Remove, adjust caller.
15898         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
15900 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15902         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
15903         SUNSECURITY conditional.
15904         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
15906 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15908         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
15909         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
15910         Remove BSD-related preprocessor conditionals.
15911         * conf/portability.h: Remove.
15913 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15915         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
15916         * resolv/res_data.c: Likewise.
15918 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15920         * resolv/res_comp.c: Remove code conditional on __ultrix__.
15921         * resolv/res_data.c: Remove code conditional on ultrix.
15923 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15925         * resolv/res_init.c (RFC1535): Do not define.  Remove
15926         RFC1535 preprocessor conditionals.
15927         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
15928         because there configuration options which make the resolver
15929         behavior different.
15931 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15933         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
15934         RESOLVSORT preprocessor conditionals.
15935         * resolv/nss_dns/dns-host.c: Likewise.
15936         * resolv/res_init.c: Likewise.
15938 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15940         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
15941         is never defined.
15943 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15945         * inet/inet_lnaof.c: Remove SCSS keyword.
15946         * inet/inet_mkadr.c: Likewise.
15947         * inet/inet_net.c: Likewise.
15948         * inet/inet_netof.c: Likewise.
15949         * inet/rcmd.c: Likewise.
15950         * inet/rexec.c: Likewise.
15951         * inet/ruserpass.c: Likewise.
15953 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15955         * resolv/inet_addr.c: Remove _LIBC conditionals.
15956         * resolv/res_data.c: Likewise.
15957         * resolv/res_init.c: Likewise.
15958         * resolv/res_mkquery.c: Likewise.
15959         * resolv/res_libc.c: Update comment.
15960         * resolv/README: Update.
15962 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15964         * resolv/gethnamaddr.c: Remove SCSS keyword.
15965         * resolv/herror.c: Likewise.
15966         * resolv/inet_addr.c: Likewise.
15967         * resolv/inet_net_ntop.c: Likewise.
15968         * resolv/inet_net_pton.c: Likewise.
15969         * resolv/inet_neta.c: Likewise.
15970         * resolv/inet_ntop.c: Likewise.
15971         * resolv/inet_pton.c: Likewise.
15972         * resolv/ns_date.c: Remove RCS keyword.
15973         * resolv/ns_name.c: Likewise.
15974         * resolv/ns_netint.c: Likewise.
15975         * resolv/ns_parse.c: Likewise.
15976         * resolv/ns_print.c: Likewise.
15977         * resolv/ns_samedomain.c: Likewise.
15978         * resolv/ns_ttl.c: Likewise.
15979         * resolv/nsap_addr.c: Likewise.
15980         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15981         * resolv/res_data.c: Remove RCS keyword.
15982         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15983         * resolv/res_init.c: Likewise.
15984         * resolv/res_mkquery.c: Likewise.
15985         * resolv/res_query.c: Likewise.
15986         * resolv/res_send.c: Likewise.
15988 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15990         * conform/data/stdio.h-data (fdopen): Expect also for
15991         [XPG3 || XPG4].
15993         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15994         (fseeko): Likewise.
15995         (ftello): Likewise.
15996         (ftrylockfile): Likewise.
15997         (funlockfile): Likewise.
15998         (getc_unlocked): Likewise.
15999         (getchar_unlocked): Likewise.
16000         (putc_unlocked): Likewise.
16001         (putchar_unlocked): Likewise.
16003 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16005         [BZ #19868]
16006         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16007         DNS packet syntax checks (which were not needed before).  Skip
16008         over non-PTR records.
16010 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16012         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16013         definition.  Include <stddef.h> instead.
16015 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16017         [BZ #19831]
16018         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16019         function.
16020         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16021         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16023 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16025         [BZ #19862]
16026         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16027         (getanswer_r): Do not call syslog.
16028         (gaih_getanswer_slice): Likewise.
16029         * resolv/gethnamaddr.c (AskedForGot): Remove.
16030         (getanswer): Do not call syslog.
16031         (gethostbyaddr): Likewise.
16033 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16035         * conform/data/signal.h-data (union sigval): Expect also if
16036         [XOPEN2K].
16037         (struct sigevent): Likewise.
16038         (SIGEV_NONE): Likewise.
16039         (SIGEV_SIGNAL): Likewise.
16040         (SIGEV_THREAD): Likewise.
16041         (SIGRTMIN): Likewise.
16042         (SIGRTMAX): Likewise.
16043         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16044         variable.
16045         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16047 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16049         [BZ #19830]
16050         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16051         (gaih_getanswer_slice): Likewise.
16052         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16053         Also check for availability of RR metadata.
16055 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16057         [BZ #19825]
16058         * resolv/res_send.c (send_vc): Remove early *resplen2
16059         initialization.  Set *resplen2 on socket error.  Call
16060         close_and_return_error for other errors.
16062 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16064         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16065         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16066         (SCM_IUCV_TRGCLS): New define.
16068 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16070         [BZ #20005]
16071         * libio/fmemopen.c (fmemopen_write): Update internal position after
16072         write.
16073         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16074         * stdio-common/tst-fmemopen4.c: New file..
16076 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16078         [BZ #19996]
16079         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16080         not [__USE_XOPEN2K].
16081         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16082         variable.
16084         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16085         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16086         variable.
16088         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16089         [__USE_XOPEN2K8].
16090         [__USE_LARGEFILE64] (off64_t): Likewise.
16091         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16092         variable.
16094 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16096         [BZ #19989]
16097         * libio/stdio.h (cuserid): Do not declare if
16098         [__USE_XOPEN2K && !__USE_GNU].
16099         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16100         variable.
16102 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16104         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16105         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16107         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16108         ifunc'ed strcspn.
16109         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16110         [EALIGN]: Removed.
16111         [END]: Likewise
16112         [STRSPN]: Define instead of the above to control symbol name.
16113         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16114         New file.
16115         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16116         Likewise.
16117         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16118         Likewise.
16119         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16120         Likewise.
16121         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16122         [INITIAL_MASK]: New macro.
16123         [STRCSPN]: Likewise.
16124         [UPDATE_MASK]: Likewise.
16125         [USE_AS_STRCSPN]: Likewise.
16127 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16129         [BZ #19931]
16130         * stdio-common/tst-vfprintf-width-prec.c: New file.
16131         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16132         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16133         (generated): Add mtrace-related files.
16134         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16135         (tst-%-mem.out): New pattern rule, replaces
16136         tst-printf-bz18872-mem.out.
16137         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16138         specifier, deallocate any previously allocated work buffer.
16140 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16142         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16143         Add nop before __startcontext, add explaining comments.
16145 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16147         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16148         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16149         completely different API.
16151         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16152         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16153         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16154         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16155         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16156         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16157         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16158         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16159         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16160         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16162 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16164         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16166 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16168         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16169         when it is the default of 0.
16171 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16173         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16174         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16175         (sysdep_routines): Add new strcasestr targets.
16176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16177         (__libc_ifunc_impl_list): Likewise.
16178         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16179         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16180         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16181         * sysdeps/powerpc/powerpc64/power8/Makefile:
16182         New file to add strcasestr-ppc64 to sysdep_routines.
16183         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16184         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16186 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16188         * benchtests/Makefile (wcsmbs-benchset): Include only for
16189         native builds and runs.
16190         (LOCALES): Likewise.
16191         (bench-build): Build timing-type here instead of the bench
16192         target.  Generate locale only for native builds.
16193         * benchtests/README: Add note for cross-building.
16195         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16197         * benchtests/README: Update README to include instructions on
16198         using bench-build.
16200         * Makefile.in (bench-build): New target.
16201         * Rules (PHONY): Add bench-build target.
16202         * benchtests/Makefile (bench): Depend on bench-build.
16203         (bench-build): New target.
16205 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16207         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16208         profil_reply_port.
16209         (profile_waiter): Do not initialize profil_reply_port.
16210         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16211         frequency instead of tick length in us.
16213 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16215         [BZ #18712]
16216         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16217         (__old_mempcpy_small): Likewise.
16218         (__old_strcpy_small): Likewise.
16219         (__old_stpcpy_small): Likewise.
16220         (__old_strpbrk_c2): Fix compat symbol name.
16221         (__old_strpbrk_c3): Likewise.
16222         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
16223         (__mempcpy_small): Remove.
16224         (__strcpy_small): Remove.
16225         (__stpcpy_small): Remove.
16227 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
16229         [BZ #19400]
16230         * locale/iso-639.def: Add the Talossan/tzl language.
16232 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16234         [BZ #16983]
16235         * locale/programs/ld-address.c (address_finish): Update postal_fmt
16236         comment.  Add "ln" to strchr check on postal_fmt.
16238 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
16240         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
16241         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
16242         tel_dom_fmt.
16244 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16246         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16247         (sysdep_routines): Added __strlen_power8.
16248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
16249         __strlen_power8 entry.
16250         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
16251         Implementation for POWER8.
16252         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
16253         for __strlen_power8.
16254         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
16255         Implementation for POWER8.
16257 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
16259         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
16261 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
16263         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
16264         Goldmont and Airmont processors.
16266 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
16268         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
16269         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
16270         (__STRING2_SMALL_GET32): Remove.
16271         (memset): Remove.
16272         (__memset_1): Remove.
16273         (__memset_gc): Remove.
16274         (__mempcpy): Remove.
16275         (mempcpy): Remove.
16276         (__mempcpy_args): Remove.
16277         (strchr): Remove.
16278         (strcpy): Remove.
16279         (strcpy_args): Remove.
16280         (__stpcpy_args): Remove.
16281         (__strcmp_cc): Remove.
16282         (__strcmp_gc): Remove.
16283         (strstr): Remove.
16285 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
16287         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
16288         * nis/nis_call.c (nis_server_cache_add): Likewise.
16290 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16292         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
16294 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16296         * malloc/arena.c (__malloc_fork_lock_parent)
16297         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
16298         internal_function attribute.
16300 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
16302         * stdio-common/printf_fp.c (__printf_fp_l):
16303         Rename ___printf_fp_l to __printf_fp_l and
16304         remove strong alias. Use libc_hidden_def instead
16305         of ldbl_hidden_def macro.
16307 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16309         Remove malloc hooks from fork handler.  They are no longer needed
16310         because malloc runs right before fork, and no malloc calls from
16311         other fork handlers are not possible anymore.
16312         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
16313         declarations.
16314         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
16315         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
16316         (atfork_recursive_cntr): Remove.
16317         (__malloc_fork_lock_parent): Do not override malloc hooks and
16318         thread_arena.
16319         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
16320         thread_arena.
16321         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
16322         thread_arena instead of save_arena.
16324 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16326         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
16327         (thread_atfork, thread_atfork_static): Remove.
16328         * sysdeps/mach/hurd/malloc-machine.h:
16329         (thread_atfork, thread_atfork_static): Remove.
16331 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16333         [BZ #19431]
16334         Run the malloc fork handler as late as possible to avoid deadlocks.
16335         * malloc/malloc-internal.h: New file.
16336         * malloc/malloc.c: Include it.
16337         * malloc/arena.c (ATFORK_MEM): Remove.
16338         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
16339         Update comment.
16340         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
16341         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
16342         Remove outdated comment.
16343         (ptmalloc_init): Do not call thread_atfork.  Remove
16344         thread_atfork_static.
16345         * malloc/tst-malloc-fork-deadlock.c: New file.
16346         * Makefile (tests): Add tst-malloc-fork-deadlock.
16347         (tst-malloc-fork-deadlock): Link against libpthread.
16348         * manual/memory.texi (Aligned Memory Blocks): Update safety
16349         annotation comments.
16350         * sysdeps/nptl/fork.c (__libc_fork): Call
16351         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
16352         __malloc_fork_unlock_child.
16353         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
16355 2016-04-14  Florian Weimer  <fweimer@redhat.com>
16357         [BZ #19613]
16358         Remove union wait.
16359         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
16360         (w_stopsig, w_stopval): Remove.
16361         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
16362         stat_loc argument.
16363         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
16364         (__WAIT_STATUS_DEFN): Remove.
16365         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16366         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
16367         (wait, wait3, wait4): Use int * for the stat_loc argument.
16368         * posix/wait.c (__wait): Likewise.
16369         * posix/wait3.c (__wait3): Likewise.
16370         * posix/wait4.c (__wait4): Likewise.
16371         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
16372         (__WAIT_STATUS_DEFN): Remove.
16373         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
16374         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
16375         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
16376         argument.
16377         * sysdeps/posix/wait.c (__libc_wait): Likewise.
16378         * sysdeps/posix/wait3.c (__wait3): Likewise.
16379         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
16380         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16381         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
16382         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
16383         stat_loc argument.
16384         * manual/process.texi (BSD Wait Functions): Remove union wait.
16386 2016-04-13  Andreas Schwab  <schwab@suse.de>
16388         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
16389         (test-extras): Add tst-tlsalign-vars.
16390         * math/Makefile: Wrap long lines.
16391         (libm-vec-test-wrappers): Define.
16392         (test-extras): Add $(libm-vec-test-wrappers).
16393         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
16394         * nss/Makefile (extra-test-objs): Add nss_test1.os.
16395         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
16396         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
16397         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
16398         (extra-test-objs): Add corresponding objects.
16400 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
16402         [BZ #19928]
16403         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
16404         New.
16405         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
16406         times of shared cache size.
16407         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
16408         (VMOVNT): New.
16409         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
16410         (VMOVNT): Likewise.
16411         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
16412         (VMOVNT): Likewise.
16413         (VMOVU): Changed to movups for smaller code sizes.
16414         (VMOVA): Changed to movaps for smaller code sizes.
16415         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
16416         comments.
16417         (PREFETCH): New.
16418         (PREFETCH_SIZE): Likewise.
16419         (PREFETCHED_LOAD_SIZE): Likewise.
16420         (PREFETCH_ONE_SET): Likewise.
16421         Rewrite to use forward and backward loops, which move 4 vector
16422         registers at a time, to support overlapping addresses and use
16423         non temporal store if size is above the threshold and there is
16424         no overlap between destination and source.
16426 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
16428         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
16429         Include dl-vdso.
16430         * sysdeps/unix/sysv/linux/mips/Versions: Add
16431         __vdso_clock_gettime.
16432         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
16433         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
16434         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
16435         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
16436         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
16437         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
16438         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16439         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16440         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16442 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16444         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
16445         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
16446         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
16447         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
16448         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
16449         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
16450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
16451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
16452         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
16453         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
16454         syscalls generation.
16455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16456         [__NR_pwrite64] (__NR_write): Remove define.
16457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16458         [__NR_pwrite64] (__NR_write): Remove define.
16459         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
16460         Remove define.
16461         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
16462         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
16463         Remove define.
16464         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
16465         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
16466         Linux implementation as base.
16467         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
16469         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
16470         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
16471         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
16472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
16473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
16474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
16475         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
16476         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
16477         syscall generation.
16478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16479         [__NR_pread64] (__NR_pread): Remove define.
16480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16481         [__NR_pread64] (__NR_pread): Likewise.
16482         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
16483         define.
16484         (__libc_pread): Use SYSCALL_LL macro on offset argument.
16485         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
16486         Remove define.
16487         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
16488         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
16489         Linux implementation as base.
16490         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
16491         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
16492         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
16494         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
16495         definition.
16496         (__ALIGNMENT_COUNT): Likewise.
16497         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
16498         (__ALIGNMENT_COUNT): Likewise.
16499         (SYSCALL_LL): New define.
16500         (SYSCALL_LL64): Likewise.
16501         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
16502         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
16503         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
16504         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
16506         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16507         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
16508         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16509         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16510         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16511         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
16513 2016-04-11  Florian Weimer  <fweimer@redhat.com>
16515         [BZ #19865]
16516         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
16517         original buffer before retry.
16519 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16521         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
16522         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
16523         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
16524         GLRO(dl_auxv) list.
16525         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
16526         including <ldsodefs.h>.
16527         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
16529 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
16531         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
16532         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
16533         $(CPPFLAGS).
16535 2016-04-09  Khem Raj  <raj.khem@gmail.com>
16537         [BZ #17950]
16538         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
16539         Add -mfpmath=387.
16541 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
16543         * sysdeps/i386/configure.ac: Change == to = when calling test.
16544         * sysdeps/x86_64/configure.ac: Likewise.
16545         * sysdeps/i386/configure: Regenerated.
16546         * sysdeps/x86_64/configure: Likewise.
16548 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
16550         [BZ #16137]
16551         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
16552         * benchtests/bench-strcoll.c (input_files): Likewise.
16553         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
16554         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
16555         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
16557 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
16559         [BZ #19929]
16560         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
16561         [__USE_XOPEN2K8 && !__USE_GNU].
16562         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
16563         variable.
16565         [BZ #19925]
16566         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
16567         define if [!__USE_MISC && __USE_XOPEN2K].
16568         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
16569         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
16570         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
16571         Likewise.
16572         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
16573         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
16574         variable.
16575         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16577 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16579         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16580         (sysdep_routines): Add new strspn targets.
16581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16582         (__libc_ifunc_impl_list): Add strspn.
16583         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16584         New file.
16585         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
16586         Likewise.
16587         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
16588         Likewise.
16589         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16590         Likewise.
16592 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16594         * misc/hsearch_r.c: Include <limits.h>.
16596 2016-04-07  Florian Weimer  <fweimer@redhat.com>
16598         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
16600 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16602         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16603         (MEMCPY_SYMBOL): New.
16604         (MEMPCPY_SYMBOL): Likewise.
16605         (MEMMOVE_CHK_SYMBOL): Likewise.
16606         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
16607         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
16608         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
16609         Provide alias for memcpy in libc.a and ld.so.
16611 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16613         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
16614         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
16615         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
16616         Disabled fro now.
16617         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
16618         symbols.  Properly check USE_MULTIARCH on __memset symbols.
16620 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
16622         * benchtests/Makefile (string-benchset): Add memcpy-large,
16623         memmove-large and memset-large.
16624         * benchtests/bench-memcpy-large.c: New file.
16625         * benchtests/bench-memmove-large.c: Likewise.
16626         * benchtests/bench-memmove-large.c: Likewise.
16627         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
16629 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16631         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
16632         32-bit displacement to avoid long nop between instructions.
16634 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
16636         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
16637         a comment on VMOVU and VMOVA.
16639 2016-04-04  Florian Weimer  <fweimer@redhat.com>
16641         [BZ #19633]
16642         Use specified locale for number formatting in strfmon_l.
16643         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16644         (__nl_lookup_word): New inline functions.
16645         * include/printf.h (__print_fp_l): Declare.
16646         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
16647         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
16648         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
16649         (___printf_fp): New function.
16650         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
16651         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
16652         * stdlib/tst-strfmon_l.c (do_test): New test.
16653         * stdlib/Makefile (tests): Add kt.
16654         (LOCALES): Build additional locales.
16655         (tst-strfmon_l.out): Require locales.
16657 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16659         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
16660         if not in libc.
16661         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16662         Likewise.
16663         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
16664         Likewise.
16665         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16666         Likewise.
16668 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
16670         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16671         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
16672         with unaligned_erms.
16673         (__memmove_erms): Skip if source == destination.
16674         (__memmove_unaligned_erms): Don't check source == destination
16675         first.
16677 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16679         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
16680         bit_arch_Fast_Copy_Backward for Intel Core proessors.
16682 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16684         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
16685         * string/strspn.c (strspn): Likewise.
16687 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16689         * benchtests/bench-memset.c (do_test): Support 64-byte
16690         alignment.
16691         (test_main): Test 64-byte alignment.
16693 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16695         * benchtests/bench-memmove.c (test_main): Test 64-byte
16696         alignment.
16698 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
16700         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
16702 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16704         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
16705         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
16706         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
16708         * string/strpbrk.c (strpbrk): Rewrite function.
16709         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
16710         (__strpbrk_c2): Likewise.
16711         (__strpbrk_c3): Likewise.
16712         * string/string-inlines.c
16713         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
16714         Likewise.
16715         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
16716         Likewise.
16718         * string/strspn.c (strcspn): Rewrite function.
16719         * string/bits/string2.h (strspn): Use __builtin_strcspn.
16720         (__strspn_c1): Remove inline function.
16721         (__strspn_c2): Likewise.
16722         (__strspn_c3): Likewise.
16723         * string/string-inlines.c
16724         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
16725         compatibility symbol.
16726         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
16727         Likewise.
16728         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
16729         Likewise.
16730         * string/string-inlines.c: Include generic version.
16732 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
16733             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16735         * string/Version (libc): Add GLIBC_2.24.
16736         * string/strcspn.c (strcspn): Rewrite function.
16737         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
16738         (__strcspn_c1): Remove inline function.
16739         (__strcspn_c2): Likewise.
16740         (__strcspn_c3): Likewise.
16741         * string/string-inline.c
16742         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
16743         compatibility symbol.
16744         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
16745         Likewise.
16746         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
16747         Likewise.
16748         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
16750 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16752         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
16753         Use ahi instead of aghi to adjust stack pointer.
16755 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16757         [BZ #19853]
16758         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
16759         TEST to take significant digits as second parameter.
16760         [TEST]: Redefine in terms of TEST_N taking 30
16761         significant digits.
16762         (do_test): Add test case to demonstrate precision
16763         failure in the ldbl-128ibm printf.
16764         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
16765         (__mpn_extract_long_double): Carry 7 extra intermediate
16766         bits of precision to aide computing difference when
16767         signs differ.
16769 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16771         [BZ #19881]
16772         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16773         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
16774         memset-avx512-unaligned-erms.
16775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16776         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
16777         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
16778         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
16779         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
16780         __memset_sse2_unaligned_erms, __memset_erms,
16781         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
16782         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
16783         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
16784         file.
16785         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16786         Likewise.
16787         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
16788         Likewise.
16789         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
16790         Likewise.
16792 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
16794         [BZ #19776]
16795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16796         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
16797         memmove-avx512-unaligned-erms.
16798         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16799         (__libc_ifunc_impl_list): Test
16800         __memmove_chk_avx512_unaligned_2,
16801         __memmove_chk_avx512_unaligned_erms,
16802         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
16803         __memmove_chk_sse2_unaligned_2,
16804         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
16805         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
16806         __memmove_avx512_unaligned_erms, __memmove_erms,
16807         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
16808         __memcpy_chk_avx512_unaligned_2,
16809         __memcpy_chk_avx512_unaligned_erms,
16810         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
16811         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
16812         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
16813         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
16814         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
16815         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
16816         __mempcpy_chk_avx512_unaligned_erms,
16817         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
16818         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
16819         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
16820         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
16821         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
16822         __mempcpy_erms.
16823         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
16824         file.
16825         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16826         Likewise.
16827         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
16828         Likewise.
16829         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
16830         Likewise.
16832 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16834         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
16835         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
16836         (La_s390_64_regs): Likewise.
16837         (La_s390_32_retval): Append vector register lrv_v24.
16838         (La_s390_64_retval): Likeweise.
16839         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
16840         Handle extended structs La_s390_32_regs and La_s390_32_retval.
16841         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
16842         Handle extended structs La_s390_64_regs and La_s390_64_retval.
16844 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16846         [BZ #19916]
16847         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
16848         to create a non-vector/vector version for _dl_runtime_resolve and
16849         _dl_runtime_profile. Move implementation to ...
16850         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
16851         (_dl_runtime_resolve) Save and restore fpr/vrs.
16852         (_dl_runtime_profile) Save and restore vrs and fix some issues
16853         if _dl_call_pltexit is called.
16854         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
16855         Choose the correct resolver function if running on a machine with vx.
16856         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
16857         to create a non-vector/vector version for _dl_runtime_resolve and
16858         _dl_runtime_profile. Move implementation to ...
16859         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
16860         (_dl_runtime_resolve) Save and restore fpr/vrs.
16861         (_dl_runtime_profile) Save and restore vrs and fix some issues
16862         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
16863         Choose the correct resolver function if running on a machine with vx.
16865 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16867         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
16869 2016-03-31  Florian Weimer  <fweimer@redhat.com>
16871         [BZ #19509]
16872         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
16873         skip_map != NULL.
16874         * elf/tst-dlsym-error.c: New file.
16875         * elf/Makefile (tests): Add tst-dlsym-error.
16876         (tst-dlsym-error): Link against libdl.
16878 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
16880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16881         (__ASSUME_FUTIMESAT): Remove macro.
16882         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
16884 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16886         [BZ #19879]
16887         CVE-2016-3075
16888         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
16889         copy name.
16891 2016-03-29  Florian Weimer  <fweimer@redhat.com>
16893         [BZ #19837]
16894         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
16895         error if parse_line fails.
16897 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16899         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
16900         (index_cpu_ERMS): Likewise.
16901         (reg_ERMS): Likewise.
16903 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
16905         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
16906         PER_LINUX_FDPIC): Add.
16908 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16911         memcpy-avx512-no-vzeroupper.
16912         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
16913         to ...
16914         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
16915         (MEMCPY): Don't define.
16916         (MEMCPY_CHK): Likewise.
16917         (MEMPCPY): Likewise.
16918         (MEMPCPY_CHK): Likewise.
16919         (MEMPCPY_CHK): Renamed to ...
16920         (__mempcpy_chk_avx512_no_vzeroupper): This.
16921         (MEMPCPY_CHK): Renamed to ...
16922         (__mempcpy_chk_avx512_no_vzeroupper): This.
16923         (MEMCPY_CHK): Renamed to ...
16924         (__memmove_chk_avx512_no_vzeroupper): This.
16925         (MEMCPY): Renamed to ...
16926         (__memmove_avx512_no_vzeroupper): This.
16927         (__memcpy_avx512_no_vzeroupper): New alias.
16928         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
16930 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16932         [BZ #18858]
16933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16934         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
16935         and mempcpy-avx512-no-vzeroupper.
16936         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
16937         New.
16938         (MEMPCPY): Likewise.
16939         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
16940         (MEMPCPY_CHK): New.
16941         (MEMPCPY): Likewise.
16942         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
16943         (MEMPCPY): Likewise.
16944         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16945         (MEMPCPY): Likewise.
16946         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16947         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16948         Likewise.
16949         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16950         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16952 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16953              Amit Pawar  <Amit.Pawar@amd.com>
16955         [BZ #19583]
16956         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16957         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16958         processors.  Set Fast_Copy_Backward for AMD Excavator
16959         processors.
16960         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16961         New.
16962         (index_arch_Fast_Unaligned_Copy): Likewise.
16963         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16964         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16966 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16968         [BZ #19791]
16969         * resolv/res_send.c (close_and_return_error): New function.
16970         (send_dg): Initialize *resplen2 after reopen failure.  Call
16971         close_and_return_error for error returns.  On error paths without
16972         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16973         successful return.
16975 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16977         [BZ #19860]
16978         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16979         zero if the compiler does not provide the AVX512F bit.
16981 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16983         [BZ #19848]
16984         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16985         from 8 to 4.
16986         (__ieee754_powl): Compare integer exponent against 4 not 8.
16987         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16988         from 8 to 4.
16989         (__ieee754_powl): Compare integer exponent against 4 not 8.
16990         * math/auto-libm-test-in: Add more tests of pow.
16991         * math/auto-libm-test-out: Regenerated.
16992         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16995 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16997         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16998         Make code unconditional.
16999         [!__NR_utimensat]: Remove conditional code.
17000         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17001         Make code unconditional.
17002         [!__NR_utimensat]: Remove conditional code.
17003         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17004         Make code unconditional.
17005         [!__NR_utimensat]: Remove conditional code.
17007 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17009         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17010         Make code unconditional.
17012 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17014         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17015         call-clobbered %eax on retry path.
17016         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17018 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17020         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17021         Don't set %rcx twice before "rep movsb".
17023 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17025         [BZ #19583]
17026         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17027         inline.  Check family before setting family, model and
17028         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17029         bits here.
17030         (init_cpu_features): Replace HAS_CPU_FEATURE and
17031         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17032         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17033         for Intel processors with usable AVX2.  Call get_common_indeces
17034         for other processors with family == NULL.
17035         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17036         (CPU_FEATURES_ARCH_P): Likewise.
17037         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17038         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17040 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17042         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17043         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17044         $(shared-thread-library) instead of hardcoding the path to libpthread.
17046 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17048         * sysdeps/unix/sysv/linux/kernel-features.h
17049         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17050         * sysdeps/unix/sysv/linux/getdents.c
17051         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17052         [!have_no_getdents64_defined]: Likewise.
17053         (__GETDENTS): Remove __have_no_getdents64 conditional.
17055 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17057         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17058         Remove macro.
17059         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17060         <kernel-features.h>.
17061         (signalfd) [__NR_signalfd4]: Make code unconditional.
17062         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17064 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17066         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17067         style.
17069 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17071         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17072         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17073         __pthread_unwind.
17074         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17075         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17076         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17077         (__condvar_cleanup1): Likewise.
17079 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17081         [BZ #19822]
17082         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17083         move it to the final $@ location.
17085 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17087         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17088         access where posix_spawn success and pid argument is null.
17089         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17090         success case.
17092 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17094         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17096         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17098         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17099         and __fcntl.
17100         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17101         __fcntl only.
17102         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17103         adding attribute_hidden to __open and __fcntl.
17105         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17106         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17107         depend on libc-modules.h,
17108         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17110 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17112         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17113         Remove macro.
17114         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17115         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17116         entry.
17118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17119         Remove macro.
17120         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17121         include <kernel-features.h>.
17122         [!__ASSUME_FALLOCATE]: Remove conditional code.
17123         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17125 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17127         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17128         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17129         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17130         (_ZGVdN4v_cos_avx2): Likewise.
17131         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17132         (_ZGVdN4v_cos): Likewise.
17133         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17134         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17135         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17136         (_ZGVdN4v_exp_avx2): Likewise.
17137         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17138         (_ZGVdN4v_exp): Likewise.
17139         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17140         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17141         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17142         (_ZGVdN4v_log_avx2): Likewise.
17143         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17144         (_ZGVdN4v_log): Likewise.
17145         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17146         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17147         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17148         (_ZGVdN4vv_pow_avx2): Likewise.
17149         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17150         (_ZGVdN4vv_pow): Likewise.
17151         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17152         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17153         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17154         (_ZGVdN4v_sin_avx2): Likewise.
17155         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17156         (_ZGVdN4v_sin): Likewise.
17157         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17158         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17159         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17160         (_ZGVdN4vvv_sincos_avx2): Likewise.
17161         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17162         (_ZGVdN4vvv_sincos): Likewise.
17163         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17164         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17165         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17166         (_ZGVbN4v_cosf_sse4): Likewise.
17167         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17168         (_ZGVdN8v_cosf_avx2): Likewise.
17169         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17170         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17171         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17172         (_ZGVbN4v_expf_sse4): Likewise.
17173         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17174         (_ZGVdN8v_expf_avx2): Likewise.
17175         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17176         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17177         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17178         (_ZGVbN4v_logf_sse4): Likewise.
17179         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17180         (_ZGVdN8v_logf_avx2): Likewise.
17181         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17182         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17183         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17184         (_ZGVbN4vv_powf_sse4): Likewise.
17185         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17186         (_ZGVdN8vv_powf_avx2): Likewise.
17187         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17188         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17189         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17190         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17191         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17192         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17193         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17194         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17195         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17196         (_ZGVbN4v_sinf_sse4): Likewise.
17197         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17198         (_ZGVdN8v_sinf_avx2): Likewise.
17199         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17200         Use JUMPTARGET to call callee.
17201         (WRAPPER_IMPL_SSE2_ff): Likewise.
17202         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17203         (WRAPPER_IMPL_AVX): Likewise.
17204         (WRAPPER_IMPL_AVX_ff): Likewise.
17205         (WRAPPER_IMPL_AVX_fFF): Likewise.
17206         (WRAPPER_IMPL_AVX512): Likewise.
17207         (WRAPPER_IMPL_AVX512_ff): Likewise.
17208         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17209         Likewise.
17210         (WRAPPER_IMPL_SSE2_ff): Likewise.
17211         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17212         (WRAPPER_IMPL_AVX): Likewise.
17213         (WRAPPER_IMPL_AVX_ff): Likewise.
17214         (WRAPPER_IMPL_AVX_fFF): Likewise.
17215         (WRAPPER_IMPL_AVX512): Likewise.
17216         (WRAPPER_IMPL_AVX512_ff): Likewise.
17217         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17219 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17221         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17222         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
17223         qualifier.
17224         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
17225         internal_function qualifiers.
17227 2016-03-15  Carlos O'Donell <carlos@redhat.com>
17229         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
17230         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
17231         * math/atest-exp.c (exp_mpn): Mark chk unused.
17232         * math/atest-exp2.c (exp_mpn): Likewise.
17233         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
17234         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
17236 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
17238         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
17239         Remove macro.
17240         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
17241         <kernel-features.h>.
17242         [__NR_ppoll]: Make code unconditional.
17243         [!__ASSUME_PPOLL]: Remove conditional code.
17245         * sysdeps/unix/sysv/linux/kernel-features.h
17246         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
17247         (__ASSUME_ACCEPT4): Likewise.
17248         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17249         Define.
17250         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
17251         Likewise.
17252         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17253         Likewise.
17254         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
17255         Likewise.
17256         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
17257         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
17258         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17259         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17260         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17261         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17262         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17263         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17264         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17265         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17266         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17267         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17268         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17269         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17270         * sysdeps/unix/sysv/linux/i386/kernel-features.h
17271         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17272         Likewise.
17273         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17274         Likewise.
17275         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17276         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17277         0x040300].
17278         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17279         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17280         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17281         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17282         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17283         0x030300].
17284         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
17285         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17286         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17287         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17288         0x040300].
17289         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17290         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17291         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17292         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17293         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17294         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17295         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
17296         0x030300].
17297         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17298         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17299         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17300         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17301         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17302         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17303         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17304         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17305         * sysdeps/unix/sysv/linux/s390/kernel-features.h
17306         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
17307         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
17308         0x040300].
17309         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17310         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17311         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17312         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17313         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17314         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17315         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17316         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17317         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17318         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17319         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17320         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17321         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17322         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17323         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
17324         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17325         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17326         Likewise.
17327         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17328         Likewise.
17330 2016-03-15  Andreas Schwab  <schwab@suse.de>
17332         [BZ #19257]
17333         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
17334         statp->_u._ext.nscount as loop count.
17336 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17338         * math/test-signgam-finite-c99.c: Also #undef
17339         __LIBC_INTERNAL_MATH_INLINES.
17340         * math/test-signgam-main.c: Likewise.
17342 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
17344         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
17345         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
17346         (MADV_FREE): Likewise.
17347         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
17348         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
17349         EPOLLEXCLUSIVE.
17351 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
17353         * timezone/README: Remove mention of checktab.awk. Mention wiki
17354         SharedSourceFiles.
17356 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
17358         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
17359         WUNTRACED.
17361 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17363         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
17364         order to match the type of p when calling atomic_exchange_acq().
17366 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17368         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
17369         cfi_offset calls.
17370         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
17371         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
17372         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
17373         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
17374         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
17376 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
17378         * timezone/checktab.awk: Removed.
17380 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
17382         * manual/math.texi (Errors in Math Functions): Document relaxed
17383         accuracy goals for IBM long double.
17384         * math/libm-test.inc (test_exceptions): Always allow spurious
17385         "underflow" and "inexact" exceptions for IBM long double.
17387 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
17389         [BZ #19762]
17390         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17391         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
17392         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
17393         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
17394         (bit_arch_*): This for feature array.
17395         (bit_*): Renamed to ...
17396         (bit_cpu_*): This for cpu array.
17397         (index_*): Renamed to ...
17398         (index_arch_*): This for feature array.
17399         (index_*): Renamed to ...
17400         (index_cpu_*): This for cpu array.
17401         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
17402         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
17403         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
17404         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
17405         bit_##name with index_cpu_##name and bit_cpu_##name.
17406         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
17407         bit_##name with index_arch_##name and bit_arch_##name.
17409 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
17411         [BZ #19792]
17412         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
17413         Terminate FDE before return label.
17415 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
17417         [BZ #19790]
17418         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
17419         (rintl): Define as macro.
17420         [USE_AS_NEARBYINTL] (__rintl): Likewise.
17421         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
17422         of fesetround.  Ensure results are evaluated before end of scope.
17423         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
17424         USE_AS_NEARBYINTL and include s_rintl.c.
17425         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
17426         Disable exception traps in new environment.
17427         (libc_feholdsetround_ppc_ctx): Likewise.
17429 2016-03-08  Roland McGrath  <roland@hack.frob.com>
17431         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
17432         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
17433         (tst_audit10_aux) [__AVX512F__]: ... here.
17435 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
17437         * include/sys/auxv.h: New file.
17439 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17441         [BZ #19759]
17442         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
17444 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17446         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
17447         operand modifier.
17448         (feclearexcept): Likewise.
17450 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17452         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
17453         to reflect the entire 32-bit HWCAP.
17454         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
17455         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
17457 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
17459         [BZ #19783]
17460         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
17461         $(test-via-rtld-prefix).
17462         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
17464 2016-03-08  Florian Weimer  <fweimer@redhat.com>
17466         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
17467         union wait.  Report any non-zero exit status as error.
17469 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17471         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
17472         configured with --enable-hardcoded-path-in-tests.
17474 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
17476         [BZ #19677]
17477         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17478         (__ieee754_remainderl): Put zero low parts in canonical form.
17479         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
17480         file.  Based on
17481         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
17482         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
17483         with wrapper round test-fmodrem-ldbl-128ibm.c.
17484         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
17485         file.
17486         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
17487         Likewise.
17488         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
17489         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
17491 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17493         [BZ #19610]
17494         * elf/ldconfig.c (opt_link): Update comment.
17495         (options): Update help string for option -X.
17496         (search_dir): Unlink stale symbolic link only if updating symbolic
17497         links.
17498         * elf/tst-ldconfig-X.sh: New file.
17499         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
17500         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
17502 2016-03-07  Andreas Schwab  <schwab@suse.de>
17504         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
17505         needed arguments.
17507 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
17509         [BZ #15333]
17510         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
17511         to lstat64.
17513 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17515         * libio/filedoalloc.c (isatty): Remove.
17516         (local_isatty): Add comment.  Call __isatty directly.
17517         (_IO_file_doallocate): Update comment.  Assume _LIBC.
17518         * libio/wfiledoalloc.c (isatty): Remove.
17519         (_IO_wfile_doallocate): Update comment.
17521 2016-03-07  Florian Weimer  <fweimer@redhat.com>
17523         [BZ #19269]
17524         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
17525         tst-audit4-aux.o.
17526         (tst-audit10): Depend on tst-audit10-aux.o.
17527         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
17528         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
17529         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
17530         instead of inline AVX code.
17531         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
17532         instead of inline AVX512 code.
17533         * sysdeps/x86_64/tst-audit4-aux.c: New file
17534         * sysdeps/x86_64/tst-audit10-aux.c: New file
17536         [BZ #19648]
17537         * test-skeleton.c (main): Do not set RLIMIT_DATA.
17539 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17541         [BZ #14750]
17542         [BZ #10354]
17543         [BZ #18433]
17544         * include/sched.h (__clone): Add hidden prototype.
17545         (__clone2): Likewise.
17546         * include/unistd.h (__dup): Likewise.
17547         * posix/Makefile (tests): Add tst-spawn2.
17548         * posix/tst-spawn2.c: New file.
17549         * sysdeps/posix/dup.c (__dup): Add hidden definition.
17550         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
17551         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
17552         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
17553         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
17554         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
17555         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
17556         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
17557         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
17558         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
17559         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
17560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
17561         Likewise.
17562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17563         Likewise.
17564         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
17565         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
17566         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
17567         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
17568         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
17569         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
17570         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
17571         * sysdeps/unix/sysv/linux/nptl-signals.h
17572         (____nptl_is_internal_signal): New function.
17573         * sysdeps/unix/sysv/linux/spawni.c: New file.
17575         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
17576         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
17577         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
17578         * posix/tst-execvp2.c (do_test): Likewise.
17579         * posix/tst-execvp3.c (do_test): Likewise.
17580         * posix/tst-execvp4.c (do_test): Likewise.
17581         * posix/tst-execvpe1.c: New file.
17582         * posix/tst-execvpe2.c: Likewise.
17583         * posix/tst-execvpe3.c: Likewise.
17584         * posix/tst-execvpe4.c: Likewise.
17585         * posix/tst-execvpe5.c: Likewise.
17586         * posix/tst-execvpe6.c: Likewise.
17588         [BZ #19534]
17589         * posix/execl.c (execl): Remove dynamic memory allocation.
17590         * posix/execle.c (execle): Likewise.
17591         * posix/execlp.c (execlp): Likewise.
17593 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17595         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
17596         Replace .text with .text.avx512.
17597         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
17598         Likewise.
17600 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
17602         * sysdeps/generic/libnsl.abilist: New file.
17603         * sysdeps/generic/libutil.abilist: New file.
17605 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
17607         [BZ #19762]
17608         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
17609         HAS_ARCH_FEATURE with Fast_Rep_String.
17610         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
17611         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
17612         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
17613         Likewise.
17614         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
17615         Likewise.
17616         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
17617         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
17618         Likewise.
17619         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
17620         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
17621         Likewise.
17623 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17625         [BZ #19745]
17626         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
17627         with *%rax in call.
17629 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17631         [BZ #19745]
17632         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
17633         with *__libc_start_main@GOTPCREL(%rip) in call.
17635 2016-03-04  Roland McGrath  <roland@hack.frob.com>
17637         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
17638         inside conditional for nonempty $(CXX).
17640         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
17641         nonempty.
17643         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
17644         to test for empty $(CXX) rather than $(CXX) of "no".
17646 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
17648         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
17650 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
17651             H.J. Lu  <hongjiu.lu@intel.com>
17653         [BZ #18880]
17654         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
17655         instead of Slow_BSF, and also check for Fast_Copy_Backward to
17656         enable __memcpy_ssse3_back.
17658 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17660         [BZ #19758]
17661         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
17662         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
17664 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
17666         [BZ #19490]
17667         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
17668         (__fentry__): Likewise.
17670 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
17672         * gmon/Makefile (noprof): Add $(sysdep_noprof).
17673         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
17675 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17677         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
17678         __mcount_internal directly.
17679         (C_LABEL(__fentry__)): Likewise.
17680         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
17681         directly.
17683 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
17685         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17686         (__start_context): Call __setcontext directly.
17688 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
17690         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17691         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17692         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
17693         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17694         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17695         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17696         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
17697         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17698         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17699         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
17700         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17701         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17702         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17703         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17704         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17705         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17706         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
17707         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17708         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17709         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
17710         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
17711         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17712         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17713         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
17714         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
17715         Remove conditional code.
17716         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17717         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
17718         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17719         * sysdeps/unix/sysv/linux/sh/kernel-features.h
17720         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
17721         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17722         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
17723         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17724         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
17725         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17726         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17727         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
17729 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
17731         * NEWS (2.23): Fix typo in bug 19048 text.
17733 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
17735         [BZ #14259]
17736         * Makeconfig: Rename msgcatdir to localedir.
17737         Rename inst_msgcatdir to inst_localedir.
17738         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
17739         * config.make.in: Add localedir.
17740         * elf/Makefile ($(objpfx)sotruss): Use localedir.
17741         (ldd-rewrite): Likewise.
17742         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
17743         (install-others): Use inst_localedir.
17744         (CPPFLAGS): Use localedir.
17745         * locale/Makefile (locale-CPPFLAGS): Likewise.
17746         * po/Makefile (mo-installed): Use inst_localedir.
17748         [BZ #19575]
17749         * localedata/charmaps/GB18030: Update comments regarding PAU to
17750         non-PUA mappings.
17752 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
17754         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
17755         test for header.
17756         * sysdeps/unix/sysv/linux/configure: Regenerated.
17757         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
17758         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
17759         Remove conditional code.
17760         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
17762         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17763         Define to 3.2.0.
17764         (arch_minimum_kernel): Likewise.
17765         * sysdeps/unix/sysv/linux/configure: Regenerated.
17766         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
17767         Define to 2.6.32.
17768         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
17769         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
17770         (arch_minimum_kernel): Define to 2.6.32.
17771         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
17772         * README: Document Linux 3.2 requirement.
17773         * manual/install.texi (Linux): Document Linux 3.2 headers
17774         requirement.
17775         * INSTALL: Regenerated.
17777 2016-02-24  Andreas Schwab  <schwab@suse.de>
17779         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
17780         if !NO_LONG_DOUBLE.
17782 2016-02-22  Roland McGrath  <roland@hack.frob.com>
17784         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
17785         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
17787 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
17789         [BZ #19512]
17790         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
17792 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17794         * posix/tst-dir.c: Include libc-internal.h.
17796 2016-02-20  Florian Weimer  <fweimer@redhat.com>
17798         [BZ #19056]
17799         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
17800         * manual/filesys.texi (Reading/Closing Directory): Mention
17801         deprecaion.
17802         * posix/tst-dir.c (main): Disable deprecation warning in test.
17804 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
17806         [BZ #19679]
17807         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
17808         Renamed to ...
17809         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
17810         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17811         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
17812         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17813         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17814         * sysdeps/x86_64/dl-trampoline.h
17815         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
17816         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
17818 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17820         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
17822 2016-02-19  Mark Wielaard  <mjw@redhat.com>
17824         * elf/elf.h (R_386_GOT32X): New.
17825         (R_386_NUM): Update.
17826         (R_X86_64_GOTPCRELX: New.
17827         (R_X86_64_REX_GOTPCRELX): New.
17828         (R_X86_64_NUM): Update.
17830 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
17832         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
17834 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
17836         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
17837         assign attr->stackaddr to it, and adjust it down when
17838         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
17839         [_STACK_GROWS_UP]: Delete assert.
17840         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
17841         Implement stack grows up logic.
17842         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
17843         stack grows up logic.
17845 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17847         * NEWS: Update with 2.24 template.
17849 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17851         [BZ #19678]
17852         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
17853         Ensure +0.0 is returned when taking the next value below the least
17854         positive value.
17856 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17858         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
17859         available.  Do not define NO_THREADS.
17860         * malloc/malloc.c: Do not check NO_THREADS.
17861         * malloc/arena.c: Likewise.
17863 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17865         * malloc/malloc.c (__libc_mallinfo): Update comment.
17866         (struct malloc_par): Remove max_total_mem member, it was always 0.
17867         (int_mallinfo): Store 0 into usmblks (no functional change).
17868         * malloc/hooks.c (struct malloc_state): Document that
17869         max_total_mem is always 0.
17870         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
17871         always 0.
17872         * manual/memory.texi (Statistics of Malloc): Likewise.
17874 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17876         * malloc/malloc.c (sysmalloc): Do not update arena_max.
17877         * malloc/arena.c (arena_max): Remove.
17878         (heap_trim, _int_new_arena): Do not update arena_max.
17880 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17882         * resolv/res_init.c (res_ninit): Update comment.
17884 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17886         [BZ #19505]
17887         * posix/spawn_int.h: Add headers and include guard.
17888         (__spawn_valid_fd): New function.
17889         * posix/spawn_faction_addopen.c
17890         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
17891         * posix/spawn_faction_addclose.c
17892         (posix_spawn_file_actions_addclose): Likewise.
17893         * posix/spawn_faction_adddup2.c
17894         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
17895         second file descriptor.
17896         * posix/spawn_valid_fd.c: New file.
17897         * posix/tst-posix_spawn-fd.c: New file.
17898         * posix/Makefile (routines): Add spawn_valid_fd.
17899         (tests): Add tst-posix_spawn-fd.
17901 2016-02-19  Florian Weimer  <fweimer@redhat.com>
17903         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
17904         (do_test): Limit the number of arenas, so that we can use fewer
17905         outer threads.  Limit timeout to 3 seconds, in preparation for a
17906         larger TIMEOUT value.
17908 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
17910         [BZ #19674]
17911         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
17912         sign in overflowing and underflowing results when overflow or
17913         underflow is detected early.  Include sign in result before rather
17914         than after scaling.
17916         [BZ #19603]
17917         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
17918         (__ieee754_remainderl): Adjust sign of integer version of low part
17919         when taking absolute value of high part.
17920         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
17921         * math/libm-test.inc (remainder_test_data): Add another test.
17922         (remquo_test_data): Likewise.
17924 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
17926         [BZ #19602]
17927         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
17928         equal high parts and both low parts zero specially.
17929         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
17930         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
17931         Add test-fmodl-ldbl-128ibm.
17933         [BZ #19595]
17934         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
17935         common logic for all cases of shifting subnormal results.  Do not
17936         insert sign bit in shifted mantissa.  Always pass -1023 as biased
17937         exponent to ldbl_insert_mantissa in subnormal case.
17939         [BZ #19594]
17940         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
17941         on high and low parts then adjust result and use
17942         ldbl_canonicalize_int if needed.
17944         [BZ #19593]
17945         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17946         on high part and __floor or __ceil on low part then use
17947         ldbl_canonicalize_int if needed.
17949         [BZ #19592]
17950         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17951         high and low parts then use ldbl_canonicalize_int if needed.
17953         [BZ #17899]
17954         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17955         New function.
17956         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17957         on high and low parts then use ldbl_canonicalize_int if needed.
17959 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17961         * configure: Regenerated.
17963         * po/libc.pot: Regenerated.
17965         * po/be.po: Updated translation.
17966         * po/bg.po: Likewise.
17967         * po/ca.po: Likewise.
17968         * po/cs.po: Likewise.
17969         * po/da.po: Likewise.
17970         * po/el.po: Likewise.
17971         * po/eo.po: Likewise.
17972         * po/es.po: Likewise.
17973         * po/fi.po: Likewise.
17974         * po/fr.po: Likewise.
17975         * po/gl.po: Likewise.
17976         * po/hr.po: Likewise.
17977         * po/hu.po: Likewise.
17978         * po/ia.po: Likewise.
17979         * po/id.po: Likewise.
17980         * po/it.po: Likewise.
17981         * po/ja.po: Likewise.
17982         * po/lt.po: Likewise.
17983         * po/nb.po: Likewise.
17984         * po/nl.po: Likewise.
17985         * po/pt_BR.po: Likewise.
17986         * po/rw.po: Likewise.
17987         * po/sk.po: Likewise.
17988         * po/sl.po: Likewise.
17989         * po/sv.po: Likewise.
17990         * po/tr.po: Likewise.
17991         * po/zh_CN.po: Likewise.
17992         * po/zh_TW.po: Likewise.
17994         * version.h (RELEAES): Set to "development".
17995         (VERSION): Set to 2.23.90.
17997         * version.h (RELEASE): Set to "stable".
17998         (VERSION): Set to 2.23.
17999         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18001         * NEWS: Updated fixed bugs.
18003 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18004             Wilco Dijkstra  <wdijkstr@arm.com>
18006         [BZ #19462]
18007         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18008         (_STRING_INLINE_unaligned): This.
18009         * include/string.h: Include <string_private.h>.
18010         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18011         _STRING_INLINE_unaligned.
18012         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18013         (_STRING_INLINE_unaligned): New.
18014         * sysdeps/aarch64/string_private.h: New file.
18015         * sysdeps/generic/string_private.h: Likewise.
18016         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18017         * sysdeps/s390/string_private.h: Likewise.
18018         * sysdeps/x86/string_private.h: Likewise.
18019         * sysdeps/m68k/m680x0/m68020/bits/string.h
18020         (_STRING_ARCH_unaligned): Renamed to ...
18021         (_STRING_INLINE_unaligned): This.
18022         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18023         to ...
18024         (_STRING_INLINE_unaligned): This.
18025         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18026         to ...
18027         (_STRING_INLINE_unaligned): This.
18028         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18029         to ...
18030         (_STRING_INLINE_unaligned): This.
18032 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18033             H.J. Lu  <hongjiu.lu@intel.com>
18035         [BZ #19590]
18036         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18037         relocation.
18039 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18041         [BZ #18665]
18042         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18043         *herrno_p.
18044         (gaih_getanswer): Document functional behviour. Return tryagain
18045         if any result is tryagain.
18046         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18047         when freed.
18048         * resolv/res_send.c: Add copyright text.
18049         (__libc_res_nsend): Document that MAXPACKET is expected.
18050         (send_vc): Document. Remove buffer reuse.
18051         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18052         size of the buffer. Add Dprint for truncated UDP buffer.
18054 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18056         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18057         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18058         * INSTALL: Regenerate.
18060 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18061             Jonathan Wakely  <jwakely@redhat.com>
18062             Carlos O'Donell  <carlos@redhat.com>
18064         [BZ 19439]
18065         * math/Makefile (tests): Add test-math-isinff.
18066         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18067         * math/bits/mathcalls.h [__USE_MISC]: Use
18068         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18069         functions not in C++11 and which don't conflict e.g. isinff,
18070         isinfl etc.
18071         * math/test-math-isinff.cc: New file.
18073 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18075         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18077 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18079         [BZ #19529]
18080         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18082 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18084         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18086 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18088         [BZ #19550]
18089         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18090         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18091         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18092         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18093         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18094         New syscall entry.
18095         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18096         New syscall entry.
18097         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18098         syscall entry.
18100 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18102         [BZ #18240]
18103         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18104         unsigned int wraparound.
18106 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18108         [BZ #18240]
18109         * misc/bug18240.c: New test.
18110         * misc/Makefile (tests): Add it.
18112 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18113             Joseph Myers  <joseph@codesourcery.com>
18115         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18116         load in branch delay slot when less than a word of input left.
18118 2016-01-27  Andreas Schwab  <schwab@suse.de>
18120         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18121         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18122         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18123         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18125 2016-01-26  David S. Miller  <davem@davemloft.net>
18127         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18129 2016-01-25  David S. Miller  <davem@davemloft.net>
18131         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18132         __sqrtl_finite.
18133         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18134         instead using versioned_symbol.
18135         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18136         of entries.
18138         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18139         __sqrtl_finite to GLIBC_2.23
18141 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18143         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18145 2016-01-25  Andreas Schwab  <schwab@suse.de>
18147         [BZ #17514]
18148         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18149         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18150         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18151         * nptl/tst-mutex-errorcheck.c: New file.
18153 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18155         [BZ #18560]
18156         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18157         (IPCOP_semop): Likewise.
18158         (IPCOP_semget): Likewise.
18159         (IPCOP_semctl): Likewise.
18160         (IPCOP_msgsnd): Likewise.
18161         (IPCOP_msgrcv): Likewise.
18162         (IPCOP_msgget): Likewise.
18163         (IPCOP_msgctl): Likewise.
18164         (IPCOP_shmat): Likewise.
18165         (IPCOP_shmdt): Likewise.
18166         (IPCOP_shmget): Likewise.
18167         (IPCOP_shmctl): Likewise.
18169 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18171         * string/tst-endian.c: Include <libc-internal.h>.
18172         (do_test): Ignore tautological-compare warnings around
18173         "htobeXX (beXXtoh (i)) != i" and
18174         "htoleXX (leXXtoh (i)) != i" if-statements.
18176 2016-01-24  David S. Miller  <davem@davemloft.net>
18178         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18179         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18180         alias.
18181         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18182         __sqrtl_finite.
18184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18186 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18188         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18189         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18190         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18192 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18194         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18195         (thread_func): Use new function to simplify barrier check.
18196         (do_test): Use new function to simplify checking barrier exit
18197         code, and actually join the child thread.
18199 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18201         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18202         semicolon.
18203         (__libc_tend): Likewise.
18204         (__libc_tabort): Likewise.
18206 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18208         * sysdeps/nios2/libm-test-ulps: Update.
18209         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18210         (__gtsf2): Likewise.
18211         (__unorddf2): Likewise.
18212         (__unordsf2): Likewise.
18213         (__ledf2): Likewise.
18215 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18217         * nis/nis_table.c (__follow_path): Disable diagnostic for
18218         uninitialized variable that is a false positive for gcc 4.7.
18219         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18221 2016-01-20  Roland McGrath  <roland@hack.frob.com>
18223         * sysdeps/nacl/lowlevellock-futex.h
18224         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
18225         Always evaluate PRIVATE argument.
18227 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
18229         [BZ #19490]
18230         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
18231         (pthread_cond_broadcast): Use ENTRY/END
18232         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
18233         (pthread_cond_signal): Likewise.
18234         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
18235         Likewise.
18236         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
18237         Likewise.
18238         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
18239         Likewise.
18241 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
18243         * sysdeps/ieee754/dbl-64/s_finite.c
18244         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
18245         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
18246         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
18247         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
18248         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
18250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
18251         (__gtsf2): Add as optional for libc.so.
18252         (__unordsf2): Likewise.
18253         (__signbit): Remove for libc.so.
18254         (__signbitl): Likewise.
18256 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18258         * iconvdata/bug-iconv11.c (test_ibm93x):
18259         Use %zu printf format specifier for size_t argument.
18261 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
18263         * math/gen-libm-test.pl (parse_ulps): Do not reduce
18264         already-recorded ulps.
18265         * sysdeps/arm/libm-test-ulps: Regenerated.
18266         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18267         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18268         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18270 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18271             Paul Pluzhnikov  <ppluzhnikov@google.com>
18273         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
18274         assembler not supporting AVX-512.
18276 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18278         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18280 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
18282         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18283         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18285         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18287         * sysdeps/arm/libm-test-ulps: Regenerated.
18289 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18291         [BZ #19451]
18292         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
18294 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18296         [BZ #19486]
18297         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
18298         * sysdeps/generic/fix-fp-int-convert-overflow.h
18299         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
18300         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
18301         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
18302         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
18303         Likewise.
18304         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
18305         Avoid conversions to long int where inexact exceptions
18306         could be raised.
18307         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
18308         Likewise.
18309         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
18310         Avoid conversions to long long int where inexact exceptions
18311         could be raised.
18312         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
18313         Likewise.
18315 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
18317         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
18318         * configure: Regenerated.
18320 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18322         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
18324 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
18326         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
18327         outside of comment.
18329 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18331         * nptl/tst-barrier1.c: Add description on first line.
18332         * nptl/tst-barrier2.c: Likewise.
18333         * nptl/tst-barrier3.c: Likewise.
18334         * nptl/tst-barrier4.c: Likewise.
18335         * nptl/tst-barrier5.c: Likewise.
18337 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18339         [BZ #18868]
18340         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
18342 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
18344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
18345         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18346         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
18347         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
18348         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
18349         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
18350         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18351         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18352         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18353         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18354         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18356 2016-01-15  Torvald Riegel  <triegel@redhat.com>
18358         [BZ #13065]
18359         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
18360         new implementation.
18361         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
18362         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
18363         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
18364         (BARRIER_IN_THRESHOLD): New macro.
18365         * nptl/pthread_barrierattr_setpshared.c
18366         (pthread_barrierattr_setpshared): Clean up.
18367         * nptl/tst-barrier4.c: Correct comment.
18368         * nptl/tst-barrier5.c: New file.
18369         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
18370         (gen-as-const-headers): Remove lowlevelbarrier.sym.
18371         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
18372         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
18373         * nptl/lowlevelbarrier.sym: Remove.
18374         * nptl/DESIGN-barrier.txt: Remove.
18375         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
18376         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
18377         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
18378         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
18379         error.
18380         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
18381         implementation.
18383 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18385         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
18386         (do_child): Mask SIGRTMIN while thr is running.
18388 2016-01-15  Martin Sebor  <msebor@redhat.com>
18390         [BZ #19432]
18391         * iconvdata/Makefile: Add bug-iconv11.
18392         * iconvdata/bug-iconv11.c: New test.
18393         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
18394         * iconvdata/ibm933.c: Same.
18395         * iconvdata/ibm935.c: Same.
18396         * iconvdata/ibm937.c: Same.
18397         * iconvdata/ibm939.c: Same.
18399 2016-01-15  Martin Sebor  <msebor@redhat.com>
18401         [BZ #19443]
18402         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
18403         [DEBUG] (_ufc_set_bits): Declare used.
18404         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
18405         [DEBUG] (print_all): Declare used.
18406         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
18407         operands of the ternary ?: expression to target type.
18408         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
18409         calling the undeclared abort.
18410         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
18412 2016-01-15  Martin Sebor  <msebor@redhat.com>
18414         [BZ #18755]
18415         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
18416         warnings.
18417         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
18418         (__gai_create_helper_thread): Same.
18419         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
18420         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
18421         to suppress -Wmaybe-uninitialized warnings.
18423 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
18425         [BZ #19465]
18426         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
18427         inside if.
18428         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18429         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18430         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18432 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
18434         [BZ #19466]
18435         * time/tst-mktime2.c (time_t_max): Removed.
18436         (time_t_min): Likewise.
18437         (TYPE_SIGNED): New.
18438         (TYPE_MINIMUM): Likewise.
18439         (TYPE_MAXIMUM): Likewise.
18440         (TIME_T_MIN): Likewise.
18441         (TIME_T_MAX): Likewise.
18442         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
18443         and TIME_T_MIN.
18444         (do_test): Likewise.
18446 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
18448         [BZ #19467]
18449         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
18450         index_Fast_Unaligned_Load flag for Excavator family CPUs.
18452 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
18454         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
18456 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
18458         * benchtests/Makefile (PYTHON): Define.
18459         (bench-func): Use $(PYTHON) to run python scripts.
18460         ($(objpfx)bench-%.c): Likewise.
18462 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
18464         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
18465         leading slash when `file_name' is "/".
18467 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
18469         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
18470         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
18471         Likewise.
18472         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
18473         Likewise.
18474         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
18475         Likewise.
18476         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
18477         enum constant and macro.
18478         (PTRACE_SETSIGMASK): Likewise.
18479         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18480         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18481         (PTRACE_GETSIGMASK): Likewise.
18482         (PTRACE_SETSIGMASK): Likewise.
18483         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18484         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
18485         Likewise.
18486         (PTRACE_SETSIGMASK): Likewise.
18487         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18488         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18489         (PTRACE_GETSIGMASK): Likewise.
18490         (PTRACE_SETSIGMASK): Likewise.
18491         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18492         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
18493         Likewise.
18494         (PTRACE_SETSIGMASK): Likewise.
18495         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18496         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
18497         Likewise.
18498         (PTRACE_SETSIGMASK): Likewise.
18499         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18500         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
18501         Likewise.
18502         (PTRACE_SETSIGMASK): Likewise.
18503         (PTRACE_SECCOMP_GET_FILTER): Likewise.
18505 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
18506             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18508         [BZ #19439]
18509         * math/bits/mathcalls.h
18510         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
18511         prototype.
18512         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
18514 2016-01-11  Andreas Schwab  <schwab@suse.de>
18516         [BZ #19253]
18517         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
18518         cache when TZDEFRULES was used.
18519         * time/tst-tzname.c: New file.
18520         * time/Makefile (test): Add tst-tzname.
18521         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
18522         * timezone/Makefile (test-zones): Add $(posixrules-file).
18523         ($(testdata)/$(posixrules-file)): New rule.
18525 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
18527         Fix doc quoting problems with Texinfo 5
18528         Without this change, in the info file output, Texinfo 5 quotes code
18529         in text with undirected single quotes 'like this' and generates
18530         code examples that with many PDF readers cannot be cut out of PDFs
18531         and pasted into code.
18532         * manual/libc.texinfo: Configure the libc manual like the GNU
18533         Emacs manual, by using @documentencoding and setting
18534         txicodequoteundirected and txicodequotebacktick.  This way,
18535         Texinfo 5 quotes code in text with directed single quotes ‘like
18536         this’ and produces examples that can be cut out of PDFs.  This
18537         change causes Texinfo 5 to generate info files that contain UTF-8
18538         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
18539         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
18541 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18543         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
18544         __libc_tabort, __libc_tend): New wrappers that enforce compiler
18545         barriers to their respective compiler built-ins.
18546         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
18547         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
18548         * sysdeps/powerpc/sysdep.h: Likewise.
18549         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
18550         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
18551         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
18553 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
18555         * scripts/config.guess: Revert previous shebang change.
18556         * scripts/config.sub: Likewise.
18557         * scripts/mkinstalldirs: Likewise.
18559 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18561         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
18562         PPC_FEATURE2_HAS_IEEE128.
18563         * sysdeps/powerpc/dl-procinfo.c:
18564         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
18566 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
18568         [BZ #19415]
18569         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
18570         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
18571         (_dl_lookup_address): Rewrite using function resolver trampoline.
18572         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
18573         two bits in address.
18575 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18577         * longlong.h: Change !__SHMEDIA__ to
18578         (!defined (__SHMEDIA__) || !__SHMEDIA__).
18579         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
18581 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
18582             Joseph Myers  <joseph@codesourcery.com>
18583             Mark Shinwell  <shinwell@codesourcery.com>
18584             Andrew Stubbs  <ams@codesourcery.com>
18585             Rich Felker <dalias@libc.org>
18587         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
18589 2016-01-07  Richard Henderson  <rth@redhat.com>
18591         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
18593 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
18595         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
18596         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
18597         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18598         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18599         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
18601 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
18602             Joseph Myers  <joseph@codesourcery.com>
18604         * timezone/private.h: Update from tzcode 2015g.
18605         * timezone/tzfile.h: Likewise.
18606         * timezone/tzselect.ksh: Likewise.
18607         * timezone/zdump.c: Likewise.
18608         * timezone/zic.c: Likewise.
18609         * timezone/ialloc.c: Remove file.
18610         * timezone/scheck.c: Likewise.
18611         * timezone/Makefile (extra-objs): Remove variable.
18612         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
18613         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
18614         -Wno-maybe-uninitialized.
18615         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
18616         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
18617         (CFLAGS-ialloc.c): Remove variable.
18618         (CFLAGS-scheck.c): Likewise.
18619         * timezone/README: Update list of files from tzcode.
18621 2016-01-07  Khem Raj  <raj.khem@gmail.com>
18623         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
18624         instead of __fxprintf when _LIBC is undefined.
18626 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
18628         * catgets/test-gencat.sh: Remove space after shebang.
18629         * conform/GlibcConform.pm: Likewise.
18630         * conform/check-header-lists.sh: Likewise.
18631         * conform/conformtest.pl: Likewise.
18632         * conform/linknamespace.pl: Likewise.
18633         * conform/list-header-symbols.pl: Likewise.
18634         * debug/catchsegv.sh: Likewise.
18635         * elf/genrtldtbl.awk: Likewise.
18636         * elf/tst-pathopt.sh: Likewise.
18637         * elf/tst-rtld-load-self.sh: Likewise.
18638         * grp/tst_fgetgrent.sh: Likewise.
18639         * iconvdata/gen-8bit-gap-1.sh: Likewise.
18640         * iconvdata/gen-8bit-gap.sh: Likewise.
18641         * iconvdata/gen-8bit.sh: Likewise.
18642         * iconvdata/run-iconv-test.sh: Likewise.
18643         * intl/tst-gettext.sh: Likewise.
18644         * intl/tst-gettext2.sh: Likewise.
18645         * intl/tst-gettext4.sh: Likewise.
18646         * intl/tst-gettext6.sh: Likewise.
18647         * intl/tst-translit.sh: Likewise.
18648         * io/ftwtest-sh: Likewise.
18649         * libio/test-freopen.sh: Likewise.
18650         * locale/gen-translit.pl: Likewise.
18651         * malloc/tst-mtrace.sh: Likewise.
18652         * manual/check-safety.sh: Likewise.
18653         * manual/libc-texinfo.sh: Likewise.
18654         * manual/tsort.awk: Likewise.
18655         * manual/xtract-typefun.awk: Likewise.
18656         * nptl/tst-cancel-wrappers.sh: Likewise.
18657         * nptl/tst-tls6.sh: Likewise.
18658         * posix/globtest.sh: Likewise.
18659         * posix/tst-getconf.sh: Likewise.
18660         * posix/wordexp-tst.sh: Likewise.
18661         * scripts/check-c++-types.sh: Likewise.
18662         * scripts/check-local-headers.sh: Likewise.
18663         * scripts/config.guess: Likewise.
18664         * scripts/config.sub: Likewise.
18665         * scripts/cpp: Likewise.
18666         * scripts/cross-test-ssh.sh: Likewise.
18667         * scripts/documented.sh: Likewise.
18668         * scripts/evaluate-test.sh: Likewise.
18669         * scripts/gen-libc-abis: Likewise.
18670         * scripts/gen-sorted.awk: Likewise.
18671         * scripts/list-fixed-bugs.py: Likewise.
18672         * scripts/merge-test-results.sh: Likewise.
18673         * scripts/mkinstalldirs: Likewise.
18674         * scripts/rellns-sh: Likewise.
18675         * scripts/test-installation.pl: Likewise.
18676         * scripts/update-copyrights: Likewise.
18677         * stdio-common/tst-printf.sh: Likewise.
18678         * stdio-common/tst-unbputc.sh: Likewise.
18679         * stdlib/tst-fmtmsg.sh: Likewise.
18680         * stdlib/tst-setcontext3.sh: Likewise.
18681         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
18682         * sysdeps/unix/make-syscalls.sh: Likewise.
18684 2016-01-06  John David Anglin  <dave.anglin@bell.net>
18686         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
18687         asm stw with atomic_exchange_rel.  Add explanatory comment.
18688         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
18689         Likewise.
18691 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18693         [BZ #19122]
18694         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
18695         * sysdeps/generic/dl-unistd.h: New file.
18696         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
18698 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
18700          [BZ #19122]
18701          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
18702          * sysdeps/generic/dl-mman.h: New file.
18703          * sysdeps/mach/hurd/dl-mman.h: Likewise.
18705 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
18707         * manual/texinfo.tex: Update to version 2016-01-04.21 with
18708         trailing whitespace removed.
18709         * scripts/config.guess: Update to version 2016-01-01.
18710         * scripts/config.sub: Update to version 2016-01-01.
18711         * scripts/move-if-change: Update from gnulib.
18713 2016-01-04  Anton Blanchard  <anton@samba.org>
18715         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
18716         for array indices.
18717         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
18719 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
18721         * NEWS: Update copyright dates.
18722         * catgets/gencat.c (print_version): Likewise.
18723         * csu/version.c (banner): Likewise.
18724         * debug/catchsegv.sh: Likewise.
18725         * debug/pcprofiledump.c (print_version): Likewise.
18726         * debug/xtrace.sh (do_version): Likewise.
18727         * elf/ldconfig.c (print_version): Likewise.
18728         * elf/ldd.bash.in: Likewise.
18729         * elf/pldd.c (print_version): Likewise.
18730         * elf/sotruss.sh: Likewise.
18731         * elf/sprof.c (print_version): Likewise.
18732         * iconv/iconv_prog.c (print_version): Likewise.
18733         * iconv/iconvconfig.c (print_version): Likewise.
18734         * locale/programs/locale.c (print_version): Likewise.
18735         * locale/programs/localedef.c (print_version): Likewise.
18736         * login/programs/pt_chown.c (print_version): Likewise.
18737         * malloc/memusage.sh (do_version): Likewise.
18738         * malloc/memusagestat.c (print_version): Likewise.
18739         * malloc/mtrace.pl: Likewise.
18740         * manual/libc.texinfo: Likewise.
18741         * nptl/version.c (banner): Likewise.
18742         * nscd/nscd.c (print_version): Likewise.
18743         * nss/getent.c (print_version): Likewise.
18744         * nss/makedb.c (print_version): Likewise.
18745         * posix/getconf.c (main): Likewise.
18746         * scripts/test-installation.pl: Likewise.
18747         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18749         * All files with FSF copyright notices: Update copyright dates
18750         using scripts/update-copyrights.
18751         * intl/plural.c: Regenerated.
18752         * locale/programs/charmap-kw.h: Likewise.
18753         * locale/programs/locfile-kw.h: Likewise.
18755 2016-01-02  Helge Deller  <deller@gmx.de>
18757         [BZ #19285]
18758         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
18759         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
18760         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
18761         (MADV_xxK_PAGES): Remove.
18763 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
18765         [BZ #15421]
18766         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
18767         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
18768         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
18769         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
18771 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
18773         [BZ #19408]
18774         * sysdeps/unix/sysv/linux/personality.c: New file.
18775         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
18776         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
18777         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
18778         (sysdep_routines): Add personality.
18779         (tests): Add tst-personality.
18780         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
18781         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
18782         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
18783         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
18784         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
18785         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
18786         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
18787         Likewise.
18788         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
18789         Likewise.
18790         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
18791         Likewise.
18792         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
18793         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
18794         Likewise.
18796 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
18798         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
18799         (PATH_ARM_SYSTYPE): Remove.
18800         (PATH_CPUINFO): Likewise.
18801         (IO_BASE_FOOTBRIDGE): Likewise.
18802         (IO_SHIFT_FOOTBRIDGE): Likewise.
18803         (struct platform): Likewise.
18804         (init_iosys): Remove compatibility code for 2.4 kernels.
18805         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
18807 2015-12-29  Florian Weimer  <fweimer@redhat.com>
18809         * malloc/tst-malloc-thread-fail.c: New file.
18810         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
18811         (tst-malloc-thread-fail): Link against libpthread.
18813 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
18815         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
18816         (get_parser): New function.
18817         (main): New function.
18819 2015-12-29  Rob Wu  <rob@robwu.nl>
18821         [BZ #19369]
18822         * resolv/res_init.c (__res_vinit): Reset defdname before use.
18824 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
18826         [BZ #19270]
18827         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18829 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
18831         [BZ #15421]
18832         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
18834 2015-12-23  Torvald Riegel  <triegel@redhat.com>
18836         [BZ #13690]
18837         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
18838         after releasing it.
18839         (__lll_robust_unlock): Likewise.
18840         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18841         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
18842         (lll_robust_unlock): Likewise.
18843         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
18844         Prevent warnings in callers.
18846 2015-12-23  Florian Weimer  <fweimer@redhat.com>
18848         * malloc/arena.c (list_lock): Update comment.
18850 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18852         * sysdeps/powerpc/hwcapinfo.c: Export symbol
18853         __parse_hwcap_and_convert_at_platform to libc.a.
18855 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18857         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
18858         platform and feature support for POWER9.
18859         * sysdeps/powerpc/dl-procinfo.h: Likewise.
18860         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
18861         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
18862         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
18863         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
18864         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
18865         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
18866         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
18868 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18870         Harmonize generic stdio-lock support with nptl
18872         This fixes build when _IO_funlockfile is a macro, fixes build where
18873         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
18874         stack unwind.
18876         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
18877         _IO_release_lock ): Use cleanup attribute on new
18878         _IO_acquire_lock_file variable instead of assuming that
18879         _IO_release_lock will be called.
18880         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
18881         _IO_acquire_lock_needs_exceptions_enabled.
18882         (_IO_acquire_lock_clear_flags2): New macro.
18884 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18886         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18888 2015-12-21  Florian Weimer  <fweimer@redhat.com>
18890         [BZ #19182]
18891         * malloc/arena.c (list_lock): Document lock ordering requirements.
18892         (free_list_lock): New lock.
18893         (ptmalloc_lock_all): Comment on free_list_lock.
18894         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
18895         (detach_arena): Update comment.  free_list_lock is now needed.
18896         (_int_new_arena): Use free_list_lock around detach_arena call.
18897         Acquire arena lock after list_lock.  Add comment, including FIXME
18898         about incorrect synchronization.
18899         (get_free_list): Switch to free_list_lock.
18900         (reused_arena): Acquire free_list_lock around detach_arena call
18901         and attached threads counter update.  Add two FIXMEs about
18902         incorrect synchronization.
18903         (arena_thread_freeres): Switch to free_list_lock.
18904         * malloc/malloc.c (struct malloc_state): Update comments to
18905         mention free_list_lock.
18907 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18909         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
18910         Remove functions.
18911         (sloww, sloww1): Accept argument to offset quadrant.
18912         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
18913         quadrant.
18914         (__sin, __cos): Consolidate common code into new functions.
18915         (reduce_sincos_1, do_sincos_1): New functions.
18916         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18918         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
18919         code to new functions.
18920         (reduce_sincos_2, do_sincos_2): New functions.
18921         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
18923         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
18924         common code for sincos.
18925         (__cos) [!IN_SINCOS]: Likewise.
18926         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
18927         New function.
18928         (__sincos): Use it.
18930 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
18932         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
18933         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
18934         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
18936 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18938         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
18939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
18940         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
18941         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
18942         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18943         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
18944         index_Prefer_No_VZEROUPPER): New feature.
18945         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18946         Prefer_No_VZEROUPPER for Knights Landing.
18948 015-12-18  Torvald Riegel  <triegel@redhat.com>
18950         * math/atest-exp2.c (mp_exp_m1): Remove.
18952 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18954         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18955         syscalls.
18956         (__SYSCALL0): New macro.
18957         (__SYSCALL1): Likewise.
18958         (__SYSCALL2): Likewise.
18959         (__SYSCALL3): Likewise.
18960         (__SYSCALL4): Likewise.
18961         (__SYSCALL5): Likewise.
18962         (__SYSCALL6): Likewise.
18963         (__SYSCALL_CONCAT_X): Likewise.
18964         (__SYSCALL_CONCAT): Likewise.
18965         (__SYSCALL_DIST): Likewise.
18966         (__SYSCALL_CALL): Likewise.
18968 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18970         [BZ #19363]
18971         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18973 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18975         [BZ #19375]
18976         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18977         negative subnormals.
18979 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18981         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18982         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18983         (INTERNAL_SYSCALL_NCS): Use it.
18984         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18986 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18988         [BZ #19243]
18989         * malloc/arena.c (get_free_list): Remove assert and adjust
18990         reference count handling.  Add comment about reused_arena
18991         interaction.
18992         (reused_arena): Add comments abount get_free_list interaction.
18993         * malloc/tst-malloc-thread-exit.c: New file.
18994         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18995         (tst-malloc-thread-exit): Link against libpthread.
18997 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18999         [BZ #19367]
19000         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19001         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19002         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19003         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19004         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19006 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19008         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19009         Silvermont optimizations for Knights Landing.
19011 2015-12-15  Andreas Schwab  <schwab@suse.de>
19013         [BZ #17197]
19014         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19015         immediately after emitting SI.
19016         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19017         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19018         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19019         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19020         * iconvdata/bug-iconv10.c: New file.
19021         * iconvdata/Makefile (tests): Add bug-iconv10.
19022         ($(objpfx)bug-iconv10.out): New rule.
19024 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19026         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19027         aliasing violation.
19029 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19031         [BZ #18472]
19032         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19033         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19034         conditionals for them.
19035         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19036         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19038         sys/kdaemon.h.
19039         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19040         compat-only syscall, obsoleted in glibc 2.23.
19041         (create_module): Likewise.
19042         (get_kernel_syms): Likewise.
19043         (query_module): Likewise.
19044         (uselib): Likewise.
19045         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19047 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19049         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19050         <linux/version.h>.
19051         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19052         conditional code.
19053         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19054         and ioshift_name initialization.
19056 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19058         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19059         Fix indentation.
19061 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19063         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19065 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19067         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19069 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19070             Jakub Wilk  <jwilk@debian.org>
19072         [BZ #19347]
19073         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19074         to change the group of the device to the tty group.
19076 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19078         Split large string section; add truncation advice
19079         * manual/examples/strncat.c: Remove.
19080         This example was misleading, as the code would have undefined
19081         behavior if "hello" was longer than SIZE.  Anyway, the manual
19082         shouldn't encourage strncpy+strncat for this sort of thing.
19083         * manual/string.texi (Copying Strings and Arrays): Split into
19084         three sections Copying Strings and Arrays, Concatenating Strings,
19085         and Truncating Strings, as this section was way too long.  All
19086         cross-referenced changed.  Add advice about string-truncation
19087         functions.  Remove misleading strncat example.
19089 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19091         * manual/nss.texi (NSS Modules Interface): Document
19092         NSS_STATUS_NOTFOUND and SUCCESS.
19094 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19096         [BZ 18568]
19097         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19098         201505L, for Unicode 8.
19100 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19102         * locale/C-translit.h: Regenerate.
19104 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19106         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19107         and U+0153.
19109 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19111         [BZ #19351]
19112         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19113         expanding log(1+z), compare z rather than its square with epsilon
19114         to determine when to avoid evaluating the expansion.
19116         [BZ #19350]
19117         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19118         Increase overflow threshold.
19120         [BZ #19349]
19121         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19122         when small.
19124         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19125         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19126         New macro.
19127         [__LINUX_KERNEL_VERSION >= 0x040300]
19128         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19129         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19130         Likewise.
19131         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19132         Likewise.
19133         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19134         Likewise.
19135         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19136         Likewise.
19137         [__LINUX_KERNEL_VERSION >= 0x040300]
19138         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19139         [__LINUX_KERNEL_VERSION >= 0x040300]
19140         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19141         [__LINUX_KERNEL_VERSION >= 0x040300]
19142         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19143         [__LINUX_KERNEL_VERSION >= 0x040300]
19144         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19145         [__LINUX_KERNEL_VERSION >= 0x040300]
19146         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19147         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19148         Likewise.
19149         [__LINUX_KERNEL_VERSION >= 0x040300]
19150         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19151         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19152         Likewise.
19153         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19154         Likewise.
19155         [__LINUX_KERNEL_VERSION >= 0x040300]
19156         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19157         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19158         Likewise.
19159         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19160         Likewise.
19161         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19162         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19163         Likewise.
19164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19165         Likewise.
19166         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19167         Likewise.
19168         [__LINUX_KERNEL_VERSION >= 0x040300]
19169         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19170         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19171         Likewise.
19172         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19173         Likewise.
19174         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19175         Likewise.
19176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19177         Likewise.
19178         [__LINUX_KERNEL_VERSION >= 0x040300]
19179         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19180         [__LINUX_KERNEL_VERSION >= 0x040300]
19181         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19182         [__LINUX_KERNEL_VERSION >= 0x040300]
19183         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19184         [__LINUX_KERNEL_VERSION >= 0x040300]
19185         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19186         [__LINUX_KERNEL_VERSION >= 0x040300]
19187         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19188         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19189         Likewise.
19190         [__LINUX_KERNEL_VERSION >= 0x040300]
19191         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19192         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19193         Likewise.
19194         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19195         Likewise.
19196         [__LINUX_KERNEL_VERSION >= 0x040300]
19197         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19198         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19199         Likewise.
19200         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19201         Likewise.
19202         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19203         (__ASSUME_SOCKET_SYSCALL): Likewise.
19204         (__ASSUME_BIND_SYSCALL): Likewise.
19205         (__ASSUME_CONNECT_SYSCALL): Likewise.
19206         (__ASSUME_LISTEN_SYSCALL): Likewise.
19207         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19208         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19209         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19210         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19211         (__ASSUME_SEND_SYSCALL): Likewise.
19212         (__ASSUME_SENDTO_SYSCALL): Likewise.
19213         (__ASSUME_RECV_SYSCALL): Likewise.
19214         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19215         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19216         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19217         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19218         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19219         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19220         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19221         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19222         Likewise.
19223         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
19224         Likewise.
19225         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
19226         Likewise.
19227         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
19228         Likewise.
19229         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
19230         Likewise.
19231         [__LINUX_KERNEL_VERSION >= 0x020625]
19232         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19233         [__LINUX_KERNEL_VERSION >= 0x020625]
19234         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19235         [__LINUX_KERNEL_VERSION >= 0x020625]
19236         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19237         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
19238         Likewise.
19239         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
19240         Likewise.
19241         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
19242         Likewise.
19243         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
19244         Likewise.
19245         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
19246         Likewise.
19247         [__LINUX_KERNEL_VERSION >= 0x020625]
19248         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19249         [__LINUX_KERNEL_VERSION >= 0x020625]
19250         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19251         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
19252         Likewise.
19253         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
19254         Likewise.
19256 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19258         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
19259         record the current if the current ABI and CPU support the FP64
19260         extension.
19261         (has-modd-spreg): Define to record the current if the current ABI and
19262         CPU support 32-bit floating point values in odd FPU registers.
19263         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19264         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
19265         $(has-modd-spreg) equals yes.
19266         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
19267         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
19268         $(has-modd-spreg) equal yes.
19270 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
19272         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
19273         basename.
19275 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
19277         * benchtests/Makefile (bench-math): Move ffs and ffsll...
19278         (bench-string): ... here.
19279         (bench): Add bench-string.
19280         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
19281         to *-benchset to reflect what they are.
19282         (benchset): Adjust.
19284         * benchtests/sincos-inputs: Add inputs from sin-inputs and
19285         cos-inputs.
19287 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
19289         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
19290         __attribute__ ((__simd__)) for vector math function declarations.
19292 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19294         Fix typo in strncat, wcsncat manual entries
19295         * manual/string.texi (Copying and Concatenation): Fix typos in
19296         sample implementations of strncat and wcsncat, by having them use
19297         the old value of the destination length, not the new one.
19299 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
19301         [BZ #16961]
19302         [BZ #16962]
19303         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
19304         string on the stack for strtod.
19305         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
19306         a string on the stack for strtof.
19307         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
19308         constructing a string on the stack for strtold.
19309         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
19310         __strtold_nan to GLIBC_PRIVATE.
19311         * math/test-nan-overflow.c: New file.
19312         * math/test-nan-payload.c: Likewise.
19313         * math/Makefile (tests): Add test-nan-overflow and
19314         test-nan-payload.
19316 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
19318         Consistency about byte vs character in string.texi
19319         * manual/string.texi (String and Array Utilities):
19320         Distinguish more carefully among bytes, multibyte characters,
19321         and wide characters.  Use "byte" when talking about C 'char',
19322         to distinguish it more clearly from multibyte characters.
19323         Say "wide character" or "multibyte character" instead of
19324         "character", when a wide or multibyte character is intended.
19325         Similarly for "multibyte string" versus "string".
19326         Define these terms more carefully.
19328 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
19330         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
19331         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
19332         Likewise.
19333         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19334         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19335         * sysdeps/sh/math_private.h: New file.
19336         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
19337         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
19338         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
19339         long double function name.
19340         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19341         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19342         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
19343         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
19344         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
19346         Remove __finitel, __isinfl, and __isnanl.
19347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19348         Likewise.
19349         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19351         Remove __finitel.
19352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19353         Likewise.
19354         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19356 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
19358         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
19359         installed libmvec_nonshared.a.
19361 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19363         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
19364         (sysdep_routines): Likewise.
19365         (sysdep-rtld-routines): Likewise.
19366         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
19367         [$(subdir) = nptl](tests-static): test-get_hwcap-static
19368         * sysdeps/powerpc/Versions: Added new
19369         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
19370         * sysdeps/powerpc/hwcapinfo.c: New file.
19371         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
19372         and parse hwcap, hwcap2 and platform number information.
19373         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
19374         to store HWCAP+HWCAP2 and platform number.
19375         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
19376         for HWCAP+HWCAP2 and platform number in the TCB.
19377         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
19378         the HWCAP, HWCAP2 and platform number in the TCB.
19379         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
19380         (TLS_INIT_TP): Included calls to add the hwcap and
19381         at_platform values in the TCB in TP initialization.
19382         (TLS_DEFINE_INIT_TP): Likewise.
19383         (THREAD_GET_HWCAP): New macro.
19384         (THREAD_SET_HWCAP): Likewise.
19385         (THREAD_GET_AT_PLATFORM): Likewise.
19386         (THREAD_SET_AT_PLATFORM): Likewise.
19387         * sysdeps/powerpc/powerpc32/dl-machine.h:
19388         (dl_platform_init): New function that calls
19389         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
19390         powerpc32.
19391         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
19392         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
19393         this functionality, static linking case.
19394         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
19395         linking case.
19396         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
19397         __parse_hwcap_and_convert_at_platform for the static linking case.
19398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
19399         Included the new __parse_hwcap_and_convert_at_platform symbol in the
19400         ABI list for GLIBC 2.23.
19401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
19402         Likewise.
19403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
19404         Likewise.
19406 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
19408         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
19409         * configure: Regenerate.
19410         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
19411         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
19413 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
19415         * iconvdata/ibm930.c: Add comment explaining encoding uses.
19416         * iconvdata/ibm933.c: Likewise.
19417         * iconvdata/ibm935.c: Likewise.
19418         * iconvdata/ibm937.c: Likewise.
19419         * iconvdata/ibm939.c: Likewise.
19421 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19423         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
19424         pthread_join.
19425         * nptl/tst-cancel21.c (tf): Likewise.
19427 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
19429         [BZ #19313]
19430         * bits/typesizes.h (__CPU_MASK_TYPE): New.
19431         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19432         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
19433         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
19434         Likewise.
19435         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
19436         Likewise.
19437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
19438         Likewise.
19439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
19440         Likewise.
19441         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
19442         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
19443         unsigned long int with __CPU_MASK_TYPE.
19445 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19447         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19449 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
19451         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
19452         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
19453         t512.x.
19454         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
19456 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
19458         [BZ #19214]
19459         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
19460         argument to return extended model.  Update family and model
19461         with extended family and model when family == 0x0f.
19462         (init_cpu_features): Updated.
19464 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19466         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
19467         signed off_t, so 32bit bigger than 2GiB values are fine actually.
19469         * sysdeps/mach/hurd/mmap64.c: New file.
19471 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
19473         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
19474         rights for its main user thread in NEWTASK.
19476 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
19478         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
19479         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
19481 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
19483         [BZ #14259]
19484         * Makeconfig: Rename localedir to complocaledir.
19485         Rename inst_localedir to inst_complocaledir.
19486         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
19487         * config.make.in: Use complocaledir and libc_cv_complocaledir.
19488         * configure.ac: Use libc_cv_complocaledir.
19489         * configure: Regenerate.
19490         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
19491         -DCOMPLOCALEDIR.
19492         * locale/findlocale.c: Use COMPLOCALEDIR.
19493         * locale/loadarchive.c: Likewise.
19494         * locale/programs/locale.c: Likewise.
19495         * locale/programs/localedef.c: Likewise.
19496         * locale/programs/locarchive.c: Likewise.
19497         * localedata/Makefile: Use inst_complocaledir.
19498         * sysdeps/gnu/configure: Regenerate.
19499         * sysdeps/hppa/configure: Regenerate.
19500         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19501         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19503         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19504         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19505         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19506         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19508 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
19510         [BZ #19058]
19511         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
19512         AS_NEEDED.
19513         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
19514         workaround.
19515         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
19516         libmvec-static-only-routines): Added new file.
19517         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
19519 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19521         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
19522         of interrupted RPC instead of restoring it.
19524         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
19525         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
19526         libc_hidden_def.
19527         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
19528         into initialized data instead of common. Define rtld_hidden_data_def.
19529         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
19530         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
19531         libc_hidden_def.
19532         (if_freenameindex): Add libc_hidden_weak.
19533         (if_nameindex): Add libc_hidden_weak.
19534         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
19535         __open64.
19536         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
19537         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
19538         * sysdeps/mach/nanosleep.c: Include <time.h>
19539         (__nanosleep): Rename to __libc_nanosleep.
19540         (__nanosleep): Add weak_alias.
19541         (nanosleep): Update alias.
19543 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
19545         * stdlib/strtod_nan.c: New file.
19546         * stdlib/strtod_nan_double.h: Likewise.
19547         * stdlib/strtod_nan_float.h: Likewise.
19548         * stdlib/strtod_nan_main.c: Likewise.
19549         * stdlib/strtod_nan_narrow.h: Likewise.
19550         * stdlib/strtod_nan_wide.h: Likewise.
19551         * stdlib/strtof_nan.c: Likewise.
19552         * stdlib/strtold_nan.c: Likewise.
19553         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
19554         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
19555         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
19556         * wcsmbs/wcstod_nan.c: Likewise.
19557         * wcsmbs/wcstof_nan.c: Likewise.
19558         * wcsmbs/wcstold_nan.c: Likewise.
19559         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
19560         strtold_nan.
19561         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
19562         wcstof_nan.
19563         * include/stdlib.h (__strtof_nan): Declare and use
19564         libc_hidden_proto.
19565         (__strtod_nan): Likewise.
19566         (__strtold_nan): Likewise.
19567         (__wcstof_nan): Likewise.
19568         (__wcstod_nan): Likewise.
19569         (__wcstold_nan): Likewise.
19570         * include/wchar.h (____wcstoull_l_internal): Declare.
19571         * stdlib/strtod_l.c: Do not include <ieee754.h>.
19572         (____strtoull_l_internal): Remove declaration.
19573         (STRTOF_NAN): Define macro.
19574         (SET_MANTISSA): Remove macro.
19575         (STRTOULL): Likewise.
19576         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
19577         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
19578         (STRTOF_NAN): Define macro.
19579         (SET_MANTISSA): Remove macro.
19580         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
19581         (SET_MANTISSA): Remove macro.
19582         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
19583         macro.
19584         (SET_MANTISSA): Remove macro.
19585         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
19586         macro.
19587         (SET_MANTISSA): Remove macro.
19588         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
19589         (SET_MANTISSA): Remove macro.
19590         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
19591         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
19592         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
19594         [BZ #19266]
19595         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
19596         upper case and lower case letters inside NAN(), not using TOLOWER.
19597         * stdlib/tst-strtod-nan-locale-main.c: New file.
19598         * stdlib/tst-strtod-nan-locale.c: Likewise.
19599         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
19600         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
19601         Depend on $(gen-locales).
19602         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
19603         * wcsmbs/tst-wcstod-nan-locale.c: New file.
19604         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
19605         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
19606         Depend on $(gen-locales).
19607         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
19609 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
19611         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
19613         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
19615         __finitel, __isinfl, and __isnanl.
19616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
19617         Likewise.
19618         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
19620         __finitel.
19621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19622         Likewise.
19623         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19625 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19627         * malloc/memusage.c (me): Remove redundant getenv call.
19629 2015-10-24  Florian Weimer  <fweimer@redhat.com>
19631         [BZ #19143]
19632         [BZ #19164]
19633         * nptl/check-cpuset.h: Remove.
19634         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
19635         Remove CPU set size check.
19636         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
19637         Likewise.
19638         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
19639         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
19640         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
19641         (__pthread_setaffinity_new): Remove CPU set size check.
19642         * sysdeps/unix/sysv/linux/sched_setaffinity.c
19643         (__kernel_cpumask_size): Remove.
19644         (__sched_setaffinity_new): Remove CPU set size check.
19645         * manual/threads.texi (Default Thread Attributes): Remove stale
19646         reference to check_cpuset_attr, determine_cpumask_size in comment.
19647         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
19648         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
19649         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
19650         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
19651         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
19652         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
19653         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
19654         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
19655         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
19656         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
19657         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
19658         skeleton test file.
19659         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
19660         tst-affinity-pid.
19662 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19664         * scripts/update-abilist.sh: New file.
19665         * Makefile (+subdir_targets): Add subdir_update-all-abi.
19666         * Makerules (update-all-abi-%, update-all-abi)
19667         (subdir_update-all-abi): New targets.
19668         * elf/Makefile (update-all-abi): New target.
19670 2015-11-24  Florian Weimer  <fweimer@redhat.com>
19672         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
19673         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
19674         (__libc_lock_define_initialized): Use it.
19675         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
19676         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
19677         * malloc/malloc.c (main_arena): Likewise.
19678         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19679         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
19681 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
19683         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19684         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
19685         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19686         (PTRACE_O_MASK): Update value.
19687         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
19688         New value in enum __ptrace_setoptions.
19689         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19690         (PTRACE_O_MASK): Update value.
19691         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19692         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19693         (PTRACE_O_MASK): Update value.
19694         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
19695         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19696         (PTRACE_O_MASK): Update value.
19697         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
19698         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
19699         (PTRACE_O_MASK): Update value.
19700         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
19701         New value in enum __ptrace_setoptions.
19702         (PTRACE_O_MASK): Update value.
19703         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
19704         New value in enum __ptrace_setoptions.
19705         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
19706         (PTRACE_O_MASK): Update value.
19708         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
19709         New macro.
19710         (PACKET_AUXDATA): Likewise.
19711         (PACKET_ORIGDEV): Likewise.
19712         (PACKET_VERSION): Likewise.
19713         (PACKET_HDRLEN): Likewise.
19714         (PACKET_RESERVE): Likewise.
19715         (PACKET_TX_RING): Likewise.
19716         (PACKET_LOSS): Likewise.
19717         (PACKET_VNET_HDR): Likewise.
19718         (PACKET_TX_TIMESTAMP): Likewise.
19719         (PACKET_TIMESTAMP): Likewise.
19720         (PACKET_FANOUT): Likewise.
19721         (PACKET_TX_HAS_OFF): Likewise.
19722         (PACKET_QDISC_BYPASS): Likewise.
19723         (PACKET_ROLLOVER_STATS): Likewise.
19724         (PACKET_FANOUT_DATA): Likewise.
19725         (PACKET_MR_UNICAST): Likewise.
19727         [BZ #19242]
19728         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
19729         (TOUPPER): Likewise.
19730         * stdlib/tst-strtol-locale-main.c: New file.
19731         * stdlib/tst-strtol-locale.c: Likewise.
19732         * stdlib/Makefile (tests): Add tst-strtol-locale.
19733         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
19734         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
19735         Depend on $(gen-locales).
19736         * wcsmbs/tst-wcstol-locale.c: New file.
19737         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
19738         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
19739         tr_TR.ISO-8859-9.
19740         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
19741         Depend on $(gen-locales).
19743 2015-11-20  Roland McGrath  <roland@hack.frob.com>
19745         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
19746         __glibc_likely instead of __builtin_expect.  After falling back to
19747         dyncode_create in a non-ET_DYN case, use the allocate_code_data
19748         system interface to register the code pages as occupied.
19750 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
19752         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19753         [!ARM_MATH_PRIVATE_H].
19754         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
19755         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19756         [!HPPA_MATH_PRIVATE_H].
19757         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
19758         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
19759         to [!I386_MATH_PRIVATE_H].
19760         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
19761         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
19762         Change guard to [!M68K_MATH_PRIVATE_H].
19763         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
19764         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
19765         guard to [!MICROBLAZE_MATH_PRIVATE_H].
19766         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
19767         macro.
19768         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19769         [!MIPS_MATH_PRIVATE_H].
19770         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
19771         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19772         [!NIO2_MATH_PRIVATE_H].
19773         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
19774         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
19775         [!TILE_MATH_PRIVATE_H].
19776         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
19778         [BZ #15421]
19779         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
19780         initialize with 0 and define as weak alias of __signgam.
19781         * include/math.h [!_ISOMAC] (__signgam): Declare.
19782         * math/Makefile (libm-calls): Add w_lgamma_compat.
19783         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
19784         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
19785         test-signgam-ullong-init.
19786         (tests-static): Add test-signgam-uchar-static,
19787         test-signgam-uchar-init-static, test-signgam-uint-static,
19788         test-signgam-uint-init-static, test-signgam-ullong-static and
19789         test-signgam-ullong-init-static.
19790         (CFLAGS-test-signgam-uchar.c): New variable.
19791         (CFLAGS-test-signgam-uchar-init.c): Likewise.
19792         (CFLAGS-test-signgam-uchar-static.c): Likewise.
19793         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
19794         (CFLAGS-test-signgam-uint.c): Likewise.
19795         (CFLAGS-test-signgam-uint-init.c): Likewise.
19796         (CFLAGS-test-signgam-uint-static.c): Likewise.
19797         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
19798         (CFLAGS-test-signgam-ullong.c): Likewise.
19799         (CFLAGS-test-signgam-ullong-init.c): Likewise.
19800         (CFLAGS-test-signgam-ullong-static.c): Likewise.
19801         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
19802         * math/Versions (libm): Add GLIBC_2.23.
19803         * math/lgamma-compat.h: New file.
19804         * math/test-signgam-main.c: Likewise.
19805         * math/test-signgam-uchar-init-static.c: Likewise.
19806         * math/test-signgam-uchar-init.c: Likewise.
19807         * math/test-signgam-uchar-static.c: Likewise.
19808         * math/test-signgam-uchar.c: Likewise.
19809         * math/test-signgam-uint-init-static.c: Likewise.
19810         * math/test-signgam-uint-init.c: Likewise.
19811         * math/test-signgam-uint-static.c: Likewise.
19812         * math/test-signgam-uint.c: Likewise.
19813         * math/test-signgam-ullong-init-static.c: Likewise.
19814         * math/test-signgam-ullong-init.c: Likewise.
19815         * math/test-signgam-ullong-static.c: Likewise.
19816         * math/test-signgam-ullong.c: Likewise.
19817         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
19818         wrapper of w_lgamma_main.c.
19819         * math/w_lgamma_compat.c: New file.
19820         * math/w_lgamma_compatf.c: Likewise.
19821         * math/w_lgamma_compatl.c: Likewise.
19822         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
19823         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19824         defining compatibility symbols.
19825         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
19826         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
19827         wrapper of w_lgammaf_main.c.
19828         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
19829         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19830         defining compatibility symbols.
19831         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
19832         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
19833         wrapper of w_lgammal_main.c.
19834         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
19835         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
19836         defining compatibility symbols.
19837         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
19838         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
19839         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
19840         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
19841         <lgamma-compat.h>.
19842         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
19843         (__ieee754_gamma): Define as alias.
19844         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
19845         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
19846         <lgamma-compat.h>.
19847         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
19848         (__ieee754_gammaf): Define as alias.
19849         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
19850         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
19851         <lgamma-compat.h>.
19852         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
19853         (__ieee754_gammal): Define as alias.
19854         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
19855         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
19856         <math/w_lgamma_compat.c>.
19857         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
19858         Define as alias of __lgamma_compat and use in defining lgammal.
19859         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
19860         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
19861         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
19862         (USE_AS_COMPAT): New macro.
19863         (LGAMMA_OLD_VER): Undefine and redefine.
19864         (lgammal): Do not define here.
19865         (gammal): Only define here if [GAMMA_ALIAS].
19866         * conform/linknamespace.pl (@whitelist): Remove signgam.
19867         * sysdeps/nacl/libm.abilist: Update.
19868         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19869         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19870         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19871         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19872         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19873         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19874         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19875         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19876         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19877         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19878         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19879         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
19881         Likewise.
19882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19883         Likewise.
19884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
19885         Likewise.
19886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
19887         Likewise.
19888         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19889         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19890         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19891         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19892         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19893         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
19894         Likewise.
19895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
19896         Likewise.
19897         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19898         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19899         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19901 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19903         [BZ #16364]
19904         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
19905         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
19907 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19909         * sysdeps/s390/fpu/bits/mathinline.h:
19910         Use __asm__ [__volatile__] instead of asm [volatile].
19911         * sysdeps/s390/abort-instr.h: Likewise.
19912         * sysdeps/s390/atomic-machine.h: Likewise.
19913         * sysdeps/s390/bits/string.h: Likewise.
19914         * sysdeps/s390/dl-tls.h: Likewise.
19915         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
19916         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
19917         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
19918         * sysdeps/s390/fpu/fesetround.c: Likewise.
19919         * sysdeps/s390/fpu/fpu_control.h: Likewise.
19920         * sysdeps/s390/fpu/s_fma.c: Likewise.
19921         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
19922         * sysdeps/s390/memusage.h: Likewise.
19923         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
19924         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
19925         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
19926         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
19927         * sysdeps/s390/nptl/tls.h: Likewise.
19928         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
19929         * sysdeps/s390/s390-32/backtrace.c: Likewise.
19930         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19931         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
19932         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19933         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19934         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
19935         * sysdeps/s390/s390-64/backtrace.c: Likewise.
19936         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19937         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
19938         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
19939         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19940         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19941         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
19942         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
19943         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
19944         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19945         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19946         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19947         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19948         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19950         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19952 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19953             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19955         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19956         Add lwarx hint, and use macro for acquire instruction.
19957         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19958         Likewise.
19959         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19960         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19961         update to use new atomic macros.
19963 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19965         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19966         (__lll_trylock_elision): Fix setting of adapt_count.
19967         * sysdeps/unix/sysv/linux/powerpc/htm.h
19968         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19969         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19970         (_ABORT_SYSCALL): Renumber, and clarify definition.
19971         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19973 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19975         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19976         after system headers to prevent MIN/MAX redefinition.  Define
19977         HAVE_ALLOCA to preserve builtin alloca usage.
19979 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19981         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19982         static and don't set or restore rounding.
19983         (__cos)[IN_SINCOS]: Likewise.
19984         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19985         (__sincos): Set and restore rounding mode.  Remove check for infinite
19986         or NaN input.
19988         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19990         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19991         as used.
19993 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19995         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19997 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19999         * config.make.in (have-glob-dat-reloc): New.
20000         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20001         target supports GLOB_DAT relocaton. AC_SUBST.
20002         * configure: Regenerated.
20003         * elf/Makefile (tests): Add tst-prelink.
20004         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20005         (tst-prelink-ENV): New.
20006         ($(objpfx)tst-prelink-conflict.out): Likewise.
20007         ($(objpfx)tst-prelink-cmp.out): Likewise.
20008         * sysdeps/x86/tst-prelink.c: Moved to ...
20009         * elf/tst-prelink.c: Here.
20010         * sysdeps/x86/tst-prelink.exp: Moved to ...
20011         * elf/tst-prelink.exp: Here.
20012         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20013         (tst-prelink-ENV): Removed.
20014         ($(objpfx)tst-prelink-conflict.out): Likewise.
20015         ($(objpfx)tst-prelink-cmp.out): Likewise.
20016         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20018 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20020         [BZ #14551]
20021         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20022         (__mpn_construct_long_double): If high part overflows to infinity,
20023         set errno and recompute overflowed result of the correct sign.
20024         * sysdeps/ieee754/ldbl-128ibm/Makefile
20025         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20026         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20027         $(libm).
20028         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20030 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20032         [BZ #15479]
20033         [BZ #19238]
20034         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20035         floating-point state after first operation on input.  Restore full
20036         state rather than just rounding mode.
20037         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20038         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20039         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20041         [BZ #19235]
20042         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20043         add 0.5 to integer arguments.
20044         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20045         Likewise.
20046         (.LC2): New object.
20048 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20050         * scripts/pylintrc (reports): Set to no.
20052 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20054         * elf/dl-load.c (open_verify): Take new argument FD.
20055         Skip __open call if passed FD is not -1.
20056         (_dl_map_object, open_path): Update callers.
20057         * elf/dl-sysdep-open.h: New file.
20058         * elf/dl-load.c: Include it.
20059         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20060         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20061         * sysdeps/nacl/dl-sysdep-open.h: New file.
20062         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20063         from libc to rtld.
20065 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20067         [BZ #19228]
20068         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20069         and restore full floating-point state.
20070         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20071         Likewise.
20072         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20073         Likewise.
20074         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20075         Likewise.
20076         * math/test-nearbyint-except-2.c: New file.
20077         * math/Makefile (tests): Add test-nearbyint-except-2.
20079 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20081         [BZ #19178]
20082         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20083         (tst-prelink-ENV): New.
20084         ($(objpfx)tst-prelink-conflict.out): Likewise.
20085         ($(objpfx)tst-prelink-cmp.out): Likewise.
20086         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20087         * sysdeps/x86/tst-prelink.c: New file.
20088         * sysdeps/x86/tst-prelink.exp: Likewise.
20090 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20092         * math/auto-libm-test-in: Add another test of pow.
20093         * math/auto-libm-test-out: Regenerated.
20094         * math/libm-test.inc (pow_test_data): Add another test.
20096 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20098         [BZ #19219]
20099         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20100         weak_alias to nearbyintl.
20102 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20104         * sysdeps/aarch64/bits/string.h: New file.
20105         (_STRING_ARCH_unaligned): Define.
20107 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20109         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20110         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20111         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20112         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20115 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20117         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20118         for original name of the DSO.  Add it to the name list of the DSO
20119         if it is actually given.
20120         (_dl_map_object): Keep track of whether an audit module rewrote
20121         the file name.  If yes, pass the original name to
20122         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20123         debugging is enabled, log the change of the file name.
20124         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20125         _dl_map_object_from_fd.
20126         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20127         * elf/tst-audit11.c: New file
20128         * elf/tst-auditmod11.c: New file.
20129         * elf/tst-audit11mod1.c: New file.
20130         * elf/tst-audit11mod2.c: New file.
20131         * elf/tst-audit11mod2.map: New file.
20132         * elf/tst-audit12.c: New file
20133         * elf/tst-auditmod12.c: New file.
20134         * elf/tst-audit12mod1.c: New file.
20135         * elf/tst-audit12mod2.c: New file.
20136         * elf/tst-audit12mod2.map: New file.
20137         * elf/tst-audit12mod3.c: New file.
20139 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20141         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20142         Don't create weak aliases,
20143         because versioned symbols are created later.
20144         * sysdeps/s390/s390-32/setjmp.S
20145         (setjmp, _setjmp): Remove weak and rename to an unique name
20146         in SHARED case due to existing versioned symbols.
20147         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20148         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20149         (getcontext): Create weak alias only in non SHARED case.
20150         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20152 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20154         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20155         (__ASSUME_*_SYSCALL) Define new macros.
20156         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20157         Remove socketcall syscalls.
20158         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20159         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20160         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20161         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20162         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20163         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20165 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20167         [BZ #12926]
20168         Terminate process on invalid netlink response.
20169         * sysdeps/unix/sysv/linux/netlinkaccess.h
20170         (__netlink_assert_response): Declare.
20171         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20172         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20173         (sysdep_routines): Add netlink_assert_response.
20174         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20175         __netlink_assert_response.
20176         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20177         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20178         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20179         __netlink_assert_response.
20181 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20183         [BZ #19178]
20184         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20185         (RTYPE_CLASS_PLT): Likewise.
20186         (RTYPE_CLASS_COPY): Likewise.
20187         (RTYPE_CLASS_TLS): Likewise.
20188         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20189         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20190         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20191         DL_DEBUG_PRELINK.
20193 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20195         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20196         calls with argument -0.5.
20197         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20199         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20200         (libc_cv_z_nodlopen): Likewise.
20201         (libc_cv_z_initfirst): Likewise.
20202         * configure: Regenerated.
20204 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20206         Simplify abilist format to be line-based.
20207         * scripts/abilist.awk: Collect descriptors in the descs variable.
20208         (emit): Write descs variable and sort it
20209         externally, with sort.
20210         * sysdeps/**/*.abilist: Convert to new format.
20212 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20214         [BZ #11460]
20215         * io/Makefile (routines): Add fts64.
20216         (tests): Add tst-fts and tst-fts-lfs.
20217         (CFLAGS-fts64.c): New.
20218         * io/Versions (GLIBC_2.23): New.
20219         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20220         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20221         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20222         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
20223         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
20224         (FTSENT64): Likewise.
20225         (fts64_children): Likewise.
20226         (fts64_close): Likewise.
20227         (fts64_open): Likewise.
20228         (fts64_read): Likewise.
20229         (fts64_set): Likewise.
20230         * io/fts64.c: New file.
20231         * io/tst-fts.c: New test.
20232         * io/tst-fts-lfs.c: Likewise.
20233         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
20234         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
20235         fts64_set.
20236         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20237         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20238         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20239         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20240         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20241         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20242         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20243         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20244         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20245         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20246         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20247         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20248         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20250         Likewise.
20251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20252         Likewise.
20253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20255         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20256         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20257         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20258         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20259         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20262         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20263         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20264         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20265         * sysdeps/wordsize-64/fts.c: New file.
20266         * sysdeps/wordsize-64/fts64.c: Likewise.
20267         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
20268         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
20269         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
20270         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
20272 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20274         * math/libm-test.inc (NON_FINITE): New macro.
20275         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
20276         * math/gen-libm-test.pl (show_exceptions): Add argument
20277         $non_finite.
20278         (parse_args): Update call to show_exceptions.
20279         * math/test-math-finite.h: New file.
20280         * math/test-math-no-finite.h: Likewise.
20281         * math/test-double-finite.c: Likewise.
20282         * math/test-float-finite.c: Likewise.
20283         * math/test-ldouble-finite.c: Likewise.
20284         * math/test-double.c: Include "test-math-no-finite.h".
20285         * math/test-float.c: Include "test-math-no-finite.h".
20286         * math/test-ldouble.c: Include "test-math-no-finite.h".
20287         * math/test-math-inline.h (TEST_FINITE): New macro.
20288         * math/test-math-vector.h (TEST_FINITE): Likewise.
20289         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
20290         (libm-tests): Add test-float-finite and test-double-finite.
20291         ($(objpfx)test-float-finite.o): New dependency on
20292         $(objpfx)libm-test.stmp.
20293         ($(objpfx)test-double-finite.o): Likewise.
20294         ($(objpfx)test-ldouble-finite.o): Likewise.
20295         (libm-test-no-inline-cflags): New variable.
20296         (libm-test-finite-cflags): Likewise.
20297         (CFLAGS-test-float-finite.c): Likewise.
20298         (CFLAGS-test-double-finite.c): Likewise.
20299         (CFLAGS-test-ldouble-finite.c): Likewise.
20300         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
20301         (CFLAGS-test-double.c): Likewise.
20302         (CFLAGS-test-ldouble.c): Likewise.
20304 2015-11-05  Roland McGrath  <roland@hack.frob.com>
20306         * io/fcntl.c (__fcntl): Add ... to prototype.
20307         * misc/ioctl.c (__ioctl): Likewise.
20308         * misc/syscall.c (syscall): Likewise.
20310 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
20312         * scripts/list-fixed-bugs.py: New file.
20314         [BZ #19213]
20315         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
20316         returned for argument 1.
20317         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
20318         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
20319         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
20320         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
20321         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
20322         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
20324         [BZ #19211]
20325         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
20326         __USE_XOPEN], not if [!__USE_ISOC99].
20327         (lgammaf): Likewise.
20328         (lgammal): Likewise.
20329         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
20330         (gammaf): Likewise.
20331         (gammal): Likewise.
20332         * math/test-signgam-finite-c11.c: New file.
20333         * math/test-signgam-finite-c99.c: Likewise.
20334         * math/test-signgam-finite.c: Likewise.
20335         * math/Makefile (tests): Add test-signgam-finite,
20336         test-signgam-finite-c99 and test-signgam-finite-c11.
20337         (CFLAGS-test-signgam-finite.c): New variable.
20338         (CFLAGS-test-signgam-finite-c99.c): Likewise.
20339         (CFLAGS-test-signgam-finite-c11.c): Likewise.
20341         [BZ #19212]
20342         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
20343         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
20344         500].
20345         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
20346         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
20347         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
20348         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
20349         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
20350         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
20351         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
20352         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
20353         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
20354         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
20356         [BZ #19209]
20357         * math/bits/math-finite.h (ldexp): Remove declaration.
20358         (ldexpf): Likewise.
20359         (ldexpl): Likewise.
20361         [BZ #19205]
20362         * math/bits/math-finite.h (acosf): Condition declaration on
20363         [__USE_ISOC99].
20364         (acosl): Likewise.
20365         (acoshf): Likewise.
20366         (acoshl): Likewise.
20367         (asinf): Likewise.
20368         (asinl): Likewise.
20369         (atan2f): Likewise.
20370         (atan2l): Likewise.
20371         (atanhf): Likewise.
20372         (atanhl): Likewise.
20373         (coshf): Likewise.
20374         (coshl): Likewise.
20375         (expf): Likewise.
20376         (expl): Likewise.
20377         (fmodf): Likewise.
20378         (fmodl): Likewise.
20379         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
20380         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
20381         (j0l): Likewise.
20382         (y0f): Likewise.
20383         (y0l): Likewise.
20384         (j1f): Likewise.
20385         (j1l): Likewise.
20386         (y1f): Likewise.
20387         (y1l): Likewise.
20388         (jnf): Likewise.
20389         (jnl): Likewise.
20390         (ynf): Likewise.
20391         (ynl): Likewise.
20392         (lgammaf_r): Condition declaration on [__USE_ISOC99].
20393         (lgammal_r): Likewise.
20394         (__lgamma_r_finite): New declaration.
20395         (__lgammaf_r_finite): Likewise.
20396         (__lgammal_r_finite): Likewise.
20397         (lgamma): Use __lgamma_r_finite.
20398         (lgammaf): Condition definition on [__USE_ISOC99].  Use
20399         __lgammaf_r_finite.
20400         (lgammal): Condition definition on [__USE_ISOC99].  Use
20401         __lgammal_r_finite.
20402         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
20403         __lgamma_r_finite.
20404         (gammaf): Condition definition on [__USE_ISOC99].  Use
20405         __lgammaf_r_finite.
20406         (gammal): Condition definition on [__USE_ISOC99].  Use
20407         __lgammal_r_finite.
20408         (logf): Condition declaration on [__USE_ISOC99].
20409         (logl): Likewise.
20410         (log10f): Likewise.
20411         (log10l): Likewise.
20412         (ldexpf): Likewise.
20413         (ldexpl): Likewise.
20414         (powf): Likewise.
20415         (powl): Likewise.
20416         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
20417         __USE_ISOC99].
20418         (remainderf): Condition declaration on [__USE_ISOC99].
20419         (remainderl): Likewise.
20420         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
20421         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
20422         (scalbl): Likewise.
20423         (sinhf): Condition declaration on [__USE_ISOC99].
20424         (sinhl): Likewise.
20425         (sqrtf): Likewise.
20426         (sqrtl): Likewise.
20428 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20430         * sysdeps/arm/atomic-machine.h
20431         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20432         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20433         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
20434         Remove conditional code.
20435         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
20436         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
20437         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
20438         Change conditional to [__ASSEMBLER__].
20439         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20440         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
20441         [!__ASSEMBLER__].
20442         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
20443         code.
20444         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
20445         conditional macro definitions.
20446         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
20447         (__arch_compare_and_exchange_val_16_acq): Likewise.
20448         (__arch_compare_and_exchange_val_32_acq): Likewise.
20449         (atomic_exchange_and_add): Likewise.
20450         (atomic_add): Likewise.
20451         (atomic_add_negative): Likewise.
20452         (atomic_add_zero): Likewise.
20453         (atomic_bit_set): Likewise.
20454         (atomic_bit_test_set): Likewise.
20455         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
20456         code unconditional.
20457         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20459         * math/test-math-errno.h: New file.
20460         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
20461         empty.
20462         (TEST_ERRNO): New macro.
20463         (TEST_EXCEPTIONS): Likewise.
20464         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
20465         (TEST_EXCEPTIONS): Likewise.
20466         * math/test-math-vector.h (TEST_ERRNO): Likewise.
20467         * math/test-double.c: Include "test-math-errno.h".
20468         * math/test-float.c: Likewise.
20469         * math/test-ldouble.c: Likewise.
20470         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
20471         code unconditional.
20472         (test_exceptions): Only run code if TEST_EXCEPTIONS.
20473         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
20474         unconditional.
20475         (test_errno): Only run code if TEST_ERRNO.
20476         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
20478 2015-11-04  Florian Weimer  <fweimer@redhat.com>
20480         * nptl/tst-once5.cc: Remove attribution.
20482 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
20484         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
20485         sqrt, tan, tanh, y0, y1 and yn.
20486         * math/auto-libm-test-out: Regenerated.
20487         * math/libm-test.inc (scalb_test_data): Add more tests.
20488         (scalbn_test_data): Likewise.
20489         (scalbln_test_data): Likewise.
20490         (signbit_test_data): Likewise.
20491         (sin_test_data): Likewise.
20492         (sincos_test_data): Likewise.
20493         (sinh_test_data): Likewise.
20494         (sqrt_test_data): Likewise.
20495         (tan_test_data): Likewise.
20496         (tanh_test_data): Likewise.
20497         (tgamma_test_data): Likewise.
20498         (y0_test_data): Likewise.
20499         (y1_test_data): Likewise.
20500         (yn_test_data): Likewise.
20501         (significand_test_data): Likewise.
20502         * sysdeps/i386/fpu/libm-test-ulps: Update.
20504 2015-11-03  David Kastrup  <dak@gnu.org>
20506         [BZ #18604]
20507         * assert/assert.h (assert): Don't macro-expand failed assertion
20508         expression in error message.
20509         * malloc/malloc.c (assert): Likewise.
20511 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
20513         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
20514         test.
20515         * configure: Regenerated.
20517 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
20519         * math/libm-test.inc (modf_test_data): Add more tests.
20520         (nearbyint_test_data): Likewise.
20521         (nextafter_test_data): Likewise.
20522         (nexttoward_test_data): Likewise.
20523         (pow_test_data): Likewise.
20524         (remainder_test_data): Likewise.
20525         (remquo_test_data): Likewise.
20526         (rint_test_data): Likewise.
20528         [BZ #19201]
20529         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20530         Check for zero remainder in case of large exponents and ensure
20531         correct sign of result in that case.
20532         * math/libm-test.inc (remainder_test_data): Add more tests.
20534         [BZ #6799]
20535         * math/s_nextafter.c: Include <errno.h>.
20536         (__nextafter): Set errno on overflow and underflow.
20537         * math/s_nexttowardf.c: Include <errno.h>.
20538         (__nexttowardf): Set errno on overflow and underflow.
20539         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
20540         (__nextafterl): Set errno on overflow and underflow.
20541         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
20542         (__nexttoward): Set errno on overflow and underflow.
20543         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
20544         (__nexttowardf): Set errno on overflow and underflow.
20545         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
20546         (__nextafterf): Set errno on overflow and underflow.
20547         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
20548         (__nextafterl): Set errno on overflow and underflow.
20549         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
20550         (__nexttoward): Set errno on overflow and underflow.
20551         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
20552         (__nexttowardf): Set errno on overflow and underflow.
20553         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
20554         (__nextafterl): Set errno on overflow and underflow.
20555         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
20556         (__nexttoward): Set errno on overflow and underflow.
20557         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
20558         (__nexttowardf): Set errno on overflow and underflow.
20559         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
20560         (__nexttoward): Set errno on overflow and underflow.
20561         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
20562         (__nexttowardf): Set errno on overflow and underflow.
20563         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
20564         (__nldbl_nexttowardf): Set errno on overflow and underflow.
20565         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
20566         (__nextafterl): Set errno on overflow and underflow.
20567         * math/libm-test.inc (nextafter_test_data): Do not allow errno
20568         setting to be missing on overflow.  Add more tests.
20569         (nexttoward_test_data): Likewise.
20571         * configure.ac (libc_cv_initfini_array): Remove configure test.
20572         * configure: Regenerated.
20574 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
20576         [BZ #19189]
20577         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
20578         non-finite argument handle arguments with negative sign.
20580         * math/libm-test.inc (j0_test_data): Do not test sign of zero
20581         result from infinite argument.
20582         (j1_test_data): Likewise.
20583         (jn_test_data): Likewise.
20584         (y0_test_data): Likewise.
20585         (y1_test_data): Likewise.
20586         (yn_test_data): Likewise.
20588         [BZ #16171]
20589         * math/w_remainder.c (drem): Define as weak alias of __remainder.
20590         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
20591         * math/w_remainderf.c (dremf): Define as weak alias of
20592         __remainderf.
20593         * math/w_remainderl.c (dreml): Define as weak alias of
20594         __remainderl.
20595         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
20596         __remainder.
20597         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
20598         __remainderf.
20599         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
20600         __remainderl.
20601         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
20602         weak alias of remainderl.
20603         * sysdeps/ieee754/ldbl-opt/w_remainder.c
20604         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
20605         alias of __remainder.
20606         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
20607         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
20608         strong alias of __remainderl.
20609         (dreml): Use long_double_symbol.
20610         * math/Makefile (libm-calls): Remove w_drem.
20611         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
20612         (CFLAGS-nldbl-drem.c): Remove variable.
20613         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
20614         * math/w_drem.c: Remove file.
20615         * math/w_dremf.c: Likewise.
20616         * math/w_dreml.c: Likewise.
20617         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
20618         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
20619         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
20621         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
20622         * sysdeps/i386/configure: Regenerated.
20623         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
20624         * sysdeps/x86_64/configure: Regenerated.
20626         * configure.ac (libc_cv_asm_protected_directive): Remove configure
20627         test.
20628         (libc_cv_visibility_attribute): Likewise.
20629         (libc_cv_protected_data): Test unconditionally.
20630         (libc_cv_broken_visibility_attribute): Remove configure test.
20631         (libc_cv_have_sdata_section): Test unconditionally.
20632         * configure: Regenerated.
20634         * include/libc-internal.h (libc_max_align_t): Remove typedef.
20635         * include/scratch_buffer.h: Include <stddef.h> instead of
20636         <libc-internal.h>.
20637         (struct scratch_buffer): Use max_align_t instead of
20638         libc_max_align_t.
20640 2015-10-29  Florian Weimer  <fweimer@redhat.com>
20642         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
20643         instead of extend_alloca.  Change control flow to avoid a goto.
20644         Remove assert which is trivially always true.
20646 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20648         [BZ #16068]
20649         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
20650         (FE_ALL_EXCEPT_X86): New macro.
20651         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20652         FE_ALL_EXCEPT.  Ensure precision control is included in
20653         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20654         handle "denormal operand exception" and clear FZ and DAZ bits.
20655         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
20656         (FE_ALL_EXCEPT_X86): New macro.
20657         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
20658         FE_ALL_EXCEPT.  Ensure precision control is included in
20659         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
20660         handle "denormal operand exception" and clear FZ and DAZ bits.
20661         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
20662         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
20663         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20664         test-fenv-x87 and test-fenv-sse-2.
20665         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
20667         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
20668         * math/test-double.h (BUILD_COMPLEX): New macro.
20669         * math/test-float.h (BUILD_COMPLEX): Likewise.
20670         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
20672         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
20673         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
20674         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
20675         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
20676         instead of DBL_DENORM_MIN in comment.
20677         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
20678         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20679         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
20680         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
20681         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
20682         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
20684 2015-10-28  Florian Weimer  <fweimer@redhat.com>
20686         [BZ #19048]
20687         * malloc/malloc.c (struct malloc_state): Update comment.  Add
20688         attached_threads member.
20689         (main_arena): Initialize attached_threads.
20690         * malloc/arena.c (list_lock): Update comment.
20691         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
20692         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
20693         (deattach_arena): New function.
20694         (_int_new_arena): Initialize arena reference count and deattach
20695         replaced arena.
20696         (get_free_list, reused_arena): Update reference count and deattach
20697         replaced arena.
20698         (arena_thread_freeres): Update arena reference count and only put
20699         unreferenced arenas on the free list.
20701 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20703         [BZ #19181]
20704         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
20705         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
20706         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
20707         * math/test-fenv-clear-main.c: New file.
20708         * math/test-fenv-clear.c: Likewise.
20709         * math/Makefile (tests): Add test-fenv-clear.
20710         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
20711         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
20712         test-fenv-clear-sse.
20713         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
20715         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
20716         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
20717         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
20719 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20721         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
20722         static libc.
20724 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
20726         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
20727         test.
20728         * sysdeps/i386/configure: Regenerated.
20729         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
20730         test.
20731         * sysdeps/x86_64/configure: Regenerated.
20732         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
20733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20734         memset-avx2 unconditionally instead of conditionally on
20735         [$(config-cflags-avx2) = yes].
20736         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20737         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
20738         unconditional.
20739         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
20740         * sysdeps/x86_64/multiarch/memset_chk.S
20741         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
20742         to [IS_IN (libc) && SHARED].
20744 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20746         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
20747         configure test.
20748         * sysdeps/arm/configure: Regenerated.
20749         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
20750         Define variable if not already defined.
20752         [BZ #17404]
20753         * sysdeps/mips/atomic-machine.h
20754         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
20755         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
20756         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
20758         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
20759         unconditional.
20760         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
20761         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20762         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
20763         unconditional.
20764         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20765         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
20766         unconditional.
20767         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20768         * stdlib/setenv.c
20769         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
20770         code unconditional.
20771         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
20772         Remove conditional code.
20773         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
20774         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
20775         unconditional.
20776         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20777         code.
20778         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
20779         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
20780         unconditional.
20781         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20782         code.
20783         * sysdeps/ieee754/ldbl-128/k_tanl.c
20784         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20785         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20786         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
20787         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20788         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20789         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
20790         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
20791         unconditional.
20792         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
20793         code.
20794         * sysdeps/ieee754/ldbl-96/k_tanl.c
20795         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
20796         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
20798         * nptl/tst-initializers1-c11.c: New file.
20799         * nptl/tst-initializers1-gnu11.c: Likewise.
20800         * nptl/Makefile (tests): Add these new tests.
20801         (CFLAGS-tst-initializers1-c11.c): New variable.
20802         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
20804         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
20805         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
20806         instead of -std=gnu99.
20807         * configure.ac (systemtap): Test with -std=gnu11 instead of
20808         -std=gnu99.
20809         * configure: Regenerated.
20810         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
20811         in compilation command in comment.
20813         * sysdeps/nptl/configure.ac: Remove file.
20814         * sysdeps/nptl/configure: Remove generated file.
20815         * configure.ac (libc_cv_forced_unwind): Do not substitute.
20816         * configure: Regenerated.
20817         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
20818         * config.make.in (have-forced-unwind): Remove variable.
20819         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20820         unconditional.
20821         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
20822         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
20823         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
20824         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
20825         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
20826         unconditional.
20828 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20830         [BZ #19174]
20831         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
20832         .skip_lock_out_of_tbegin_retries.
20833         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20834         (__lll_lock_elision): Likewise, and respect a value of
20835         try_tbegin <= 0.
20837 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20839         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
20840         statement.
20842 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20844         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
20845         variable.
20846         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20847         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20849         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
20850         of -std=c1x -D_ISOC11_SOURCE.
20852         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
20853         * configure: Regenerated.
20854         * manual/install.texi (Tools for Compilation): Document
20855         requirement for GCC 4.7 or later.
20856         * INSTALL: Regenerated.
20858 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
20860         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
20861         on CNT to a conditional jump to 'puntdata'.
20863 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
20865         * configure.ac (libc_cv_gcc___thread): Remove configure test.
20866         (libc_cv_gcc_tls_model_attr): Likewise.
20867         * configure: Regenerated.
20869         * configure.ac (libc_cv_need_minus_P): Remove configure test.
20870         * configure: Regenerated.
20871         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
20873 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
20875         * configure.ac (old_glibc_headers): Remove configure test.
20876         * configure: Regenerated.
20877         * config.make.in (old-glibc-headers): Remove variable.
20878         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
20879         (install): Remove dependency on remove-old-headers.
20880         (headers2_0): Remove variable.
20881         (remove-old-headers): Remove rule.
20883         * configure.ac (libc_cv_dot_text): Remove configure test.
20884         (libc_cv_asm_set_directive): Use .text instead of
20885         ${libc_cv_dot_text} in configure test.
20886         * configure: Regenerated.
20888 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20890         [BZ #19168]
20891         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20893 2015-10-26  Florian Weimer  <fweimer@redhat.com>
20895         * configure.ac (CXX): Clear the variable if the C++ toolchain does
20896         not support static linking.
20897         * configure: Regenerate.
20899 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
20901         * math/libm-test.inc (check_float_internal): Do not special-case
20902         errors up to 0.5 ulp.
20904         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20905         log2.
20906         * math/auto-libm-test-out: Regenerated.
20907         * math/libm-test.inc (MAX_EXP): New macro.
20908         (ilogb_test_data): Add more tests.
20909         (isfinite_test_data): Likewise.
20910         (isgreater_test_data): Likewise.
20911         (isgreaterequal_test_data): Likewise.
20912         (isinf_test_data): Likewise.
20913         (isless_test_data): Likewise.
20914         (islessequal_test_data): Likewise.
20915         (islessgreater_test_data): Likewise.
20916         (isnan_test_data): Likewise.
20917         (isnormal_test_data): Likewise.
20918         (issignaling_test_data): Likewise.
20919         (isunordered_test_data): Likewise.
20920         (j0_test_data): Likewise.
20921         (j1_test_data): Likewise.
20922         (jn_test_data): Likewise.
20923         (lgamma_test_data): Likewise.
20924         (log_test_data): Likewise.
20925         (log10_test_data): Likewise.
20926         (log1p_test_data): Likewise.
20927         (log2_test_data): Likewise.
20928         (logb_test_data): Likewise.
20929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20931         [BZ #18611]
20932         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
20933         avoid excess range and precision on underflow.
20934         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20935         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
20936         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20937         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
20938         underflow.
20939         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20940         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20941         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20942         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20943         * math/auto-libm-test-in: Do not allow missing errno setting for
20944         tests of j1 and jn.
20945         * math/auto-libm-test-out: Regenerated.
20947 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
20949         [BZ #15491]
20950         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20951         floating-point environment instead of clearing all exceptions.
20952         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20953         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20954         merging in "invalid" exceptions from frndint.
20955         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20956         * math/test-nearbyint-except.c: New file.
20957         * math/Makefile (tests): Add test-nearbyint-except.
20959 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20961         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20963         * sysdeps/tile/libm-test-ulps: Regenerated.
20965 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20968         (__NR_sync_file_range2): Assume it is always defined.
20969         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20970         (__NR_sync_file_range): Assume it is always defined.
20972 2015-10-22  Andreas Schwab  <schwab@suse.de>
20974         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20975         INTERNAL_SYSCALL_ERRNO.
20976         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20977         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20978         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20979         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20980         Likewise.
20981         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20983 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20985         * io/tst-fcntl.c (fd): New static variable.
20986         (do_prepare): Open temporary file here....
20987         (do_test): ...not here.
20989         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20991 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20993         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20994         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20995         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20996         Moved before "#ifdef __ASSEMBLER__".
20998 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21000         [BZ #19156]
21001         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21002         arguments very close to 0.
21004 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21006         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21007         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21009 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21011         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21012         New.  Defined for GCC 5 and above when not compiling for
21013         profiling.
21014         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21016         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21017         Renamed to ...
21018         (CFLAGS-epoll_pwait.o): This.
21019         (CFLAGS-mmap.c): Renamed to ...
21020         (CFLAGS-mmap.o): This.
21021         (CFLAGS-mmap64.c): Renamed to ...
21022         (CFLAGS-mmap64.o): This.
21023         (CFLAGS-epoll_pwait.os): New.
21024         (CFLAGS-mmap.os): Likewise.
21025         (CFLAGS-mmap64.os): Likewise.
21026         (CFLAGS-semtimedop.os): Likewise.
21027         (CFLAGS-semtimedop.c): Renamed to ...
21028         (CFLAGS-semtimedop.o): This.
21030 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21032         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21033         warning message.
21035 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21037         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21038         * Makefile ($(objpfx)c++-types-check.out): Filter out
21039         $(+gccwarn-c) instead of -Wstrict-prototypes.
21041         * io/fts.c (fts_open): Convert to prototype-style function
21042         definition.
21043         * malloc/mcheck.c (mcheck): Likewise.
21044         (mcheck_pedantic): Likewise.
21045         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21046         internal_function.
21047         (re_search_internal): Likewise.
21048         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21049         prototype-style function definition.
21050         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21051         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21052         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21053         (xdr_utmpptr): Likewise.
21054         (xdr_utmparr): Likewise.
21055         (xdr_utmpidle): Likewise.
21056         (xdr_utmpidleptr): Likewise.
21057         (xdr_utmpidlearr): Likewise.
21059         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21060         log, log10 and log2.
21061         * math/auto-libm-test-out: Regenerated.
21062         * math/libm-test.inc (fmod_test_data): Add more tests.
21063         (fpclassify_test_data): Likewise.
21064         (frexp_test_data): Likewise.
21065         (hypot_test_data): Likewise.
21066         (ilogb_test_data): Likewise.
21068 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21070         * debug/fortify_fail.c (__fortify_fail): Convert to
21071         prototype-style function definition.  Use internal_function.
21072         * libio/genops.c (save_for_backup): Convert to prototype-style
21073         function definition.
21074         * libio/wgenops.c (save_for_wbackup): Likewise.
21075         * login/grantpt.c (grantpt): Likewise.
21076         * login/ptsname.c (ptsname): Likewise.
21077         (__ptsname_r): Likewise.
21078         * login/unlockpt.c (unlockpt): Likewise.
21079         * mach/msgserver.c (__mach_msg_server): Likewise.
21080         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21081         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21082         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21083         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21084         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21085         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21086         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21087         Likewise.
21088         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21089         internal_function.
21090         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21091         prototype-style function definition.
21092         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21093         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21094         (__pthread_create_2_0): Likewise.
21095         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21096         * nptl/register-atfork.c (__register_atfork): Likewise.
21097         * posix/glob.c (glob): Likewise.
21098         * posix/regcomp.c (re_comp): Likewise.
21099         * posix/regexec.c (re_exec): Likewise.
21100         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21101         [!__STDC__]: Remove conditional code.
21102         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21103         [!__STDC__]: Remove conditional code.
21104         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21105         [!__STDC__]: Remove conditional code.
21106         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21107         [!__STDC__]: Remove conditional code.
21108         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21109         [!__STDC__]: Remove conditional code.
21110         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21111         [!__STDC__]: Remove conditional code.
21112         * stdlib/mul.c [__STDC__]: Make code unconditional.
21113         [!__STDC__]: Remove conditional code.
21114         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21115         [!__STDC__]: Remove conditional code.
21116         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21117         [!__STDC__]: Remove conditional code.
21118         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21119         function definition.
21120         (STRTOF): Likewise.
21121         * stdlib/strtod_l.c (__STRTOF): Likewise.
21122         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21123         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21124         (__strtol_l): Likewise.
21125         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21126         [!__STDC__]: Remove conditional code.
21127         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21128         definition.
21129         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21130         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21131         type.
21132         (__strcasecmp): Convert to prototype-style function definition.
21133         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21134         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21135         type.
21136         (__strncasecmp): Convert to prototype-style function definition.
21137         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21138         * sunrpc/xdr.c (xdr_union): Likewise.
21139         * sunrpc/xdr_array.c (xdr_array): Likewise.
21140         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21141         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21142         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21143         Likewise.
21144         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21145         Likewise.
21146         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21147         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21148         Likewise.
21149         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21150         (LOCALE_PARAM_PROTO): Likewise.
21151         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21152         argument type.
21153         (ut_argument_spec): Remove macro.
21154         (ut_argument_spec_iso): Rename to ut_argument_spec.
21155         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21156         prototype-style function definition.
21157         (memcpy_uppcase): Likewise.
21158         (__strftime_internal): Likewise.
21159         (my_strftime): Likewise.
21160         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21161         (LOCALE_PARAM_DECL): Likewise.
21162         [_LIBC] (LOCALE_PARAM): Include argument type.
21163         (__strptime_internal): Convert to prototype-style function
21164         definition.
21165         (strptime): Likewise.
21166         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21167         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21168         type.
21169         (__wcscasecmp): Convert to prototype-style function definition.
21170         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21171         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21172         type.
21173         (__wcsncasecmp): Convert to prototype-style function definition.
21175         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21176         function definition.
21177         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21178         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21179         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21180         * elf/dl-minimal.c (_itoa): Likewise.
21181         * hurd/hurdmalloc.c (malloc): Likewise.
21182         (free): Likewise.
21183         (realloc): Likewise.
21184         * inet/inet6_option.c (inet6_option_space): Likewise.
21185         (inet6_option_init): Likewise.
21186         (inet6_option_append): Likewise.
21187         (inet6_option_alloc): Likewise.
21188         (inet6_option_next): Likewise.
21189         (inet6_option_find): Likewise.
21190         * io/ftw.c (FTW_NAME): Likewise.
21191         (NFTW_NAME): Likewise.
21192         (NFTW_NEW_NAME): Likewise.
21193         (NFTW_OLD_NAME): Likewise.
21194         * libio/iofwide.c (_IO_fwide): Likewise.
21195         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21196         (_IO_str_init_static): Likewise.
21197         (_IO_str_init_readonly): Likewise.
21198         (_IO_str_overflow): Likewise.
21199         (_IO_str_underflow): Likewise.
21200         (_IO_str_count): Likewise.
21201         (_IO_str_seekoff): Likewise.
21202         (_IO_str_pbackfail): Likewise.
21203         (_IO_str_finish): Likewise.
21204         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21205         (_IO_wstr_overflow): Likewise.
21206         (_IO_wstr_underflow): Likewise.
21207         (_IO_wstr_count): Likewise.
21208         (_IO_wstr_seekoff): Likewise.
21209         (_IO_wstr_pbackfail): Likewise.
21210         (_IO_wstr_finish): Likewise.
21211         * locale/programs/localedef.c (normalize_codeset): Likewise.
21212         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21213         (add_locales_to_archive): Likewise.
21214         (delete_locales_from_archive): Likewise.
21215         * malloc/malloc.c (__libc_mallinfo): Likewise.
21216         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21217         * misc/tsearch.c (__tfind): Likewise.
21218         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21219         * nptl/pthread_attr_getdetachstate.c
21220         (__pthread_attr_getdetachstate): Likewise.
21221         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21222         Likewise.
21223         * nptl/pthread_attr_getinheritsched.c
21224         (__pthread_attr_getinheritsched): Likewise.
21225         * nptl/pthread_attr_getschedparam.c
21226         (__pthread_attr_getschedparam): Likewise.
21227         * nptl/pthread_attr_getschedpolicy.c
21228         (__pthread_attr_getschedpolicy): Likewise.
21229         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
21230         Likewise.
21231         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
21232         Likewise.
21233         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
21234         Likewise.
21235         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
21236         Likewise.
21237         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
21238         (__pthread_attr_init_2_0): Likewise.
21239         * nptl/pthread_attr_setdetachstate.c
21240         (__pthread_attr_setdetachstate): Likewise.
21241         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
21242         Likewise.
21243         * nptl/pthread_attr_setinheritsched.c
21244         (__pthread_attr_setinheritsched): Likewise.
21245         * nptl/pthread_attr_setschedparam.c
21246         (__pthread_attr_setschedparam): Likewise.
21247         * nptl/pthread_attr_setschedpolicy.c
21248         (__pthread_attr_setschedpolicy): Likewise.
21249         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
21250         Likewise.
21251         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
21252         Likewise.
21253         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
21254         Likewise.
21255         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
21256         Likewise.
21257         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
21258         Likewise.
21259         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
21260         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
21261         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
21262         use internal_function.
21263         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
21264         prototype-style function definition.
21265         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
21266         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
21267         internal_function.
21268         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
21269         Convert to prototype-style function definition.
21270         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
21271         Likewise.
21272         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
21273         Likewise.
21274         (__pthread_mutex_unlock): Likewise.
21275         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
21276         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
21277         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
21278         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
21279         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
21280         * nss/makedb.c (process_input): Likewise.
21281         * posix/fnmatch.c (__strchrnul): Likewise.
21282         (__wcschrnul): Likewise.
21283         (fnmatch): Likewise.
21284         * posix/fnmatch_loop.c (FCT): Likewise.
21285         * posix/glob.c (globfree): Likewise.
21286         (__glob_pattern_type): Likewise.
21287         (__glob_pattern_p): Likewise.
21288         * posix/regcomp.c (re_compile_pattern): Likewise.
21289         (re_set_syntax): Likewise.
21290         (re_compile_fastmap): Likewise.
21291         (regcomp): Likewise.
21292         (regerror): Likewise.
21293         (regfree): Likewise.
21294         * posix/regexec.c (regexec): Likewise.
21295         (re_match): Likewise.
21296         (re_search): Likewise.
21297         (re_match_2): Likewise.
21298         (re_search_2): Likewise.
21299         (re_search_stub): Likewise.  Use internal_function
21300         (re_copy_regs): Likewise.
21301         (re_set_registers): Convert to prototype-style function
21302         definition.
21303         (prune_impossible_nodes): Likewise.  Use internal_function.
21304         * resolv/inet_net_pton.c (inet_net_pton): Convert to
21305         prototype-style function definition.
21306         (inet_net_pton_ipv4): Likewise.
21307         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21308         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
21309         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
21310         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
21311         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21312         Make variadic.
21313         * time/strptime_l.c (localtime_r): Convert to prototype-style
21314         function definition.
21315         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
21316         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
21317         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
21318         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
21320         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
21321         definition.
21322         (_ufc_doit_r): Likewise.
21323         * crypt/crypt_util.c (_ufc_copymem): Likewise.
21324         (_ufc_output_conversion_r): Likewise.
21325         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
21326         * inet/rcmd.c (rcmd_af): Likewise.
21327         (rcmd): Likewise.
21328         (ruserok_af): Likewise.
21329         (ruserok): Likewise.
21330         (ruserok2_sa): Likewise.
21331         (ruserok_sa): Likewise.
21332         (iruserok_af): Likewise.
21333         (iruserok): Likewise.
21334         (__ivaliduser): Likewise.
21335         (__validuser2_sa): Likewise.
21336         * inet/rexec.c (rexec_af): Likewise.
21337         (rexec): Likewise.
21338         * inet/ruserpass.c (ruserpass): Likewise.
21339         * locale/programs/xmalloc.c (xcalloc): Likewise.
21340         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
21341         * math/w_drem.c (__drem): Likewise.
21342         * math/w_dremf.c (__dremf): Likewise.
21343         * math/w_dreml.c (__dreml): Likewise.
21344         * misc/daemon.c (daemon): Likewise.
21345         * resolv/res_debug.c (p_fqnname): Likewise.
21346         * stdlib/div.c (div): Likewise.
21347         * string/memcmp.c (memcmp_bytes): Likewise.
21348         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
21349         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
21351         * crypt/cert.c (main): Convert to prototype-style function
21352         definition.
21353         * io/pipe.c (__pipe): Likewise.
21354         * io/pipe2.c (__pipe2): Likewise.
21355         * misc/futimesat.c (futimesat): Likewise.
21356         * misc/utimes.c (__utimes): Likewise.
21357         * posix/execve.c (__execve): Likewise.
21358         * posix/execvp.c (execvp): Likewise.
21359         * posix/execvpe.c (__execvpe): Likewise.
21360         * posix/fexecve.c (fexecve): Likewise.
21361         * socket/socketpair.c (socketpair): Likewise.
21362         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21363         * stdlib/erand48.c (erand48): Likewise.
21364         * stdlib/erand48_r.c (__erand48_r): Likewise.
21365         * stdlib/jrand48.c (jrand48): Likewise.
21366         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
21367         * stdlib/lcong48.c (lcong48): Likewise.
21368         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
21369         * stdlib/nrand48.c (nrand48): Likewise.
21370         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
21371         * stdlib/seed48.c (seed48): Likewise.
21372         * stdlib/seed48_r.c (__seed48_r): Likewise.
21373         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
21374         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
21375         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
21377 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21379         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
21380         * configure: Regenerated.
21381         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
21382         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
21383         unconditional.
21384         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21385         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21386         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21387         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
21388         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
21389         unconditional.
21390         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
21392         * posix/Makefile (CFLAGS-regex.c): Remove variable.
21393         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
21395         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
21396         function definition.
21397         * crypt/crypt_util.c (__encrypt_r): Likewise.
21398         * libio/genops.c (_IO_no_init): Likewise.
21399         * libio/iofopncook.c (_IO_fopencookie): Likewise.
21400         (_IO_old_fopencookie): Likewise.
21401         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21402         * libio/iogetline.c (_IO_getline): Likewise.
21403         (_IO_getline_info): Likewise.
21404         * libio/iogetwline.c (_IO_getwline): Likewise.
21405         (_IO_getwline_info): Likewise.
21406         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
21407         * libio/vswprintf.c (_IO_vswprintf): Likewise.
21408         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
21409         (find_entry): Likewise.
21410         (iterate_table): Likewise.
21411         (lookup): Likewise.
21412         * login/forkpty.c (forkpty): Likewise.
21413         * misc/hsearch_r.c (__hsearch_r): Likewise.
21414         * misc/select.c (__select): Likewise.
21415         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
21416         Likewise.
21417         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
21418         Likewise.
21419         * nptl/old_pthread_cond_timedwait.c
21420         (__pthread_cond_timedwait_2_0): Likewise.
21421         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
21422         * nptl/pthread_barrierattr_getpshared.c
21423         (pthread_barrierattr_getpshared): Likewise.
21424         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
21425         Likewise.
21426         * nptl/pthread_mutex_setprioceiling.c
21427         (pthread_mutex_setprioceiling): Likewise.
21428         * nptl/pthread_mutexattr_getprioceiling.c
21429         (pthread_mutexattr_getprioceiling): Likewise.
21430         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
21431         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21432         Likewise.
21433         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
21434         Likewise.
21435         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
21436         Likewise.
21437         * socket/recvfrom.c (__recvfrom): Likewise.
21438         * socket/sendto.c (__sendto): Likewise.
21439         * socket/setsockopt.c (__setsockopt): Likewise.
21440         * stdio-common/_itoa.c (_itoa): Likewise.
21441         * stdio-common/_itowa.c (_itowa): Likewise.
21442         * stdio-common/reg-printf.c (__register_printf_specifier):
21443         Likewise.
21444         (__register_printf_function): Likewise.
21445         * stdio-common/tempname.c (__path_search): Likewise.
21446         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
21447         * stdlib/mul_1.c (mpn_mul_1): Likewise.
21448         * stdlib/random_r.c (__initstate_r): Likewise.
21449         * stdlib/setenv.c (__add_to_environ): Likewise.
21450         * stdlib/submul_1.c (mpn_submul_1): Likewise.
21451         * streams/getpmsg.c (getpmsg): Likewise.
21452         * streams/putmsg.c (putmsg): Likewise.
21453         * streams/putpmsg.c (putpmsg): Likewise.
21454         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
21455         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
21456         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
21457         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
21458         * sunrpc/pm_getport.c (pmap_getport): Likewise.
21459         * sunrpc/svc_udp.c (cache_get): Likewise.
21460         * sunrpc/xdr_array.c (xdr_vector): Likewise.
21461         * sysdeps/mach/hurd/getcwd.c
21462         (__canonicalize_directory_name_internal): Likewise.
21463         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
21464         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
21465         * sysdeps/mach/hurd/select.c (__select): Likewise.
21466         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
21467         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
21468         * sysdeps/sparc/nptl/pthread_barrier_init.c
21469         (__pthread_barrier_init): Likewise.
21470         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
21471         (__pthread_cond_timedwait): Likewise.
21472         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
21473         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
21474         Likewise.
21475         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
21476         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
21477         Likewise.
21478         * sysvipc/semtimedop.c (semtimedop): Likewise.
21479         * time/setitimer.c (__setitimer): Likewise.
21480         * time/strftime_l.c (emacs_strftime): Likewise.
21482 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21484         * config.make.in (have-ssp): Delete.
21485         (stack-protector): New variable.
21486         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
21487         cache test for -fstack-protector-strong.  Export stack_protector to
21488         the best ssp flag.
21489         * configure: Regenerated.
21490         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
21491         * nscd/Makefile (CFLAGS-nscd): Likewise.
21492         * resolv/Makefile (CFLAGS-libresolv): Likewise.
21494 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
21496         [BZ #19122]
21497         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
21498         attribute_hidden.
21500 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21502         [BZ #18743]
21503         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
21504         code to...
21505         (ELIDE_LOCK): ...here.
21506         (__get_new_count): New function with part of the code from
21507         __elide_lock that updates the value of adapt_count after a
21508         transaction abort.
21509         (__elided_trylock): Moved this code to...
21510         (ELIDE_TRYLOCK): ...here.
21512 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
21514         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
21515         * configure: Regenerate.
21516         * INSTALL: Regenerate.
21517         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
21518         and tweak grammar.
21520 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
21522         * login/programs/pt_chown.c: Include signal.h
21523         (main): Clear any signal mask from the parent process.
21525 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
21527         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
21528         * configure: Regenerated.
21529         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
21530         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
21531         $(gnu89-inline-CFLAGS).
21533         * configure.ac (libc_cv_asm_weak_directive): Remove configure
21534         test.
21535         (libc_cv_asm_weakext_directive): Likewise.
21536         * configure: Regenerated.
21537         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
21538         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
21539         * include/libc-symbols.h
21540         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
21541         #error.
21542         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
21543         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
21545         * sysdeps/arm/backtrace.c (__backtrace): Convert to
21546         prototype-style function definition.
21547         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21548         * sysdeps/i386/ffs.c (__ffs): Likewise.
21549         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21550         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
21551         Likewise.
21552         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21553         Likewise.
21554         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
21555         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21556         Likewise.
21557         * sysdeps/m68k/ffs.c (__ffs): Likewise.
21558         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
21559         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
21560         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
21561         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
21562         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
21563         * sysdeps/mach/hurd/access.c (__access): Likewise.
21564         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
21565         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
21566         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
21567         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
21568         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
21569         (cthread_getspecific): Likewise.
21570         (cthread_setspecific): Likewise.
21571         (__libc_getspecific): Likewise.
21572         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
21573         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
21574         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
21575         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
21576         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
21577         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
21578         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
21579         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
21580         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
21581         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
21582         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
21583         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
21584         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
21585         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
21586         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
21587         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
21588         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
21589         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
21590         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
21591         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
21592         * sysdeps/mach/hurd/link.c (__link): Likewise.
21593         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
21594         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
21595         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
21596         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
21597         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21598         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
21599         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
21600         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
21601         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
21602         * sysdeps/mach/hurd/rename.c (rename): Likewise.
21603         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
21604         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
21605         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
21606         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
21607         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
21608         * sysdeps/mach/hurd/send.c (__send): Likewise.
21609         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
21610         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
21611         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
21612         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
21613         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
21614         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
21615         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
21616         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
21617         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
21618         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
21619         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
21620         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
21621         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
21622         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
21623         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
21624         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
21625         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
21626         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
21627         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
21628         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
21629         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
21630         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
21631         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
21632         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
21633         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
21634         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
21635         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
21636         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
21637         * sysdeps/posix/alarm.c (alarm): Likewise.
21638         * sysdeps/posix/cuserid.c (cuserid): Likewise.
21639         * sysdeps/posix/dirfd.c (dirfd): Likewise.
21640         * sysdeps/posix/dup.c (__dup): Likewise.
21641         * sysdeps/posix/dup2.c (__dup2): Likewise.
21642         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
21643         (main): Likewise.
21644         * sysdeps/posix/flock.c (__flock): Likewise.
21645         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
21646         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
21647         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
21648         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
21649         * sysdeps/posix/isatty.c (__isatty): Likewise.
21650         * sysdeps/posix/killpg.c (killpg): Likewise.
21651         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
21652         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
21653         * sysdeps/posix/raise.c (raise): Likewise.
21654         * sysdeps/posix/remove.c (remove): Likewise.
21655         * sysdeps/posix/rename.c (rename): Likewise.
21656         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
21657         * sysdeps/posix/seekdir.c (seekdir): Likewise.
21658         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
21659         * sysdeps/posix/sigignore.c (sigignore): Likewise.
21660         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
21661         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
21662         * sysdeps/posix/sigset.c (sigset): Likewise.
21663         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
21664         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
21665         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
21666         * sysdeps/posix/time.c (time): Likewise.
21667         * sysdeps/posix/ttyname.c (getttyname): Likewise.
21668         (ttyname): Likewise.
21669         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
21670         * sysdeps/posix/utime.c (utime): Likewise.
21671         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
21672         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
21673         Likewise.
21674         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
21675         (pthread_spin_trylock): Likewise.
21676         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
21677         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
21678         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
21679         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
21680         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
21681         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
21682         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
21683         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
21684         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
21685         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
21686         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
21687         * sysdeps/s390/ffs.c (__ffs): Likewise.
21688         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
21689         Likewise.
21690         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
21691         Likewise.
21692         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
21693         Likewise.
21694         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
21695         (pthread_barrier_destroy): Likewise.
21696         * sysdeps/sparc/nptl/pthread_barrier_wait.c
21697         (__pthread_barrier_wait): Likewise.
21698         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
21699         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
21700         (__pthread_barrier_wait): Likewise.
21701         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
21702         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
21703         (memcmp_not_common_alignment): Likewise.
21704         (MEMCMP): Likewise.
21705         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
21706         (_wordcopy_fwd_dest_aligned): Likewise.
21707         (_wordcopy_bwd_aligned): Likewise.
21708         (_wordcopy_bwd_dest_aligned): Likewise.
21709         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
21710         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
21711         * sysdeps/unix/bsd/stty.c (stty): Likewise.
21712         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
21713         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
21714         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
21715         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
21716         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
21717         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
21718         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
21719         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
21720         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
21721         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
21722         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
21723         * sysdeps/unix/stime.c (stime): Likewise.
21724         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
21725         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
21726         Likewise.  Use internal_function.
21727         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
21728         Convert to prototype-style function definition.
21729         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21730         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21731         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
21732         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21733         Likewise.  Use internal_function.
21734         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
21735         prototype-style function definition
21736         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
21737         Likewise.
21738         (__getlogin_r): Likewise.
21739         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
21740         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
21741         (__pthread_cond_broadcast): Likewise.
21742         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
21743         (__pthread_cond_destroy): Likewise.
21744         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
21745         (__pthread_cond_init): Likewise.
21746         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
21747         (__pthread_cond_signal): Likewise.
21748         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
21749         (__pthread_cond_wait): Likewise.
21750         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
21751         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
21752         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
21753         Likewise.
21754         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
21755         Likewise.
21756         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
21757         Likewise.
21758         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
21759         Likewise.
21760         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
21761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
21762         (__ftruncate64): Likewise.
21763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
21764         (truncate64): Likewise.
21765         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
21766         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
21767         (pthread_getcpuclockid): Likewise.
21768         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
21769         Likewise.
21770         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
21771         Likewise.
21772         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
21773         Likewise.
21774         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
21775         Likewise.
21776         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
21777         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
21778         (__libc_sigaction): Likewise.
21779         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
21780         Likewise.
21781         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
21782         (__sigprocmask): Likewise.
21783         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
21784         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
21785         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
21786         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
21787         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21788         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
21789         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21790         Likewise.
21791         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
21792         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
21793         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21794         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
21795         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
21796         Likewise.
21797         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
21798         (__sigprocmask): Likewise.
21799         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
21800         (cfgetispeed): Likewise.
21801         (cfsetospeed): Likewise.
21802         (cfsetispeed): Likewise.
21803         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
21804         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
21805         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21806         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
21807         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
21808         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
21809         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
21810         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
21811         Likewise.
21812         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
21813         Likewise.
21814         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
21815         Likewise.
21816         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
21817         Likewise.
21818         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21820 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21822         sunrpc: Rewrite with explicit TLS access using __thread.
21823         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
21824         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
21825         directly.
21826         (__rpc_thread_variables): Access thread_rpc_vars directly.
21827         Eliminate redundant assignment of the tvp variable.
21829 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21831         malloc: Rewrite with explicit TLS access using __thread.
21832         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
21833         (tsd_setspecific, tsd_getspecific): Remove.
21834         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
21835         (tsd_setspecific, tsd_getspecific): Likewise.
21836         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
21837         (tsd_setspecific, tsd_getspecific): Likewise.
21838         * malloc/arena.c (thread_arena): New TLS variable.
21839         (arena_key): Remove variable.
21840         (arena_get): Use thread_arena.
21841         (arena_lookup): Remove macro.
21842         (malloc_atfork, free_atfork, ptmalloc_lock_all)
21843         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
21844         (_int_new_arena, get_free_list, reused_arena)
21845         (arena_thread_freeres): Use thread_arena.
21846         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
21847         tsd_getspecific, tsd_setspecific from safety annotations.
21848         (Allocating Cleared Space): Remove arena_lookup from safety
21849         annotations.
21851 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21853         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
21854         struct scratch_buffer instead of extend_alloca.
21856 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21858         * sysdeps/unix/sysv/linux/kernel-features.h
21859         (__ASSUME_SOCK_CLOEXEC): Remove.
21860         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
21861         (__have_paccept): Remove unused macro.
21862         * include/unistd.h (__have_sock_cloexec): Remove declaration.
21863         * misc/syslog.c (openlog_internal): Remove fallback code for
21864         !__ASSUME_SOCK_CLOEXEC.
21865         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
21866         missing SOCK_CLOEXEC.
21867         * nscd/connections.c (have_sock_cloexec): Remove definition.
21868         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21869         * nscd/nscd_helper.c (open_socket): Remove fallback code for
21870         !__ASSUME_SOCK_CLOEXEC.
21871         * resolv/res_send.c (__have_o_nonblock): Remove definition.
21872         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
21873         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
21874         definition.
21875         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
21876         code for !__ASSUME_SOCK_CLOEXEC.
21878 2015-10-17  Florian Weimer  <fweimer@redhat.com>
21880         [BZ #18982]
21881         * manual/stdio.texi (Variable Arguments Output): Add portability
21882         note, explaining that vfprintf clobbers the va_list pointer.
21884 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21886         * math/libm-test.inc (fabs_test_data): Add more tests.
21887         (fdim_test_data): Likewise.
21888         (fma_test_data): Likewise.
21889         (fmax_test_data): Likewise.
21890         (fmin_test_data): Likewise.
21891         (fmod_test_data): Likewise.
21893 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
21895         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
21896         data.
21898 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
21900         * math/libm-test.inc (ceil_test_data): Add more tests and more
21901         expectations for "inexact".
21902         (floor_test_data): Add more tests.
21903         (round_test_data): Likewise.
21904         (trunc_test_data): Likewise.
21906         * crypt/cert.c (good_bye): Convert to prototype-style function
21907         definition.
21908         (get8): Likewise.
21909         (put8): Likewise.
21910         * crypt/crypt-entry.c (crypt): Likewise.
21911         (__fcrypt): Likewise.
21912         * crypt/crypt_util.c (_ufc_prbits): Likewise.
21913         (_ufc_set_bits): Likewise.
21914         (_ufc_clearmem): Likewise.
21915         (__init_des_r): Likewise.
21916         (shuffle_sb): Likewise.
21917         (shuffle_sb): Likewise.
21918         (_ufc_setup_salt_r): Likewise.
21919         (_ufc_mk_keytab_r): Likewise.
21920         (_ufc_dofinalperm_r): Likewise.
21921         (encrypt): Likewise.
21922         (__setkey_r): Likewise.
21923         (setkey): Likewise.
21924         * crypt/md5.c (md5_init_ctx): Likewise.
21925         (md5_read_ctx): Likewise.
21926         (md5_finish_ctx): Likewise.
21927         (md5_stream): Likewise.
21928         (md5_buffer): Likewise.
21929         (md5_process_bytes): Likewise.
21930         * crypt/sha256.c (__sha256_init_ctx): Likewise.
21931         (__sha256_finish_ctx): Likewise.
21932         (__sha256_process_bytes): Likewise.
21933         * crypt/sha512.c (__sha512_init_ctx): Likewise.
21934         (__sha512_finish_ctx): Likewise.
21935         (__sha512_process_bytes): Likewise.
21936         * ctype/isctype.c (__isctype): Likewise.
21937         * debug/backtrace.c (__backtrace): Likewise.
21938         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
21939         * debug/fgets_chk.c (__fgets_chk): Likewise.
21940         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
21941         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
21942         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21943         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21944         * debug/memset_chk.c (__memset_chk): Likewise.
21945         * debug/strcat_chk.c (__strcat_chk): Likewise.
21946         * debug/strncat_chk.c (__strncat_chk): Likewise.
21947         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21948         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21949         * dirent/dirfd.c (dirfd): Likewise.
21950         * dirent/getdents.c (__getdirentries): Likewise.
21951         * dirent/getdents64.c (getdirentries64): Likewise.
21952         * dirent/rewinddir.c (__rewinddir): Likewise.
21953         * dirent/seekdir.c (seekdir): Likewise.
21954         * dirent/telldir.c (telldir): Likewise.
21955         * elf/sln.c (makesymlinks): Likewise.
21956         (makesymlink): Likewise.
21957         * gmon/gmon.c (__moncontrol): Likewise.
21958         (__monstartup): Likewise.
21959         (write_hist): Likewise.
21960         (write_call_graph): Likewise.
21961         (write_bb_counts): Likewise.
21962         * grp/setgroups.c (setgroups): Likewise.
21963         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21964         * inet/inet_net.c (inet_network): Likewise.
21965         * inet/inet_netof.c (inet_netof): Likewise.
21966         * inet/rcmd.c (rresvport_af): Likewise.
21967         (rresvport): Likewise.
21968         * io/access.c (__access): Likewise.
21969         * io/chdir.c (__chdir): Likewise.
21970         * io/chmod.c (__chmod): Likewise.
21971         * io/chown.c (__chown): Likewise.
21972         * io/close.c (__close): Likewise.
21973         * io/creat.c (creat): Likewise.
21974         * io/creat64.c (creat64): Likewise.
21975         * io/dup.c (__dup): Likewise.
21976         * io/dup2.c (__dup2): Likewise.
21977         * io/dup3.c (__dup3): Likewise.
21978         * io/euidaccess.c (__euidaccess): Likewise.
21979         * io/faccessat.c (faccessat): Likewise.
21980         * io/fchmod.c (__fchmod): Likewise.
21981         * io/fchmodat.c (fchmodat): Likewise.
21982         * io/fchown.c (__fchown): Likewise.
21983         * io/fchownat.c (fchownat): Likewise.
21984         * io/fcntl.c (__fcntl): Likewise.
21985         * io/flock.c (__flock): Likewise.
21986         * io/fts.c (fts_load): Likewise.
21987         (fts_close): Likewise.
21988         (fts_read): Likewise.
21989         (fts_set): Likewise.
21990         (fts_children): Likewise.
21991         (fts_build): Likewise.
21992         (fts_stat): Likewise.
21993         (fts_sort): Likewise.
21994         (fts_alloc): Likewise.
21995         (fts_lfree): Likewise.
21996         (fts_palloc): Likewise.
21997         (fts_padjust): Likewise.
21998         (fts_maxarglen): Likewise.
21999         (fts_safe_changedir): Likewise.
22000         * io/getwd.c (getwd): Likewise.
22001         * io/isatty.c (__isatty): Likewise.
22002         * io/lchown.c (__lchown): Likewise.
22003         * io/link.c (__link): Likewise.
22004         * io/linkat.c (linkat): Likewise.
22005         * io/lseek.c (__libc_lseek): Likewise.
22006         * io/mkdir.c (__mkdir): Likewise.
22007         * io/mkdirat.c (mkdirat): Likewise.
22008         * io/mkfifo.c (mkfifo): Likewise.
22009         * io/mkfifoat.c (mkfifoat): Likewise.
22010         * io/open.c (__libc_open): Likewise.
22011         * io/open64.c (__libc_open64): Likewise.
22012         * io/readlink.c (__readlink): Likewise.
22013         * io/readlinkat.c (readlinkat): Likewise.
22014         * io/rmdir.c (__rmdir): Likewise.
22015         * io/symlink.c (__symlink): Likewise.
22016         * io/symlinkat.c (symlinkat): Likewise.
22017         * io/ttyname.c (ttyname): Likewise.
22018         * io/ttyname_r.c (__ttyname_r): Likewise.
22019         * io/umask.c (__umask): Likewise.
22020         * io/unlink.c (__unlink): Likewise.
22021         * io/unlinkat.c (unlinkat): Likewise.
22022         * io/utime.c (utime): Likewise.
22023         * libio/clearerr.c (clearerr): Likewise.
22024         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22025         * libio/feof.c (_IO_feof): Likewise.
22026         * libio/feof_u.c (feof_unlocked): Likewise.
22027         * libio/ferror.c (_IO_ferror): Likewise.
22028         * libio/ferror_u.c (ferror_unlocked): Likewise.
22029         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22030         * libio/fileno.c (__fileno): Likewise.
22031         * libio/fputc.c (fputc): Likewise.
22032         * libio/fputc_u.c (fputc_unlocked): Likewise.
22033         * libio/fputwc.c (fputwc): Likewise.
22034         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22035         * libio/freopen.c (freopen): Likewise.
22036         * libio/freopen64.c (freopen64): Likewise.
22037         * libio/fseek.c (fseek): Likewise.
22038         * libio/fseeko.c (fseeko): Likewise.
22039         * libio/fseeko64.c (fseeko64): Likewise.
22040         * libio/ftello.c (__ftello): Likewise.
22041         * libio/ftello64.c (ftello64): Likewise.
22042         * libio/fwide.c (fwide): Likewise.
22043         * libio/genops.c (_IO_un_link): Likewise.
22044         (_IO_link_in): Likewise.
22045         (_IO_least_marker): Likewise.
22046         (_IO_switch_to_main_get_area): Likewise.
22047         (_IO_switch_to_backup_area): Likewise.
22048         (_IO_switch_to_get_mode): Likewise.
22049         (_IO_free_backup_area): Likewise.
22050         (_IO_switch_to_put_mode): Likewise.
22051         (__overflow): Likewise.
22052         (__underflow): Likewise.
22053         (__uflow): Likewise.
22054         (_IO_setb): Likewise.
22055         (_IO_doallocbuf): Likewise.
22056         (_IO_default_underflow): Likewise.
22057         (_IO_default_uflow): Likewise.
22058         (_IO_default_xsputn): Likewise.
22059         (_IO_sgetn): Likewise.
22060         (_IO_default_xsgetn): Likewise.
22061         (_IO_sync): Likewise.
22062         (_IO_default_setbuf): Likewise.
22063         (_IO_default_seekpos): Likewise.
22064         (_IO_default_doallocate): Likewise.
22065         (_IO_init): Likewise.
22066         (_IO_old_init): Likewise.
22067         (_IO_default_sync): Likewise.
22068         (_IO_default_finish): Likewise.
22069         (_IO_default_seekoff): Likewise.
22070         (_IO_sputbackc): Likewise.
22071         (_IO_sungetc): Likewise.
22072         (_IO_set_column): Likewise.
22073         (_IO_set_column): Likewise.
22074         (_IO_adjust_column): Likewise.
22075         (_IO_get_column): Likewise.
22076         (_IO_init_marker): Likewise.
22077         (_IO_remove_marker): Likewise.
22078         (_IO_marker_difference): Likewise.
22079         (_IO_marker_delta): Likewise.
22080         (_IO_seekmark): Likewise.
22081         (_IO_unsave_markers): Likewise.
22082         (_IO_nobackup_pbackfail): Likewise.
22083         (_IO_default_pbackfail): Likewise.
22084         (_IO_default_seek): Likewise.
22085         (_IO_default_stat): Likewise.
22086         (_IO_default_read): Likewise.
22087         (_IO_default_write): Likewise.
22088         (_IO_default_showmanyc): Likewise.
22089         (_IO_default_imbue): Likewise.
22090         (_IO_iter_next): Likewise.
22091         (_IO_iter_file): Likewise.
22092         * libio/getc.c (_IO_getc): Likewise.
22093         * libio/getwc.c (_IO_getwc): Likewise.
22094         * libio/iofclose.c (_IO_new_fclose): Likewise.
22095         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22096         * libio/iofflush.c (_IO_fflush): Likewise.
22097         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22098         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22099         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22100         * libio/iofgets.c (_IO_fgets): Likewise.
22101         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22102         * libio/iofgetws.c (fgetws): Likewise.
22103         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22104         * libio/iofopen64.c (_IO_fopen64): Likewise.
22105         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22106         (_IO_cookie_write): Likewise.
22107         (_IO_cookie_seek): Likewise.
22108         (_IO_cookie_close): Likewise.
22109         (_IO_cookie_seekoff): Likewise.
22110         (_IO_old_cookie_seek): Likewise.
22111         * libio/iofputs.c (_IO_fputs): Likewise.
22112         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22113         * libio/iofputws.c (fputws): Likewise.
22114         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22115         * libio/iofread.c (_IO_fread): Likewise.
22116         * libio/iofread_u.c (__fread_unlocked): Likewise.
22117         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22118         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22119         * libio/ioftell.c (_IO_ftell): Likewise.
22120         * libio/iofwrite.c (_IO_fwrite): Likewise.
22121         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22122         * libio/iogets.c (_IO_gets): Likewise.
22123         * libio/iopadn.c (_IO_padn): Likewise.
22124         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22125         (_IO_new_popen): Likewise.
22126         (_IO_new_proc_close): Likewise.
22127         * libio/ioputs.c (_IO_puts): Likewise.
22128         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22129         (_IO_seekoff): Likewise.
22130         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22131         (_IO_seekpos): Likewise.
22132         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22133         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22134         * libio/ioungetc.c (_IO_ungetc): Likewise.
22135         * libio/ioungetwc.c (ungetwc): Likewise.
22136         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22137         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22138         * libio/iowpadn.c (_IO_wpadn): Likewise.
22139         * libio/libc_fatal.c (__libc_fatal): Likewise.
22140         * libio/memstream.c (__open_memstream): Likewise.
22141         (_IO_mem_sync): Likewise.
22142         (_IO_mem_finish): Likewise.
22143         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22144         (_IO_old_file_close_it): Likewise.
22145         (_IO_old_file_finish): Likewise.
22146         (_IO_old_file_fopen): Likewise.
22147         (_IO_old_file_attach): Likewise.
22148         (_IO_old_file_setbuf): Likewise.
22149         (_IO_old_do_write): Likewise.
22150         (old_do_write): Likewise.
22151         (_IO_old_file_underflow): Likewise.
22152         (_IO_old_file_overflow): Likewise.
22153         (_IO_old_file_sync): Likewise.
22154         (_IO_old_file_seekoff): Likewise.
22155         (_IO_old_file_write): Likewise.
22156         (_IO_old_file_xsputn): Likewise.
22157         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22158         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22159         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22160         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22161         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22162         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22163         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22164         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22165         (_IO_old_popen): Likewise.
22166         (_IO_old_proc_close): Likewise.
22167         * libio/oldpclose.c (__old_pclose): Likewise.
22168         * libio/pclose.c (__new_pclose): Likewise.
22169         * libio/peekc.c (_IO_peekc_locked): Likewise.
22170         * libio/putc.c (_IO_putc): Likewise.
22171         * libio/putc_u.c (putc_unlocked): Likewise.
22172         * libio/putchar.c (putchar): Likewise.
22173         * libio/putchar_u.c (putchar_unlocked): Likewise.
22174         * libio/putwc.c (putwc): Likewise.
22175         * libio/putwc_u.c (putwc_unlocked): Likewise.
22176         * libio/putwchar.c (putwchar): Likewise.
22177         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22178         * libio/rewind.c (rewind): Likewise.
22179         * libio/setbuf.c (setbuf): Likewise.
22180         * libio/setlinebuf.c (setlinebuf): Likewise.
22181         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22182         * libio/vscanf.c (_IO_vscanf): Likewise.
22183         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22184         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22185         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22186         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22187         (_IO_switch_to_main_wget_area): Likewise.
22188         (_IO_switch_to_wbackup_area): Likewise.
22189         (_IO_wsetb): Likewise.
22190         (_IO_wdefault_pbackfail): Likewise.
22191         (_IO_wdefault_finish): Likewise.
22192         (_IO_wdefault_uflow): Likewise.
22193         (__woverflow): Likewise.
22194         (__wuflow): Likewise.
22195         (__wunderflow): Likewise.
22196         (_IO_wdefault_xsputn): Likewise.
22197         (_IO_wdefault_xsgetn): Likewise.
22198         (_IO_wdoallocbuf): Likewise.
22199         (_IO_wdefault_doallocate): Likewise.
22200         (_IO_switch_to_wget_mode): Likewise.
22201         (_IO_free_wbackup_area): Likewise.
22202         (_IO_switch_to_wput_mode): Likewise.
22203         (_IO_sputbackwc): Likewise.
22204         (_IO_sungetwc): Likewise.
22205         (_IO_adjust_wcolumn): Likewise.
22206         (_IO_init_wmarker): Likewise.
22207         (_IO_wmarker_delta): Likewise.
22208         (_IO_seekwmark): Likewise.
22209         (_IO_unsave_wmarkers): Likewise.
22210         * libio/wmemstream.c (open_wmemstream): Likewise.
22211         (_IO_wmem_sync): Likewise.
22212         (_IO_wmem_finish): Likewise.
22213         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22214         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22215         * locale/programs/simple-hash.c (init_hash): Likewise.
22216         (delete_hash): Likewise.
22217         (insert_entry): Likewise.
22218         (set_entry): Likewise.
22219         (next_prime): Likewise.
22220         (is_prime): Likewise.
22221         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22222         (xmalloc): Likewise.
22223         (xrealloc): Likewise.
22224         * locale/programs/xstrdup.c (xstrdup): Likewise.
22225         * localedata/collate-test.c (xstrcoll): Likewise.
22226         * localedata/xfrm-test.c (xstrcmp): Likewise.
22227         * login/getlogin_r.c (__getlogin_r): Likewise.
22228         * login/getpt.c (__posix_openpt): Likewise.
22229         * login/login_tty.c (login_tty): Likewise.
22230         * login/setlogin.c (setlogin): Likewise.
22231         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
22232         (mach_msg_destroy_port): Likewise.
22233         (mach_msg_destroy_memory): Likewise.
22234         * malloc/mcheck.c (flood): Likewise.
22235         * misc/acct.c (acct): Likewise.
22236         * misc/brk.c (__brk): Likewise.
22237         * misc/chflags.c (chflags): Likewise.
22238         * misc/chroot.c (chroot): Likewise.
22239         * misc/fchflags.c (fchflags): Likewise.
22240         * misc/fstab.c (getfsspec): Likewise.
22241         (getfsfile): Likewise.
22242         * misc/fsync.c (fsync): Likewise.
22243         * misc/ftruncate.c (__ftruncate): Likewise.
22244         * misc/ftruncate64.c (__ftruncate64): Likewise.
22245         * misc/getdomain.c (getdomainname): Likewise.
22246         (getdomainname): Likewise.
22247         * misc/gethostname.c (__gethostname): Likewise.
22248         * misc/getpass.c (getpass): Likewise.
22249         * misc/getttyent.c (skip): Likewise.
22250         (value): Likewise.
22251         * misc/gtty.c (gtty): Likewise.
22252         * misc/hsearch.c (hsearch): Likewise.
22253         (hcreate): Likewise.
22254         * misc/hsearch_r.c (__hcreate_r): Likewise.
22255         (__hdestroy_r): Likewise.
22256         * misc/ioctl.c (__ioctl): Likewise.
22257         * misc/mkdtemp.c (mkdtemp): Likewise.
22258         * misc/mkostemp.c (mkostemp): Likewise.
22259         * misc/mkostemp64.c (mkostemp64): Likewise.
22260         * misc/mkostemps.c (mkostemps): Likewise.
22261         * misc/mkostemps64.c (mkostemps64): Likewise.
22262         * misc/mkstemp.c (mkstemp): Likewise.
22263         * misc/mkstemp64.c (mkstemp64): Likewise.
22264         * misc/mkstemps.c (mkstemps): Likewise.
22265         * misc/mkstemps64.c (mkstemps64): Likewise.
22266         * misc/mktemp.c (__mktemp): Likewise.
22267         * misc/preadv.c (preadv): Likewise.
22268         * misc/preadv64.c (preadv64): Likewise.
22269         * misc/pwritev.c (pwritev): Likewise.
22270         * misc/pwritev64.c (pwritev64): Likewise.
22271         * misc/readv.c (__readv): Likewise.
22272         * misc/revoke.c (revoke): Likewise.
22273         * misc/setdomain.c (setdomainname): Likewise.
22274         * misc/setegid.c (setegid): Likewise.
22275         * misc/seteuid.c (seteuid): Likewise.
22276         * misc/sethostid.c (sethostid): Likewise.
22277         * misc/sethostname.c (sethostname): Likewise.
22278         * misc/setregid.c (__setregid): Likewise.
22279         * misc/setreuid.c (__setreuid): Likewise.
22280         * misc/sstk.c (sstk): Likewise.
22281         * misc/stty.c (stty): Likewise.
22282         * misc/syscall.c (syscall): Likewise.
22283         * misc/syslog.c (setlogmask): Likewise.
22284         * misc/truncate.c (__truncate): Likewise.
22285         * misc/truncate64.c (truncate64): Likewise.
22286         * misc/ualarm.c (ualarm): Likewise.
22287         * misc/usleep.c (usleep): Likewise.
22288         * misc/ustat.c (ustat): Likewise.
22289         * misc/writev.c (__writev): Likewise.
22290         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
22291         * nptl/old_pthread_cond_broadcast.c
22292         (__pthread_cond_broadcast_2_0): Likewise.
22293         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
22294         Likewise.
22295         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
22296         Likewise.
22297         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
22298         Likewise.
22299         * nptl/pt-raise.c (raise): Likewise.
22300         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
22301         Likewise.
22302         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
22303         * nptl/pthread_barrierattr_destroy.c
22304         (pthread_barrierattr_destroy): Likewise.
22305         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
22306         Likewise.
22307         * nptl/pthread_barrierattr_setpshared.c
22308         (pthread_barrierattr_setpshared): Likewise.
22309         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22310         Likewise.
22311         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
22312         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
22313         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
22314         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
22315         Likewise.
22316         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
22317         Likewise.
22318         * nptl/pthread_condattr_getpshared.c
22319         (pthread_condattr_getpshared): Likewise.
22320         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
22321         Likewise.
22322         * nptl/pthread_condattr_setpshared.c
22323         (pthread_condattr_setpshared): Likewise.
22324         * nptl/pthread_detach.c (pthread_detach): Likewise.
22325         * nptl/pthread_equal.c (__pthread_equal): Likewise.
22326         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
22327         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
22328         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
22329         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
22330         Likewise.
22331         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
22332         Likewise.
22333         * nptl/pthread_mutex_getprioceiling.c
22334         (pthread_mutex_getprioceiling): Likewise.
22335         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
22336         Likewise.
22337         * nptl/pthread_mutexattr_getprotocol.c
22338         (pthread_mutexattr_getprotocol): Likewise.
22339         * nptl/pthread_mutexattr_getpshared.c
22340         (pthread_mutexattr_getpshared): Likewise.
22341         * nptl/pthread_mutexattr_getrobust.c
22342         (pthread_mutexattr_getrobust): Likewise.
22343         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22344         Likewise.
22345         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
22346         Likewise.
22347         * nptl/pthread_mutexattr_setprioceiling.c
22348         (pthread_mutexattr_setprioceiling): Likewise.
22349         * nptl/pthread_mutexattr_setprotocol.c
22350         (pthread_mutexattr_setprotocol): Likewise.
22351         * nptl/pthread_mutexattr_setpshared.c
22352         (pthread_mutexattr_setpshared): Likewise.
22353         * nptl/pthread_mutexattr_setrobust.c
22354         (pthread_mutexattr_setrobust): Likewise.
22355         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
22356         Likewise.
22357         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
22358         Likewise.
22359         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
22360         Likewise.
22361         * nptl/pthread_rwlockattr_getkind_np.c
22362         (pthread_rwlockattr_getkind_np): Likewise.
22363         * nptl/pthread_rwlockattr_getpshared.c
22364         (pthread_rwlockattr_getpshared): Likewise.
22365         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
22366         Likewise.
22367         * nptl/pthread_rwlockattr_setkind_np.c
22368         (pthread_rwlockattr_setkind_np): Likewise.
22369         * nptl/pthread_rwlockattr_setpshared.c
22370         (pthread_rwlockattr_setpshared): Likewise.
22371         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
22372         Likewise.
22373         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
22374         Likewise.
22375         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
22376         Likewise.
22377         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
22378         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
22379         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
22380         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
22381         * nptl/sem_close.c (sem_close): Likewise.
22382         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
22383         * nptl/sem_init.c (__old_sem_init): Likewise.
22384         * nptl/sigaction.c (__sigaction): Likewise.
22385         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
22386         * posix/_exit.c (_exit): Likewise.
22387         * posix/alarm.c (alarm): Likewise.
22388         * posix/confstr.c (confstr): Likewise.
22389         * posix/fpathconf.c (__fpathconf): Likewise.
22390         * posix/getgroups.c (__getgroups): Likewise.
22391         * posix/getpgid.c (__getpgid): Likewise.
22392         * posix/group_member.c (__group_member): Likewise.
22393         * posix/pathconf.c (__pathconf): Likewise.
22394         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
22395         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
22396         * posix/setgid.c (__setgid): Likewise.
22397         * posix/setpgid.c (__setpgid): Likewise.
22398         * posix/setuid.c (__setuid): Likewise.
22399         * posix/sleep.c (__sleep): Likewise.
22400         * posix/sysconf.c (__sysconf): Likewise.
22401         * posix/times.c (__times): Likewise.
22402         * posix/uname.c (__uname): Likewise.
22403         * posix/waitid.c (__waitid): Likewise.
22404         * pwd/getpw.c (__getpw): Likewise.
22405         * resolv/base64.c (b64_pton): Likewise.
22406         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
22407         * resolv/gethnamaddr.c (Dprintf): Likewise.
22408         (gethostbyname): Likewise.
22409         (gethostbyname2): Likewise.
22410         (gethostbyaddr): Likewise.
22411         (_sethtent): Likewise.
22412         (_gethtbyname): Likewise.
22413         (_gethtbyname2): Likewise.
22414         (_gethtbyaddr): Likewise.
22415         (map_v4v6_address): Likewise.
22416         (map_v4v6_hostent): Likewise.
22417         (addrsort): Likewise.
22418         (ht_sethostent): Likewise.
22419         (ht_gethostbyname): Likewise.
22420         (ht_gethostbyaddr): Likewise.
22421         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
22422         (inet_net_ntop_ipv4): Likewise.
22423         * resolv/inet_neta.c (inet_neta): Likewise.
22424         * resolv/inet_ntop.c (inet_ntop): Likewise.
22425         (inet_ntop4): Likewise.
22426         (inet_ntop6): Likewise.
22427         * resolv/inet_pton.c (__inet_pton): Likewise.
22428         (inet_pton4): Likewise.
22429         (inet_pton6): Likewise.
22430         * resolv/res_debug.c (loc_aton): Likewise.
22431         (loc_ntoa): Likewise.
22432         * resource/getpriority.c (__getpriority): Likewise.
22433         * resource/getrusage.c (__getrusage): Likewise.
22434         * resource/nice.c (nice): Likewise.
22435         * resource/setpriority.c (__setpriority): Likewise.
22436         * resource/setrlimit64.c (setrlimit64): Likewise.
22437         * resource/vlimit.c (vlimit): Likewise.
22438         * resource/vtimes.c (vtimes): Likewise.
22439         * rt/aio_error.c (aio_error): Likewise.
22440         * rt/aio_return.c (aio_return): Likewise.
22441         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
22442         * signal/kill.c (__kill): Likewise.
22443         * signal/killpg.c (killpg): Likewise.
22444         * signal/raise.c (raise): Likewise.
22445         * signal/sigaction.c (__sigaction): Likewise.
22446         * signal/sigaddset.c (sigaddset): Likewise.
22447         * signal/sigaltstack.c (sigaltstack): Likewise.
22448         * signal/sigandset.c (sigandset): Likewise.
22449         * signal/sigblock.c (__sigblock): Likewise.
22450         * signal/sigdelset.c (sigdelset): Likewise.
22451         * signal/sigempty.c (sigemptyset): Likewise.
22452         * signal/sigfillset.c (sigfillset): Likewise.
22453         * signal/sighold.c (sighold): Likewise.
22454         * signal/sigignore.c (sigignore): Likewise.
22455         * signal/sigintr.c (siginterrupt): Likewise.
22456         * signal/sigisempty.c (sigisemptyset): Likewise.
22457         * signal/sigismem.c (sigismember): Likewise.
22458         * signal/signal.c (signal): Likewise.
22459         * signal/sigorset.c (sigorset): Likewise.
22460         * signal/sigpause.c (__sigpause): Likewise.
22461         * signal/sigpending.c (sigpending): Likewise.
22462         * signal/sigprocmask.c (__sigprocmask): Likewise.
22463         * signal/sigrelse.c (sigrelse): Likewise.
22464         * signal/sigreturn.c (__sigreturn): Likewise.
22465         * signal/sigset.c (sigset): Likewise.
22466         * signal/sigsetmask.c (__sigsetmask): Likewise.
22467         * signal/sigstack.c (sigstack): Likewise.
22468         * signal/sigsuspend.c (__sigsuspend): Likewise.
22469         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
22470         * signal/sysv_signal.c (__sysv_signal): Likewise.
22471         * socket/accept.c (accept): Likewise.
22472         * socket/accept4.c (__libc_accept4): Likewise.
22473         * socket/bind.c (__bind): Likewise.
22474         * socket/connect.c (__connect): Likewise.
22475         * socket/getpeername.c (getpeername): Likewise.
22476         * socket/getsockname.c (__getsockname): Likewise.
22477         * socket/getsockopt.c (getsockopt): Likewise.
22478         * socket/listen.c (__listen): Likewise.
22479         * socket/recv.c (__recv): Likewise.
22480         * socket/recvmsg.c (__recvmsg): Likewise.
22481         * socket/send.c (__send): Likewise.
22482         * socket/sendmsg.c (__sendmsg): Likewise.
22483         * socket/shutdown.c (shutdown): Likewise.
22484         * socket/sockatmark.c (sockatmark): Likewise.
22485         * socket/socket.c (__socket): Likewise.
22486         * stdio-common/ctermid.c (ctermid): Likewise.
22487         * stdio-common/cuserid.c (cuserid): Likewise.
22488         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
22489         * stdio-common/remove.c (remove): Likewise.
22490         * stdio-common/rename.c (rename): Likewise.
22491         * stdio-common/renameat.c (renameat): Likewise.
22492         * stdio-common/tempname.c (__gen_tempname): Likewise.
22493         * stdio-common/xbug.c (InitBuffer): Likewise.
22494         (AppendToBuffer): Likewise.
22495         (ReadFile): Likewise.
22496         * stdlib/a64l.c (a64l): Likewise.
22497         * stdlib/drand48_r.c (drand48_r): Likewise.
22498         * stdlib/getcontext.c (getcontext): Likewise.
22499         * stdlib/getenv.c (getenv): Likewise.
22500         * stdlib/l64a.c (l64a): Likewise.
22501         * stdlib/llabs.c (llabs): Likewise.
22502         * stdlib/lldiv.c (lldiv): Likewise.
22503         * stdlib/lrand48_r.c (lrand48_r): Likewise.
22504         * stdlib/mrand48_r.c (mrand48_r): Likewise.
22505         * stdlib/putenv.c (putenv): Likewise.
22506         * stdlib/random.c (__srandom): Likewise.
22507         (__initstate): Likewise.
22508         (__setstate): Likewise.
22509         * stdlib/random_r.c (__srandom_r): Likewise.
22510         (__setstate_r): Likewise.
22511         (__random_r): Likewise.
22512         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
22513         * stdlib/setcontext.c (setcontext): Likewise.
22514         * stdlib/setenv.c (setenv): Likewise.
22515         (unsetenv): Likewise.
22516         * stdlib/srand48.c (srand48): Likewise.
22517         * stdlib/srand48_r.c (__srand48_r): Likewise.
22518         * stdlib/swapcontext.c (swapcontext): Likewise.
22519         * stdlib/system.c (__libc_system): Likewise.
22520         * stdlib/tst-strtod.c (expand): Likewise.
22521         * stdlib/tst-strtol.c (expand): Likewise.
22522         * stdlib/tst-strtoll.c (expand): Likewise.
22523         * streams/fattach.c (fattach): Likewise.
22524         * streams/fdetach.c (fdetach): Likewise.
22525         * streams/getmsg.c (getmsg): Likewise.
22526         * streams/isastream.c (isastream): Likewise.
22527         * string/ffs.c (__ffs): Likewise.
22528         * string/ffsll.c (ffsll): Likewise.
22529         * string/memcmp.c (memcmp_common_alignment): Likewise.
22530         (memcmp_not_common_alignment): Likewise.
22531         (MEMCMP): Likewise.
22532         * string/memcpy.c (memcpy): Likewise.
22533         * string/memmove.c (MEMMOVE): Likewise.
22534         * string/memset.c (memset): Likewise.
22535         * string/rawmemchr.c (RAWMEMCHR): Likewise.
22536         * string/strchrnul.c (STRCHRNUL): Likewise.
22537         * string/strerror.c (strerror): Likewise.
22538         * string/strndup.c (__strndup): Likewise.
22539         * string/strverscmp.c (__strverscmp): Likewise.
22540         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
22541         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
22542         (clnttcp_freeres): Likewise.
22543         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
22544         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
22545         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
22546         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
22547         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
22548         (xdr_callhdr): Likewise.
22549         * sunrpc/rpcinfo.c (udpping): Likewise.
22550         (tcpping): Likewise.
22551         (pstatus): Likewise.
22552         (pmapdump): Likewise.
22553         (brdcst): Likewise.
22554         (deletereg): Likewise.
22555         (getprognum): Likewise.
22556         (getvers): Likewise.
22557         (get_inet_address): Likewise.
22558         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
22559         * sunrpc/svc_udp.c (svcudp_create): Likewise.
22560         (svcudp_stat): Likewise.
22561         (svcudp_recv): Likewise.
22562         (svcudp_reply): Likewise.
22563         (svcudp_getargs): Likewise.
22564         (svcudp_freeargs): Likewise.
22565         (svcudp_destroy): Likewise.
22566         * sunrpc/xdr.c (xdr_bytes): Likewise.
22567         (xdr_netobj): Likewise.
22568         (xdr_string): Likewise.
22569         (xdr_wrapstring): Likewise.
22570         * sunrpc/xdr_float.c (xdr_float): Likewise.
22571         (xdr_double): Likewise.
22572         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
22573         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
22574         * sysvipc/ftok.c (ftok): Likewise.
22575         * sysvipc/msgctl.c (msgctl): Likewise.
22576         * sysvipc/msgget.c (msgget): Likewise.
22577         * sysvipc/msgrcv.c (msgrcv): Likewise.
22578         * sysvipc/msgsnd.c (msgsnd): Likewise.
22579         * sysvipc/semget.c (semget): Likewise.
22580         * sysvipc/semop.c (semop): Likewise.
22581         * sysvipc/shmat.c (shmat): Likewise.
22582         * sysvipc/shmctl.c (shmctl): Likewise.
22583         * sysvipc/shmdt.c (shmdt): Likewise.
22584         * sysvipc/shmget.c (shmget): Likewise.
22585         * termios/cfmakeraw.c (cfmakeraw): Likewise.
22586         * termios/speed.c (cfgetospeed): Likewise.
22587         (cfgetispeed): Likewise.
22588         (cfsetospeed): Likewise.
22589         (cfsetispeed): Likewise.
22590         * termios/tcflow.c (tcflow): Likewise.
22591         * termios/tcflush.c (tcflush): Likewise.
22592         * termios/tcgetattr.c (__tcgetattr): Likewise.
22593         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
22594         * termios/tcgetsid.c (tcgetsid): Likewise.
22595         * termios/tcsendbrk.c (tcsendbreak): Likewise.
22596         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
22597         * time/adjtime.c (__adjtime): Likewise.
22598         * time/dysize.c (dysize): Likewise.
22599         * time/ftime.c (ftime): Likewise.
22600         * time/getitimer.c (__getitimer): Likewise.
22601         * time/gettimeofday.c (__gettimeofday): Likewise.
22602         * time/gmtime.c (__gmtime_r): Likewise.
22603         (gmtime): Likewise.
22604         * time/localtime.c (__localtime_r): Likewise.
22605         (localtime): Likewise.
22606         * time/offtime.c (__offtime): Likewise.
22607         * time/settimeofday.c (__settimeofday): Likewise.
22608         * time/stime.c (stime): Likewise.
22609         * time/strftime_l.c (tm_diff): Likewise.
22610         (iso_week_days): Likewise.
22611         * time/strptime.c (strptime): Likewise.
22612         * time/time.c (time): Likewise.
22613         * time/timespec_get.c (timespec_get): Likewise.
22614         * time/tzset.c (tzset_internal): Likewise.
22615         (compute_change): Likewise.
22616         (__tz_compute): Likewise.
22617         * wcsmbs/btowc.c (__btowc): Likewise.
22618         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
22619         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
22620         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
22621         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
22622         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
22623         * wcsmbs/wcscat.c (__wcscat): Likewise.
22624         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22625         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
22626         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
22627         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22628         * wcsmbs/wcsdup.c (wcsdup): Likewise.
22629         * wcsmbs/wcslen.c (__wcslen): Likewise.
22630         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
22631         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
22632         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
22633         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
22634         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22635         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
22636         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22637         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22638         * wcsmbs/wcstok.c (wcstok): Likewise.
22639         * wcsmbs/wctob.c (wctob): Likewise.
22640         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
22641         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22642         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
22643         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
22644         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
22645         * wcsmbs/wmemset.c (__wmemset): Likewise.
22646         * wctype/wcfuncs.c (__towlower): Likewise.
22647         (__towupper): Likewise.
22649         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
22650         (lll_unlock_elision): Add adapt_count parameter.
22652 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22654         * sysdeps/nptl/configure.ac: Do not give errors based on the
22655         results of top-level configure tests.
22656         * sysdeps/nptl/configure: Regenerated.
22658         * configure.ac (libc_cv_Bgroup): Remove configure test.
22659         * configure: Regenerated.
22660         * config.make.in (have-Bgroup): Remove variable.
22662         * configure.ac (sizeof_long_double): Remove configure test.
22663         * configure: Regenerated.
22664         * config.make.in (sizeof-long-double): Remove variable.
22666         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
22667         * configure: Regenerated.
22668         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
22669         variable.
22670         (exceptions): Likewise.
22671         * sysdeps/arm/configure: Regenerated.
22672         * config.make.in (exceptions): Remove variable.
22673         * Makeconfig (uses-callbacks): Use -fexceptions instead of
22674         $(exceptions).
22675         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
22676         (CFLAGS-vdprintf_chk.c): Likewise.
22677         (CFLAGS-printf_chk.c): Likewise.
22678         (CFLAGS-fprintf_chk.c): Likewise.
22679         (CFLAGS-vprintf_chk.c): Likewise.
22680         (CFLAGS-vfprintf_chk.c): Likewise.
22681         (CFLAGS-gets_chk.c): Likewise.
22682         (CFLAGS-fgets_chk.c): Likewise.
22683         (CFLAGS-fgets_u_chk.c): Likewise.
22684         (CFLAGS-fread_chk.c): Likewise.
22685         (CFLAGS-fread_u_chk.c): Likewise.
22686         (CFLAGS-wprintf_chk.c): Likewise.
22687         (CFLAGS-fwprintf_chk.c): Likewise.
22688         (CFLAGS-vwprintf_chk.c): Likewise.
22689         (CFLAGS-vfwprintf_chk.c): Likewise.
22690         (CFLAGS-fgetws_chk.c): Likewise.
22691         (CFLAGS-fgetws_u_chk.c): Likewise.
22692         * libio/Makefile (CFLAGS-fileops.c): Likewise.
22693         (CFLAGS-fputc.c): Likewise.
22694         (CFLAGS-fputwc.c): Likewise.
22695         (CFLAGS-freopen64.c): Likewise.
22696         (CFLAGS-freopen.c): Likewise.
22697         (CFLAGS-fseek.c): Likewise.
22698         (CFLAGS-fseeko64.c): Likewise.
22699         (CFLAGS-fseeko.c): Likewise.
22700         (CFLAGS-ftello64.c): Likewise.
22701         (CFLAGS-ftello.c): Likewise.
22702         (CFLAGS-fwide.c): Likewise.
22703         (CFLAGS-genops.c): Likewise.
22704         (CFLAGS-getc.c): Likewise.
22705         (CFLAGS-getchar.c): Likewise.
22706         (CFLAGS-getwc.c): Likewise.
22707         (CFLAGS-getwchar.c): Likewise.
22708         (CFLAGS-iofclose.c): Likewise.
22709         (CFLAGS-iofflush.c): Likewise.
22710         (CFLAGS-iofgetpos64.c): Likewise.
22711         (CFLAGS-iofgetpos.c): Likewise.
22712         (CFLAGS-iofgets.c): Likewise.
22713         (CFLAGS-iofgetws.c): Likewise.
22714         (CFLAGS-iofputs.c): Likewise.
22715         (CFLAGS-iofputws.c): Likewise.
22716         (CFLAGS-iofread.c): Likewise.
22717         (CFLAGS-iofsetpos64.c): Likewise.
22718         (CFLAGS-iofsetpos.c): Likewise.
22719         (CFLAGS-ioftell.c): Likewise.
22720         (CFLAGS-iofwrite.c): Likewise.
22721         (CFLAGS-iogetdelim.c): Likewise.
22722         (CFLAGS-iogetline.c): Likewise.
22723         (CFLAGS-iogets.c): Likewise.
22724         (CFLAGS-iogetwline.c): Likewise.
22725         (CFLAGS-ioputs.c): Likewise.
22726         (CFLAGS-ioseekoff.c): Likewise.
22727         (CFLAGS-ioseekpos.c): Likewise.
22728         (CFLAGS-iosetbuffer.c): Likewise.
22729         (CFLAGS-iosetvbuf.c): Likewise.
22730         (CFLAGS-ioungetc.c): Likewise.
22731         (CFLAGS-ioungetwc.c): Likewise.
22732         (CFLAGS-oldfileops.c): Likewise.
22733         (CFLAGS-oldiofclose.c): Likewise.
22734         (CFLAGS-oldiofgetpos64.c): Likewise.
22735         (CFLAGS-oldiofgetpos.c): Likewise.
22736         (CFLAGS-oldiofsetpos64.c): Likewise.
22737         (CFLAGS-oldiofsetpos.c): Likewise.
22738         (CFLAGS-peekc.c): Likewise.
22739         (CFLAGS-putc.c): Likewise.
22740         (CFLAGS-putchar.c): Likewise.
22741         (CFLAGS-putwc.c): Likewise.
22742         (CFLAGS-putwchar.c): Likewise.
22743         (CFLAGS-rewind.c): Likewise.
22744         (CFLAGS-wfileops.c): Likewise.
22745         (CFLAGS-wgenops.c): Likewise.
22746         (CFLAGS-oldiofopen.c): Likewise.
22747         (CFLAGS-iofopen.c): Likewise.
22748         (CFLAGS-iofopen64.c): Likewise.
22749         (CFLAGS-oldtmpfile.c): Likewise.
22750         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
22751         (CFLAGS-fprintf.c): Likewise.
22752         (CFLAGS-printf.c): Likewise.
22753         (CFLAGS-vfwprintf.c): Likewise.
22754         (CFLAGS-vfscanf.c): Likewise.
22755         (CFLAGS-vfwscanf.c): Likewise.
22756         (CFLAGS-fscanf.c): Likewise.
22757         (CFLAGS-scanf.c): Likewise.
22758         (CFLAGS-isoc99_vfscanf.c): Likewise.
22759         (CFLAGS-isoc99_vscanf.c): Likewise.
22760         (CFLAGS-isoc99_fscanf.c): Likewise.
22761         (CFLAGS-isoc99_scanf.c): Likewise.
22762         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
22763         (CFLAGS-isoc99_fwscanf.c): Likewise.
22764         (CFLAGS-isoc99_vwscanf.c): Likewise.
22765         (CFLAGS-isoc99_vfwscanf.c): Likewise.
22767         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
22768         after mkstemp64.
22769         * login/tst-utmp.c (do_prepare): Likewise.
22770         * rt/tst-aio.c (do_prepare): Likewise.
22771         * rt/tst-aio64.c (do_prepare): Likewise.
22773 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22775         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
22776         (__lll_lock_elision): Remove adapt_count decrement...
22777         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
22778         (__lll_trylock_elision): Likewise.
22779         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
22780         (__lll_unlock_elision): ... to here. And utilize
22781         new adapt_count parameter.
22782         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22783         (__lll_unlock_elision): Update to include adapt_count
22784         parameter.
22785         (lll_unlock_elision): Pass pointer to adapt_count
22786         variable.
22788 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22790         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
22791         Add elision adapt_count parameter to list of arguments.
22792         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
22793         (lll_unlock_elision): Update with new parameter list
22794         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
22795         (lll_unlock_elision): Likewise.
22796         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
22797         (lll_unlock_elision): Likewise.
22799 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22801         [BZ #19122]
22802         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
22803         attribute_hidden.
22805         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
22806         attribute_hidden.
22807         [IS_IN (rtld)] (__strdup): Likewise.
22808         [IS_IN (rtld)] (__strerror_r): Likewise.
22809         [IS_IN (rtld)] (__strsep_g): Likewise.
22810         [IS_IN (rtld)] (memchr): Likewise.
22811         [IS_IN (rtld)] (memcmp): Likewise.
22812         [IS_IN (rtld)] (memcpy): Likewise.
22813         [IS_IN (rtld)] (memmove): Likewise.
22814         [IS_IN (rtld)] (memset): Likewise.
22815         [IS_IN (rtld)] (rawmemchr): Likewise.
22816         [IS_IN (rtld)] (stpcpy): Likewise.
22817         [IS_IN (rtld)] (strchr): Likewise.
22818         [IS_IN (rtld)] (strcmp): Likewise.
22819         [IS_IN (rtld)] (strlen): Likewise.
22820         [IS_IN (rtld)] (strnlen): Likewise.
22821         [IS_IN (rtld)] (strsep): Likewise.
22823         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
22824         attribute_hidden.
22825         [IS_IN (rtld)] (__strtoul_internal): Likewise.
22827         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
22828         attribute_hidden.
22829         [IS_IN (rtld)] (__libc_sigaction): Likewise.
22831         * include/setjmp.h (__longjmp): Add attribute_hidden.
22832         [IS_IN (rtld)] (__sigsetjmp): Likewise.
22834         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
22835         Add attribute_hidden.
22837         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
22838         [IS_IN (rtld)] (__open): Likewise.
22839         [IS_IN (rtld)] (__fcntl): Likewise.
22841         * include/dirent.h (__opendirat): Add attribute_hidden.
22842         (__getdents): Likewise.
22843         (__getdents64): Likewise.
22844         (__alloc_dir): Likewise.
22845         [IS_IN (rtld)] (__closedir): Likewise.
22846         [IS_IN (rtld)] (__fdopendir): Likewise.
22847         [IS_IN (rtld)] (__readdir): Likewise.
22848         [IS_IN (rtld)] (__readdir64): Likewise.
22849         [IS_IN (rtld)] (__rewinddir): Likewise.
22851         * include/dlfcn.h (_dl_catch_error): Moved to ...
22852         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
22853         attribute_hidden.
22855         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
22856         (_itoa_word): Likewise.
22858         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
22859         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
22860         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
22861         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
22862         (_dl_higher_prime_number): Likewise.
22863         (_dl_debug_printf_c): Likewise.
22864         (_dl_signal_cerror): Likewise.
22865         (_dl_receive_error): Likewise.
22866         (_dl_reloc_bad_type): Likewise.
22867         (_dl_resolve_conflicts): Likewise.
22868         (_dl_check_all_versions): Likewise.
22869         (_dl_check_map_versions): Likewise.
22870         (_dl_sort_fini): Likewise.
22871         (_dl_debug_initialize): Likewise.
22872         (_dl_init_paths): Likewise.
22873         (_dl_show_auxv): Likewise.
22874         (_dl_next_ld_env_entry): Likewise.
22875         (_dl_important_hwcaps): Likewise.
22876         (_dl_load_cache_lookup): Likewise.
22877         (_dl_update_slotinfo): Likewise.
22878         (_dl_show_scope): Likewise.
22880         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
22881         attribute_hidden.
22882         (_wordcopy_fwd_dest_aligned): Likewise.
22883         (_wordcopy_bwd_aligned): Likewise.
22884         (_wordcopy_bwd_dest_aligned): Likewise.
22886         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22887         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22888         Likewise.
22889         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
22890         Likewise.
22891         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
22893 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
22896         GCC 5 requirement.
22898 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
22900         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
22901         test.
22902         * sysdeps/i386/configure: Regenerated.
22903         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
22904         code unconditional.
22906         * configure.ac (libc_cv_asm_previous_directive): Remove configure
22907         test.
22908         (libc_cv_asm_popsection_directive): Likewise.
22909         * configure: Regenerated.
22910         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
22911         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
22912         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
22913         (__make_section_unallocated): Make definition unconditional.
22914         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
22915         Remove conditional definition.
22916         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
22917         (__make_section_unallocated): Likewise.
22919         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
22920         * configure: Regenerated.
22921         * config.make.in (static-libgcc): Remove variable.
22922         * Makerules (build-shlib-helper): Use -static-libgcc instead of
22923         $(static-libgcc).
22924         (build-module-helper): Likewise.
22926         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
22927         * configure: Regenerated.
22929 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22931         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
22932         (struct char_buffer): New type.
22933         (char_buffer_start, char_buffer_size, char_buffer_error)
22934         (char_buffer_rewind, char_buffer_add): New functions.
22935         (ADDW): Remove macro, replaced by the char_buffer_add function.
22936         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
22937         of extend_alloca.  Make control flow more explicit.
22939 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22941         [BZ #19137]
22942         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
22943         Add -fomit-frame-pointer.
22944         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22946 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22948         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22949         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22950         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22951         only if !__GNUC_PREREQ (5,0).
22952         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22953         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22954         (INTERNAL_SYSCALL_NCS): Likewise.
22955         (LOADREGS_0): New macro for GCC 5.
22956         (ASMARGS_0): Likewise.
22957         (LOADREGS_1): Likewise.
22958         (ASMARGS_1): Likewise.
22959         (LOADREGS_2): Likewise.
22960         (ASMARGS_2): Likewise.
22961         (LOADREGS_3): Likewise.
22962         (ASMARGS_3): Likewise.
22963         (LOADREGS_4): Likewise.
22964         (ASMARGS_4): Likewise.
22965         (LOADREGS_5): Likewise.
22966         (ASMARGS_5): Likewise.
22967         (LOADREGS_6): Likewise.
22968         (ASMARGS_6): Likewise.
22970 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22972         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22973         -fomit-frame-pointer.
22974         (CFLAGS-mmap64.c): Likewise.
22975         (CFLAGS-semtimedop.c): Likewise.
22976         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22977         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22978         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22979         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22981 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22983         [BZ #18928]
22984         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22985         _dl_pointer_guard member.
22986         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22987         initializer.
22988         (security_init): Always set up pointer guard.
22989         (process_envvars): Do not process LD_POINTER_GUARD.
22991 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22993         [BZ #19134]
22994         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22995         (.LC2): Likewise.
22996         (.LC3): Likewise.
22997         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22999 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23001         [BZ #19129]
23002         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23003         r0 and r1.
23005 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23007         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23009 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23011         * include/stap-probe.h: Fix macro definition formatting.
23013 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23015         [BZ #19074]
23016         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23017         load and store num_ifs.
23019 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23021         [BZ #18822]
23022         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23023         (__sched_getaffinity_new): Add libc_hidden_proto and
23024         libc_hidden_def.
23026 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23028         [BZ #19007]
23029         * scripts/localplt.awk: Also allow GOT references.
23030         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23031         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23032         with "+ REL R_386_GLOB_DAT".
23033         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23034         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23036 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23038         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23039         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23040         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23041         Likewise.
23042         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23043         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23044         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23045         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23046         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23047         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23048         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23049         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23050         Likewise.
23051         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23053 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23055         [BZ #19125]
23056         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23057         <math_private.h> and <stdint.h>.
23058         (__llround): Avoid conversions to and from long long int, and
23059         subtractions, where those might raise spurious exceptions.
23060         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23061         <math_private.h> and <stdint.h>.
23062         (__llroundf): Avoid conversions to and from long long int, and
23063         subtractions, where those might raise spurious exceptions.
23065 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23067         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23068         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23069         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23070         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23071         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23072         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23073         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23074         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23075         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23076         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23077         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23078         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23079         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23080         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23081         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23082         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23083         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23084         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23085         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23086         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23087         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23088         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23089         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23090         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23091         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23092         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23093         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23094         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23095         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23096         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23097         (__xstat64_conv): Likewise.
23098         (__xstat32_conv): Likewise.
23100 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23102         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23103         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23104         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23105         <sysdeps/unix/sysv/linux/sysdep.h>.
23106         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23107         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23108         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23109         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23110         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23111         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23112         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23113         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23114         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23117         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23118         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23119         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23120         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23122         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23123         (sysdep-dl-routines): Add sysdep.
23124         [$(subdir) == nptl] (libpthread-routines): Likewise.
23125         [$(subdir) == rt] (librt-routines): Likewise.
23126         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23127         PIC when branching to SYSCALL_ERROR_LABEL.
23128         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23129         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23130         <sysdeps/unix/sysv/linux/sysdep.h>.
23131         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23132         (SYSCALL_ERROR_ERRNO): Removed.
23133         (SYSCALL_ERROR_HANDLER): Changed to empty.
23134         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23135         (__syscall_error): New prototype.
23136         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23137         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23139 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23141         [BZ #19124]
23142         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23143         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23144         _dl_runtime_resolve_avx.
23145         (_dl_runtime_profile_avx512): Make it a hidden alias of
23146         _dl_runtime_profile_avx.
23148 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23150         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23151         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23152         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23153         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23155         [BZ #16422]
23156         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23157         New configure test.
23158         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23159         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23160         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23161         <math_private.h> and <stdint.h>.
23162         (__llrint): Avoid conversions to long long int where those might
23163         raise spurious exceptions.
23164         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23165         <math_private.h> and <stdint.h>.
23166         (__llrintf): Avoid conversions to long long int where those might
23167         raise spurious exceptions.
23169 2015-10-12  Andreas Schwab  <schwab@suse.de>
23171         [BZ #18969]
23172         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23173         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23174         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23175         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23176         $(gen-locales).
23177         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23178         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23179         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23180         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23181         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23182         $(gen-locales).
23183         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23184         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23185         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23186         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23187         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23188         ($(objpfx)tst-ftell-active-handler.out)
23189         ($(objpfx)tst-ftell-append.out)
23190         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23191         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23192         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23193         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23194         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23195         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23196         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23197         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23198         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23199         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23200         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23201         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23202         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23203         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23204         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23205         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23206         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23207         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23208         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23209         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23210         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23211         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23212         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23213         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23214         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23215         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23216         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23217         $(gen-locales).
23218         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23219         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23220         $(gen-locales).
23221         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23222         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
23223         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
23224         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
23225         $(gen-locales).
23226         * libio/tst_wprintf2.c (main): Use explicit locale.
23227         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
23229 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23231         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
23232         __msg_sig_post.
23233         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
23235 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23237         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23238         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23240         * sysdeps/arm/libm-test-ulps: Regenerated.
23242         [BZ #15470]
23243         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
23245         [BZ #16399]
23246         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
23247         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
23248         and <fix-fp-int-convert-overflow.h>.
23249         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23250         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23251         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
23252         and <fix-fp-int-convert-overflow.h>.
23253         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
23254         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23255         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
23256         <fix-fp-int-convert-overflow.h>.
23257         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
23258         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23259         * sysdeps/ieee754/dbl-64/s_lround.c: Include
23260         <fix-fp-int-convert-overflow.h>.
23261         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
23262         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23263         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
23264         and <fix-fp-int-convert-overflow.h>.
23265         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23266         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23267         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
23268         <limits.h> and <fix-fp-int-convert-overflow.h>.
23269         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23270         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23271         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
23272         and <fix-fp-int-convert-overflow.h>.
23273         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
23274         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23275         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
23276         and <fix-fp-int-convert-overflow.h>.
23277         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
23278         FIX_DBL_LLONG_CONVERT_OVERFLOW.
23279         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
23281 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
23283         [BZ #18589]
23284         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
23285         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
23286         $(gen-locales).
23288 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23289             Phil Blundell <pb@pbcl.net>
23291         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
23292         * nptl/tst-cancel26.c: New file.
23293         * nptl/tst-cancel27.c: Likewise.
23295 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
23297         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
23298         __ILP32__ isn't defined.
23299         (lrint): Likewise.
23300         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
23301         (lrintf): Likewise.
23302         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
23303         (lrintl): Likewise.
23304         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
23305         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
23306         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
23308 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23310         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23311         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23313         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
23314         file.
23315         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
23316         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23318 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
23320         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
23321         configure test.
23322         * sysdeps/i386/configure: Regenerated.
23323         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
23324         configure test.
23325         * sysdeps/x86_64/configure: Regenerated.
23326         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
23327         Make code unconditional.
23329         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
23330         test.
23331         * sysdeps/i386/configure: Regenerated.
23332         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
23333         test.
23334         * sysdeps/x86_64/configure: Regenerated.
23335         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
23336         Make code unconditional.
23337         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
23338         Likewise.
23339         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
23340         Likewise.
23341         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23342         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
23343         code unconditional.
23344         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23345         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
23346         code unconditional.
23347         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23348         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
23349         code unconditional.
23350         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
23351         code unconditional.
23352         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23353         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
23354         code unconditional.
23355         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23356         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
23357         code unconditional.
23358         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23359         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
23360         code unconditional.
23361         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23362         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
23363         code unconditional.
23364         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
23365         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
23367         [BZ #19095]
23368         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
23369         mantissa to long int before shifting left.
23371 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23373         [BZ #19094]
23374         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
23375         <limits.h>.
23376         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23377         when result overflows but exception would not result from cast.
23378         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
23379         <limits.h>.
23380         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23381         when result overflows but exception would not result from cast.
23382         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
23383         <limits.h>.
23384         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23385         when result overflows but exception would not result from cast.
23386         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
23387         <limits.h>.
23388         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23389         when result overflows but exception would not result from cast.
23390         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
23391         <limits.h>.
23392         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
23393         when result overflows but exception would not result from cast.
23394         * math/libm-test.inc (lrint_test_data): Add more tests.
23395         (llrint_test_data): Likewise.
23397 2015-10-08  Roland McGrath  <roland@hack.frob.com>
23399         [BZ #18872]
23400         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
23401         Move out from under [$(run-built-tests) = yes] conditional.
23402         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
23403         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
23405 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
23407         [BZ #18589]
23408         * string/Makefile (tests): Add bug-strcoll2.
23409         (LOCALES): Add cs_CZ.UTF-8.
23410         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
23412         [BZ #18589]
23413         * string/bug-strcoll2.c: New file.
23414         * locale/categories.def: Revert commit
23415         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
23416         * locale/langinfo.h: Likewise.
23417         * locale/localeinfo.h: Likewise.
23418         * locale/C-collate.c: Likewise.
23419         * locale/programs/ld-collate.c (collate_output): Likewise.
23420         * string/strcoll_l.c (STRDIFF): Likewise.
23421         (STRCOLL): Likewise.
23422         * wcsmbs/wcscoll_l.c: Likewise.
23424 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
23426         * math/libm-test.inc (lround_test_data): Do not expect the absence
23427         of "inexact" for some tests with non-integer arguments.
23428         (llround_test_data): Likewise.
23430         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
23431         test.
23432         (libc_cv_cc_sse2avx): Likewise.
23433         * sysdeps/i386/configure: Regenerated.
23434         * sysdeps/i386/i686/multiarch/Makefile
23435         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
23436         [$(subdir) = math].
23437         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
23438         code unconditional.
23439         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23440         Likewise.
23441         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
23442         Likewise.
23443         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23444         Likewise.
23445         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
23446         test.
23447         (libc_cv_cc_sse2avx): Likewise.
23448         * sysdeps/x86_64/configure: Regenerated.
23449         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
23450         unconditional.
23451         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
23452         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
23453         unconditional.
23454         (_dl_runtime_profile)
23455         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
23456         conditional code.
23457         * sysdeps/x86_64/fpu/multiarch/Makefile
23458         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
23459         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
23460         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23461         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23462         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23463         * sysdeps/x86_64/fpu/multiarch/e_log.c
23464         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23465         * sysdeps/x86_64/fpu/multiarch/s_atan.c
23466         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23467         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
23468         Likewise.
23469         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
23470         Likewise.
23471         * sysdeps/x86_64/fpu/multiarch/s_sin.c
23472         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23473         * sysdeps/x86_64/fpu/multiarch/s_tan.c
23474         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23475         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
23476         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
23477         (HAVE_SSE2AVX_SUPPORT): Likewise.
23479 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
23481         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
23482         instead of #pragma optimize.
23484 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23486         [BZ #17195]
23487         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
23488         as is similarly done in systrim and _int_free already.
23490 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23492         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
23494 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23496         [BZ #19088]
23497         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
23498         <limits.h>.
23499         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23500         overflows but exception would not result from cast.
23501         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
23502         and <limits.h>.
23503         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
23504         overflows but exception would not result from cast.
23505         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
23506         <limits.h>.
23507         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23508         overflows but exception would not result from cast.
23509         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
23510         <limits.h>.
23511         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23512         overflows but exception would not result from cast.
23513         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
23514         <limits.h>.
23515         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
23516         overflows but exception would not result from cast.
23517         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
23518         <limits.h>.
23519         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
23520         overflows but exception would not result from cast.
23521         * math/libm-test.inc (lround_test_data): Add more tests.
23522         (llround_test_data): Likewise.
23524 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
23526         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
23527         (CFLAGS-ialloc.c): Ditto.
23528         (CFLAGS-scheck.c): Ditto.
23530 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
23532         [BZ #19086]
23533         * manual/filesys.texi (Storage Allocation): Fix argument order for
23534         posix_fallocate64.
23536 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23538         [BZ #19085]
23539         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
23540         exponent below 48 inside case for non-overflowing exponent.
23541         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
23543 2015-10-07  Florian Weimer  <fweimer@redhat.com>
23545         * iconvdata/cp737.h (from_idx): Add const.
23546         * iconvdata/cp775.h (from_idx): Likewise.
23548 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
23550         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
23551         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
23552         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
23554         [BZ #19079]
23555         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
23556         file, conditioned on [!_LP64].
23557         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
23558         [!_LP64] (__lround): Do not define as function or alias.
23559         [!_LP64] (lround): Likewise.
23560         [!_LP64] (__lroundl): Likewise.
23561         [!_LP64] (lroundl): Likewise.
23562         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
23563         macro.
23564         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23565         Likewise.
23567 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23569         * math/libm-test.inc (lrint_test_data): Add more tests.
23570         (llrint_test_data): Likewise.
23571         (lround_test_data): Likewise.
23572         (llround_test_data): Likewise.
23574         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
23575         (llrint_test_data): Add tests used for lrint.
23577         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
23578         test.
23579         * sysdeps/i386/configure: Regenerated.
23580         * sysdeps/i386/i686/multiarch/Makefile
23581         [$(config-cflags-sse4) = yes]: Make code unconditional.
23582         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23583         Likewise.
23584         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
23585         Likewise.
23586         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
23587         test.
23588         * sysdeps/x86_64/configure: Regenerated.
23589         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
23590         Make code unconditional.
23591         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
23592         Likewise.
23593         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
23594         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
23596         * scripts/rpm2dynsym.sh: Remove file.
23598 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23600         * configure.ac (libc_cv_cxx_thread_local): Define.
23601         * configure: Regenerate.
23602         * config.make.in (have-cxx-thread_local): Define.
23603         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
23604         (LDLIBS-tst-thread_local1): Define.
23605         (tests): Add tst-thread_local1.
23606         [have-cxx-thread_local != yes] (tests-unsupported): Add
23607         tst-thread_local1.
23608         * nptl/tst-thread_local1.cc: New file.
23610 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
23612         [BZ #19078]
23613         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
23614         (u_thres): Likewise.
23615         (__expl): Determine whether to call __kernel_standard_l based on
23616         value of result, not argument.
23618         * math/libm-test.inc (scalb_test_data): Add more expectations for
23619         the "inexact" exception.
23621         [BZ #19077]
23622         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
23623         0.0L for argument 1.0L.
23625         [BZ #19076]
23626         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
23627         constant 0.0L when computing infinite result.
23629 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23631         [BZ #10432]
23632         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
23633         malloc_usable_size.
23635 2015-10-06  Florian Weimer  <fweimer@redhat.com>
23637         [BZ #19018]
23638         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23639         Mangle function pointer before storing it.
23640         (__call_tls_dtors): Demangle function pointer before calling it.
23642 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23644         [BZ #19012]
23645         * iconv/gconv_db.c (gen_steps): Check for additional errors.
23646         Clean up on failure.
23648 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
23650         [BZ #19071]
23651         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
23652         long int variable to store possibly incremented high part of
23653         mantissa.
23654         * math/libm-test.inc (lround_test_data): Add tests used for
23655         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
23656         for tests requiring 64-bit long.  Do not condition tests on
23657         [TEST_FLOAT] unnecessarily.
23658         (llround_test_data): Add tests used for lround.  Add another
23659         expectation for the "inexact" exception.  Do not condition tests
23660         on [TEST_FLOAT] unnecessarily.
23662         [BZ #887]
23663         [BZ #19049]
23664         [BZ #19050]
23665         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
23666         * sysdeps/ieee754/dbl-64/e_log10.c: Include
23667         <fix-int-fp-convert-zero.h>.
23668         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23669         * sysdeps/ieee754/dbl-64/e_log2.c: Include
23670         <fix-int-fp-convert-zero.h>.
23671         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23672         * sysdeps/ieee754/dbl-64/s_erf.c: Include
23673         <fix-int-fp-convert-zero.h>.
23674         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23675         * sysdeps/ieee754/dbl-64/s_logb.c: Include
23676         <fix-int-fp-convert-zero.h>.
23677         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23678         * sysdeps/ieee754/flt-32/e_log10f.c: Include
23679         <fix-int-fp-convert-zero.h>.
23680         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23681         * sysdeps/ieee754/flt-32/e_log2f.c: Include
23682         <fix-int-fp-convert-zero.h>.
23683         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23684         * sysdeps/ieee754/flt-32/s_erff.c: Include
23685         <fix-int-fp-convert-zero.h>.
23686         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23687         * sysdeps/ieee754/flt-32/s_logbf.c: Include
23688         <fix-int-fp-convert-zero.h>.
23689         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23690         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
23691         <fix-int-fp-convert-zero.h>.
23692         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23693         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
23694         <fix-int-fp-convert-zero.h>.
23695         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
23696         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
23697         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
23698         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
23699         file.
23700         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
23702 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23704         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23706 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
23708         [BZ #19059]
23709         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
23710         overflowing computation.
23711         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23712         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23713         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23714         Likewise.
23715         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23716         Likewise.
23717         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23718         Likewise.
23719         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23720         Likewise.
23721         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23722         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23723         Likewise.
23724         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23725         Likewise.
23726         * math/libm-test.inc (nexttoward_test_data): Add more tests.
23728         * nss/rewrite_field.c (__nss_rewrite_field): Use
23729         internal_function.
23730         * nss/valid_field.c (__nss_valid_field): Likewise.
23731         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
23733 2015-10-02  Florian Weimer  <fweimer@redhat.com>
23735         [BZ #18724]
23736         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
23737         (__nss_invalid_field_characters, __nss_valid_field)
23738         (__nss_valid_list_field, __nss_rewrite_field): Declare.
23739         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
23740         tst-field.c: New file.
23741         * nss/Makefile (routines): Add valid_field, rewrite_field.
23742         (tests-static): Define unconditionally.
23743         (tests): Include tests-static.
23744         [build-static-nss] (tests-static): Use append.
23745         [build-static-nss] (tests): Remove modification.
23746         * nss/getent.c (print_group): Call putgrent.  Report error.
23747         (print_gshadow): Call putsgent.  Report error.
23748         (print_passwd): Call putpwent.  Report error.
23749         (print_shadow): Call putspent.  Report error.
23750         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
23751         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
23752         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
23753         name, password, directory, shell fields for valid syntax.  Rewrite
23754         GECOS field to match syntax.
23755         * pwd/Makefile (tests): Add tst-putpwent.
23756         * pwd/tst-putpwent.c: New file.
23757         * grp/putgrent.c (putgrent): Convert to ISO function definition.
23758         Check grName, grpasswd, gr_mem fields for valid syntax.
23759         Change loop variable i to size_t.
23760         * grp/Makefile (tests): Add tst-putgrent.
23761         * grp/tst-putgrent.c: New file.
23762         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
23763         valid syntax.
23764         * shadow/Makefile (tests): Add tst-putspent.
23765         * shadow/tst-putspent.c: New file.
23766         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
23767         sg_mem fields for valid syntax.
23768         * gshadow/Makefile (tests): Add tst-putsgent.
23769         * gshadow/tst-putsgent.c: New file.
23771 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23773         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
23774         assembly instructions.
23776 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23778         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
23779         prefix from operands.
23781 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
23783         [BZ #16347]
23784         [BZ #19046]
23785         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
23786         <libc-internal.h>.
23787         (MAXLGM): Do not use diagnostic control macros.
23788         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
23789         threshold for ldbl-128ibm.
23790         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
23791         instead of multiplying by log then subtracting.
23792         * math/auto-libm-test-in: Add more tests of lgamma.
23793         * math/auto-libm-test-out: Regenerated.
23795         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
23796         (TYPE_HEX_DIG): Likewise.
23797         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
23798         precisions when printing floating-point numbers.
23799         (check_float_internal): Likewise.
23801 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23803         [BZ #16620]
23804         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
23805         of log (10) rounded downward to 48 bits.
23806         (log10_low): Use corresponding low part of log (10).
23808         [BZ #19032]
23809         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
23810         compute result as (x - x) / (x - x) not as 0 / 0.
23811         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23812         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
23814         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23815         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
23816         and expm1.
23817         * math/auto-libm-test-out: Regenerated.
23818         * math/libm-test.inc (acos_test_data): Add more tests.
23819         (asin_test_data): Likewise.
23820         (asinh_test_data): Likewise.
23821         (atan_test_data): Likewise.
23822         (atanh_test_data): Likewise.
23823         (atan2_test_data): Likewise.
23824         (cbrt_test_data): Likewise.
23825         (ceil_test_data): Likewise.
23826         (copysign_test_data): Likewise.
23827         (cos_test_data): Likewise.
23828         (cosh_test_data): Likewise.
23829         (erf_test_data): Likewise.
23830         (erfc_test_data): Likewise.
23831         (exp_test_data): Likewise.
23832         (exp10_test_data): Likewise.
23833         (exp2_test_data): Likewise.
23834         (expm1_test_data): Likewise.
23835         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23837 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
23839         [BZ #19006]
23840         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
23841         to ...
23842         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
23843         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
23844         to ...
23845         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
23846         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
23847         to ...
23848         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
23849         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
23850         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
23851         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
23852         to ...
23853         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
23854         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
23855         Moved to ...
23856         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
23857         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
23858         Moved to ...
23859         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
23860         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
23861         to ...
23862         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
23863         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
23864         Moved to ...
23865         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
23866         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
23867         to ...
23868         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
23869         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
23870         Removed.
23871         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
23872         Likewise.
23873         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
23874         Likewise.
23875         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
23876         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
23877         Likewise.
23878         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
23879         Likewise.
23880         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
23881         Likewise.
23882         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
23883         Likewise.
23884         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
23885         Likewise.
23886         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
23887         Likewise.
23888         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
23889         Likewise.
23890         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
23891         Likewise.
23892         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
23893         Likewise.
23894         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
23895         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
23896         Likewise.
23897         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
23898         Likewise.
23899         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
23900         Likewise.
23901         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
23902         Likewise.
23903         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
23904         Likewise.
23905         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
23906         Replace ../i486/pthread_cond_timedwait.S with
23907         ../pthread_cond_timedwait.S.
23909 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
23911         * math/libm-test.inc (acos_test_data): Refine expectations for
23912         errno and "inexact" exceptions.
23913         (acosh_test_data): Likewise.
23914         (asin_test_data): Likewise.
23915         (asinh_test_data): Likewise.
23916         (atan_test_data): Likewise.
23917         (atanh_test_data): Likewise.
23918         (atan2_test_data): Likewise.
23919         (cbrt_test_data): Likewise.
23920         (ceil_test_data): Likewise.
23921         (copysign_test_data): Likewise.
23922         (cosh_test_data): Likewise.
23923         (erf_test_data): Likewise.
23924         (erfc_test_data): Likewise.
23925         (exp_test_data): Likewise.
23926         (exp10_test_data): Likewise.
23927         (exp2_test_data): Likewise.
23928         (expm1_test_data): Likewise.
23929         (fabs_test_data): Likewise.
23930         (floor_test_data): Likewise.
23931         (fma_test_data): Likewise.
23932         (fmax_test_data): Likewise.
23933         (fmin_test_data): Likewise.
23934         (fmod_test_data): Likewise.
23935         (fpclassify_test_data): Likewise.
23936         (frexp_test_data): Likewise.
23937         (hypot_test_data): Likewise.
23938         (ilogb_test_data): Likewise.
23939         (isgreater_test_data): Likewise.
23940         (isgreaterequal_test_data): Likewise.
23941         (isinf_test_data): Likewise.
23942         (isless_test_data): Likewise.
23943         (islessequal_test_data): Likewise.
23944         (islessgreater_test_data): Likewise.
23945         (isnan_test_data): Likewise.
23946         (isnormal_test_data): Likewise.
23947         (issignaling_test_data): Likewise.
23948         (isunordered_test_data): Likewise.
23949         (j0_test_data): Likewise.
23950         (j1_test_data): Likewise.
23951         (jn_test_data): Likewise.
23952         (lgamma_test_data): Likewise.
23953         (lrint_test_data): Likewise.
23954         (llrint_test_data): Likewise.
23955         (log_test_data): Likewise.
23956         (log10_test_data): Likewise.
23957         (log1p_test_data): Likewise.
23958         (log2_test_data): Likewise.
23959         (logb_test_data): Likewise.
23960         (lround_test_data): Likewise.
23961         (llround_test_data): Likewise.
23962         (modf_test_data): Likewise.
23963         (nearbyint_test_data): Likewise.
23964         (nextafter_test_data): Likewise.
23965         (nexttoward_test_data): Likewise.
23966         (pow_test_data): Likewise.
23967         (remainder_test_data): Likewise.
23968         (remquo_test_data): Likewise.
23969         (rint_test_data): Likewise.
23970         (round_test_data): Likewise.
23971         (signbit_test_data): Likewise.
23972         (sinh_test_data): Likewise.
23973         (sqrt_test_data): Likewise.
23974         (tanh_test_data): Likewise.
23975         (tgamma_test_data): Likewise.
23976         (trunc_test_data): Likewise.
23977         (y0_test_data): Likewise.
23978         (y1_test_data): Likewise.
23979         (yn_test_data): Likewise.
23980         (significand_test_data): Likewise.
23982 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23984         * manual/filesys.texi (Storage Allocation): Document that
23985         posix_fallocate emulation fails when fd is open with O_WRONLY.
23987 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23989         [BZ #19016]
23990         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23991         allow more cases with X^2 + Y^2 >= 0.5.
23992         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23993         normal element in sum instead of special-casing based on values of
23994         arguments.
23995         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23996         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23997         -1 as normal element in sum instead of special-casing based on
23998         values of arguments.
23999         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24000         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24001         (__x2y2m1): Update comment.
24002         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24003         as normal element in sum instead of special-casing based on values
24004         of arguments.
24005         * math/s_clog.c (__clog): Handle more cases using log1p without
24006         hypot.
24007         * math/s_clog10.c (__clog10): Likewise.
24008         * math/s_clog10f.c (__clog10f): Likewise.
24009         * math/s_clog10l.c (__clog10l): Likewise.
24010         * math/s_clogf.c (__clogf): Likewise.
24011         * math/s_clogl.c (__clogl): Likewise.
24012         * math/auto-libm-test-in: Add more tests of clog and clog10.
24013         * math/auto-libm-test-out: Regenerated.
24014         * sysdeps/i386/fpu/libm-test-ulps: Update.
24015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24017 2015-09-28  Martin Sebor  <msebor@redhat.com>
24019         [BZ #18969]
24020         * string/Makefile (LOCALES): Define.
24021         (gen-locales.mk): Include.
24022         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24023         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24024         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24025         on setlocale failure.
24027 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24029         [BZ #18985]
24030         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24031         (__strftime_internal): Likewise.
24032         * time/tst-strftime.c (do_bz18985): New test.
24033         (do_test): Call it.
24035 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24037         [BZ #18956]
24038         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24039         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24040         extracting high part.
24041         * math/auto-libm-test-in: Add another test of pow.
24042         * math/auto-libm-test-out: Regenerated.
24043         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24045 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24047         [BZ #18825]
24048         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24049         New macro.
24050         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24051         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24052         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24053         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24054         DBL_NARROW_EVAL, reloading the PIC register as needed.
24055         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24056         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24057         FLT_NARROW_EVAL.  Use separate return path for case when first
24058         argument is NaN.
24059         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24060         DEFINE_LDBL_MIN.
24061         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24062         PIC register.
24063         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24064         math_check_force_underflow_nonneg.
24065         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24066         underflow for subnormal result.
24067         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24068         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24069         math_check_force_underflow_nonneg.
24070         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24071         math_check_force_underflow.
24072         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24073         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24074         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24075         DEFINE_LDBL_MIN.
24076         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24077         * math/auto-libm-test-in: Add more tests of pow.
24078         * math/auto-libm-test-out: Regenerated.
24080 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24082         * nss/bug17079.c (init_test_items): Add diagnostic for
24083         inconsistent entries.
24084         (test_buffer_size): Skip inconsistent entries.
24086 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24088         [BZ #13304]
24089         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24090         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24091         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24093         [BZ #13304]
24094         * sysdeps/microblaze/s_fma.c: New file.
24095         * sysdeps/microblaze/s_fmaf.c: Likewise.
24096         * sysdeps/microblaze/sfp-machine.h: Likewise.
24098 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24100         [BZ #17250]
24101         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24102         member.
24104 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24106         [BZ #18803]
24107         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24108         (MO): New macro.
24109         (__ieee754_hypot) [PIC]: Load PIC register.
24110         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24111         DBL_NARROW_EVAL.
24112         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24113         math_check_force_underflow_nonneg in case where result might be
24114         tiny.
24115         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24116         Likewise.
24117         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24118         Likewise.
24119         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24120         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24121         * math/auto-libm-test-in: Add more tests of hypot.
24122         * math/auto-libm-test-out: Regenerated.
24124 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24126         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24128 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24130         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24131         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24132         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24133         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24134         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24135         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24136         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24138         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24139         LOAD_PIC_REG.
24141         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24142         (FLT_CHECK_FORCE_UFLOW): Likewise.
24143         (DBL_CHECK_FORCE_UFLOW): Likewise.
24144         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24145         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24146         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24147         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24148         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24149         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24150         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24151         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24152         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24153         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24154         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24155         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24156         (flt_min): Replace with use of DEFINE_FLT_MIN.
24157         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24158         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24159         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24160         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24161         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24162         (flt_min): Replace with use of DEFINE_FLT_MIN.
24163         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24164         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24165         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24166         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24167         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24168         (flt_min): Replace with use of DEFINE_FLT_MIN.
24169         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24170         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24171         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24172         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24173         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24174         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24175         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24176         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24177         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24178         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24179         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24180         (flt_min): Replace with use of DEFINE_FLT_MIN.
24181         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24182         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24183         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24184         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24185         main computation.
24186         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24187         (flt_min): Replace with use of DEFINE_FLT_MIN.
24188         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24189         main computation.
24190         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24191         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24192         (MO): New macro.
24193         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24194         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24195         (flt_min): Replace with use of DEFINE_FLT_MIN.
24196         (MO): New macro.
24197         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24198         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24199         (__log1pl): Use MO.
24201         [BZ #19003]
24202         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24203         $(config-cflags-nofma).
24205 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24207         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24209 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24211         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24212         (TWO127): Likewise.
24214         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24215         (min_of_type): Likewise.
24216         (math_check_force_underflow): Likewise.
24217         (math_check_force_underflow_nonneg): Likewise.
24218         (math_check_force_underflow_complex): Likewise.
24219         * math/e_exp2l.c (__ieee754_exp2l): Use
24220         math_check_force_underflow_nonneg.
24221         * math/k_casinh.c (__kernel_casinh): Likewise.
24222         * math/k_casinhf.c (__kernel_casinhf): Likewise.
24223         * math/k_casinhl.c (__kernel_casinhl): Likewise.
24224         * math/s_catan.c (__catan): Use
24225         math_check_force_underflow_complex.
24226         * math/s_catanf.c (__catanf): Likewise.
24227         * math/s_catanh.c (__catanh): Likewise.
24228         * math/s_catanhf.c (__catanhf): Likewise.
24229         * math/s_catanhl.c (__catanhl): Likewise.
24230         * math/s_catanl.c (__catanl): Likewise.
24231         * math/s_ccosh.c (__ccosh): Likewise.
24232         * math/s_ccoshf.c (__ccoshf): Likewise.
24233         * math/s_ccoshl.c (__ccoshl): Likewise.
24234         * math/s_cexp.c (__cexp): Likewise.
24235         * math/s_cexpf.c (__cexpf): Likewise.
24236         * math/s_cexpl.c (__cexpl): Likewise.
24237         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
24238         * math/s_clog10.c (__clog10): Likewise.
24239         * math/s_clog10f.c (__clog10f): Likewise.
24240         * math/s_clog10l.c (__clog10l): Likewise.
24241         * math/s_clogf.c (__clogf): Likewise.
24242         * math/s_clogl.c (__clogl): Likewise.
24243         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
24244         * math/s_csinf.c (__csinf): Likewise.
24245         * math/s_csinh.c (__csinh): Likewise.
24246         * math/s_csinhf.c (__csinhf): Likewise.
24247         * math/s_csinhl.c (__csinhl): Likewise.
24248         * math/s_csinl.c (__csinl): Likewise.
24249         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
24250         * math/s_csqrtf.c (__csqrtf): Likewise.
24251         * math/s_csqrtl.c (__csqrtl): Likewise.
24252         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
24253         * math/s_ctanf.c (__ctanf): Likewise.
24254         * math/s_ctanh.c (__ctanh): Likewise.
24255         * math/s_ctanhf.c (__ctanhf): Likewise.
24256         * math/s_ctanhl.c (__ctanhl): Likewise.
24257         * math/s_ctanl.c (__ctanl): Likewise.
24258         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
24259         instead of volatile.
24260         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
24261         math_check_force_underflow.
24262         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
24263         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
24264         volatile when forcing underflow.
24265         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24266         math_check_force_underflow_nonneg.
24267         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
24268         Likewise.
24269         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
24270         math_check_force_underflow.
24271         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24272         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24273         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
24274         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
24275         math_check_force_underflow_nonneg.
24276         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
24277         math_check_force_underflow.
24278         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
24279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
24280         instead of volatile.
24281         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
24282         math_check_force_underflow.
24283         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
24284         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24285         math_check_force_underflow_nonneg.
24286         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
24287         math_check_force_underflow.
24288         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
24289         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
24290         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
24291         math_check_force_underflow_nonneg.
24292         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24293         Likewise.
24294         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
24295         math_check_force_underflow.
24296         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24297         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24298         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
24299         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
24300         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
24301         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
24302         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
24303         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
24304         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
24305         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
24306         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
24307         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
24308         Likewise.
24309         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
24310         math_check_force_underflow_nonneg.
24311         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24312         Likewise.
24313         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
24314         math_check_force_underflow.
24315         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24316         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
24317         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24318         Likewise.
24319         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
24320         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
24321         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
24322         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
24323         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
24324         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
24325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
24326         instead of volatile.
24327         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
24328         math_check_force_underflow.
24329         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
24330         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
24331         math_check_force_underflow.
24332         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
24333         Likewise.
24334         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24335         Use math_check_force_underflow_nonneg.
24336         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
24337         math_check_force_underflow.
24338         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24339         Likewise.
24340         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24341         Likewise.
24342         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24343         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24344         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24345         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24346         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
24347         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24348         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
24349         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
24350         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
24351         math_check_force_underflow_nonneg.
24352         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
24353         math_check_force_underflow.
24354         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24355         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
24356         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
24357         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
24358         math_check_force_underflow_nonneg.
24359         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
24360         math_check_force_underflow.
24361         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
24362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
24363         instead of volatile.
24364         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
24365         math_check_force_underflow.
24367         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
24368         * stdlib/strtod_l.c: Include <math_private.h>.
24369         (overflow_value): Use math_narrow_eval.
24370         (underflow_value): Likewise.
24371         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24372         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24373         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
24374         (__ieee754_gamma_r): Likewise.
24375         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
24376         Likewise.
24377         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
24378         Likewise.
24379         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
24380         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
24381         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
24382         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
24383         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
24384         (__ieee754_gammaf_r): Likewise.
24385         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24386         Likewise.
24387         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
24388         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
24389         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
24390         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
24391         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
24392         volatile.
24393         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
24394         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
24395         math_narrow_eval.
24396         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24397         Likewise.
24398         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24399         Likewise.
24400         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
24401         Likewise.
24402         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
24403         volatile.
24404         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
24405         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
24406         math_narrow_eval.
24407         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24408         Likewise.
24409         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24410         Likewise.
24412 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
24414         * nptl/Versions: Remove ignored symbols.
24416 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24418         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
24419         * nss/Makefile (tests): Update.
24421 2015-09-22  Florian Weimer  <fweimer@redhat.com>
24423         * nss/bug18287.c: New file.
24424         * nss/Makefile (tests): Add bug18287.
24426 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24428         * mach/Versions (__mach_host_self_): Add symbol.
24430 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24432         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
24433         vm_page_size.
24435 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24437         Really fix sysdeps/i386/fpu/s_scalbn.S build
24439         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
24440         (libc: GLIBC_2_22): Remove unused version set.
24442 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24444         * config.make.in (enable-timezone-tools): New variable.
24445         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
24446         (enable_timezone_tools): Export to generated files.
24447         * configure: Regenerate.
24448         * INSTALL: Regenerate.
24449         * manual/install.texi (--disable-timezone-tools): Document new flag.
24450         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
24451         ifeq ($(enable-timezone-tools),yes) check.
24453 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24455         * timezone/Makefile: Revert previous change.
24457         [BZ #18980]
24458         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
24459         (DEFINE_DBL_MIN): Likewise.
24460         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24461         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
24462         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24463         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
24464         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
24465         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24466         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24467         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
24468         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
24469         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24470         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24471         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
24472         (flt_min): Replace with use of DEFINE_FLT_MIN.
24473         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24474         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
24475         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24476         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
24477         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
24478         (flt_min): Replace with use of DEFINE_FLT_MIN.
24479         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24480         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
24481         (flt_min): Replace with use of DEFINE_FLT_MIN.
24482         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
24483         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
24484         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
24485         (__ieee754_hypot): Use DBL_NARROW_EVAL.
24486         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
24487         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
24488         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
24489         (__ieee754_pow): Use DBL_NARROW_EVAL.
24490         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
24491         (__ieee754_powf): Use FLT_NARROW_EVAL.
24492         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
24493         (__ieee754_expf_sse2): Convert double-precision result to single
24494         precision.
24495         * sysdeps/i386/fpu/libm-test-ulps: Update.
24497 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24499         * timezone/Makefile: Ignore unused variable errors due to private.h
24500         (time_t_min) and (time_t_max).
24501         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
24502         Likewise.
24504 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24506         [BZ #18981]
24507         * sysdeps/i386/fpu/i386-math-asm.h: New file.
24508         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
24509         (__ieee754_scalb): Use DBL_NARROW_EVAL.
24510         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
24511         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
24512         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
24513         (__scalbn): Use DBL_NARROW_EVAL.
24514         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
24515         (__scalbnf): Use FLT_NARROW_EVAL.
24517 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24519         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
24520         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
24521         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
24522         * stdio-common/printf_fp.c (___printf_fp):
24523         Use signbit to get the sign. Use isinf macro to allow inlining.
24524         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
24525         * stdio-common/printf_size.c (__printf_size): Likewise.
24527 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
24529         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
24531 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
24533         [BZ #18980]
24534         * sysdeps/generic/math_private.h: Include <float.h>.
24535         (math_narrow_eval): New macro.
24536         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
24537         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
24538         math_narrow_eval on overflowing return value.
24539         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
24540         Likewise.
24541         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
24542         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
24543         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
24544         Likewise.
24545         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
24547 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24549         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
24550         * math/Makefile: Remove isinf_ns.c.
24551         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
24552         * math/multc3.c (__multc3): Likewise.
24553         * math/s_casin.c (__casin): Likewise.
24554         * math/s_casinf.c (__casinf): Likewise.
24555         * math/s_casinl.c (__casinl): Likewise.
24556         * math/s_cproj.c (__cproj): Likewise.
24557         * math/s_cprojf.c (__cprojf): Likewise.
24558         * math/s_cprojl.c (__cprofl): Likewise.
24559         * math/s_ctan.c (__ctan): Likewise.
24560         * math/s_ctanf.c (__ctanf): Likewise.
24561         * math/s_ctanh.c (__ctanh): Likewise.
24562         * math/s_ctanhf.c (__ctanhf): Likewise.
24563         * math/s_ctanhl.c (__ctanhl): Likewise.
24564         * math/s_ctanl.c (__ctanl): Likewise.
24565         * math/w_fmod.c (__fmod): Likewise.
24566         * math/w_fmodf.c (__fmodf): Likewise.
24567         * math/w_fmodl.c (_fmodl): Likewise.
24568         * math/w_remainder.c (__remainder): Likewise.
24569         * math/w_remainderf.c (__remainderf): Likewise.
24570         * math/w_remainderl.c (__remainderl): Likewise.
24571         * math/w_scalb.c (__scalb): Likewise.
24572         * math/w_scalbf.c (__scalbf): Likewise.
24573         * math/w_scalbl.c (__scalbl): Likewise.
24574         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
24575         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
24576         with isinf.
24577         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
24578         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
24579         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
24580         __isinf_nsf with isinf.
24581         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
24582         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
24583         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
24584         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
24585         with isinf.
24586         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
24587         __isinf_nsl with isinf.
24588         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
24589         with isinf.
24590         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
24591         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
24592         __isinf_nsl with isinf.
24593         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
24594         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
24595         with isinf.
24597 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24599         * resolv/base64.c (rcsid): Remove unused static.
24600         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
24601         static.  (tqpi1): Likewise.
24602         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
24603         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
24604         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
24605         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
24606         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
24607         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
24608         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
24609         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
24610         Likewise.
24612 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
24614         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
24615         <nptl/pthreadP.h>.
24616         (_longjmp_unwind): Use __libc_ptf_call.
24617         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
24619 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
24621         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
24622         * sysdeps/arm/__longjmp.S: Likewise.
24624 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24626         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
24627         Use __builtin_signbit.
24628         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
24629         Use __builtin_signbitf.
24630         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
24631         Use __builtin_signbitl.
24632         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24633         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
24635 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24637         [BZ #15367]
24638         [BZ #17441]
24640         * math/Makefile: Build test-snan.c with -fsignaling-nans.
24641         * math/math.h (fpclassify): Use __builtin_fpclassify when
24642         available.  (signbit): Use __builtin_signbit(f/l).
24643         (isfinite): Use__builtin_isfinite.  (isnormal): Use
24644         __builtin_isnormal.  (isnan): Use __builtin_isnan.
24645         (isinf): Use __builtin_isinf_sign.
24647 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
24649         * benchtests/Makefile: Add bench-math-inlines, link with libm.
24650         * benchtests/bench-math-inlines.c: New benchmark.
24651         * benchtests/bench-util.h: New file.
24652         * benchtests/bench-util.c: New file.
24653         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
24655 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
24657         * elf/tst-dlmopen1.c: Define TEST_SO.
24658         (do_test): Use TEST_SO.
24660         * elf/dl-load.c: Include libc-internal.h.
24661         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
24663 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24665         [BZ #17887]
24666         * time/strptime_l.c (__strptime_internal): Make %z accept
24667         [+-]HH:MM time zones.
24669 2015-09-18  Vincent Bernat  <vincent@bernat.im>
24671         [BZ #17886]
24672         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
24673         valid time zone.
24675 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
24677         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
24678         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
24679         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24680         (__ASSUME_FDATASYNC): Delete.
24682 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24684         * conform/linknamespace.pl: Require weak undefined symbols to be
24685         in the standard namespace.
24686         (%strong_syms): Rename to %seen_syms.
24687         (%strong_seen): Rename to %seen_where.
24689 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
24691         [BZ #18970]
24692         * misc/error.c (error): Replace pthread_setcancelstate with
24693         __pthread_setcancelstate.
24694         (error_at_line): Likewise.
24695         * posix/wordexp.c (parse_comm): Likewise.
24696         * stdlib/fmtmsg.c (fmtmsg): Likewise.
24697         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
24698         (__pthread_setcancelstate): This.
24699         (pthread_setcancelstate): Add an alias.
24700         * nptl/nptl-init.c (pthread_functions): Replace
24701         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
24702         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
24703         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
24704         hidden_proto.
24705         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
24706         it with hidden_def.
24707         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
24708         (pthread_setcancelstate): Renamed to ...
24709         (__pthread_setcancelstate): This.
24710         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
24711         __libc_ptf_call with __pthread_setcancelstate.
24713 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24714             Andreas Schwab  <schwab@suse.de>
24716         [BZ #17118]
24717         * math/s_ctan.c (__ctan): Determine sign of zero real part of
24718         result when imaginary part of argument is infinite using sine and
24719         cosine.
24720         * math/s_ctanf.c (__ctanf): Likewise.
24721         * math/s_ctanl.c (__ctanl): Likewise.
24722         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
24723         of result when real part of argument is infinite using sine and
24724         cosine.
24725         * math/s_ctanhf.c (__ctanhf): Likewise.
24726         * math/s_ctanhl.c (__ctanhl): Likewise.
24727         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
24728         (ctanh_test_data): Add more tests of ctanh.
24730 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
24732         [BZ #15384]
24733         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
24734         bit-mask as in subtraction.
24735         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
24736         Likewise.
24737         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
24738         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
24739         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
24741         [BZ #18951]
24742         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
24743         underflow exception for small results.
24744         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
24745         Likewise.
24746         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
24747         Likewise.
24748         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24749         Likewise.
24750         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
24751         Likewise.
24752         * math/auto-libm-test-in: Add more tests of tgamma.
24753         * math/auto-libm-test-out: Regenerated.
24755 2015-09-17  Andreas Schwab  <schwab@suse.de>
24757         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
24759 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24761         [BZ #18977]
24762         * math/bits/mathcalls.h
24763         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
24764         not declare.
24765         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
24766         Likewise.
24767         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
24768         Likewise.
24769         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
24770         Likewise.
24771         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
24772         Likewise.
24773         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
24774         Likewise.
24775         * conform/data/math.h-data
24776         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
24777         function.
24778         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
24779         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
24780         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
24781         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
24782         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
24783         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
24784         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
24785         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
24786         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
24787         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
24788         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
24790         [BZ #6803]
24791         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
24792         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
24793         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
24794         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
24795         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
24796         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
24797         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
24798         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
24799         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24800         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
24801         Likewise.
24802         [NO_LONG_DOUBLE] (scalbnl): Likewise.
24803         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
24804         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
24805         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
24806         long_double_symbol calls.
24807         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
24808         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
24809         strong alias of __ldexpl.
24810         (scalbnl): Define using long_double_symbol.
24811         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
24812         Remove alias.
24813         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
24814         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
24815         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
24816         (scalbln_test_data): Add more errno expectations.
24818 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
24820         Cache the host port like we cache the task port.  This way we do not
24821         need to call the kernel just to get the port.  Furthermore, we no
24822         longer increase the reference count on every invocation of
24823         `mach_host_self'.
24825         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
24826         Protect declarations against the macro expansion.
24827         * mach/mach_init.c (__mach_host_self_): New variable.
24828         (mach_init): Initialize `__mach_host_self_'.
24829         * mach/mach_init.h (__mach_host_self_): New declaration.
24830         (__mach_host_self, mach_host_self): New macros.
24831         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
24832         Release reference.
24834 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
24836         [BZ #4404]
24837         * po/de.po: Update from Translation Project.
24839         [BZ #16415]
24840         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
24841         (__expm1l): Remove code to handle positive infinity and overflow.
24842         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
24843         variable.
24844         (__expm1l): Remove code to handle positive infinity and overflow.
24846 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
24847             Paul Pluzhnikov  <ppluzhnikov@google.com>
24849         [BZ #18872]
24850         * stdio-common/Makefile (tst-printf-bz18872): New test.
24851         (tst-printf-bz18872-mem.out): Likewise.
24852         * stdio-common/tst-printf-bz18872.sh: Generate new test.
24853         * stdio-common/vfprintf.c: Fix memory leaks.
24855 2015-09-16  Andreas Schwab  <schwab@suse.de>
24857         [BZ #17244]
24858         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
24859         Remove extra va_start/va_end calls.
24861         [BZ #17243]
24862         * posix/execl.c (execl): Add missing va_end.
24863         * posix/execle.c (execle): Likewise.
24864         * posix/execlp.c (execlp): Likewise.
24866 2015-09-15  Roland McGrath  <roland@hack.frob.com>
24868         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
24869         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
24871 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
24873         [BZ #18967]
24874         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
24875         undefine around includes of <bits/mathcalls.h>.
24876         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
24877         not declare function.
24878         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
24879         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
24880         (scalb): Likewise.
24881         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
24882         not define macro.
24883         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
24884         variable.
24885         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24886         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24887         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24889         [BZ #18857]
24890         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
24891         return non-finite argument without doing ordered comparisons on
24892         it.
24894         [BZ #16296]
24895         * math/fenv.h (fegetround): Use __attribute_pure__.
24896         * include/fenv.h (__fegetround): Likewise.
24898         [BZ #18595]
24899         * math/s_ctan.c (__ctan): Force underflow exception for results
24900         whose real or imaginary part has small absolute value.
24901         * math/s_ctanf.c (__ctanf): Likewise.
24902         * math/s_ctanh.c (__ctanh): Likewise.
24903         * math/s_ctanhf.c (__ctanhf): Likewise.
24904         * math/s_ctanhl.c (__ctanhl): Likewise.
24905         * math/s_ctanl.c (__ctanl): Likewise.
24906         * math/auto-libm-test-in: Do not allow missing underflow for ctan
24907         and ctanh.  Add more tests of ctan and ctanh.
24909         [BZ #15918]
24910         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
24911         handling of cases where one argument is an infinity.
24913         [BZ #18875]
24914         [BZ #18966]
24915         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
24916         (MO): New macro.
24917         (__ieee754_exp10): For small results, force underflow exception
24918         and remove excess range and precision from return value.
24919         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
24920         (MO): New macro.
24921         (__ieee754_exp10f): For small results, force underflow exception
24922         and remove excess range and precision from return value.
24923         * math/auto-libm-test-in: Add more tests of exp10.
24924         * math/auto-libm-test-out: Regenerated.
24926 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
24928         [BZ #18875]
24929         [BZ #18961]
24930         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
24931         (MO): New macro.
24932         (__ieee754_exp): For small results, force underflow exception and
24933         remove excess range and precision from return value.
24934         (__exp_finite): Likewise.
24935         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
24936         (MO): New macro.
24937         (__ieee754_expf): For small results, force underflow exception and
24938         remove excess range and precision from return value.
24939         (__expf_finite): Likewise.
24940         * math/auto-libm-test-in: Add more tests of exp.
24941         * math/auto-libm-test-out: Regenerated.
24943         [BZ #16521]
24944         [BZ #18875]
24945         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24946         small results.
24947         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24948         (MO): New macro.
24949         (__ieee754_exp2): For small results, force underflow exception and
24950         remove excess range and precision from return value.
24951         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24952         (MO): New macro.
24953         (__ieee754_exp2f): For small results, force underflow exception
24954         and remove excess range and precision from return value.
24955         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24956         (MO): New macro.
24957         (__ieee754_exp2l): Force underflow exception for small results.
24958         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24959         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24960         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24961         (MO): New macro.
24962         (__ieee754_exp2l): Force underflow exception for small results.
24963         * math/auto-libm-test-in: Add more tests or exp2.
24964         * math/auto-libm-test-out: Regenerated.
24966 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24968         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24970         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24971         /dev/null.
24973 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24975         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24976         io fs process)): Drop spurious backslash.
24978 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24980         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24981         Use sysinfo system call instead of parsing /proc/meminfo.
24982         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24983         Likewise.
24985 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24987         [BZ #16985]
24988         * programs/localedef.c (main): Display argv[remaining] when
24989         output_path is NULL.
24991 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24993         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24994         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24995         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24996         tanh.
24997         * math/auto-libm-test-out: Regenerated.
24998         * sysdeps/i386/fpu/libm-test-ulps: Update.
24999         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25000         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25003 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25005         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25006         Use 'override' keyword to freeze the value here, preventing
25007         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25009 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25011         [BZ #14912]
25012         * sysdeps/aarch64/bits/atomic.h: Move to ...
25013         * sysdeps/aarch64/atomic-machine.h: ...here.
25014         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25015         _AARCH64_ATOMIC_MACHINE_H.
25016         * sysdeps/alpha/bits/atomic.h: Move to ...
25017         * sysdeps/alpha/atomic-machine.h: ...here.
25018         * sysdeps/arm/bits/atomic.h: Move to ...
25019         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25020         * bits/atomic.h: Move to ...
25021         * sysdeps/generic/atomic-machine.h: ...here.
25022         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25023         * sysdeps/i386/bits/atomic.h: Move to ...
25024         * sysdeps/i386/atomic-machine.h: ...here.
25025         * sysdeps/ia64/bits/atomic.h: Move to ...
25026         * sysdeps/ia64/atomic-machine.h: ...here.
25027         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25028         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25029         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25030         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25031         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25032         * sysdeps/microblaze/bits/atomic.h: Move to ...
25033         * sysdeps/microblaze/atomic-machine.h: ...here.
25034         * sysdeps/mips/bits/atomic.h: Move to ...
25035         * sysdeps/mips/atomic-machine.h: ...here.
25036         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25037         * sysdeps/powerpc/bits/atomic.h: Move to ...
25038         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25039         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25040         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25041         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25042         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25043         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25044         <atomic-machine.h> instead of <bits/atomic.h>.
25045         * sysdeps/s390/bits/atomic.h: Move to ...
25046         * sysdeps/s390/atomic-machine.h: ...here.
25047         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25048         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25049         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25050         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25051         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25052         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25053         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25054         * sysdeps/tile/bits/atomic.h: Move to ...
25055         * sysdeps/tile/atomic-machine.h: ...here.
25056         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25057         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25058         <sysdeps/tile/atomic-machine.h> instead of
25059         <sysdeps/tile/bits/atomic.h>.
25060         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25061         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25062         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25063         <sysdeps/tile/atomic-machine.h> instead of
25064         <sysdeps/tile/bits/atomic.h>.
25065         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25066         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25067         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25068         <sysdeps/arm/atomic-machine.h> instead of
25069         <sysdeps/arm/bits/atomic.h>.
25070         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25071         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25072         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25073         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25074         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25075         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25076         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25077         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25078         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25079         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25080         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25081         * sysdeps/x86_64/bits/atomic.h: Move to ...
25082         * sysdeps/x86_64/atomic-machine.h: ...here.
25083         * include/atomic.h: Include <atomic-machine.h> instead of
25084         <bits/atomic.h>.
25086         * sysdeps/mips/mips32/libm-test-ulps: Update.
25087         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25089         [BZ #18952]
25090         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25091         not convert non-integer negative arguments to int to determine the
25092         value of signgam.
25093         * math/auto-libm-test-in: Add more tests of lgamma.
25094         * math/auto-libm-test-out: Regenerated.
25096         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25097         cosh, csqrt, erfc, expm1 and lgamma.
25098         * math/auto-libm-test-out: Regenerated.
25099         * sysdeps/i386/fpu/libm-test-ulps: Update.
25100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25102 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25104         [BZ #2542]
25105         [BZ #2543]
25106         [BZ #2558]
25107         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25108         __lgamma_neg for arguments from -28.0 to -2.0.
25109         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25110         __lgamma_negf for arguments from -15.0 to -2.0.
25111         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25112         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25113         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25114         Call __lgamma_negl for arguments from -33.0 to -2.0.
25115         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25116         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25117         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25118         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25119         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25120         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25121         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25122         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25123         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25124         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25125         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25126         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25127         (__lgamma_neg): Likewise.
25128         (__lgamma_negl): Likewise.
25129         (__lgamma_product): Likewise.
25130         (__lgamma_productl): Likewise.
25131         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25132         * math/auto-libm-test-in: Add more tests of lgamma.
25133         * math/auto-libm-test-out: Regenerated.
25134         * sysdeps/i386/fpu/libm-test-ulps: Update.
25135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25137 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25139         [BZ #18675]
25140         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25142 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25144         [BZ #14912]
25145         * bits/libc-lock.h: Move to ...
25146         * sysdeps/generic/libc-lock.h: ...here.
25147         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25148         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25149         * sysdeps/mach/hurd/libc-lock.h: ...here.
25150         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25151         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25152         * sysdeps/mach/bits/libc-lock.h: Move to ...
25153         * sysdeps/mach/libc-lock.h: ...here.
25154         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25155         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25156         * sysdeps/nptl/libc-lock.h: ...here.
25157         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25158         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25159         * sysdeps/nptl/libc-lockP.h: ...here.
25160         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25161         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25162         <bits/libc-lock.h>.
25163         * dirent/scandir-tail.c: Likewise.
25164         * dlfcn/dlerror.c: Likewise.
25165         * elf/dl-close.c: Likewise.
25166         * elf/dl-iteratephdr.c: Likewise.
25167         * elf/dl-lookup.c: Likewise.
25168         * elf/dl-open.c: Likewise.
25169         * elf/dl-support.c: Likewise.
25170         * elf/dl-writev.h: Likewise.
25171         * elf/rtld.c: Likewise.
25172         * grp/fgetgrent.c: Likewise.
25173         * gshadow/fgetsgent.c: Likewise.
25174         * gshadow/sgetsgent.c: Likewise.
25175         * iconv/gconv_conf.c: Likewise.
25176         * iconv/gconv_db.c: Likewise.
25177         * iconv/gconv_dl.c: Likewise.
25178         * iconv/gconv_int.h: Likewise.
25179         * iconv/gconv_trans.c: Likewise.
25180         * include/link.h: Likewise.
25181         * inet/getnameinfo.c: Likewise.
25182         * inet/getnetgrent.c: Likewise.
25183         * inet/getnetgrent_r.c: Likewise.
25184         * intl/bindtextdom.c: Likewise.
25185         * intl/dcigettext.c: Likewise.
25186         * intl/finddomain.c: Likewise.
25187         * intl/gettextP.h: Likewise.
25188         * intl/loadmsgcat.c: Likewise.
25189         * intl/localealias.c: Likewise.
25190         * intl/textdomain.c: Likewise.
25191         * libidn/idn-stub.c: Likewise.
25192         * libio/libioP.h: Likewise.
25193         * locale/duplocale.c: Likewise.
25194         * locale/freelocale.c: Likewise.
25195         * locale/newlocale.c: Likewise.
25196         * locale/setlocale.c: Likewise.
25197         * login/getutent_r.c: Likewise.
25198         * login/getutid_r.c: Likewise.
25199         * login/getutline_r.c: Likewise.
25200         * login/utmp-private.h: Likewise.
25201         * login/utmpname.c: Likewise.
25202         * malloc/mtrace.c: Likewise.
25203         * misc/efgcvt.c: Likewise.
25204         * misc/error.c: Likewise.
25205         * misc/fstab.c: Likewise.
25206         * misc/getpass.c: Likewise.
25207         * misc/mntent.c: Likewise.
25208         * misc/syslog.c: Likewise.
25209         * nis/nis_call.c: Likewise.
25210         * nis/nis_callback.c: Likewise.
25211         * nis/nss-default.c: Likewise.
25212         * nis/nss_compat/compat-grp.c: Likewise.
25213         * nis/nss_compat/compat-initgroups.c: Likewise.
25214         * nis/nss_compat/compat-pwd.c: Likewise.
25215         * nis/nss_compat/compat-spwd.c: Likewise.
25216         * nis/nss_nis/nis-alias.c: Likewise.
25217         * nis/nss_nis/nis-ethers.c: Likewise.
25218         * nis/nss_nis/nis-grp.c: Likewise.
25219         * nis/nss_nis/nis-hosts.c: Likewise.
25220         * nis/nss_nis/nis-network.c: Likewise.
25221         * nis/nss_nis/nis-proto.c: Likewise.
25222         * nis/nss_nis/nis-pwd.c: Likewise.
25223         * nis/nss_nis/nis-rpc.c: Likewise.
25224         * nis/nss_nis/nis-service.c: Likewise.
25225         * nis/nss_nis/nis-spwd.c: Likewise.
25226         * nis/nss_nisplus/nisplus-alias.c: Likewise.
25227         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
25228         * nis/nss_nisplus/nisplus-grp.c: Likewise.
25229         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
25230         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
25231         * nis/nss_nisplus/nisplus-network.c: Likewise.
25232         * nis/nss_nisplus/nisplus-proto.c: Likewise.
25233         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
25234         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
25235         * nis/nss_nisplus/nisplus-service.c: Likewise.
25236         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
25237         * nis/ypclnt.c: Likewise.
25238         * nptl/libc_pthread_init.c: Likewise.
25239         * nss/getXXbyYY.c: Likewise.
25240         * nss/getXXent.c: Likewise.
25241         * nss/getXXent_r.c: Likewise.
25242         * nss/nss_db/db-XXX.c: Likewise.
25243         * nss/nss_db/db-netgrp.c: Likewise.
25244         * nss/nss_db/nss_db.h: Likewise.
25245         * nss/nss_files/files-XXX.c: Likewise.
25246         * nss/nss_files/files-alias.c: Likewise.
25247         * nss/nsswitch.c: Likewise.
25248         * posix/regex_internal.h: Likewise.
25249         * posix/wordexp.c: Likewise.
25250         * pwd/fgetpwent.c: Likewise.
25251         * resolv/res_hconf.c: Likewise.
25252         * resolv/res_libc.c: Likewise.
25253         * shadow/fgetspent.c: Likewise.
25254         * shadow/lckpwdf.c: Likewise.
25255         * shadow/sgetspent.c: Likewise.
25256         * socket/opensock.c: Likewise.
25257         * stdio-common/reg-modifier.c: Likewise.
25258         * stdio-common/reg-printf.c: Likewise.
25259         * stdio-common/reg-type.c: Likewise.
25260         * stdio-common/vfprintf.c: Likewise.
25261         * stdio-common/vfscanf.c: Likewise.
25262         * stdlib/abort.c: Likewise.
25263         * stdlib/cxa_atexit.c: Likewise.
25264         * stdlib/fmtmsg.c: Likewise.
25265         * stdlib/random.c: Likewise.
25266         * stdlib/setenv.c: Likewise.
25267         * string/strsignal.c: Likewise.
25268         * sunrpc/auth_none.c: Likewise.
25269         * sunrpc/bindrsvprt.c: Likewise.
25270         * sunrpc/create_xid.c: Likewise.
25271         * sunrpc/key_call.c: Likewise.
25272         * sunrpc/rpc_thread.c: Likewise.
25273         * sysdeps/arm/backtrace.c: Likewise.
25274         * sysdeps/generic/ldsodefs.h: Likewise.
25275         * sysdeps/generic/stdio-lock.h: Likewise.
25276         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
25277         * sysdeps/i386/backtrace.c: Likewise.
25278         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25279         * sysdeps/m68k/backtrace.c: Likewise.
25280         * sysdeps/mach/hurd/cthreads.c: Likewise.
25281         * sysdeps/mach/hurd/dirstream.h: Likewise.
25282         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25283         * sysdeps/nptl/malloc-machine.h: Likewise.
25284         * sysdeps/nptl/stdio-lock.h: Likewise.
25285         * sysdeps/posix/dirstream.h: Likewise.
25286         * sysdeps/posix/getaddrinfo.c: Likewise.
25287         * sysdeps/posix/system.c: Likewise.
25288         * sysdeps/pthread/aio_suspend.c: Likewise.
25289         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25290         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25291         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25292         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25293         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
25294         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
25295         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
25296         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25297         * sysdeps/unix/sysv/linux/system.c: Likewise.
25298         * sysdeps/x86_64/backtrace.c: Likewise.
25299         * time/alt_digit.c: Likewise.
25300         * time/era.c: Likewise.
25301         * time/tzset.c: Likewise.
25302         * wcsmbs/wcsmbsload.c: Likewise.
25303         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
25304         instead of <bits/libc-lock.h> in comment.
25306 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
25308         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
25309         Only use .set mips2 if the current ISA is below mips2.
25310         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
25311         Likewise.
25312         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
25313         mips32r2 if the current ISA is below mips32r2.
25314         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
25315         (TLS_IE): Updated to use the TLD_RDHWR macro.
25316         (TLS_LE): Likewise.
25317         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
25318         __ASSEMBLER__ condition.
25320 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25322         Fix parallel build of before-compile targets.
25324         * sysdeps/mach/Makefile ($(patsubst
25325         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
25326         mach-before-compile target.
25327         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25328         io fs process)): Move rule to dedicated hurd-before-compile target.
25330 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25332         Fix rules generating headers in hurd/ and mach/ when initial make call
25333         has subdir= explicitly set.
25335         * sysdeps/mach/Makefile ($(patsubst
25336         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
25337         calling $(MAKE).
25338         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25339         io fs process)): Force subdir to hurd when calling $(MAKE).
25340         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
25341         subdir to mach when calling $(MAKE).
25343 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
25345         Check sysheaders when looking for Mach and Hurd headers
25347         * sysdeps/mach/configure.ac: Add sysheaders check.
25348         * sysdeps/mach/configure: Regenerate.
25349         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
25350         * sysdeps/mach/hurd/configure: Regenerate.
25352 2015-09-04  Roland McGrath  <roland@hack.frob.com>
25354         [BZ #18921]
25355         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
25356         Fix inverted sense of test of 'o_directory_works' value.
25357         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
25358         Bernhard Voelker <mail@bernhard-voelker.de>.
25360 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25362         [BZ #14912]
25363         * bits/linkmap.h: Move to ...
25364         * sysdeps/generic/linkmap.h: ...here.
25365         * sysdeps/aarch64/bits/linkmap.h: Move to ...
25366         * sysdeps/aarch64/linkmap.h: ...here.
25367         * sysdeps/arm/bits/linkmap.h: Move to ...
25368         * sysdeps/arm/linkmap.h: ...here.
25369         * sysdeps/hppa/bits/linkmap.h: Move to ...
25370         * sysdeps/hppa/linkmap.h: ...here.
25371         * sysdeps/ia64/bits/linkmap.h: Move to ...
25372         * sysdeps/ia64/linkmap.h: ...here.
25373         * sysdeps/mips/bits/linkmap.h: Move to ...
25374         * sysdeps/mips/linkmap.h: ...here.
25375         * sysdeps/s390/bits/linkmap.h: Move to ...
25376         * sysdeps/s390/linkmap.h: ...here.
25377         * sysdeps/sh/bits/linkmap.h: Move to ...
25378         * sysdeps/sh/linkmap.h: ...here.
25379         * sysdeps/x86/bits/linkmap.h: Move to ...
25380         * sysdeps/x86/linkmap.h: ...here.
25381         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
25383 2015-09-04  Andreas Schwab  <schwab@suse.de>
25385         [BZ #18635]
25386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
25387         (__makecontext): Terminate FDE before return label.
25388         (__novec_makecontext): Likewise.
25390 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25392         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
25393         first member of struct sv in syscall macro.
25395 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
25397         [BZ #14912]
25398         * bits/stdio-lock.h: Move to ...
25399         * sysdeps/generic/stdio-lock.h: ...here.
25400         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25401         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
25402         * sysdeps/nptl/stdio-lock.h: ...here.
25403         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
25404         * include/libio.h: Include <stdio-lock.h> instead of
25405         <bits/stdio-lock.h>.
25406         * sysdeps/nptl/fork.c: Likewise.
25407         * sysdeps/pthread/flockfile.c: Likewise.
25408         * sysdeps/pthread/ftrylockfile.c: Likewise.
25409         * sysdeps/pthread/funlockfile.c: Likewise.
25411         [BZ #14912]
25412         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
25413         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
25414         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
25415         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
25416         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
25417         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25418         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
25420 2015-09-03  Roland McGrath  <roland@hack.frob.com>
25422         * elf/Makefile (test-xfail-tst-protected1a): New variable.
25423         (test-xfail-tst-protected1b): New variable.
25425 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
25427         [BZ #14912]
25428         * bits/libc-tsd.h: Move to ...
25429         * sysdeps/generic/libc-tsd.h: ...here.
25430         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
25431         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
25432         * sysdeps/mach/hurd/libc-tsd.h: ...here.
25433         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
25434         * include/ctype.h: Include <libc-tsd.h> instead of
25435         <bits/libc-tsd.h>.
25436         * include/rpc/rpc.h: Likewise.
25437         * locale/localeinfo.h: Likewise.
25438         * sunrpc/rpc_thread.c: Likewise.
25439         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
25440         * sysdeps/nptl/malloc-machine.h: Likewise.
25442         * Makefile (headers): Remove bits/libc-lock.h.
25443         * libio/Makefile (headers): Remove bits/stdio-lock.h.
25445         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
25446         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
25447         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
25448         <bits/stdio-lock.h>.
25449         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
25450         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
25452 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25454         [BZ #18757]
25455         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
25456         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
25457         BZ #18757.
25459 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
25461         * malloc/mtrace.pl: Filter out NULL entries.
25463 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
25465         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
25466         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
25467         macro.
25469         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
25470         (TCP_CC_INFO): Likewise.
25471         (TCP_SAVE_SYN): Likewise.
25472         (TCP_SAVED_SYN): Likewise.
25474 2015-08-31  Brett Neumeier <brett@neumeier.us>
25476         [BZ #18870]
25477         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
25479 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
25481         [BZ #18873]
25482         Fix broken overflow check in posix_fallocate
25483         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
25484         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25485         Fix parenthesization typo.
25487 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
25489         [BZ #18887]
25490         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
25491         tst-mntent-blank-passno.
25492         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
25493         * misc/tst-mntent-blank-corrupt.c: New test.
25494         * misc/tst-mntent-blank-passno.c: New test ripped from ...
25495         * misc/tst-mntent.c (do_test): ... here.
25497 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
25499         [BZ #4404]
25500         * po/de.po: Fix SIGALRM typo.
25502 2015-08-28  James Perkins  <james@loowit.net>
25504         * time/tst-strptime2.c (tests): Replace short list of test
25505         strings for strptime %z specifier with code which exhaustively
25506         tests every combination of sign and 0 to 5 digits. Tests for
25507         rejection of invalid strings.
25509 2015-08-28  James Perkins  <james@loowit.net>
25511         [BZ #16141]
25512         * time/strptime_l.c (__strptime_internal): Fix %z minutes
25513         calculation, removing incorrect decimal time rounding, so that
25514         all minute values result in a valid seconds value.
25515         * time/strptime_l.c (__strptime_internal): Extend %z time zone
25516         offset range limits to UTC-99:59 through UTC+99:59 to parse
25517         current and historical use cases.
25518         * time/tst-strptime2.c (tests): Modify and add tests for the
25519         strptime %z input field descriptor, specifically conversion of
25520         minutes to seconds and validating an offset range of -9959 to
25521         +9959.
25523 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25524             Dmitry V. Levin  <ldv@altlinux.org>
25526         [BZ #18877]
25527         * posix/Makefile (tests): Add tst-mmap-offset.
25528         * posix/tst-mmap.c: New file.
25529         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
25530         offset calculation for negative values.
25532 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25534         * sysdeps/i386/init-arch.h: New file.
25535         * sysdeps/i386/i586/init-arch.h: Likewise.
25536         * sysdeps/i386/i686/init-arch.h: Likewise.
25537         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
25538         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
25539         * sysdeps/x86/cpu-features.h (bit_I586): New.
25540         (bit_I686): Likewise.
25541         (bit_CX8): Likewise.
25542         (bit_CMOV): Likewise.
25543         (index_CX8): Likewise.
25544         (index_CMOV): Likewise.
25545         (index_I586): Likewise.
25546         (index_I686): Likewise.
25547         (reg_CX8): Likewise.
25548         (reg_CMOV): Likewise.
25549         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
25550         available at compile-time.
25551         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
25552         available at compile-time.
25553         * sysdeps/x86/init-arch.h (USE_I586): New macro.
25554         (USE_I686): Likewise.
25556 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25558         * sysdeps/i386/bcopy.S: New file.
25559         * sysdeps/i386/bzero.S: Likewise.
25560         * sysdeps/i386/memcpy.S: Likewise.
25561         * sysdeps/i386/memmove.S: Likewise.
25562         * sysdeps/i386/mempcpy.S: Likewise.
25563         * sysdeps/i386/memset.S: Likewise.
25564         * sysdeps/i386/bzero.c: Removed.
25565         * sysdeps/i386/memset.c: Likewise.
25566         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
25567         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
25568         * sysdeps/i386/i586/memset_chk.S: Likewise.
25569         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
25570         * sysdeps/i386/memcpy_chk.S: Here.
25571         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
25572         * sysdeps/i386/memmove_chk.S: Here.
25573         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
25574         * sysdeps/i386/mempcpy_chk.S: Likewise.
25575         * sysdeps/i386/i686/memset_chk.S: Moved to ...
25576         * sysdeps/i386/memset_chk.S: Likewise.
25578 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
25580         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
25581         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
25582         file, move DIAG_POP_NEEDS_COMMENT to end of file.
25583         * soft-fp/fmadf4.c: Ditto.
25584         * soft-fp/fmatf4.c: Ditto.
25586 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25588         * sysdeps/i386/i586/Implies: Removed.
25589         * sysdeps/i386/i686/Implies: Likewise.
25591 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25593         * sysdeps/i386/i486/strlen.S: Moved to ...
25594         * sysdeps/i386/strlen.S: Here.
25596 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25598         * sysdeps/i386/i486/strcat.S: Moved to ...
25599         * sysdeps/i386/strcat.S: Here.
25601 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25603         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
25604         * sysdeps/i386/pthread_spin_trylock.S: Here.
25605         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
25606         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
25608 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25610         * sysdeps/i386/i486/string-inlines.c: Moved to ...
25611         * sysdeps/i386/string-inlines.c: Here.
25613 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25615         * sysdeps/i386/i486/htonl.S: Moved ...
25616         * sysdeps/i386/htonl.S: here.
25618 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25620         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
25621         * sysdeps/i386/bits/atomic.h: Here.
25623 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
25625         * sysdeps/i386/i486/Versions: Removed.
25627 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25629         [BZ #2898]
25630         * misc/mktemp.c: Add mkdtemp to the link_warning message.
25631         Based on patch by Aurelien Jarno.
25633 2015-08-26  Stan Shebs  <stanshebs@google.com>
25635         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
25636         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25638 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25640         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
25641         * sysdeps/powerpc/dl-procinfo.c:
25642         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
25643         feature so it shows when LD_SHOW_AUXV=1.
25645 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25647         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
25648         (__arch_compare_and_exchange_val_32_acq): Remove and use common
25649         definition.  ISA 2.07B no longer requires full sync.
25651 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
25653         [BZ #18863]
25654         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
25655         (si_call_addr): Define.
25656         (si_syscall): Define.
25657         (si_arch): Define.
25659 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
25661         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
25662         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
25663         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
25664         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25665         (__memset_zero_constant_len_parameter): New.
25666         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
25667         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
25668         (__memset_zero_constant_len_parameter): Don't define if
25669         __memset_chk or USE_AS_BZERO are defined.
25671         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
25672         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
25673         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
25675         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
25676         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
25677         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
25678         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
25679         comments.
25680         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
25681         -mno-mmx for $(all-rtld-routines).
25682         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
25683         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
25684         i386.
25686 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
25688         * sysdeps/generic/unwind.h
25689         (_Unwind_Word): Use __mode__(__unwind_word__)
25690         instead of __mode__(__word__).
25691         (_Unwind_Sword): Likewise.
25693         * sysdeps/s390/s390-64/utf8-utf16-z9.c
25694         (MAX_NEEDED_INPUT): New define.
25695         (MAX_NEEDED_OUTPUT): New define.
25697         * NEWS: New item for IBM z13 string optimizations.
25699         * sysdeps/s390/multiarch/memrchr-c.c: New File.
25700         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
25701         * sysdeps/s390/multiarch/memrchr.c: Likewise.
25702         * sysdeps/s390/multiarch/Makefile
25703         (sysdep_routines): Add memrchr functions.
25704         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25705         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
25707         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
25708         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
25709         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
25710         * sysdeps/s390/multiarch/Makefile
25711         (sysdep_routines): Add wmemcmp functions.
25712         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25713         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
25714         * benchtests/bench-wmemcmp.c: New File.
25715         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
25717         * sysdeps/s390/multiarch/wmemset-c.c: New File.
25718         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
25719         * sysdeps/s390/multiarch/wmemset.c: Likewise.
25720         * sysdeps/s390/multiarch/Makefile
25721         (sysdep_routines): Add wmemset functions.
25722         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25723         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
25724         * wcsmbs/wmemset.c: Use WMEMSET if defined.
25725         * string/test-memset.c: Add wmemset support.
25726         * wcsmbs/test-wmemset.c: New File.
25727         * wcsmbs/Makefile (strop-tests): Add wmemset.
25728         * benchtests/bench-memset.c: Add wmemset support.
25729         * benchtests/bench-wmemset.c: New File.
25730         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
25732         * sysdeps/s390/multiarch/memccpy-c.c: New File.
25733         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
25734         * sysdeps/s390/multiarch/memccpy.c: Likewise.
25735         * sysdeps/s390/multiarch/Makefile
25736         (sysdep_routines): Add memccpy functions.
25737         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25738         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
25739         * string/memccpy.c: Use MEMCCPY if defined.
25741         * sysdeps/s390/multiarch/memchr-vx.S: New File.
25742         * sysdeps/s390/multiarch/memchr.c: Likewise.
25743         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
25744         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
25745         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
25746         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
25747         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
25748         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
25749         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
25750         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
25751         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
25752         and rawmemchr functions.
25753         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
25754         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
25755         and wmemchr.
25756         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
25757         * string/test-memchr.c: Add wmemchr support.
25758         * wcsmbs/test-wmemchr.c: New File.
25759         * wcsmbs/Makefile (strop-tests): Add wmemchr.
25760         * benchtests/bench-memchr.c: Add wmemchr support.
25761         * benchtests/bench-wmemchr.c: New File.
25762         * benchtests/Makefile (wcsmbs-bench): wmemchr.
25764         * sysdeps/s390/multiarch/strcspn-c.c: New File.
25765         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
25766         * sysdeps/s390/multiarch/strcspn.c: Likewise.
25767         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
25768         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
25769         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
25770         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
25771         wcscspn functions.
25772         * sysdeps/s390/multiarch/ifunc-impl-list.c
25773         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
25774         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
25775         * string/test-strcspn.c: Add wcscspn support.
25776         * wcsmbs/test-wcscspn.c: New File.
25777         * wcsmbs/Makefile (strop-tests): Add wcscspn.
25778         * benchtests/bench-strcspn.c: Add wcscspn support.
25779         * benchtests/bench-wcscspn.c: New File.
25780         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
25782         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
25783         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
25784         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
25785         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
25786         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
25787         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
25788         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
25789         wcspbrk functions.
25790         * sysdeps/s390/multiarch/ifunc-impl-list.c
25791         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
25792         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
25793         * string/test-strpbrk.c: Add wcspbrk support.
25794         * wcsmbs/test-wcspbrk.c: New File.
25795         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
25796         * benchtests/bench-strpbrk.c: Add wcspbrk support.
25797         * benchtests/bench-wcspbrk.c: New File.
25798         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
25800         * sysdeps/s390/multiarch/strspn-c.c: New File.
25801         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
25802         * sysdeps/s390/multiarch/strspn.c: Likewise.
25803         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
25804         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
25805         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
25806         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
25807         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
25808         wcsspn functions.
25809         * sysdeps/s390/multiarch/ifunc-impl-list.c
25810         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
25811         * string/test-strspn.c: Add wcsspn support.
25812         * wcsmbs/test-wcsspn.c: New File.
25813         * wcsmbs/Makefile (strop-tests): Add wcsspn.
25814         * benchtests/bench-strspn.c: Add wcsspn support.
25815         * benchtests/bench-wcsspn.c: New File.
25816         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
25818         * sysdeps/s390/multiarch/strrchr-c.c: New File.
25819         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
25820         * sysdeps/s390/multiarch/strrchr.c: Likewise.
25821         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
25822         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
25823         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
25824         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
25825         wcsrchr functions.
25826         * sysdeps/s390/multiarch/ifunc-impl-list.c
25827         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
25828         * benchtests/bench-wcsrchr.c: New File.
25829         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
25831         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
25832         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
25833         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
25834         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
25835         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
25836         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
25837         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
25838         wcschrnul functions.
25839         * sysdeps/s390/multiarch/ifunc-impl-list.c
25840         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
25841         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
25842         * string/test-strchr.c: Add wcschrnul support.
25843         * wcsmbs/test-wcschrnul.c: New File.
25844         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
25845         * benchtests/bench-strchr.c: Add wcschrnul support.
25846         * benchtests/bench-wcschrnul.c: New File.
25847         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
25849         * sysdeps/s390/multiarch/strchr-c.c: New File.
25850         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
25851         * sysdeps/s390/multiarch/strchr.c: Likewise.
25852         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
25853         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
25854         * sysdeps/s390/multiarch/wcschr.c: Likewise.
25855         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
25856         wcschr functions.
25857         * sysdeps/s390/multiarch/ifunc-impl-list.c
25858         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
25859         * string/strchr.c (STRCHR): Define and use macro.
25860         * benchtests/bench-wcschr.c: New File.
25861         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
25863         * sysdeps/s390/multiarch/strncmp-c.c: New File.
25864         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
25865         * sysdeps/s390/multiarch/strncmp.c: Likewise.
25866         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
25867         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
25868         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
25869         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
25870         wcsncmp functions.
25871         * sysdeps/s390/multiarch/ifunc-impl-list.c
25872         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
25873         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
25874         * benchtests/bench-strncmp.c: Add wcsncmp support.
25875         * benchtests/bench-wcsncmp.c: New File.
25876         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
25878         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
25879         * sysdeps/s390/multiarch/strcmp.c: Likewise.
25880         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
25881         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
25882         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
25883         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
25884         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
25885         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
25886         wcscmp functions.
25887         * sysdeps/s390/multiarch/ifunc-impl-list.c
25888         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
25889         * string/strcmp.c (STRCMP): Define and use macro.
25890         * benchtests/bench-wcscmp.c: New File.
25891         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
25892         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
25893         instead of _HAVE_STRING_ARCH_memchr.
25895         * sysdeps/s390/multiarch/strncat-c.c: New File.
25896         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
25897         * sysdeps/s390/multiarch/strncat.c: Likewise.
25898         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
25899         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
25900         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
25901         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
25902         wcsncat functions.
25903         * sysdeps/s390/multiarch/ifunc-impl-list.c
25904         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
25905         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
25906         * string/test-strncat.c: Add wcsncat support.
25907         * wcsmbs/test-wcsncat.c: New File.
25908         * wcsmbs/Makefile (strop-tests): Add wcsncat.
25909         * benchtests/bench-strncat.c: Add wcsncat support.
25910         * benchtests/bench-wcsncat.c: New File.
25911         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
25913         * sysdeps/s390/multiarch/strcat-c.c: New File.
25914         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
25915         * sysdeps/s390/multiarch/strcat.c: Likewise.
25916         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
25917         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
25918         * sysdeps/s390/multiarch/wcscat.c: Likewise.
25919         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
25920         wcscat functions.
25921         * sysdeps/s390/multiarch/ifunc-impl-list.c
25922         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
25923         * string/strcat.c (STRCAT): Define and use macro.
25924         * wcsmbs/wcscat.c: Use WCSCAT if defined.
25925         * string/test-strcat.c: Add wcscat support.
25926         * wcsmbs/test-wcscat.c: New File.
25927         * wcsmbs/Makefile (strop-tests): Add wcscat.
25928         * benchtests/bench-strcat.c: Add wcscat support.
25929         * benchtests/bench-wcscat.c: New File.
25930         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
25932         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
25933         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
25934         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
25935         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
25936         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
25937         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
25938         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
25939         wcpncpy functions.
25940         * sysdeps/s390/multiarch/ifunc-impl-list.c
25941         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
25942         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
25943         * string/test-stpncpy.c: Add wcpncpy support.
25944         * wcsmbs/test-wcpncpy.c: New File.
25945         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25946         * benchtests/bench-stpncpy.c: Add wcpncpy support.
25947         * benchtests/bench-wcpncpy.c: New File.
25948         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25950         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25951         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25952         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25953         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25954         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25955         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25956         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25957         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25958         wcsncpy functions.
25959         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25960         * sysdeps/s390/multiarch/ifunc-impl-list.c
25961         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25962         * string/test-strncpy.c: Add wcsncpy support.
25963         * wcsmbs/test-wcsncpy.c: New File.
25964         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25965         * benchtests/bench-strncpy.c: Add wcsncpy support.
25966         * benchtests/bench-wcsncpy.c: New File.
25967         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25969         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25970         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25971         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25972         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25973         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25974         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25975         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25976         wcpcpy functions.
25977         * string/stpcpy.c: Use STPCPY if defined.
25978         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25979         * sysdeps/s390/multiarch/ifunc-impl-list.c
25980         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25981         * string/test-stpcpy.c: Add wcpcpy support.
25982         * wcsmbs/test-wcpcpy.c: New File.
25983         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25984         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25985         * benchtests/bench-wcpcpy.c: New File.
25986         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25988         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25989         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25990         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25991         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25992         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25993         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25994         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25995         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25996         wcscpy functions.
25997         * sysdeps/s390/multiarch/ifunc-impl-list.c
25998         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25999         * benchtests/bench-wcscpy.c: New File.
26000         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26002         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26003         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26004         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26005         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26006         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26007         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26008         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26009         wcsnlen functions.
26010         * sysdeps/s390/multiarch/ifunc-impl-list.c
26011         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26012         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26013         * string/test-strnlen.c: Add wcsnlen support.
26014         * wcsmbs/test-wcsnlen.c: New File.
26015         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26016         * benchtests/bench-strnlen.c: Add wcsnlen support.
26017         * benchtests/bench-wcsnlen.c: New File.
26018         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26020         * sysdeps/s390/multiarch/Makefile: New File.
26021         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26022         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26023         * sysdeps/s390/multiarch/strlen.c: Likewise.
26024         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26025         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26026         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26027         * string/strlen.c (STRLEN): Define and use macro.
26028         * sysdeps/s390/multiarch/ifunc-impl-list.c
26029         (IFUNC_VX_IMPL): New macro function.
26030         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26031         * benchtests/Makefile (wcsmbs-bench): New variable.
26032         (string-bench-all): Added wcsmbs-bench.
26033         * benchtests/bench-wcslen.c: New File.
26035         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26036         s390_vx_libc_ifunc2): New macro function.
26038         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26039         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26040         assembler support.
26041         * sysdeps/s390/configure: Regenerated.
26043         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26044         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26046         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26047         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26048         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26050         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26051         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26052         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26053         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26054         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26055         (memcmp, bcmp): Use __memcmp_default as alias source.
26056         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26057         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26058         Rename to __memcmp_default.
26059         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26060         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26061         (memcpy): Use __memcpy_default as alias source.
26062         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26063         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26064         Rename to __memcpy_default.
26065         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26066         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26067         (memset): Use __memset_default as alias source.
26068         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26069         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26070         Rename to __memset_default.
26071         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26072         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26073         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26074         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26075         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26076         (memcmp, bcmp): Use __memcmp_default as alias source.
26077         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26078         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26079         Rename to __memcmp_default.
26080         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26081         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26082         (memcpy): Use __memcpy_default as alias source.
26083         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26084         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26085         Rename to __memcpy_default.
26086         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26087         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26088         (memset): Use __memset_default as alias source.
26089         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26090         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26091         Rename to __memset_default.
26092         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26093         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26095         [BZ #18610]
26096         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26097         __ieee_instruction_pointer to __unused.
26098         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26099         __ieee_instruction_pointer.
26100         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26101         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26102         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26103         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26104         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26105         Mark dxc-field as reserved.
26107 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26109         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26110         if the weak reference is not null.
26112 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26114         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26116         [BZ #11214]
26117         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26119 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26121         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26122         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26123         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26124         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26125         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26126         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26127         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26128         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26129         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26130         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26131         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26132         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26133         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26134         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26135         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26136         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26137         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26138         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26140 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26142         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26143         register other than r0 for tabort, it has special meaning.
26144         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26145         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26146         transaction before starting syscall.
26148 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26150         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26152 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26154         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26156         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26157         * sysdeps/x86_64/rtld-memset.S: Likewise.
26158         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26159         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26160         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26161         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26163         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26165 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26167         * debug/strcpy_chk.c: Improve performance.
26168         * debug/stpcpy_chk.c: Likewise.
26169         * sysdeps/x86_64/strcpy_chk.S: Remove.
26170         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26172         [BZ #18240]
26173         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26175 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26177         [BZ #15128]
26178         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26179         ifuncmain8.
26180         (modules-names): Add ifuncmod8.
26181         ($(objpfx)ifuncmain8): New rule.
26182         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26183         <cpuid.h>.
26184         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26185         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26186         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26187         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26188         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26189         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26190         * sysdeps/x86_64/ifuncmain8.c: New file.
26191         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26192         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26193         Removed.
26194         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26195         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26196         Change rtld_savespace_sse to __glibc_unused2.
26197         (RTLD_CHECK_FOREIGN_CALL): Removed.
26198         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26199         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26200         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26202 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26204         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26206 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26208         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26209         Unconditionally set __fpcr to avoid uninialized warning.
26210         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26212 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26214         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26215         is corrupt.
26217         * malloc/arena.c (arena_get2): Drop unused argument.
26218         (arena_lock): Adjust.
26219         (arena_get_retry): Likewise.
26221 2015-08-24  Andreas Schwab  <schwab@suse.de>
26223         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
26224         Don't define.
26225         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
26226         (__ASSUME_IPC64): Don't undef.
26227         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
26228         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26229         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26230         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
26231         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
26232         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
26233         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
26234         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
26235         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
26236         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
26237         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
26238         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
26239         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
26240         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
26241         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
26242         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
26243         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
26244         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
26245         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
26246         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
26247         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
26249 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
26251         * manual/Makefile (install): Only build manual when perl is available.
26253 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26255         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
26256         '#undef memcpy' by '#undef memchr'.
26258 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26260         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
26261         memchr not point to the internal __GI_memchr implementation.
26263 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26265         * timezone/Makefile (CFLAGS-zdump.c): Remove
26266         -Wno-strict-prototypes.
26267         (CFLAGS-zic.c): Likewise.
26268         (CFLAGS-ialloc.c): Likewise.
26269         (CFLAGS-scheck.c): Likewise.
26271         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
26272         -Wno-error=undef.
26274 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26276         * i386/i686/multiarch/strcasestr-c.c: Removed.
26277         * x86_64/multiarch/strcasestr.c: Likewise.
26278         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26279         Remove strcasestr.
26281 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
26283         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
26285         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
26286         variables for high and low parts before possibly modifying them.
26288 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26290         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
26291         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
26292         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
26293         of "multiarch/init-arch.h".
26294         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
26295         * sysdeps/x86/init-arch.h: This.
26297 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
26299         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
26300         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
26302 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
26304         [BZ #17787]
26305         * manual/macros.texi: Add twoexp macro.
26306         * manual/filesys.texi: Fix exponents.
26307         * manual/llio.texi: Likewise.
26308         * manual/stdio.texi: Likewise.
26310 2015-08-20  Florian Weimer  <fweimer@redhat.com>
26312         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
26313         incorrect use.
26315 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26317         [BZ #18370]
26318         * math/s_csqrt.c (__csqrt): Force underflow exception for results
26319         whose real or imaginary part has small absolute value.
26320         * math/s_csqrtf.c (__csqrtf): Likewise.
26321         * math/s_csqrtl.c (__csqrtl): Likewise.
26322         * math/auto-libm-test-in: Add more tests of csqrt.
26323         * math/auto-libm-test-out: Regenerated.
26324         * sysdeps/i386/fpu/libm-test-ulps: Update.
26326 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
26328         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
26329         __ppc_set_ppr_very_low): New functions.
26330         * manual/platform.texi: Add documentation about
26331         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
26333 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
26335         * string/stpncpy.c (stpncpy): Improve performance using
26336         __strnlen/memcpy/memset.
26338 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
26340         [BZ #18796]
26341         * scripts/test-installation.pl: Don't add -lmvec to build options if
26342         libmvec wasn't built.
26344 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26346         [BZ #14341]
26347         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
26348         case when there is a gap between DT_REL and DT_JMPREL sections.
26349         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
26350         (LDFLAGS-tst-split-dynreloc): New.
26351         (tst-split-dynreloc-ENV): Likewise.
26352         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
26353         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
26355 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26357         [BZ #18822]
26358         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
26359         attribute_hidden.
26360         (__xstat64_conv): Likewise.
26361         (__xstat32_conv): Likewise.
26363 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26365         [BZ #18822]
26366         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
26367         Don't load %ebx when calling __setcontext.  Call __setcontext
26368         with HIDDEN_JUMPTARGET.
26369         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
26370         libc_hidden_def.
26372 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26374         * sysdeps/i386/i686/Makefile
26375         [$(subdir) == string] (sysdep_routines): Moved to ...
26376         * sysdeps/i386/Makefile: Here.
26377         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
26378         * sysdeps/i386/cacheinfo.c: Here.
26379         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
26380         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
26381         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
26382         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
26384 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
26386         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
26387         __i586__ is defined.
26388         (HAS_I686): Defined to 1 if __i686__ is defined.
26390 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
26392         * elf/Makefile [$(have-z-execstack) = yes]
26393         (CPPFLAGS-tst-execstack.c): New variable.
26395         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
26396         conditional to [defined UTMPX || _HAVE_UT_TYPE].
26397         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
26398         UTMPX || _HAVE_UT_TV].
26399         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
26400         UTMPX || _HAVE_UT_TV - 0].
26402 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
26404         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
26405         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
26406         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
26408 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26410         * sysdeps/powerpc/dl-procinfo.c:
26411         (_dl_powerpc_cap_flags): Added missing strings for some
26412         hwcap features.
26413         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
26415 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
26417         Port the 0x7efe...feff pattern to GCC 6.
26418         See Steve Ellcey's bug report in:
26419         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
26420         * string/memrchr.c (MEMRCHR):
26421         * string/rawmemchr.c (RAWMEMCHR):
26422         * string/strchr.c (strchr):
26423         * string/strchrnul.c (STRCHRNUL):
26424         Rewrite code to avoid issues with signed shift overflow.
26426 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
26428         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
26429         whether cpuid is available only if HAS_CPUID is 0.
26430         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
26431         (HAS_I586): Likewise.
26432         (HAS_I686): Likewise.
26434 2015-08-18  Zack Weinberg  <zackw@panix.com>
26436         * misc/Versions (libc): Add GLIBC_2.23.
26438 2015-08-18  Alan Modra  <amodra@gmail.com>
26440         [BZ #18421]
26441         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
26442         .Lp__global.
26443         (_start): Load %dp via .Lp__global.
26444         [!SHARED]: Use .section .rodata.
26446 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26448         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
26449         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
26451 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26453         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
26454         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
26456 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26458         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
26459         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
26461 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26463         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
26464         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
26466 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26468         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
26469         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
26471 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26473         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
26474         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
26476 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26478         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
26480 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26482         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
26483         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
26484         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26485         (__ASSUME_LWS_CAS): Delete.
26487 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
26489         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
26490         * sysdeps/hppa/configure: Regenerated.
26491         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
26492         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
26493         * sysdeps/hppa/nptl/tls.h: Likewise.
26495 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
26497         [BZ #18823]
26498         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
26499         for scaling up small arguments.
26500         * math/s_csqrtf.c (__csqrtf): Likewise.
26501         * math/s_csqrtl.c (__csqrtl): Likewise.
26502         * math/auto-libm-test-in: Add more tests of csqrt.
26503         * math/auto-libm-test-out: Regenerated.
26505 2015-08-17  Andreas Schwab  <schwab@suse.de>
26507         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
26508         version set GLIBC_2.19.
26510 2015-08-16  Zack Weinberg  <zackw@panix.com>
26512         [BZ #18681]
26513         * misc/regexp.h: This interface is no longer supported.
26514         Remove all contents, leaving only an #error directive.
26515         * misc/regexp.c (loc1, loc2, locs, step, advance):
26516         Demote to compatibility symbols.
26518 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
26520         [BZ #18084]
26521         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
26522         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
26523         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
26524         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
26525         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
26526         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
26527         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
26528         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
26529         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
26531 2015-08-15  Zack Weinberg  <zackw@panix.com>
26533         [BZ #18795]
26534         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
26535         buffer length is known to be too large, not if it's known to be
26536         small enough.
26537         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
26538         overflow at runtime, involving a length parameter, twice: once
26539         with a compile-time constant length parameter, once without.
26541 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
26543         [BZ #18824]
26544         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
26545         scaling x * y up instead of down.
26546         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26547         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26548         * math/auto-libm-test-in: Add more tests of fma.
26549         * math/auto-libm-test-out: Regenerated.
26551 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
26553         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26555 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26557         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
26558         unnecessary movq.
26559         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
26560         Likewise.
26562 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
26564         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
26565         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
26566         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
26567         and tgamma.
26568         * math/auto-libm-test-out: Regenerated.
26569         * sysdeps/i386/fpu/libm-test-ulps: Update.
26570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26572         [BZ #16520]
26573         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
26574         (__tanh): Force underflow exception for arguments with small
26575         absolute value.
26576         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
26577         (__tanhf): Force underflow exception for arguments with small
26578         absolute value.
26579         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
26580         (__tanhl): Force underflow exception for arguments with small
26581         absolute value.
26582         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
26583         (__tanhl): Force underflow exception for arguments with small
26584         absolute value.
26585         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
26586         (__tanhl): Force underflow exception for arguments with small
26587         absolute value.
26588         * math/auto-libm-test-in: Add more tests of tanh.
26589         * math/auto-libm-test-out: Regenerated.
26590         * sysdeps/i386/fpu/libm-test-ulps: Update.
26592 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26594         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
26595         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
26597 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26599         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
26600         <cpuid.h>.
26602 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26604         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
26605         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
26607 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26609         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
26610         Remove $(objpfx)init-arch.o.
26611         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
26612         init-arch.
26613         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
26614         (INIT_ARCH_EXT): Defined as empty.
26615         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
26616         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
26617         __init_cpu_features call.  Replace HAS_XXX with
26618         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26619         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
26620         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
26621         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
26622         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
26623         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26624         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
26625         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
26626         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26627         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
26628         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
26629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26630         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
26631         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
26632         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26633         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
26634         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
26635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26636         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26637         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
26638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
26639         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
26641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
26642         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26643         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
26644         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
26645         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26646         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
26647         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
26648         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26649         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
26650         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
26651         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26652         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
26653         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
26655 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26657         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
26658         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26659         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26660         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
26661         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
26662         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
26663         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
26664         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
26665         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
26666         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
26667         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
26668         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
26669         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26670         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26671         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26672         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26673         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26674         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26675         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26676         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26677         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26678         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26679         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26680         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26681         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26682         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26683         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26684         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26685         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26686         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26687         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26688         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26689         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26690         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26691         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26692         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26693         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26694         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26695         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26696         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26697         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26698         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26699         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26701 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26703         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
26704         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26706         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26707         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26708         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
26709         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26710         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
26711         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26712         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26713         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26714         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
26715         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
26716         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
26717         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
26718         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
26719         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
26720         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
26721         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
26722         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
26723         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
26724         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
26725         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
26726         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26727         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26728         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
26729         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
26730         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
26731         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
26732         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26733         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26734         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26735         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26736         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26737         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26738         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26739         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26740         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26741         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26742         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26743         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26744         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26745         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26747 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
26749         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
26750         (dl_platform_init): Call init_cpu_features.
26751         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
26752         * sysdeps/i386/i686/cacheinfo.c
26753         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
26754         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
26755         * sysdeps/i386/i686/multiarch/Versions: Removed.
26756         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
26757         Removed.
26758         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
26759         * sysdeps/unix/sysv/linux/x86/Makefile
26760         (libpthread-sysdep_routines): Remove init-arch.
26761         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
26762         <sysdeps/x86_64/dl-procinfo.c> instead of
26763         sysdeps/generic/dl-procinfo.c>.
26764         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
26765         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
26766         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
26767         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
26768         [$(subdir) == elf] (tests-static): Add
26769         tst-get-cpu-features-static.
26770         * sysdeps/x86/Versions: New file.
26771         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
26772         * sysdeps/x86/cpu-features.c: Likewise.
26773         * sysdeps/x86/cpu-features.h: Likewise.
26774         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
26775         * sysdeps/x86/libc-start.c: Likewise.
26776         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
26777         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
26778         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
26779         * sysdeps/x86_64/dl-procinfo.c: Likewise.
26780         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
26781         Assume USE_MULTIARCH is defined and don't check it.
26782         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
26783         (is_amd): Likewise.
26784         (max_cpuid): Likewise.
26785         (intel_check_word): Likewise.
26786         (__cache_sysconf): Don't call __init_cpu_features.
26787         (__x86_preferred_memory_instruction): Removed.
26788         (init_cacheinfo): Don't call __init_cpu_features. Replace
26789         __cpu_features with GLRO(dl_x86_cpu_features).
26790         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
26791         (dl_platform_init): Call init_cpu_features.
26792         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
26793         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
26794         * sysdeps/x86_64/multiarch/Versions: Removed.
26795         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
26796         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
26797         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
26798         Removed.
26799         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
26801 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26803         [BZ #18820]
26804         * libio/Makefile (test-fmemopen-mem): New test.
26805         * libio/test-fmemopen.c (do_bz18820): New test.
26806         * libio/fmemopen.c (__fmemopen): Fix memory leak.
26807         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
26809 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
26811         [BZ #16734]
26812         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
26813         (FREE_BUF): Delete.
26814         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
26815         * libio/genops.c (_IO_setb): Use malloc and free directly.
26816         (_IO_default_doallocate, _IO_default_finish): Likewise.
26817         ( _IO_unbuffer_all): Likewise.
26818         ( libc_freeres_fn): Likewise.
26819         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26820         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
26821         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
26822         (_IO_wdefault_doallocate): Likewise.
26824 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
26826         [BZ #18086]
26827         * sysdeps/posix/nice.c (nice): Restore old errno.
26828         * posix/tst-nice.c (do_test): Add test for BZ #18086.
26830 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
26832         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
26834 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26836         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
26837         __bcopy and add a weak_alias to bcopy.
26838         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
26839         for static build.
26841         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
26842         cleanup macro usage.
26843         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
26844         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
26845         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26846         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
26847         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26848         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
26849         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
26850         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26851         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26852         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
26853         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26854         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
26855         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26856         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
26857         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
26858         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
26859         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
26860         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
26861         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
26863         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
26864         libc_hidden_def.
26865         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
26867         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
26868         (sysdep_routines): Add strstr-ppc64.
26869         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
26871 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
26873         [BZ #18778]
26874         * elf/Makefile (tests): Add Add tst-nodelete2.
26875         (modules-names): Add tst-nodelete2mod.
26876         (tst-nodelete2mod.so-no-z-defs): New.
26877         ($(objpfx)tst-nodelete2): Likewise.
26878         ($(objpfx)tst-nodelete2.out): Likewise.
26879         (LDFLAGS-tst-nodelete2): Likewise.
26880         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
26881         out of loop through all loaded libraries.
26882         * elf/tst-nodelete2.c: New file.
26883         * elf/tst-nodelete2mod.c: Likewise.
26884         * elf/tst-znodelete-zlib.cc: Delete.
26886 2015-08-11  Andreas Schwab  <schwab@suse.de>
26888         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
26889         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
26890         (__openat64_nocancel): Likewise.
26892 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
26894         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
26895         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
26896         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
26897         * math/auto-libm-test-out: Regenerated.
26898         * sysdeps/i386/fpu/libm-test-ulps: Update.
26899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26901 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26903         [BZ #18790]
26904         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
26905         threshold for returning +/- 1.
26906         * math/auto-libm-test-in: Add more tests of tanh.
26907         * math/auto-libm-test-out: Regenerated.
26908         * sysdeps/i386/fpu/libm-test-ulps: Update.
26910 2015-08-10  Andreas Schwab  <schwab@suse.de>
26912         [BZ #18781]
26913         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
26914         MORE_OFLAGS to oflag.
26915         * io/test-lfs.c (do_test): Test openat64.
26917 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
26919         [BZ #18789]
26920         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
26921         smaller threshold for returning the argument.
26922         * math/auto-libm-test-in: Add more tests of sinh.
26923         * math/auto-libm-test-out: Regenerated.
26924         * sysdeps/i386/fpu/libm-test-ulps: Update.
26926 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26928         [BZ #18674]
26929         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
26930         break.
26932 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
26934         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
26935         (generated): Don't add $(addprefix z.,$(tzfiles)).
26937 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26939         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
26940         * scripts/sysd-rules.awk: Likewise.
26942 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26944         * iconvdata/tst-tables.sh: Change echo -n to printf.
26945         * nss/db-Makefile: Likewise.
26946         * posix/tst-getconf.sh: Likewise.
26947         * stdio-common/tst-unbputc.sh: Likewise.
26949 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26951         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26952         MADV_*_PAGES defines behind this feature check.
26954 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26956         [BZ #18480]
26957         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26958         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26959         Define.
26960         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26961         LOAD_REGS_5, LOAD_REGS_6): Update.
26962         (INTERNAL_SYSCALL): Update using new LOAD defines.
26963         (INTERNAL_SYSCALL_NCS): Likewise.
26964         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26966 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26968         [BZ #16734]
26969         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26971 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26973         [BZ #17905]
26974         * catgets/Makefile (tst-catgets-mem): New test.
26975         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26976         * catgets/open_catalog.c (__open_catalog): Likewise.
26977         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26979 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26981         [BZ #18787]
26982         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26983         clobber registers.
26984         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26985         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26986         Cast return to __typeof (oldval).
26988 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26990         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26991         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26992         and delete sys/syscall.h include.
26994 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26996         [BZ #16517]
26997         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26998         (tan): Force underflow exception for arguments with small absolute
26999         value.
27000         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27001         (__kernel_tanf): Force underflow exception for arguments with
27002         small absolute value.
27003         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27004         (__kernel_tanl): Force underflow exception for arguments with
27005         small absolute value.
27006         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27007         (__kernel_tanl): Force underflow exception for arguments with
27008         small absolute value.
27009         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27010         (__kernel_tanl): Force underflow exception for arguments with
27011         small absolute value.
27012         * math/auto-libm-test-in: Add more tests of tan.
27013         * math/auto-libm-test-out: Regenerated.
27015 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27017         Fix sysdeps/i386/fpu/s_scalbn.S build
27019         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27021 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27023         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27025 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27027         Fix gcrt0.o compilation
27029         When static-start-installed-name is different from
27030         start-installed-name, we must not use the shared objects.
27032         * csu/Makefile
27033         (extra-objs): Add gmon-start.o when building shared library and
27034         $(static-start-installed-name) is different from
27035         $(start-installed-name).
27036         $(objpfx)g$(static-start-installed-name): When building shared
27037         library and $(static-start-installed-name) is different from
27038         $(static-start-installed-name), revert to non-shared rule,
27039         i.e. using $(objpfx)% and gmon-start.o.
27041 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27043         [BZ #16519]
27044         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27045         (__ieee754_sinh): Force underflow exception for arguments with
27046         small absolute value.
27047         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27048         (__ieee754_sinhf): Force underflow exception for arguments with
27049         small absolute value.
27050         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27051         (__ieee754_sinhl): Force underflow exception for arguments with
27052         small absolute value.
27053         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27054         (__ieee754_sinhl): Force underflow exception for arguments with
27055         small absolute value.
27056         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27057         (__ieee754_sinhl): Force underflow exception for arguments with
27058         small absolute value.
27059         * math/auto-libm-test-in: Add more tests of sinh.
27060         * math/auto-libm-test-out: Regenerated.
27061         * sysdeps/i386/fpu/libm-test-ulps: Update.
27063 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27065         * libio/oldfileops.c: Include unistd.h.
27067 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27069         * stdlib/isomac.c: Include ctype.h.
27071 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27073         * dirent/tst-seekdir.c (main): Converted to ...
27074         (do_test): ... this.
27075         (TEST_FUNCTION): New macro.
27076         Include test-skeleton.c.
27077         * elf/tst-dlmodcount.c (main): Converted to ...
27078         (do_test): ... this.
27079         (TEST_FUNCTION): New macro.
27080         Include test-skeleton.c.
27081         * elf/tst-order-main.c (main): Converted to ...
27082         (do_test): ... this.
27083         (TEST_FUNCTION): New macro.
27084         Include test-skeleton.c.
27085         * elf/tst-pie2.c (main): Converted to ...
27086         (do_test): ... this.
27087         (TEST_FUNCTION): New macro.
27088         Include test-skeleton.c.
27089         * inet/tst-ether_aton.c (main): Converted to ...
27090         (do_test): ... this.
27091         (TEST_FUNCTION): New macro.
27092         Include test-skeleton.c.
27093         * misc/tst-mntent.c (main): Converted to ...
27094         (do_test): ... this.
27095         (TEST_FUNCTION): New macro.
27096         Include test-skeleton.c.
27097         * misc/tst-tsearch.c (main): Converted to ...
27098         (do_test): ... this.
27099         (TEST_FUNCTION): New macro.
27100         Include test-skeleton.c.
27101         * posix/tst-regexloc.c (main): Converted to ...
27102         (do_test): ... this.
27103         (TEST_FUNCTION): New macro.
27104         Include test-skeleton.c.
27105         * resolv/tst-aton.c (main): Converted to ...
27106         (do_test): ... this.
27107         (TEST_FUNCTION): New macro.
27108         Include test-skeleton.c.
27109         * stdio-common/test-fwrite.c (main): Converted to ...
27110         (do_test): ... this.
27111         (TEST_FUNCTION): New macro.
27112         Include test-skeleton.c.
27113         * stdio-common/tst-ferror.c (main): Converted to ...
27114         (do_test): ... this.
27115         (TEST_FUNCTION): New macro.
27116         Include test-skeleton.c.
27117         * stdio-common/tst-printf.c (main): Converted to ...
27118         (do_test): ... this.
27119         (TEST_FUNCTION): New macro.
27120         Include test-skeleton.c.
27121         * stdio-common/tst-printfsz.c (main): Converted to ...
27122         (do_test): ... this.
27123         (TEST_FUNCTION): New macro.
27124         Include test-skeleton.c.
27125         * stdlib/tst-strtod.c (main): Converted to ...
27126         (do_test): ... this.
27127         (TEST_FUNCTION): New macro.
27128         Include test-skeleton.c.
27129         * string/tst-strlen.c (main): Converted to ...
27130         (do_test): ... this.
27131         (TEST_FUNCTION): New macro.
27132         Include test-skeleton.c.
27133         * string/tst-svc.c (main): Converted to ...
27134         (do_test): ... this.
27135         (TEST_FUNCTION): New macro.
27136         Include test-skeleton.c.
27137         * time/tst-strptime.c (main): Converted to ...
27138         (do_test): ... this.
27139         (TEST_FUNCTION): New macro.
27140         Include test-skeleton.c.
27141         * timezone/tst-timezone.c (main): Converted to ...
27142         (do_test): ... this.
27143         (TEST_FUNCTION): New macro.
27144         Include test-skeleton.c.
27146 2015-08-05  Zack Weinberg  <zackw@panix.com>
27148         * misc/regexp.h: Update comments.
27150 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27152         [BZ #18635]
27153         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27154         before return label.
27156 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27158         [BZ #18661]
27159         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27160         when calling __errno_location.
27161         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27162         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27164 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27166         [BZ #18661]
27167         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27168         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27169         __gettimeofday.
27171 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27173         [BZ #18661]
27174         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27175         (__start_context): Don't use pop to restore %rdi so that stack
27176         is aligned to 16 bytes when calling __setcontext.
27178 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27180         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27181         only for libc.
27182         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27184 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27186         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27187         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27188         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27190 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27192         * string/memccpy.c (memccpy):
27193         Improve performance by using memchr/memcpy/__mempcpy.
27195 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27197         * string/strncpy.c (strncpy):
27198         Improve performance by using __strnlen/memcpy.
27200 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27202         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27203         Optimize to avoid an unnecessary FPCR read.
27205 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27207         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27208         Optimize to reduce FPCR/FPSR accesses.
27210 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27212         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27213         dead->data[category] != NULL.
27215 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27217         [BZ #18647]
27218         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27219         and |x| close to 1, use absolute value of x when computing log.
27220         * math/auto-libm-test-in: Add more tests of pow.
27221         * math/auto-libm-test-out: Regenerated.
27223 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27225         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
27226         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
27227         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
27229 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
27231         [BZ #18525]
27232         * locales/km_KH: Remove timezone definition.
27233         * locales/lo_LA: Likewise.
27234         * locales/my_MM: Likewise.
27235         * locales/nan_TW@latin: Likewise.
27236         * locales/th_TH: Likewise.
27237         * locales/uk_UA: Likewise.
27239 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27241         [BZ #18265]
27242         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
27243         (wcsncat): Likewise.
27244         (wcscmp): Likewise.
27245         (wcsncmp): Likewise.
27247 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27249         * test-skeleton.c (usage): New function.
27250         (main): Call usage when opt is '?'.
27252 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27254         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
27255         before first use.
27257 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
27259         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
27260         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
27261         in there too.
27263 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
27265         * version.h (RELEASE): Set to "development".
27266         (VERSION): Set to "2.22.90"
27268         * version.h (RELEASE): Set to "stable".
27269         (VERSION): Set to "2.22"
27270         * include/features.h (__GLIBC_MINOR__): Set to 22.
27272 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
27274         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
27275         Restructure macro to avoid "value computed is not used" warning.
27276         (atomic_compare_and_exchange_val_acq): Likewise.
27278 2015-08-04  Andreas Schwab  <schwab@suse.de>
27280         [BZ #18635]
27281         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
27282         ret.
27283         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
27285 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
27287         * po/pl.po: Updated translation.
27288         * po/uk.po: Likewise.
27289         * po/fi.po: Likewise.
27290         * po/ko.po: Likewise.
27291         * po/ru.po: Likewise.
27292         * po/vi.po: Likewise.
27294 2015-07-31  Zack Weinberg  <zackw@panix.com>
27296         [BZ #18681]
27297         * regexp.h: Add unconditional #warning stating that this header
27298         will be removed soon.  Revise banner comment to match.
27299         (compile): Consistently use ERROR instead of RETURN to report
27300         errors (partial fix for BZ #18681).
27301         * regexp.c: Don't include regexp.h. Remove some unnecessary
27302         declarations.
27304 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
27306         * po/libc.pot: Regenerated.
27308 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27310         [BZ #18740]
27311         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
27312         float-vlen4-arch-ext-cflags): Removed.
27313         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
27314         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
27316 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27318         [BZ #14113]
27319         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
27320         aligned to __aligned__.
27321         (pthread_cond_t, pthread_rwlock_t): Likewise.
27323 2015-07-30  Torvald Riegel  <triegel@redhat.com>
27325         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
27327 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27329         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
27330         (struct sigaction): Change sa_flags from a long to an int, and add
27331         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
27333 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27335         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
27336         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
27337         sysdeps/generic/sysdep.h include.
27338         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
27339         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
27340         sysdeps/hppa/sysdep.h.
27341         (ENTRY, PSEUDO): Undefine before defining.
27343 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
27345         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
27346         from scratch to use INTERNAL_SYSCALL.
27348 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
27350         [BZ #18078]
27351         * scripts/check-localplt.awk: Support alternate relocations.
27352         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
27353         sections.
27354         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
27355         malloc entries with + REL R_386_GLOB_DAT.
27356         * sysdeps/x86_64/localplt.data: New file.
27358 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
27360         [BZ #18731]
27361         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
27362         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
27363         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
27365 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27367         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
27369 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27371         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
27372         directly in terms of __sync_fetch_and_add and delete (int) cast.
27374 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27376         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
27377         the -D_ASM_IA64_CURRENT_H flag.
27379 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
27381         [BZ #18641]
27382         * pwd/pwd.h (putpwent): Delete __nonnull markings.
27384 2015-07-27  Andreas Schwab  <schwab@suse.de>
27386         * conform/conformtest.pl (checknamespace): Filter out string
27387         literals while tokenizing.
27389 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27391         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27392         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
27393         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27395 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
27397         * nptl/tst-join7mod.c: Add #include <string.h>.
27399 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27401         * sysdeps/nios2/libm-test-ulps: Update.
27403 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
27405         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
27406         Fix order of arguments to the rt_sigprocmask syscall.
27407         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
27408         Likewise.
27410 2015-07-24  Roland McGrath  <roland@hack.frob.com>
27412         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
27414 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27416         [BZ #18457]
27417         * nptl/Makefile (tests): New test case tst-join7.
27418         (modules-names): New test case module tst-join7mod.
27419         * nptl/tst-join7.c: New file.
27420         * nptl/tst-join7mod.c: New file.
27421         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
27422         all translation units in libc.so, libpthread.so and rtld.
27424 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27428 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27430         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
27431         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27432         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27433         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27434         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27435         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27436         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27437         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27438         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27439         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27440         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27441         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27442         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
27443         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
27444         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
27445         implementation.
27447 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27449         [BZ #17711]
27450         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27451         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
27452         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27453         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
27454         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
27455         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
27457 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27459         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
27460         instead of just saying load lock in the comments.
27462 2015-07-23  Roland McGrath  <roland@hack.frob.com>
27464         * sysdeps/unix/Subdirs: Moved ...
27465         * sysdeps/posix/Subdirs: ... here.
27466         * login/pty.h (struct termios, struct winsize): Add forward decls.
27467         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
27468         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
27469         * sysdeps/arm/nacl/libc.abilist: Updated.
27470         * sysdeps/nacl/libutil.abilist: New file.
27472         * bits/signum.h: Update comments to mention 1003.1-2013 too.
27473         (SIGWINCH): New macro.
27475         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
27476         * sysdeps/arm/nacl/libc.abilist: Add it.
27478 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27480         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
27482 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
27484         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27485         Swap __glibc_reserved0 and sa_flags order.
27487 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27489         [BZ #18657]
27490         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
27491         are pending TLS destructor calls.
27492         * include/link.h (struct link_map): Add concurrency note for
27493         L_TLS_DTOR_COUNT.
27494         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27495         Don't touch the link map flag.  Atomically increment
27496         l_tls_dtor_count.
27497         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
27498         Avoid taking the load lock and don't touch the link map flag.
27499         * stdlib/tst-tls-atexit-nodelete.c: New test case.
27500         * stdlib/Makefile (tests): Use it.
27501         * stdlib/tst-tls-atexit.c (do_test): dlopen
27502         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
27503         to allow tst-tls-atexit-nodelete test case to use it.
27505 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27507         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
27508         to bits/types.h.
27509         (msgqnum_t): New typedef.
27510         (msglen_t): Likewise.
27511         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
27512         and msg_qbytes type to msglen_t.
27514 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27516         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
27517         pad0 to __glibc_reserved0.
27518         (struct stat64): Likewise.
27520 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27522         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
27523         Change sa_flags from a long to an int and add __glibc_reserved0 before
27524         it for padding.
27526 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
27528         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
27529         anonymous by deleting "siginfo" name.
27531 2015-07-21  Roland McGrath  <roland@hack.frob.com>
27533         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
27534         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
27535         rather than __nacl_irt_filename.
27536         * sysdeps/nacl/xstat.c (__xstat): Likewise.
27538         * NEWS: New item for arm-nacl port.
27539         * sysdeps/arm/nacl/libc.abilist: New file.
27540         * sysdeps/nacl/ld.abilist: New file.
27541         * sysdeps/nacl/libBrokenLocale.abilist: New file.
27542         * sysdeps/nacl/libanl.abilist: New file.
27543         * sysdeps/nacl/libcrypt.abilist: New file.
27544         * sysdeps/nacl/libdl.abilist: New file.
27545         * sysdeps/nacl/libm.abilist: New file.
27546         * sysdeps/nacl/libpthread.abilist: New file.
27547         * sysdeps/nacl/libresolv.abilist: New file.
27548         * sysdeps/nacl/librt.abilist: New file.
27550 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
27552         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
27553         __startcontext to initialize the new context.
27554         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
27555         up CFI directive to forbid further backtracing.
27557 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
27559         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
27560         reference.
27561         * charmaps/ANSI_X3.4-1968: Likewise.
27562         * charmaps/BS_4730: Likewise.
27563         * charmaps/BS_VIEWDATA: Likewise.
27564         * charmaps/CP1250: Likewise.
27565         * charmaps/CP1251: Likewise.
27566         * charmaps/CP1252: Likewise.
27567         * charmaps/CP1253: Likewise.
27568         * charmaps/CP1254: Likewise.
27569         * charmaps/CP1255: Likewise.
27570         * charmaps/CP1256: Likewise.
27571         * charmaps/CSN_369103: Likewise.
27572         * charmaps/EBCDIC-DK-NO: Likewise.
27573         * charmaps/GB_1988-80: Likewise.
27574         * charmaps/GREEK-CCITT: Likewise.
27575         * charmaps/GREEK7: Likewise.
27576         * charmaps/INIS-8: Likewise.
27577         * charmaps/ISIRI-3342: Likewise.
27578         * charmaps/ISO_2033-1983: Likewise.
27579         * charmaps/ISO_5427-EXT: Likewise.
27580         * locales/POSIX: Likewise.
27581         * locales/ar_SA: Likewise.
27582         * locales/be_BY: Likewise.
27583         * locales/be_BY@latin: Likewise.
27584         * locales/ca_ES: Likewise.
27585         * locales/cs_CZ: Likewise.
27586         * locales/da_DK: Likewise.
27587         * locales/de_BE: Likewise.
27588         * locales/de_CH: Likewise.
27589         * locales/de_LU: Likewise.
27590         * locales/en_AU: Likewise.
27591         * locales/en_BW: Likewise.
27592         * locales/en_CA: Likewise.
27593         * locales/en_DK: Likewise.
27594         * locales/en_GB: Likewise.
27595         * locales/en_IE: Likewise.
27596         * locales/en_NZ: Likewise.
27597         * locales/en_ZA: Likewise.
27598         * locales/en_ZW: Likewise.
27599         * locales/es_AR: Likewise.
27600         * locales/es_BO: Likewise.
27601         * locales/es_CL: Likewise.
27602         * locales/es_CO: Likewise.
27603         * locales/es_DO: Likewise.
27604         * locales/es_EC: Likewise.
27605         * locales/es_ES: Likewise.
27606         * locales/es_HN: Likewise.
27607         * locales/es_MX: Likewise.
27608         * locales/es_PA: Likewise.
27609         * locales/es_PE: Likewise.
27610         * locales/es_PY: Likewise.
27611         * locales/es_SV: Likewise.
27612         * locales/es_US: Likewise.
27613         * locales/es_UY: Likewise.
27614         * locales/es_VE: Likewise.
27615         * locales/et_EE: Likewise.
27616         * locales/fa_IR: Likewise.
27617         * locales/fo_FO: Likewise.
27618         * locales/fr_CA: Likewise.
27619         * locales/fr_CH: Likewise.
27620         * locales/gv_GB: Likewise.
27621         * locales/he_IL: Likewise.
27622         * locales/hr_HR: Likewise.
27623         * locales/id_ID: Likewise.
27624         * locales/is_IS: Likewise.
27625         * locales/it_CH: Likewise.
27626         * locales/iw_IL: Likewise.
27627         * locales/kl_GL: Likewise.
27628         * locales/ko_KR: Likewise.
27629         * locales/kw_GB: Likewise.
27630         * locales/lg_UG: Likewise.
27631         * locales/lt_LT: Likewise.
27632         * locales/lv_LV: Likewise.
27633         * locales/mi_NZ: Likewise.
27634         * locales/nhn_MX: Likewise.
27635         * locales/nl_BE: Likewise.
27636         * locales/pl_PL: Likewise.
27637         * locales/sk_SK: Likewise.
27638         * locales/sl_SI: Likewise.
27639         * locales/sv_FI: Likewise.
27640         * locales/tl_PH: Likewise.
27641         * locales/tr_TR: Likewise.
27642         * locales/vi_VN: Likewise.
27644 2015-07-21  Khem Raj  <raj.khem@gmail.com>
27646         [BZ #17475]
27647         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
27648         of tu_IN and bh_IN.
27650 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
27652         [BZ #18694]
27653         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
27654         bits/wordsize.h.
27655         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
27657 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27659         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
27660         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
27661         (spawn_thread): New function.
27662         (load): Rename to reg_dtor_and_close.  Move dlopen to...
27663         (do_test): ... here.  Use IS_LOADED to test for its
27664         availability.
27666 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
27668         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27670 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
27672         [BZ #18696]
27673         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
27674         si_addr_bnd.
27675         (si_lower): New.
27676         (si_upper): Likewise.
27678 2015-07-16  David S. Miller  <davem@davemloft.net>
27680         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
27682 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27684         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
27685         buffer.
27686         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
27687         fail output information.
27689 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
27692         and strstr-ppc64..
27693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
27694         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
27695         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
27696         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
27697         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
27699 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27701         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27702         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27703         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
27704         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
27706 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
27708         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27709         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
27710         rtld_hidden_proto.
27711         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
27713 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27715         * tst-nodelete-opened.c (do_test): Add comment to clarify how
27716         the test can fail.
27718         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
27720         [BZ #18676]
27721         * elf/tst-nodelete-opened.c: New test case.
27722         * elf/tst-nodelete-opened-lib.c: New test case module.
27723         * elf/Makefile (tests, modules-names): Use them.
27724         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
27725         early.
27727 2015-07-15  David S. Miller  <davem@davemloft.net>
27729         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
27730         futex-intenal.h
27731         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
27732         * sysdeps/sparc/sparc64/Makefile: Likewise.
27733         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27734         Remove space from macro define.
27735         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
27737 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
27739         [BZ #17475]
27740         * locale/iso-639.def: Update Bhili and Tulu language codes as
27741         per iso639-3.
27743 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
27745         * elf/tst-leaks1.c (main): Converted to ...
27746         (do_test): ... this.
27747         (TEST_FUNCTION): New macro.
27748         Include test-skeleton.c.
27749         * localedata/tst-langinfo.c (main): Converted to ...
27750         (do_test): ... this.
27751         (TEST_FUNCTION): New macro.
27752         Include test-skeleton.c.
27753         * math/test-fpucw.c (main): Converted to ...
27754         (do_test): ... this.
27755         (TEST_FUNCTION): New macro.
27756         Include test-skeleton.c.
27757         * math/test-tgmath.c (main): Converted to ...
27758         (do_test): ... this.
27759         (TEST_FUNCTION): New macro.
27760         Include test-skeleton.c.
27761         * math/test-tgmath2.c (main): Converted to ...
27762         (do_test): ... this.
27763         (TEST_FUNCTION): New macro.
27764         Include test-skeleton.c.
27765         * setjmp/tst-setjmp.c (main): Converted to ...
27766         (do_test): ... this.
27767         (TEST_FUNCTION): New macro.
27768         Include test-skeleton.c.
27769         * stdio-common/tst-sscanf.c (main): Converted to ...
27770         (do_test): ... this.
27771         (TEST_FUNCTION): New macro.
27772         Include test-skeleton.c.
27773         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
27774         (do_test): ... this.
27775         (TEST_FUNCTION): New macro.
27776         Include test-skeleton.c.
27778         * elf/tst-audit9.c (main): Converted to ...
27779         (do_test): ... this.
27780         (TEST_FUNCTION): New macro.
27781         Include test-skeleton.c.
27783 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
27785         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
27787 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27789         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
27790         New variable.
27792 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
27794         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27796 2015-07-14  Roland McGrath  <roland@hack.frob.com>
27798         * sysdeps/generic/dl-fileid.h: New file.
27799         * sysdeps/posix/dl-fileid.h: New file.
27800         * sysdeps/nacl/dl-fileid.h: New file.
27801         * include/link.h: Include <dl-fileid.h>.
27802         (struct link_map): Replace l_dev and l_ino with l_file_id.
27803         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
27804         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
27805         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
27807 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27809         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
27811 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27813         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
27814         Add iff $CXX is set.
27815         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
27816         Likewise.
27817         (tst-nodelete-zmodiff): Likewise.
27818         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
27820 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27822         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
27824 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27826         * sysdeps/aarch64/fpu/math_private.h
27827         (define math_opt_barrier): Add AArch64 version.
27828         (math_force_eval): Likewise.
27830 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
27832         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
27834 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
27836         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
27837         %ld with %jd and cast to intmax_t.
27838         (do_test_length_zero): Likewise.
27840 2015-07-10  Roland McGrath  <roland@hack.frob.com>
27842         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
27844 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
27846         * sysdeps/tile/libm-test-ulps: Regenerated.
27848         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
27849         Comment out the whole function, not just its body.
27851 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27853         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
27854         locks.
27856         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
27858 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27860         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
27861         (sem_assume_only_signals_cause_futex_EINTR): Remove.
27863 2015-07-10  Torvald Riegel  <triegel@redhat.com>
27865         * sysdeps/nptl/futex-internal.h: New file.
27866         * sysdeps/nacl/futex-internal.h: New file.
27867         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
27868         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
27869         error checking.
27870         (setxid_unmark_thread): Likewise.
27871         (__nptl_setxid): Likewise.
27872         (__wait_lookup_done): Likewise.
27873         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
27874         * nptl/nptl-init.c (sighandler_setxid): Likewise.
27875         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
27876         * nptl/pthread_once.c (clear_once_control): Likewise.
27877         (__pthread_once_slow): Likewise.
27878         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
27879         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
27880         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
27881         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
27882         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
27883         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
27884         Likewise.
27885         (__pthread_rwlock_rdlock): Likewise.
27886         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27887         Likewise.
27888         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27889         Likewise.
27890         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
27891         Likewise.
27892         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
27893         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
27894         Likewise.
27895         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
27896         __ASSUME_PRIVATE_FUTEX check.
27897         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
27898         Check that shared futexes are supported.
27899         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
27900         wrappers with error checking.
27901         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
27902         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
27903         * nptl/pthread_barrierattr_setpshared.c
27904         (pthread_barrierattr_setpshared): Check that shared futexes are
27905         supported.
27906         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
27907         Likewise.
27908         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
27909         Likewise.
27910         * nptl/sem_init.c (futex_private_if_supported): Remove.
27911         (__new_sem_init): Adapt and check that shared futexes are supported.
27912         * nptl/sem_open.c (sem_open): Likewise.
27913         * nptl/sem_post.c (futex_wake): Remove.
27914         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
27915         (do_futex_wait): Use futex wrappers with error checking.
27916         * nptl/sem_wait.c: Include lowlevellock.h.
27917         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
27918         Use futex_supports_pshared.
27919         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
27920         Use futex wrappers with error checking.
27921         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
27922         Likewise.
27923         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
27924         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
27925         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
27926         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
27927         (futex_wake): Likewise.
27928         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
27929         (do_futex_wait): Use futex wrappers with error checking.
27930         (__new_sem_wait_slow): Update EINTR handling.
27931         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
27933 2015-07-09  Martin Sebor  <msebor@redhat.com>
27935         [BZ #18435]
27936         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27937         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
27938         * nptl/Makefile (test-xfail-tst-once5): Define.
27940 2015-07-09  Roland McGrath  <roland@hack.frob.com>
27942         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
27943         * elf/dl-minimal.c: For readability, reorder some definitions and
27944         introduce more page breaks.  Include <stdio.h>.
27945         (__libc_fatal): New function.
27947         * include/unistd.h: Add rtld_hidden_proto for _exit.
27948         * posix/_exit.c: Add rtld_hidden_def.
27949         * sysdeps/mach/hurd/_exit.c: Likewise.
27950         * sysdeps/nacl/_exit.c: Likewise.
27951         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27952         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27954 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27956         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27957         bndmov encoding with zero displacement.
27959 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27960             H.J. Lu  <hongjiu.lu@intel.com>
27962         [BZ #18134]
27963         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27964         * sysdeps/i386/configure: Regenerated.
27965         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27966         (_dl_runtime_profile): Save and restore Intel MPX return bound
27967         registers when calling _dl_call_pltexit.  Add
27968         PRESERVE_BND_REGS_PREFIX before return.
27969         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27970         (LRV_BND1_OFFSET): Likewise.
27971         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27972         lrv_bnd1.
27973         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27974         typo in bndmov encoding.
27975         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27976         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27977         branch instructions to preserve bounds.
27979 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27982         [GLIBC_2.22]: Add fmemopen.
27984 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27986         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27987         returns an error, also try to use host port from __mach_host_self for
27988         the __vm_wire call.
27989         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27991 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27993         [BZ #18400]
27994         [BZ #18648]
27995         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27996         Fix pr_uid and pr_gid members.
27997         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27998         definition to elf_greg_t.
28000 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28002         [BZ #18383]
28003         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28004         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28005         * sysdeps/arm/configure: Regenerated.
28006         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28007         (test-xfail-tst-tlsalign-static): Variable removed.
28009         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28010         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28011         rather than explicit 'ln -s'.
28013         * resolv/rpc/netdb.h: New file.
28014         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28016 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28018         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28019         length buffers.
28020         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28021         test-skeleton.c.
28023         [BZ #6544]
28024         [BZ #11216]
28025         [BZ #12836]
28026         [BZ #13151]
28027         [BZ #13152]
28028         [BZ #14292]
28029         * include/stdio.h (fmemopen): Remove hidden prototype.
28030         (__fmemopen): Add new hidden prototype.
28031         * libio/Makefile: Add oldfmemopen object.
28032         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28033         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28034         compliance.
28035         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28036         symbol compatibility.
28037         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28038         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28039         fmemopen.
28040         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28041         on append and read mode.
28042         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28043         fmemopen.
28044         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28045         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28046         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28047         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28048         Likewise.
28049         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28050         [GLIBC_2.22]: Likewise.
28051         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28052         Likewise.
28053         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28054         Likewise.
28055         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28056         [GLIBC_2.22]: Likewise.
28057         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28058         [GLIBC_2.22]: Likewise.
28059         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28060         [GLIBC_2.22]: Likewise.
28061         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28062         [GLIBC_2.22]: Likewise.
28063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28064         [GLIBC_2.22]: Likewise.
28065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28066         [GLIBC_2.22]: Likewise.
28067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28068         [GLIBC_2.22]: Likewise.
28069         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28070         Likewise.
28071         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28072         Likewise.
28073         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28074         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28075         [GLIBC_2.22]: Likewise.
28076         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28077         [GLIBC_2.22]: Likewise.
28078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28079         [GLIBC_2.22]: Likewise.
28080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28081         [GLIBC_2.22]: Likewise.
28082         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28083         Likewise.
28084         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28085         Likewise.
28086         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28087         Likewise.
28088         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28089         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28091 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28093         [BZ #18643]
28094         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28095         IPV6_PATHMTU, and IPV6_DONTFRAG.
28097 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28099         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28100         and _IO_UNBUFFERED.
28101         * libio/oldfileops.c: Likewise.
28102         * libio/wfileops.c: Likewise.
28104 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28106         * nscd/selinux.c: Delete selinux/flask.h include.
28108 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28110         [BZ #18641]
28111         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28112         (putpwent): Likewise.
28113         (getpwnam): Likewise.
28114         (getpwent_r): Likewise.
28115         (getpwuid_r): Likewise.
28116         (getpwnam_r): Likewise.
28117         (fgetpwent_r): Likewise.
28119 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28121         [BZ #18557]
28122         * inet/rcmd.c (__validuser2_sa): Check user first to
28123         short-circuit host check.
28125 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28126             Mikhail Ilin  <m.ilin@samsung.com>
28128         [BZ #17833]
28129         * elf/Makefile (tests): Add tst-nodelete.
28130         (modules-names): Add tst-nodelete-uniquemod.
28131         (tst-nodelete-uniquemod.so-no-z-defs): New.
28132         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28133         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28134         ($(objpfx)tst-nodelete): Likewise.
28135         ($(objpfx)tst-nodelete.out): Likewise.
28136         (LDFLAGS-tst-nodelete): Likewise.
28137         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28138         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28139         implement forced object deletion.
28140         (_dl_close): Pass false to _dl_close_worker.
28141         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28142         * elf/tst-nodelete.cc: New file.
28143         * elf/tst-nodeletelib.cc: Likewise.
28144         * elf/tst-znodeletelib.cc: Likewise.
28145         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28147 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28149         [BZ #18508]
28150         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28151         Depend on $(libdl).
28152         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28153         is not called infinitely times.
28154         (backtrace_helper): New function.
28155         (trace_arg): New struct.
28156         (st1): Enlarge stack size.
28157         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28158         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28159         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28160         Likewise.
28162 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28164         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28166 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28168         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28169         Include sys/types.h instead of bits/types.h.
28170         Remove inclusion of bits/wordsize.h.
28172 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28174         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28175         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28176         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28177         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28178         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28179         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28181 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28183         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28184         link-defines.sym.
28185         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28186         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28187         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28188         and LR_SIZE.
28189         * sysdeps/i386/link-defines.sym: New file.
28191 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28193         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28194         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28195         ($(objpfx)tst-audit3): New rule.
28196         ($(objpfx)tst-audit3.out): Likewise.
28197         * sysdeps/i386/tst-audit3.c: New file.
28198         * sysdeps/i386/tst-audit3.h: Likewise.
28199         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28200         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28202 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28204         [BZ #18633]
28205         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28206         pointer in C code.
28207         (__strcat_c): Likewise.
28208         (__strcat_g): Likewise.
28210 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28212         [BZ #18592]
28213         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28215 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28217         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28218         New function.  (__ieee754_sqrtf): New function.
28219         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28220         New function.
28221         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28222         New function.
28224 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28226         * sysdeps/ieee754/support.c: Remove unused file.
28228 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28230         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
28231         registers instead of d ones so the layout is kernel abi compatible.
28232         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
28233         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
28234         Likewise.
28236 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28238         * sysdeps/aarch64/libm-test-ulps: Regenerated.
28240 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28242         [BZ #18619]
28243         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
28244         and return argument in case of subnormal argument.
28246 2015-07-01  Martin Sebor  <msebor@redhat.com>
28248         [BZ #18435]
28249         * nptl/Makefile: Add tst-once5.cc.
28250         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28251         Remove macro redefinitions.
28252         * nptl/tst-once5.cc: New test.
28254 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
28256         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28258         * sysdeps/arm/libm-test-ulps: Regenerated.
28260         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
28261         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28263 2015-06-30  Torvald Riegel  <triegel@redhat.com>
28265         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
28266         lll_lock_wait_private and lll_futex_wake probes.
28268         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28269         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
28270         Likewise.
28271         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
28272         atomic_spin_nop.
28273         * sysdeps/x86_64/bits/atomic.h: Likewise.
28274         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
28275         to atomic_spin_nop and move ...
28276         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28277         ... here and ...
28278         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
28279         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
28280         atomic_spin_nop instead of BUSY_WAIT_NOP.
28281         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
28282         Likewise.
28283         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
28284         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
28285         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
28286         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
28287         instead of atomic_delay.
28289 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
28291         [BZ #18613]
28292         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
28293         X_ADJ not X when adjusting exponent.
28294         (__ieee754_gamma_r): Do intermediate computations in
28295         round-to-nearest then adjust overflowing and underflowing results
28296         as needed.
28297         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
28298         of X_ADJ not X when adjusting exponent.
28299         (__ieee754_gammaf_r): Do intermediate computations in
28300         round-to-nearest then adjust overflowing and underflowing results
28301         as needed.
28302         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
28303         log of X_ADJ not X when adjusting exponent.
28304         (__ieee754_gammal_r): Do intermediate computations in
28305         round-to-nearest then adjust overflowing and underflowing results
28306         as needed.  Use 1.0L not 1.0f as numerator of division.
28307         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
28308         log of X_ADJ not X when adjusting exponent.
28309         (__ieee754_gammal_r): Do intermediate computations in
28310         round-to-nearest then adjust overflowing and underflowing results
28311         as needed.  Use 1.0L not 1.0f as numerator of division.
28312         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
28313         of X_ADJ not X when adjusting exponent.
28314         (__ieee754_gammal_r): Do intermediate computations in
28315         round-to-nearest then adjust overflowing and underflowing results
28316         as needed.  Use 1.0L not 1.0f as numerator of division.
28317         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
28318         to auto-libm-test-in.
28319         (tgamma_test): Use ALL_RM_TEST.
28320         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
28321         tests of tgamma with spurious-overflow.
28322         * math/auto-libm-test-out: Regenerated.
28323         * math/gen-libm-have-vector-test.sh: Do not check for START.
28324         * sysdeps/i386/fpu/libm-test-ulps: Update.
28325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28327         [BZ #18612]
28328         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
28329         arguments, just return 0.5 times the argument, with underflow
28330         forced as needed.
28331         * math/auto-libm-test-in: Add more tests of j1.
28332         * math/auto-libm-test-out: Regenerated.
28334         [BZ #16559]
28335         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
28336         (__ieee754_j1): Force underflow exception for small results.
28337         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
28338         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
28339         (__ieee754_j1f): Force underflow exception for small results.
28340         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28341         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28342         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28343         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
28344         (__ieee754_j1l): Force underflow exception for small results.
28345         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28346         * math/auto-libm-test-in: Add more tests of j1 and jn.
28347         * math/auto-libm-test-out: Regenerated.
28349         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
28350         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
28351         (PF_MPLS): Likewise.
28352         (AF_IB): Likewise.
28353         (AF_MPLS): Likewise.
28354         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
28355         value and macro.
28356         (MS_RMT_MASK): Include MS_LAZYTIME.
28358 2015-06-26  Mel Gorman  <mgorman@suse.de>
28360         [BZ #18502]
28361         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
28362         already minimal.
28364 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
28366         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
28367         (DT_MIPS_NUM): Update.
28368         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
28369         DT_MIPS_RLD_MAP_REL.
28371 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
28373         [BZ #16559]
28374         [BZ #18602]
28375         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
28376         round-to-nearest internally then recompute results that
28377         underflowed to zero in the original rounding mode.
28378         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
28379         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
28380         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28381         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
28382         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
28383         * sysdeps/i386/fpu/libm-test-ulps: Update.
28384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28386 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
28388         * NEWS: Fixed description of link with vector math library.
28390 2015-06-25  Andreas Schwab  <schwab@suse.de>
28392         [BZ #18549]
28393         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
28394         * libio/test-fmemopen.c (do_test): Add test for it.
28396 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
28398         [BZ #17841]
28399         * Makeconfig (no-pie-ldflag): New.
28400         (+link): Set to $(+link-pie) if default to PIE.
28401         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
28402         * config.make.in (build-pie-default): New.
28403         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
28404         is default.  AC_SUBST.
28405         * configure: Regenerated.
28406         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
28408 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28410         * nptl/descr.h (struct pthread): Change type of field setxid_futex
28411         to 'unsigned int'.
28413         * resolv/gai_misc.h (struct waitlist): Change type of field
28414         counterp to 'volatile unsigned int *'.
28415         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
28416         FUTEXADDR and OLDVAL.
28417         * resolv/getaddrinfo_a.c (getaddrinfo_a):
28418         Give local variable TOTAL type 'volatile unsigned int'.
28419         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28420         * resolv/gai_suspend.c (gai_suspend):
28421         Give local variable CNTR type 'unsigned int'.
28423         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
28424         counterp to 'volatile unsigned int *'.
28425         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
28426         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
28427         (aio_suspend): Give local variable CNTR type 'unsigned int'.
28428         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
28429         Give local variable TOTAL type 'volatile unsigned int'.
28430         (struct async_waitlist): Change type of field counter to 'unsigned int'.
28432 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28434         [BZ #18383]
28435         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
28436         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
28437         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
28438         comment for i386/x86-64.
28439         (test-xfail-tst-tlsalign-extern-static): Removed.
28441 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28443         * math/test-double.h: New file.
28444         * math/test-float.h: Likewise.
28445         * math/test-ldouble.h: Likewise.
28446         * math/test-math-inline.h: Likewise.
28447         * math/test-math-no-inline.h: Likewise.
28448         * math/test-math-scalar.h: Likewise.
28449         * math/test-math-vector.h: Likewise.
28450         * math/test-vec-loop.h: Remove file.  Contents moved into
28451         test-math-vector.h.
28452         * math/libm-test.inc (MATHCONST): Do not document macro.
28453         * math/test-double.c: Include test-double.h, test-math-no-inline.h
28454         and test-math-scalar.h.
28455         (FUNC): Remove macro.
28456         (FUNC_TEST): Likewise.
28457         (FLOAT): Likewise.
28458         (MATHCONST): Likewise.
28459         (PRINTF_EXPR): Likewise.
28460         (PRINTF_XEXPR): Likewise.
28461         (PRINTF_NEXPR): Likewise.
28462         (TEST_DOUBLE): Likewise.
28463         (TEST_MATHVEC): Likewise.
28464         (__NO_MATH_INLINES): Likewise.
28465         * math/test-float.c: Include test-float.h, test-math-no-inline.h
28466         and test-math-scalar.h.
28467         (FUNC): Remove macro.
28468         (FUNC_TEST): Likewise.
28469         (FLOAT): Likewise.
28470         (MATHCONST): Likewise.
28471         (PRINTF_EXPR): Likewise.
28472         (PRINTF_XEXPR): Likewise.
28473         (PRINTF_NEXPR): Likewise.
28474         (TEST_FLOAT): Likewise.
28475         (TEST_MATHVEC): Likewise.
28476         (__NO_MATH_INLINES): Likewise.
28477         * math/test-idouble.c: Include test-double.h, test-math-inline.h
28478         and test-math-scalar.h.
28479         (FUNC): Remove macro.
28480         (FUNC_TEST): Likewise.
28481         (FLOAT): Likewise.
28482         (MATHCONST): Likewise.
28483         (PRINTF_EXPR): Likewise.
28484         (PRINTF_XEXPR): Likewise.
28485         (PRINTF_NEXPR): Likewise.
28486         (TEST_DOUBLE): Likewise.
28487         (TEST_MATHVEC): Likewise.
28488         (TEST_INLINE): Likewise.
28489         (__NO_MATH_INLINES): Likewise.
28490         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
28491         test-math-scalar.h.
28492         (FUNC): Remove macro.
28493         (FUNC_TEST): Likewise.
28494         (FLOAT): Likewise.
28495         (MATHCONST): Likewise.
28496         (PRINTF_EXPR): Likewise.
28497         (PRINTF_XEXPR): Likewise.
28498         (PRINTF_NEXPR): Likewise.
28499         (TEST_FLOAT): Likewise.
28500         (TEST_MATHVEC): Likewise.
28501         (TEST_INLINE): Likewise.
28502         (__NO_MATH_INLINES): Likewise.
28503         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
28504         and test-math-scalar.h.
28505         (FUNC): Remove macro.
28506         (FUNC_TEST): Likewise.
28507         (FLOAT): Likewise.
28508         (MATHCONST): Likewise.
28509         (PRINTF_EXPR): Likewise.
28510         (PRINTF_XEXPR): Likewise.
28511         (PRINTF_NEXPR): Likewise.
28512         (TEST_LDOUBLE): Likewise.
28513         (TEST_MATHVEC): Likewise.
28514         (TEST_INLINE): Likewise.
28515         (__NO_MATH_INLINES): Likewise.
28516         * math/test-ldouble.c: Include test-ldouble.h,
28517         test-math-no-inline.h and test-math-scalar.h.
28518         (FUNC): Remove macro.
28519         (FUNC_TEST): Likewise.
28520         (FLOAT): Likewise.
28521         (MATHCONST): Likewise.
28522         (PRINTF_EXPR): Likewise.
28523         (PRINTF_XEXPR): Likewise.
28524         (PRINTF_NEXPR): Likewise.
28525         (TEST_LDOUBLE): Likewise.
28526         (TEST_MATHVEC): Likewise.
28527         (__NO_MATH_INLINES): Likewise.
28528         * math/test-double-vlen2.h: Include test-double.h,
28529         test-math-no-inline.h and test-math-vector.h.
28530         (FLOAT): Remove macro.
28531         (FUNC): Likewise.
28532         (MATHCONST): Likewise.
28533         (PRINTF_EXPR): Likewise.
28534         (PRINTF_XEXPR): Likewise.
28535         (PRINTF_NEXPR): Likewise.
28536         (TEST_DOUBLE): Likewise.
28537         (TEST_MATHVEC): Likewise.
28538         (__NO_MATH_INLINES): Likewise.
28539         (CNCT): Likewise.
28540         (CONCAT): Likewise.
28541         (WRAPPER_NAME): Likewise.
28542         (WRAPPER_DECL): Likewise.
28543         (WRAPPER_DECL_ff): Likewise.
28544         (WRAPPER_DECL_fFF): Likewise.
28545         (VECTOR_WRAPPER): Likewise.
28546         (VECTOR_WRAPPER_ff): Likewise.
28547         (VECTOR_WRAPPER_fFF): Likewise.
28548         (VEC_LEN): New macro.
28549         * math/test-double-vlen4.h: Include test-double.h,
28550         test-math-no-inline.h and test-math-vector.h.
28551         (FLOAT): Remove macro.
28552         (FUNC): Likewise.
28553         (MATHCONST): Likewise.
28554         (PRINTF_EXPR): Likewise.
28555         (PRINTF_XEXPR): Likewise.
28556         (PRINTF_NEXPR): Likewise.
28557         (TEST_DOUBLE): Likewise.
28558         (TEST_MATHVEC): Likewise.
28559         (__NO_MATH_INLINES): Likewise.
28560         (CNCT): Likewise.
28561         (CONCAT): Likewise.
28562         (WRAPPER_NAME): Likewise.
28563         (WRAPPER_DECL): Likewise.
28564         (WRAPPER_DECL_ff): Likewise.
28565         (WRAPPER_DECL_fFF): Likewise.
28566         (VECTOR_WRAPPER): Likewise.
28567         (VECTOR_WRAPPER_ff): Likewise.
28568         (VECTOR_WRAPPER_fFF): Likewise.
28569         (VEC_LEN): New macro.
28570         * math/test-double-vlen8.h: Include test-double.h,
28571         test-math-no-inline.h and test-math-vector.h.
28572         (FLOAT): Remove macro.
28573         (FUNC): Likewise.
28574         (MATHCONST): Likewise.
28575         (PRINTF_EXPR): Likewise.
28576         (PRINTF_XEXPR): Likewise.
28577         (PRINTF_NEXPR): Likewise.
28578         (TEST_DOUBLE): Likewise.
28579         (TEST_MATHVEC): Likewise.
28580         (__NO_MATH_INLINES): Likewise.
28581         (CNCT): Likewise.
28582         (CONCAT): Likewise.
28583         (WRAPPER_NAME): Likewise.
28584         (WRAPPER_DECL): Likewise.
28585         (WRAPPER_DECL_ff): Likewise.
28586         (WRAPPER_DECL_fFF): Likewise.
28587         (VECTOR_WRAPPER): Likewise.
28588         (VECTOR_WRAPPER_ff): Likewise.
28589         (VECTOR_WRAPPER_fFF): Likewise.
28590         (VEC_LEN): New macro.
28591         * math/test-float-vlen4.h: Include test-float.h,
28592         test-math-no-inline.h and test-math-vector.h.
28593         (FLOAT): Remove macro.
28594         (FUNC): Likewise.
28595         (MATHCONST): Likewise.
28596         (PRINTF_EXPR): Likewise.
28597         (PRINTF_XEXPR): Likewise.
28598         (PRINTF_NEXPR): Likewise.
28599         (TEST_FLOAT): Likewise.
28600         (TEST_MATHVEC): Likewise.
28601         (__NO_MATH_INLINES): Likewise.
28602         (CNCT): Likewise.
28603         (CONCAT): Likewise.
28604         (WRAPPER_NAME): Likewise.
28605         (WRAPPER_DECL): Likewise.
28606         (WRAPPER_DECL_ff): Likewise.
28607         (WRAPPER_DECL_fFF): Likewise.
28608         (VECTOR_WRAPPER): Likewise.
28609         (VECTOR_WRAPPER_ff): Likewise.
28610         (VECTOR_WRAPPER_fFF): Likewise.
28611         (VEC_LEN): New macro.
28612         * math/test-float-vlen8.h: Include test-float.h,
28613         test-math-no-inline.h and test-math-vector.h.
28614         (FLOAT): Remove macro.
28615         (FUNC): Likewise.
28616         (MATHCONST): Likewise.
28617         (PRINTF_EXPR): Likewise.
28618         (PRINTF_XEXPR): Likewise.
28619         (PRINTF_NEXPR): Likewise.
28620         (TEST_FLOAT): Likewise.
28621         (TEST_MATHVEC): Likewise.
28622         (__NO_MATH_INLINES): Likewise.
28623         (CNCT): Likewise.
28624         (CONCAT): Likewise.
28625         (WRAPPER_NAME): Likewise.
28626         (WRAPPER_DECL): Likewise.
28627         (WRAPPER_DECL_ff): Likewise.
28628         (WRAPPER_DECL_fFF): Likewise.
28629         (VECTOR_WRAPPER): Likewise.
28630         (VECTOR_WRAPPER_ff): Likewise.
28631         (VECTOR_WRAPPER_fFF): Likewise.
28632         (VEC_LEN): New macro.
28633         * math/test-float-vlen16.h: Include test-float.h,
28634         test-math-no-inline.h and test-math-vector.h.
28635         (FLOAT): Remove macro.
28636         (FUNC): Likewise.
28637         (MATHCONST): Likewise.
28638         (PRINTF_EXPR): Likewise.
28639         (PRINTF_XEXPR): Likewise.
28640         (PRINTF_NEXPR): Likewise.
28641         (TEST_FLOAT): Likewise.
28642         (TEST_MATHVEC): Likewise.
28643         (__NO_MATH_INLINES): Likewise.
28644         (CNCT): Likewise.
28645         (CONCAT): Likewise.
28646         (WRAPPER_NAME): Likewise.
28647         (WRAPPER_DECL): Likewise.
28648         (WRAPPER_DECL_ff): Likewise.
28649         (WRAPPER_DECL_fFF): Likewise.
28650         (VECTOR_WRAPPER): Likewise.
28651         (VECTOR_WRAPPER_ff): Likewise.
28652         (VECTOR_WRAPPER_fFF): Likewise.
28653         (VEC_LEN): New macro.
28654         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
28655         test-vec-loop.h.
28656         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28657         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28658         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28659         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28660         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28661         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28662         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28664 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28666         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
28667         (__getlogin_r): ... this.
28669 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28671         [BZ #18594]
28672         * math/s_ccosh.c (__ccosh): Compare with least normal value
28673         instead of comparing class with FP_SUBNORMAL.
28674         * math/s_ccoshf.c (__ccoshf): Likewise.
28675         * math/s_ccoshl.c (__ccoshl): Likewise.
28676         * math/s_cexp.c (__cexp): Likewise.
28677         * math/s_cexpf.c (__cexpf): Likewise.
28678         * math/s_cexpl.c (__cexpl): Likewise.
28679         * math/s_csin.c (__csin): Likewise.
28680         * math/s_csinf.c (__csinf): Likewise.
28681         * math/s_csinh.c (__csinh): Likewise.
28682         * math/s_csinhf.c (__csinhf): Likewise.
28683         * math/s_csinhl.c (__csinhl): Likewise.
28684         * math/s_csinl.c (__csinl): Likewise.
28685         * math/s_ctan.c (__ctan): Likewise.
28686         * math/s_ctanf.c (__ctanf): Likewise.
28687         * math/s_ctanh.c (__ctanh): Likewise.
28688         * math/s_ctanhf.c (__ctanhf): Likewise.
28689         * math/s_ctanhl.c (__ctanhl): Likewise.
28690         * math/s_ctanl.c (__ctanl): Likewise.
28691         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
28692         csin, csinh, ctan and ctanh.
28693         * math/auto-libm-test-out: Regenerated.
28694         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
28695         * sysdeps/i386/fpu/libm-test-ulps: Update.
28696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28698 2015-06-24  Roland McGrath  <roland@hack.frob.com>
28700         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
28701         return value is wrong, print the expected value too.
28703 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28705         [BZ #18585]
28706         * elf/readlib.c (is_gdb_python_file): New.
28707         (process_file): Don't issue errors on filenames with -gdb.py
28708         suffix.
28710 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
28712         * math/auto-libm-test-in: Add more tests of csin and csinh.
28713         * math/auto-libm-test-out: Regenerated.
28714         * math/libm-test.inc (csin_test_data): Remove tests moved to
28715         auto-libm-test-in.
28716         (csinh_test_data): Likewise.
28718         [BZ #18593]
28719         * math/s_csin.c (__csin): Negate before rather than after possibly
28720         overflowing multiplication.
28721         * math/s_csinf.c (__csinf): Likewise.
28722         * math/s_csinh.c (__csinh): Likewise.
28723         * math/s_csinhf.c (__csinhf): Likewise.
28724         * math/s_csinhl.c (__csinhl): Likewise.
28725         * math/s_csinl.c (__csinl): Likewise.
28726         * math/auto-libm-test-in: Add some tests of csin and csinh.
28727         * math/auto-libm-test-out: Regenerated.
28728         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
28729         (csinh_test_data): Likewise.
28730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28732         [BZ #18586]
28733         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
28734         underflow exception for small results.
28736 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28738         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28739         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
28740         variable and included header.
28741         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
28742         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
28743         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
28744         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
28745         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
28746         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
28747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
28748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
28749         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
28750         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
28751         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
28752         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
28753         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
28754         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
28755         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
28756         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
28758 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28760         [BZ #16526]
28761         [BZ #16538]
28762         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
28763         (__sin): Force underflow exception for arguments with small
28764         absolute value.
28765         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
28766         (__kernel_sinf): Force underflow exception for arguments with
28767         small absolute value.
28768         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
28769         (__kernel_sincosl): Force underflow exception for arguments with
28770         small absolute value.
28771         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
28772         (__kernel_sinl): Force underflow exception for arguments with
28773         small absolute value.
28774         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
28775         (__kernel_sincosl): Force underflow exception for arguments with
28776         small absolute value.
28777         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
28778         (__kernel_sinl): Force underflow exception for arguments with
28779         small absolute value.
28780         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
28781         (__kernel_sinl): Force underflow exception for arguments with
28782         small absolute value.
28783         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
28784         (__kernel_sinf): Force underflow exception for arguments with
28785         small absolute value.
28786         * math/auto-libm-test-in: Add more tests of sin and sincos.
28787         * math/auto-libm-test-out: Regenerated.
28789         [BZ #18245]
28790         [BZ #18583]
28791         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
28792         (__kernel_standard_l): Use feholdexcept and fesetenv around
28793         conversion to double instead of special-casing overflow and
28794         underflow.
28795         * math/libm-test.inc (fmod_test_data): Add more tests.
28796         (remainder_test_data): Likewise.
28797         (sqrt_test_data): Likewise.
28799 2015-06-23  Torvald Riegel  <triegel@redhat.com>
28801         [BZ #17403]
28802         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
28803         atomic_read_barrier, atomic_write_barrier): Define.
28804         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
28805         atomic_read_barrier, atomic_write_barrier): Define.
28807 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28809         * math/Makefile [$(PERL) != no]
28810         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
28811         dependency on libm-test.stmp below the inclusion of Rules.
28813 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
28815         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
28816         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
28817         and included header.
28818         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
28819         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
28820         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
28821         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
28822         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
28823         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
28824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
28825         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
28826         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
28827         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
28828         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
28829         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
28830         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
28831         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
28832         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
28833         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
28834         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
28835         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
28836         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
28838 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
28840         [BZ #18371]
28841         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
28842         intermediate but not final result might underflow.
28843         * math/s_csqrtf.c (__csqrtf): Likewise.
28844         * math/s_csqrtl.c (__csqrtl): Likewise.
28845         * math/auto-libm-test-in: Add more tests of csqrt.
28846         * math/auto-libm-test-out: Regenerated.
28847         * sysdeps/i386/fpu/libm-test-ulps: Update.
28849         [BZ #18219]
28850         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
28851         threshold on absolute value of exponent for which scaling is used.
28852         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28853         * math/auto-libm-test-in: Add more tests of exp2.
28854         * math/auto-libm-test-out: Regenerated.
28856 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
28858         [BZ #17977]
28859         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
28860         when initializing interface list, based on the bug analysis
28861         and the patch proposed by Eric Newton.
28862         * resolv/tst-res_hconf_reorder.c: New test.
28863         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
28864         tst-res_hconf_reorder.
28865         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
28866         and $(shared-thread-library).
28867         (tst-res_hconf_reorder-ENV): New variable.
28869         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
28870         in comment.
28872 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
28874         [BZ #16353]
28875         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
28876         (__expm1): Force underflow exception for arguments with small
28877         absolute value.
28878         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
28879         (__expm1f): Force underflow exception for arguments with small
28880         absolute value.
28881         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
28882         (__expm1): Force underflow exception for arguments with small
28883         absolute value.
28884         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
28885         (__expm1f): Force underflow exception for arguments with small
28886         absolute value.
28887         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28888         Check for small arguments before calling __expm1.
28889         * math/auto-libm-test-in: Do not mark underflow exceptions as
28890         possibly missing for bug 16353.
28891         * math/auto-libm-test-out: Regenerated.
28893 2015-06-22  Andreas Schwab  <schwab@suse.de>
28895         [BZ #18513]
28896         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
28897         PTR queries.
28899 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
28901         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
28903         * string/strcoll_l.c: Remove unused struct element idxnow.
28905 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
28907         [BZ #18569]
28908         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
28909         underflow and return argument in case of subnormal argument.
28910         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28911         Likewise.
28912         * math/auto-libm-test-in: Add more tests of expm1.
28913         * math/auto-libm-test-out: Regenerated.
28915         [BZ #16361]
28916         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28917         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28918         tiny results.
28919         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
28920         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
28921         tiny results.
28922         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
28923         mark underflow exceptions as possibly missing for bug 16361.
28924         * math/auto-libm-test-out: Regenerated.
28926 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
28928         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
28929         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
28930         Remove variable.
28931         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
28932         (test-xfail-XOPEN2K8/utmpx.h/conform).
28934         * conform/conformtest.pl ($xerrors): New variable.
28935         (note_error): New function.
28936         (compiletest): New argument $xfail.  Use not_error.
28937         (runtest): Likewise.
28938         (top level): Handle xfail- lines.  Update calls to compiletest and
28939         runtest.  Handle xfail- and optional- in headers listed with
28940         allow-header.
28941         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
28942         (O_EXEC): Likewise.
28943         (O_SEARCH): Likewise.
28944         * conform/data/stropts.h-data (ioctl): Likewise.
28945         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28946         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28947         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28948         (msghdr.msg_controllen): Likewise.
28949         (cmsghdr.cmsg_len): Likewise.
28950         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28951         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28952         variable.
28953         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28954         (test-xfail-XPG4/stropts.h/conform): Likewise.
28955         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28956         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28957         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28958         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28959         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28960         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28961         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28962         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28963         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28964         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28965         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28966         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28967         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28968         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28969         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28970         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28971         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28972         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28973         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28975 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28977         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28978         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28979         definitions for proper unfolding of __MATHDECL_VEC.
28981 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28983         * benchtests/bench-strcoll.c:
28984         Include string.h.
28985         (main): Remove unused variable res.
28987 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28989         * timezone/Makefile (%/UTC %/Universal):
28990         Generate test-result files for UTC and Universal.
28992 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28994         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28996 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28998         [BZ #16350]
28999         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29000         for arguments with small absolute value.
29001         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29002         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29003         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29004         (__asinh): Force underflow exception for arguments with small
29005         absolute value.
29006         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29007         (__asinhf): Force underflow exception for arguments with small
29008         absolute value.
29009         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29010         (__asinhl): Force underflow exception for arguments with small
29011         absolute value.
29012         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29013         (__asinhl): Force underflow exception for arguments with small
29014         absolute value.
29015         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29016         (__asinhl): Force underflow exception for arguments with small
29017         absolute value.
29018         * math/auto-libm-test-in: Do not mark underflow exceptions as
29019         possibly missing for bug 16350.
29020         * math/auto-libm-test-out: Regenerated.
29022         * include/bits/ipc.h: Remove file.
29023         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29024         variable.
29025         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29026         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29027         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29028         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29029         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29030         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29031         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29032         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29033         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29035         * math/auto-libm-test-in: Remove spurious underflow allowance for
29036         tests of cexp.
29037         * math/auto-libm-test-out: Regenerated.
29039         [BZ #18558]
29040         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29041         unconditional definition.
29042         (MCAST_BLOCK_SOURCE): Likewise.
29043         (MCAST_UNBLOCK_SOURCE): Likewise.
29044         (MCAST_LEAVE_GROUP): Likewise.
29045         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29046         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29047         (MCAST_MSFILTER): Likewise.
29048         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29049         Remove variable.
29050         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29051         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29052         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29053         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29054         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29056 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29058         * NEWS: Mention addition of x86_64 vector sincosf.
29059         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29060         * math/test-float-vlen4.h: Likewise.
29061         * math/test-float-vlen8.h: Likewise.
29062         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29063         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29064         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29065         * sysdeps/x86_64/fpu/Versions: New versions added.
29066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29067         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29068         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29069         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29070         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29072         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29073         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29074         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29075         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29076         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29077         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29078         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29079         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29080         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29081         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29082         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29083         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29084         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29085         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29086         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29087         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29088         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29089         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29091         * NEWS: Mention addition of x86_64 vector sincos.
29092         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29093         * math/math.h (__MATHDECL_VEC): New macro.
29094         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29095         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29096         declaration under condition.
29097         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29098         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29099         TEST_VEC_LOOP change.
29100         * math/test-double-vlen4.h: Likewise.
29101         * math/test-double-vlen8.h: Likewise.
29102         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29103         * math/test-float-vlen4.h: Likewise.
29104         * math/test-float-vlen8.h: Likewise.
29105         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29106         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29107         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29108         * sysdeps/x86_64/fpu/Versions: New versions added.
29109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29110         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29111         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29112         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29114         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29115         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29116         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29117         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29118         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29119         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29120         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29121         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29122         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29123         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29124         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29125         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29126         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29127         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29128         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29129         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29130         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29131         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29132         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29134         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29135         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29136         redirections for powf.
29137         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29138         * sysdeps/x86_64/fpu/Versions: New versions added.
29139         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29140         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29141         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29142         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29143         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29144         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29145         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29146         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29147         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29148         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29149         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29150         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29151         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29152         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29153         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29154         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29155         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29156         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29157         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29158         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29159         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29160         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29161         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29162         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29163         * math/test-float-vlen16.h: Fixed 2 argument macro.
29164         * math/test-float-vlen4.h: Likewise.
29165         * math/test-float-vlen8.h: Likewise.
29166         * NEWS: Mention addition of x86_64 vector powf.
29168 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29170         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29171         and redefine.
29172         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29173         and redefine.
29174         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29175         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29176         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29178         [BZ #18553]
29179         * resource/getpriority.c (getpriority): Rename to __getpriority
29180         and define as weak alias of __getpriority.
29181         * resource/setpriority.c (setpriority): Rename to __setpriority
29182         and define as weak alias of __setpriority.
29183         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29184         __getpriority and define as weak alias of __getpriority.
29185         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29186         __setpriority and define as weak alias of __setpriority.
29187         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29188         strong name.
29189         (setpriority): Use __setpriority as strong name.
29190         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29191         __getpriority and define as weak alias of __getpriority.
29192         * include/sys/resource.h (__getpriority): Declare.  Use
29193         libc_hidden_proto.
29194         (__setpriority): Likewise.
29195         (getpriority): Don't use libc_hidden_proto.
29196         (setpriority): Likewise.
29197         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29198         getpriority.  Call __setpriority instead of setpriority.
29199         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29200         Remove variable.
29202         [BZ #18547]
29203         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29204         as weak alias of __getttynam.  Use prototype function definition.
29205         Call __setttyent, __getttyent and __endttyent instead of
29206         setttyent, getttyent and endttyent.
29207         (getttyent): Rename to __getttyent and define as weak alias of
29208         __getttyent.  Call __setttyent instead of setttyent.  Call
29209         __fgets_unlocked instead of fgets_unlocked.
29210         (setttyent): Rename to __setttyent and define as weak alias of
29211         __setttyent.
29212         (endttyent): Rename to __endttyent and define as weak alias of
29213         __endttyent.
29214         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29215         (__setttyent): Likewise.
29216         (__endttyent): Likewise.
29217         (getttyent): Don't use libc_hidden_proto.
29218         (setttyent): Likewise.
29219         (endttyent): Likewise.
29220         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29221         __endttyent instead of setttyent, getttyent and endttyent.
29222         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
29223         Remove variable.
29225         [BZ #18546]
29226         * socket/recv.c (__recv): Use libc_hidden_def.
29227         * socket/socket.c (__socket): Likewise.
29228         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
29229         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
29230         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
29231         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
29232         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
29233         libc_hidden_def.
29234         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
29235         libc_hidden_weak.
29236         * include/sys/socket.h (__socket): Do not use attribute_hidden.
29237         Use libc_hidden_proto.
29238         (__recv): Likewise.
29239         * socket/Versions (libc): Export __recv and __socket at version
29240         GLIBC_PRIVATE.
29241         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
29242         instead of recv.
29243         (init_mq_netlink): Call __socket instead of socket.
29244         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
29245         Remove variable.
29247         [BZ #18545]
29248         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
29249         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
29250         hidden_weak.
29251         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
29252         define as alias of __mq_timedsend.  Use hidden_weak.
29253         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
29254         __mq_timedsend as strong name.
29255         (mq_timedreceive): Use __mq_timedreceive as strong name.
29256         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
29257         (__mq_timedreceive): Likewise.
29258         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
29259         __mq_timedreceive instead of mq_timedreceive.
29260         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
29261         instead of mq_timedsend.
29262         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
29263         Remove variable.
29265         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
29266         hidden_def and hidden_weak instead of libc_hidden_def and
29267         libc_hidden_weak.
29268         (top level): Refer to hidden_def in comment.
29269         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
29270         macro.  Use it instead of libc_hidden_def.
29271         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
29272         specify __GI_* name explicitly.
29273         (mq_timedreceive): Likewise.
29274         (mq_setattr): Likewise.
29276         [BZ #18544]
29277         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
29278         __pthread_barrier_init and define as weak alias of
29279         __pthread_barrier_init.
29280         * sysdeps/sparc/nptl/pthread_barrier_init.c
29281         (pthread_barrier_init): Likewise.
29282         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
29283         __pthread_barrier_wait and define as weak alias of
29284         __pthread_barrier_wait.
29285         * sysdeps/sparc/nptl/pthread_barrier_wait.c
29286         (pthread_barrier_wait): Likewise.
29287         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
29288         (pthread_barrier_wait): Likewise.
29289         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
29290         (pthread_barrier_wait): Likewise.
29291         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
29292         (pthread_barrier_wait): Likewise.
29293         * nptl/Versions (libpthread): Export __pthread_barrier_init and
29294         __pthread_barrier_wait at version GLIBC_PRIVATE.
29295         * include/pthread.h (__pthread_barrier_init): Declare.
29296         (__pthread_barrier_wait): Likewise.
29297         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
29298         Call __pthread_barrier_wait instead of pthread_barrier_wait.
29299         (helper_thread): Likewise.
29300         (init_mq_netlink): Call __pthread_barrier_init instead of
29301         pthread_barrier_init.
29303         [BZ #18542]
29304         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
29305         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
29306         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
29307         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
29308         vswscanf.
29309         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
29310         Remove variable.
29312         [BZ #18540]
29313         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
29314         strong alias of _IO_fflush.  Use libc_hidden_def.
29315         * libio/iofflush_u.c (fflush_unlocked): Rename to
29316         __fflush_unlocked and define as weak alias of __fflush_unlocked.
29317         Use libc_hidden_weak.
29318         * include/stdio.h (__fflush_unlocked): Declare.  Use
29319         libc_hidden_proto.
29320         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
29321         fflush_unlocked.
29322         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
29323         Remove variable.
29325         [BZ #18539]
29326         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
29327         define as weak alias of __addseverity.
29328         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
29329         Remove variable.
29330         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29331         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29332         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29334         [BZ #18536]
29335         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
29336         (__tfind): Likewise.
29337         (__tdelete): Likewise.
29338         (__twalk): Likewise.
29339         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
29340         __twalk to GLIBC_PRIVATE.
29341         * include/search.h (__tsearch): Use libc_hidden_proto.
29342         (__tfind): Likewise.
29343         (__tdelete): Likewise.
29344         (__twalk): Likewise.
29345         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
29346         Call __tdelete instead of tdelete.
29347         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
29348         tfind.  Call __tsearch instead of tsearch.
29349         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
29350         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
29351         Remove variable.
29352         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29354         [BZ #18534]
29355         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
29356         (dprintf): Define as a weak alias of __dprintf, not a strong
29357         alias.
29358         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
29359         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
29360         dprintf.
29361         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
29362         Remove variable.
29363         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29364         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29366         [BZ #18533]
29367         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
29368         not a strong alias.
29369         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
29370         Remove variable.
29372         [BZ #18532]
29373         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
29374         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
29375         (in6addr_loopback): Rename to __in6addr_loopback and define as
29376         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
29377         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
29378         libc_hidden_proto.
29379         (__in6addr_any): Likewise.
29380         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
29381         in6addr_any.
29382         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
29383         variable.
29384         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29386 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
29388         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
29389         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
29390         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29391         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29392         redirections for pow.
29393         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29394         * sysdeps/x86_64/fpu/Versions: New versions added.
29395         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29396         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29397         build of SSE, AVX2 and AVX512 IFUNC versions.
29398         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
29399         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
29400         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
29401         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
29402         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
29403         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
29404         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
29405         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
29406         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
29407         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
29408         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
29409         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
29410         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
29411         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
29412         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29413         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29414         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29415         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29416         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29417         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29418         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29419         * NEWS: Mention addition of x86_64 vector pow.
29421         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29422         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29423         redirections for expf.
29424         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29425         * sysdeps/x86_64/fpu/Versions: New versions added.
29426         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29427         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29428         build of SSE, AVX2 and AVX512 IFUNC versions.
29429         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
29430         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
29431         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
29432         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
29433         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
29434         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
29435         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
29436         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
29437         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
29438         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
29439         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
29440         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
29441         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
29442         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29443         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29444         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29445         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29446         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29447         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29448         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29449         * NEWS: Mention addition of x86_64 vector expf.
29451         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
29452         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
29453         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29454         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29455         redirections for exp.
29456         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29457         * sysdeps/x86_64/fpu/Versions: New versions added.
29458         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29459         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29460         build of SSE, AVX2 and AVX512 IFUNC versions.
29461         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
29462         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
29463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
29464         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
29465         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
29466         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
29467         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
29468         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
29469         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
29470         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
29471         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
29472         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
29473         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
29474         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29475         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29476         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29477         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29478         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29479         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29480         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29481         * NEWS: Mention addition of x86_64 vector exp.
29483         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29484         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29485         redirections for logf.
29486         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29487         * sysdeps/x86_64/fpu/Versions: New versions added.
29488         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29489         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29490         build of SSE, AVX2 and AVX512 IFUNC versions.
29491         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
29492         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
29493         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
29494         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
29495         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
29496         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
29497         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
29498         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
29499         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
29500         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
29501         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
29502         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
29503         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
29504         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29505         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29506         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29507         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29508         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29509         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29510         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29511         * NEWS: Mention addition of x86_64 vector logf.
29513         * bits/libm-simd-decl-stubs.h: Added stubs for log.
29514         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
29515         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29516         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29517         redirections for log.
29518         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29519         * sysdeps/x86_64/fpu/Versions: New versions added.
29520         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29521         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
29522         build of SSE, AVX2 and AVX512 IFUNC versions.
29523         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
29524         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
29525         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
29526         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
29527         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
29528         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
29529         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
29530         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
29531         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
29532         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
29533         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
29534         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
29535         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
29536         test.
29537         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29538         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29539         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29540         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29541         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29542         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29543         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29544         * NEWS: Mention addition of x86_64 vector log.
29546 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29548         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
29549         cfi_adjust_cfa_offset argument.
29550         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
29551         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
29553         [BZ #18034]
29554         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
29555         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
29556         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
29557         ordering using ldar.
29558         (_dl_tlsdesc_dynamic): Likewise.
29559         (_dl_tlsdesc_return_lazy): Likewise.
29560         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
29561         relaxed atomics instead of volatile and synchronize with release store.
29562         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
29563         volatile.
29564         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29566 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
29568         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29569         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
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): Added
29574         build of SSE, AVX2 and AVX512 IFUNC versions.
29575         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
29576         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
29577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
29578         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
29579         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
29580         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
29581         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
29582         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
29583         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
29584         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
29585         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
29586         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
29587         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
29588         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29589         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29590         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29591         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29592         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29593         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29594         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29595         * NEWS: Mention addition of x86_64 vector sinf.
29597 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
29599         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
29600         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
29601         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
29602         Remove variable.
29603         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29604         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29606 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29608         [BZ #18530]
29609         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
29610         strong alias of _IO_fputs.  Use libc_hidden_def.
29611         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
29612         and define as weak alias of __fputs_unlocked.  Use
29613         libc_hidden_weak.
29614         * include/stdio.h (__fputs_unlocked): Declare.  Use
29615         libc_hidden_proto.
29616         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
29617         fputs_unlocked.
29619         [BZ #18529]
29620         * resolv/netdb.h [__USE_POSIX]: Change condition to
29621         [__USE_XOPEN2K].
29622         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
29623         not expect.
29624         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
29625         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
29626         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
29627         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
29628         [XPG4 || UNIX98] (AI_ALL): Likewise.
29629         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
29630         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
29631         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
29632         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
29633         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
29634         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
29635         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
29636         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
29637         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
29638         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
29639         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
29640         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
29641         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
29642         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
29643         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
29644         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29645         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
29646         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
29647         [XPG4 || UNIX98] (gai_strerror): Likewise.
29648         [XPG4 || UNIX98] (getaddrinfo): Likewise.
29649         [XPG4 || UNIX98] (getnameinfo): Likewise.
29651         [BZ #18528]
29652         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
29653         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
29654         __USE_XOPEN2K8].
29655         (getgrent): Likewise.
29656         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
29657         expect.
29658         [XPG3 || POSIX2008] (endgrent): Likewise.
29659         [XPG3] (setgrent): Likewise.
29660         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
29661         variable.
29662         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29664         [BZ #18527]
29665         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
29666         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
29667         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
29668         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
29669         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
29670         * include/unistd.h (__getlogin_r): Declare.  Use
29671         libc_hidden_proto.
29672         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
29673         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
29674         variable.
29675         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29676         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29677         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29679 2015-06-12  Martin Sebor  <msebor@redhat.com>
29681         [BZ #18512]
29682         * Makerules (check-install-supported): New target.
29683         (install): Add check-install-supported as a dependency.
29684         * manual/install.texi (Installing the C Library): Document
29685         that overriding prefix and exec_prefix is not supported.
29686         Mention DESTDIR.
29687         * INSTALL: Regenerate from the above.
29689 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
29691         [BZ #18519]
29692         * posix/Versions (libc): Export __libc_pread at version
29693         GLIBC_PRIVATE.
29694         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
29695         instead of pread.
29696         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
29697         variable.
29699         [BZ #18522]
29700         * misc/efgcvt_r.c
29701         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
29702         (cvt_symbol): Use weak_alias instead of strong_alias.
29703         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
29704         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
29705         Remove variable.
29706         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29707         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29709         [BZ #18520]
29710         * inet/herrno.c (h_errno): Rename to __h_errno.
29711         (__libc_h_errno): Define as alias of __h_errno not h_errno.
29712         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
29713         to __h_errno instead of h_errno.
29714         * nptl/herrno.c (h_errno): Rename to __h_errno.
29715         (__h_errno_location): Refer to __h_errno not h_errno.
29716         * resolv/Versions (h_errno): Rename to __h_errno.
29717         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
29718         Remove variable.
29719         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29721 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
29723         * configure.ac: More strict check for AVX512 assembler support.
29724         * configure: Regenerated.
29726         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
29727         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
29728         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29729         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
29730         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29731         * sysdeps/x86_64/fpu/Versions: New versions added.
29732         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29733         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29734         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29735         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
29736         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
29737         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
29738         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
29739         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
29740         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
29741         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
29742         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
29743         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
29744         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
29745         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
29746         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
29747         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
29748         test.
29749         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29750         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29752         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29753         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29754         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29755         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29756         * NEWS: Mention addition of x86_64 vector sin.
29758 2015-06-11  Florian Weimer  <fweimer@redhat.com>
29760         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
29761         comment.
29763 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29765         [BZ #18479]
29766         * nptl/pt-interp.c: New file.
29767         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
29768         Add pt-interp.
29769         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
29770         $(common-objpfx)runtime-linker.h.
29772 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
29774         * Makeconfig (+interp): Remove unused variable.
29775         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
29776         only.  Depend on $(common-objpfx)runtime-linker.h instead of
29777         $(elf-objpfx)runtime-linker.h.
29778         ($(elf-objpfx)runtime-linker.h): Rename to
29779         $(common-objpfx)runtime-linker.h and move ...
29780         * Makerules [$(build-shared) = yes]: ... here.
29781         * elf/interp.c: Include <runtime-linker.h> instead of
29782         <elf/runtime-linker.h>.
29784 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29786         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
29787         (__gettimeofday_syscall): Remove vsyscall fallback.
29788         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
29789         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
29790         Add syscall fallback function.
29791         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
29792         if vDSO is not present.
29793         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
29794         fallback function.
29795         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
29796         present.
29797         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
29798         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29800 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
29802         [BZ #18497]
29803         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
29804         of wcscmp.
29805         (wcscmp): Define as weak alias of WCSCMP.
29806         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
29807         wcscoll.
29808         (USE_HIDDEN_DEF): Define.
29809         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
29810         __wcscoll.  Don't use libc_hidden_weak.
29811         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
29812         wcscmp.
29813         * sysdeps/i386/i686/multiarch/wcscmp-c.c
29814         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
29815         __GI_wcscmp.
29816         (weak_alias): Undefine and redefine.
29817         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
29818         __wcscmp and define as weak alias of __wcscmp.
29819         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
29820         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
29821         (__wcscoll): Likewise.
29822         (wcscmp): Don't use libc_hidden_proto.
29823         (wcscoll): Likewise.
29824         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
29825         wcscoll.
29826         * posix/regexec.c (check_node_accept_bytes): Likewise.
29827         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
29828         variable.
29829         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29830         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29832         [BZ #18507]
29833         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
29834         __fstatvfs and define as weak alias of __fstatvfs.  Use
29835         libc_hidden_weak.
29836         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
29837         and define as weak alias of __statvfs.  Use libc_hidden_weak.
29838         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
29839         Define as alias of __fstatvfs, not fstatvfs.
29840         (fstatvfs64): Likewise.
29841         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
29842         Define as alias of __statvfs, not statvfs.
29843         (statvfs64): Likewise.
29844         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
29845         Remove variable.
29847 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29850         (HAVE_GETCPU_VSYSCALL): Define.
29851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29852         (HAVE_GETCPU_VSYSCALL): Likewise.
29853         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
29854         * sysdeps/unix/sysv/linux/sched_getcpu.c
29855         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
29856         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
29857         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
29858         prototype.
29859         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29860         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
29861         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
29862         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
29863         Define.
29864         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
29865         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29866         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
29867         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29869 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
29871         * sysdeps/x86_64/fpu/Makefile: New file.
29872         * sysdeps/x86_64/fpu/Versions: New file.
29873         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
29874         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
29875         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
29876         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
29877         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
29878         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
29879         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
29880         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
29881         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
29882         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
29883         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
29884         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
29885         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
29886         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29887         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29888         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
29889         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
29890         * sysdeps/x86_64/configure.ac: Options for libmvec build.
29891         * sysdeps/x86_64/configure: Regenerated.
29892         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
29893         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
29894         * manual/install.texi (Configuring and compiling): Document
29895         --disable-mathvec.
29896         * INSTALL: Regenerated.
29897         * NEWS: Mention addition of libmvec and x86_64 vector cos.
29899         * math/Makefile: Added rules for vector tests.
29900         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
29901         declaration under condition.
29902         * math/test-double-vlen2.h: New file.
29903         * math/test-double-vlen4.h: New file.
29904         * math/test-double-vlen8.h: New file.
29905         * math/test-vec-loop.h: Added initialization macro.
29906         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
29907         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
29908         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
29909         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
29910         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
29911         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
29912         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
29913         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
29914         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
29915         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
29916         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
29918         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29919         * sysdeps/x86_64/fpu/Versions: New versions added.
29920         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
29921         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
29922         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
29923         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
29924         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
29925         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
29926         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
29927         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
29928         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
29929         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
29930         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
29931         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
29932         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
29933         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29934         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29935         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
29936         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
29937         * NEWS: Mention addition of x86_64 vector cosf.
29939         * math/Makefile: Added CFLAGS for new tests.
29940         * math/test-float-vlen16.h: New file.
29941         * math/test-float-vlen4.h: New file.
29942         * math/test-float-vlen8.h: New file.
29943         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
29944         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29945         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29946         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29947         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29948         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29949         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29950         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29951         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29952         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29953         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29955 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29957         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29958         * locale/programs/ld-ctype.c: Likewise.
29960 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29962         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29963         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29964         bit_ZMM16_31_state): New macro.
29965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29966         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29968 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29970         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29972 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29974         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29976 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29978         [BZ #18498]
29979         * libio/memstream.c (open_memstream): Rename to __open_memstream
29980         and define as weak alias of __open_memstream.
29981         * include/stdio.h (__open_memstream): Declare.  Use
29982         libc_hidden_proto.
29983         (open_memstream): Don't use libc_hidden_proto.
29984         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29985         open_memstream.
29986         * posix/getopt.c (_getopt_internal_r): Likewise.
29987         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29988         variable.
29989         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29990         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29991         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29993         [BZ #18496]
29994         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29995         instead of wcrtomb.
29997         [BZ #18483]
29998         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29999         [__USE_XOPEN2K8].  Remove redundant #endif.
30000         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30001         Remove redundant #if.
30002         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30003         Remove variable.
30004         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30005         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30007         [BZ #18495]
30008         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30009         (__iswlower): Likewise.
30010         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30011         (__iswlower): Likewise.
30012         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30013         instead of towlower.
30014         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30015         instead of iswlower.  Call __towupper instead of towupper.
30016         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30017         instead of iswalnum.
30019 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30021         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30022         errors to stderr.
30024 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30026         [BZ #15661]
30027         [BZ #17322]
30028         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30029         Check for overflow properly.  Check for O_APPEND.  Ignore large
30030         file system block sizes.  Add comments about problems.
30031         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30032         * manual/filesys.texi (Storage Allocation): New node.
30034 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30036         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30037         cancellable syscalls.
30038         (SYS_ify): Add guard to no redefine it.
30039         (INLINE_SYSCALL): Likewise.
30040         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30041         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30042         SYSCALL_CANCEL instead.
30043         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30044         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30045         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30046         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30047         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30048         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30049         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30050         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30051         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30052         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30053         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30054         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30055         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30056         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30057         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30058         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30059         Likewise.
30060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30061         (__libc_pread64): Likewise.
30062         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30063         (__libc_preadv): Likewise.
30064         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30065         (__libc_readv64): Likewise.
30066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30067         (__libc_pwrite): Likewise.
30068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30069         (__libc_pwrite64): Likewise.
30070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30071         (__libc_pwritev): Likewise.
30072         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30073         (__libc_pwritev64): Likewise.
30074         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30075         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30076         (sync_file_range): Likewise.
30077         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30078         Likewise.
30079         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30080         Likewise.
30081         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30082         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30083         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30084         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30085         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30086         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30087         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30088         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30090         Likewise.
30091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30092         (__libc_read64): Likewise.
30093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30094         Likewise.
30095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30096         Likewise.
30097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30098         Likewise.
30099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30100         Likewise.
30101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30102         (__libc_pread64): Likewise.
30103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30104         Likewise.
30105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30106         (__libc_pwrite64): Likewise.
30107         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30108         (sync_file_range): Likewise.
30109         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30110         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30111         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30112         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30113         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30114         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30115         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30116         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30117         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30118         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30119         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30120         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30121         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30122         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30123         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30124         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30125         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30126         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30127         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30128         Likewise.
30129         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30130         Likewise.
30131         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30132         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30133         Likewise.
30134         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30135         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30136         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30137         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30138         Likewise.
30139         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30140         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30141         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30142         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30143         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30145 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30147         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30148         Include dl-vdso.
30149         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30150         Use VDSO routines for gettimeofday, clock_gettime if
30151         available.
30152         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30153         Declare VDSO symbols.
30154         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30155         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30156         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30157         * sysdeps/unix/sysv/linux/arm/Versions: Add
30158         __vdso_clock_gettime.
30160 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30162         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30163         be an inline implementation regardless of library is built within.
30164         (open_not_cancel_2): Likewise.
30165         (__read_nocancel): Likewise.
30166         (__write_nocancel): Likewise.
30167         (openat_not_cancel): Likewise.
30168         (openat_not_cancel_3): Likewise.
30169         (openat64_not_cancel): Likewise.
30170         (openat64_not_cancel_3): Likewise.
30171         (__close_nocancel): Likewise.
30172         (pause_not_cancel): Likewise.
30173         (nanosleep_not_cancel): Likewise.
30174         (sigsuspend_not_cancel): Likewise.
30176 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30178         [BZ #14958]
30179         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30180         wake-up.
30181         (__pthread_rwlock_rdlock_slow): Likewise.
30182         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30183         Likewise.
30184         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30185         Likewise.
30186         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30187         * nptl/tst-rwlock16.c: New file.
30188         * nptl/Makefile (tests): Add new test.
30190 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30192         [BZ #18324]
30193         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30194         missing wake-up of readers.
30195         * nptl/tst-rwlock15.c: New file.
30196         * nptl/Makefile (tests): Add new test.
30198 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30200         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30201         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30202         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30203         and __nacl_supply_interface_rtld.
30204         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30205         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30206         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30207         Add __nacl_supply_interface_rtld.
30208         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30210 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30212         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30213         isfinite.
30214         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30215         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30217 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30219         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30220         __signbit* with standard C99 macros.
30221         * math/e_exp10l.c: Likewise.
30222         * math/e_exp2l.c: Likewise.
30223         * math/e_scalb.c: Likewise.
30224         * math/e_scalbf.c: Likewise.
30225         * math/e_scalbl.c: Likewise.
30226         * math/s_ldexp.c: Likewise.
30227         * math/s_ldexpf.c: Likewise.
30228         * math/s_ldexpl.c: Likewise.
30229         * math/w_atan2.c: Likewise.
30230         * math/w_atan2f.c: Likewise.
30231         * math/w_atan2l.c: Likewise.
30232         * math/w_cosh.c: Likewise.
30233         * math/w_coshf.c: Likewise.
30234         * math/w_coshl.c: Likewise.
30235         * math/w_exp10.c: Likewise.
30236         * math/w_exp10f.c: Likewise.
30237         * math/w_exp10l.c: Likewise.
30238         * math/w_exp2.c: Likewise.
30239         * math/w_exp2f.c: Likewise.
30240         * math/w_exp2l.c: Likewise.
30241         * math/w_fmod.c: Likewise.
30242         * math/w_fmodf.c: Likewise.
30243         * math/w_fmodl.c: Likewise.
30244         * math/w_hypot.c: Likewise.
30245         * math/w_hypotf.c: Likewise.
30246         * math/w_hypotl.c: Likewise.
30247         * math/w_jnl.c: Likewise.
30248         * math/w_lgamma.c: Likewise.
30249         * math/w_lgamma_r.c: Likewise.
30250         * math/w_lgammaf.c: Likewise.
30251         * math/w_lgammaf_r.c: Likewise.
30252         * math/w_lgammal.c: Likewise.
30253         * math/w_lgammal_r.c: Likewise.
30254         * math/w_pow.c: Likewise.
30255         * math/w_powf.c: Likewise.
30256         * math/w_powl.c: Likewise.
30257         * math/w_remainder.c: Likewise.
30258         * math/w_remainderf.c: Likewise.
30259         * math/w_remainderl.c: Likewise.
30260         * math/w_scalb.c: Likewise.
30261         * math/w_scalbf.c: Likewise.
30262         * math/w_scalbl.c: Likewise.
30263         * math/w_scalbln.c: Likewise.
30264         * math/w_scalblnf.c: Likewise.
30265         * math/w_scalblnl.c: Likewise.
30266         * math/w_sinh.c: Likewise.
30267         * math/w_sinhf.c: Likewise.
30268         * math/w_sinhl.c: Likewise.
30269         * math/w_tgamma.c: Likewise.
30270         * math/w_tgammaf.c: Likewise.
30271         * math/w_tgammal.c: Likewise.
30272         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30273         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
30274         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30275         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30276         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30277         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30278         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
30279         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30280         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30281         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30282         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30283         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30284         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30285         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30286         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30287         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30288         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30289         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30290         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
30291         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30292         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30293         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30294         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30295         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30296         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
30297         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
30298         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
30299         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30300         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30301         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30302         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
30303         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
30304         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
30305         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
30306         * stdio-common/printf_fp.c: Likewise.
30307         * stdio-common/printf_fphex.c: Likewise.
30308         * stdio-common/printf_size.c: Likewise.
30310 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
30312         [BZ #18470]
30313         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
30314         strnlen.
30315         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
30316         Remove variable.
30317         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30318         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
30319         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
30320         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
30321         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
30322         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
30323         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
30324         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
30325         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
30326         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
30328         [BZ #18468]
30329         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
30330         weak alias of __wmemchr.  Use libc_hidden_weak.
30331         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
30332         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
30333         instead of wmemchr.
30335 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30337         [BZ #18383]
30338         * elf/tst-tlsalign-extern.c: New file.
30339         * elf/tst-tlsalign-extern-static.c: New file.
30340         * elf/tst-tlsalign-vars.c: New file.
30341         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
30342         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
30343         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
30344         ($(objpfx)tst-tlsalign-extern-static): Likewise.
30345         (test-xfail-tst-tlsalign-extern-static): New variable.
30347 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
30349         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
30350         Use variable name _sc_err instead of err.
30351         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
30352         instead of ret.
30353         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
30354         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
30355         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
30356         (INLINE_SYSCALL): Likewise.
30358         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
30359         * include/string.h (__strnlen): Use libc_hidden_proto.
30360         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
30361         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
30362         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
30363         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
30364         (libc_hidden_def): Undefine and redefine.
30365         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
30366         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
30367         __GI_strnlen.
30368         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
30369         libc_hidden_def.
30370         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
30372         [BZ #18469]
30373         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
30374         weak alias of __towlower.  Use libc_hidden_weak.
30375         (towupper): Rename to __towupper and define as weak alias of
30376         __towupper.  Use libc_hidden_weak.
30377         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
30378         (__towupper): Likewise.
30379         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
30380         __towlower instead of towlower.
30382 2015-06-02  Roland McGrath  <roland@hack.frob.com>
30384         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
30385         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
30387 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30389         * sysdeps/aarch64/libm-test-ulps: Update.
30391 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30393         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
30394         Define.
30395         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30396         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
30397         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30398         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30399         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
30400         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
30401         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
30403 2015-06-01  Martin Sebor  <msebor@redhat.com>
30405         [BZ #18116]
30406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30407         (__setcontext): Use extended four-operand version of mtsf whenever
30408         possible.
30409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30410         (__novec_swapcontext): Likewise.
30412 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30414         * benchtests/scripts/compare_bench.py: New file.
30415         * benchtests/scripts/import_bench.py (mean): New function.
30416         (split_list): Likewise.
30417         (do_for_all_timings): Likewise.
30418         (compress_timings): Likewise.
30420         * benchtests/scripts/import_bench.py: New file.
30421         * benchtests/scripts/validate_benchout.py: Import import_bench
30422         instead of jsonschema.
30423         (validate_bench): Remove function.
30424         (main): Use import_bench.
30426 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
30428         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
30429         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
30431 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30435 2015-05-28  Roland McGrath  <roland@hack.frob.com>
30437         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
30438         set THREAD_SELF->tid to a magic value and futex-wake it.
30439         Pass its address to the thread_exit system call.
30440         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
30441         bit is clear.
30442         * sysdeps/nacl/lowlevellock.h: New file.
30443         * sysdeps/nacl/lll_timedwait_tid.c: New file.
30445         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
30446         Add TIMEOUT to current time, don't subtract it.
30448 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
30450         [BZ #2981]
30451         [BZ #18422]
30452         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
30453         ($(objpfx)tst-audit2.out): Also depend on
30454         $(objpfx)tst-auditmod9b.so.
30455         * elf/tst-audit2.c: Include <dlfcn.h>.
30456         (calloc_called): New.
30457         (calloc): Allow to be called more than once.
30458         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
30460 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
30462         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
30463         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
30465 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
30467         * stdlib/monetary.h: Fix comment.
30469 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
30471         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
30472         Avoid using variables in #defines that might cause shadowing.
30473         (INTERNAL_VSYSCALL_CALL): Likewise.
30475 2015-05-26  Roland McGrath  <roland@hack.frob.com>
30477         * sysdeps/nacl/lll_timedlock_wait.c: New file.
30479         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
30480         * nptl/lll_timedlock_wait.c: ... to this new file.
30481         * nptl/Makefile (libpthread-routines): Add it.
30482         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
30483         * nptl/lll_timedwait_tid.c: ... to this new file.
30484         * nptl/Makefile (libpthread-routines): Add it.
30485         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
30486         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
30487         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
30488         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
30489         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
30490         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
30491         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
30492         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
30493         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
30494         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
30496 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30498         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
30499         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
30500         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30501         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
30502         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
30503         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30504         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30505         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30506         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30507         * sysdeps/unix/sysv/linux/tile/sysdep.h
30508         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
30509         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
30510         using vDSO syscall macro.
30512 2015-05-26  Andriy Rysin  <arysin@gmail.com>
30514         [BZ #17293]
30515         * uk_UA: Fix sorting order for Ukrainian locale
30517 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
30519         * stdlib/monetary.h: Fix comment.
30521 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30523         [BZ #18234]
30524         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
30525         st_mtim and st_ctim members.
30526         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
30527         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
30528         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
30529         (struct stat64): Likewise.
30530         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
30531         (struct stat64): Likewise.
30532         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
30533         (struct stat64): Likewise.
30535 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30537         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
30538         Define and include sysdep-vdso.h.
30539         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
30540         Likewise.
30541         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
30542         Likewise.
30543         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
30544         Define with VDSO_SYMBOL and use PTR_MANGLE.
30545         (__vdso_clock_gettime): Likewise.
30546         (__vdso_clock_getres): Likewise.
30547         (_libc_vdso_platform_setup): Likewise.
30548         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30549         Likewise.
30550         (_libc_vdso_platform_setup): Likewise.
30551         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
30552         Likewise.
30553         (__vdso_clock_gettime): Likewise.
30554         (__vdso_clock_getres): Likewise.
30555         (__vdso_get_tbfreq): Likewise.
30556         (__vdso_getcpu): Likewise.
30557         (__vdso_time): Likewise.
30558         (__vdso_sigtramp_rt64): Likewise.
30559         (__vdso_signtramp32): Likewise.
30560         (__vdso_sigtramp_rt32): Likewise.
30561         (_libc_vdso_platform_setup): Likewise.
30562         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
30563         Likewise.
30564         (__vdso_clock_gettime): Likewise.
30565         (__vdso_clock_getres): Likewise.
30566         (_libc_vdso_platform_setup): Likewise.
30567         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
30568         Likewise.
30569         (__vdso_clock_gettime): Likewise.
30570         (_libc_vdso_platform_setup): Likewise.
30571         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30572         Likewise.
30573         (__vdso_getcpu): Likewise.
30574         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
30575         Use VDSO_SYMBOL macro to define.
30576         (__vdso_clock_gettime): Likewise.
30577         (__vdso_clock_getres): Likewise.
30578         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
30579         Likewise.
30580         (__vdso_clock_gettime): Likewise.
30581         (__vdso_clock_getres): Likewise.
30582         (__vdso_get_tbfreq): Likewise.
30583         (__vdso_getcpu): Likewise.
30584         (__vdso_time): Likewise.
30585         (__vdso_sigtramp_rt64): Likewise.
30586         (__vdso_signtramp32): Likewise.
30587         (__vdso_sigtramp_rt32): Likewise.
30588         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
30589         Likewise.
30590         (__vdso_clock_gettime): Likewise.
30591         (__vdso_clock_getres): Likewise.
30592         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
30593         Likewise.
30594         (__vdso_clock_gettime): Likewise.
30595         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30596         Likewise.
30597         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
30598         macro.
30599         (INTERNAL_VSYSCALL): Likewise.
30600         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
30601         Remove macro.
30602         (INTERNAL_VSYSCALL): Likewise.
30603         (INTERNAL_VSYSCALL_NCS): Likewise.
30604         (INTERNAL_VSYSCALL_CALL): New macro.
30605         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30606         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
30607         Likewise.
30608         (INTERNAL_VSYSCALL): Likewise.
30609         (INTERNAL_VSYSCALL_NCS): Likewise.
30610         (INTERNAL_VSYSCALL_CALL): New macro.
30611         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30613         (INLINE_VSYSCALL): Remove macro.
30614         (INTERNAL_VSYSCALL): Remove macro.
30615         (INTERNAL_VSYSCALL_NCS): Remove macro.
30616         (INTERNAL_VSYSCALL_CALL): New macro.
30617         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
30618         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
30619         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30620         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
30621         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
30622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30623         (INLINE_VSYSCALL): Remove macro.
30624         (INTERNAL_VSYSCALL): Likewise.
30625         (INTERNAL_VSYSCALL_NCS): Likewise.
30626         (INTERNAL_VSYSCALL_CALL): New macro.
30627         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
30628         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
30629         PTR_DEMANGLE on vDSO pointer.
30630         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
30631         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
30632         macro.
30633         (INTERNAL_SYSCALL): Likewise.
30634         (INTERNAL_VSYSCALL_NCS): Remove macro.
30635         (INTERNAL_VSYSCALL_CALL): New macro.
30636         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
30637         Remove macro.
30638         (INTERNAL_VSYSCALL): Likewise.
30639         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
30640         sysdep-vdso.h instead of libc-vdso.h.
30641         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
30642         definition.
30643         (INLINE_VSYSCALL): Likewise.
30644         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
30645         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
30646         definition.
30647         (INLINE_VSYSCALL): Likewise.
30648         (INTERNAL_VSYSCALL): Likewise.
30649         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30650         * sysdeps/unix/sysv/linux/timespec_get.c
30651         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30652         (timespec_get): Use ANSI prototype.
30653         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
30654         and definition for Linux.
30656 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
30658         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
30659         * include/libc-symbols.h: libmvec_hidden_* macro series added.
30661 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
30663         [BZ #2981]
30664         [BZ #18410]
30665         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
30666         for missing DT_PLTRELSZ.
30668 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
30670         Remove obsolete aliases that broke 'locale -a'
30671         [BZ #18412]
30672         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
30673         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
30674         breaking some applications that use 'locale -a' output.
30675         Change the encoding of this file from Latin-1 to ASCII to avoid
30676         other potential problems with people grepping this file.
30678 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30680         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
30681         -fasynchronous-unwind-tables.
30682         (CFLAGS-sendto.c): Likewise.
30683         (CFLAGS-sendmsg.c): Likewise.
30684         (CFLAGS-connect.c): Likewise.
30685         (CFLAGS-recvmsg.c): Likewise.
30686         (CFLAGS-recvfrom.c): Likewise.
30687         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
30688         (SOCKETCALL): New macro: non-cancellable socketcall.
30689         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
30690         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
30691         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
30692         * sysdeps/unix/sysv/linux/accept.c: New file.
30693         * sysdeps/unix/sysv/linux/bind.c: Likewise.
30694         * sysdeps/unix/sysv/linux/connect.c: Likewise.
30695         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
30696         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
30697         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
30698         * sysdeps/unix/sysv/linux/listen.c: Likewise.
30699         * sysdeps/unix/sysv/linux/recv.c: Likewise.
30700         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
30701         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
30702         * sysdeps/unix/sysv/linux/send.c: Likewise.
30703         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
30704         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
30705         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
30706         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
30707         * sysdeps/unix/sysv/linux/socket.c: Likewise.
30708         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
30709         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
30710         prototype.
30711         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
30712         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30713         instead of __internal_xxx function.
30714         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
30715         prototype.
30716         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
30717         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30718         instead of __internal_xxx function.
30719         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
30720         prototype.
30721         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
30722         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
30723         instead of __internal_xxx function.
30724         * sysdeps/unix/sysv/linux/accept.S: Remove file.
30725         * sysdeps/unix/sysv/linux/bind.S: Likewise.
30726         * sysdeps/unix/sysv/linux/connect.S: Likewise.
30727         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
30728         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
30729         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
30730         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
30731         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
30732         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
30733         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
30734         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
30735         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30736         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
30737         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
30738         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
30739         * sysdeps/unix/sysv/linux/listen.S: Likewise.
30740         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
30741         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
30742         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
30743         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
30744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
30745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
30746         * sysdeps/unix/sysv/linux/recv.S: Likewise.
30747         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
30748         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
30749         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
30750         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30751         * sysdeps/unix/sysv/linux/send.S: Likewise.
30752         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
30753         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
30754         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
30755         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
30756         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
30757         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
30758         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
30759         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
30760         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
30761         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
30762         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
30763         socketcall is implemented in GLIBC.
30765 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30767         * soft-fp/fmadf4.c: Include <libc-internal.h>.
30768         (__fma): Ignore uninitialized warnings around packing.
30769         * soft-fp/fmasf4.c: Include <libc-internal.h>.
30770         (__fmaf): Ignore uninitialized warnings around packing.
30771         * soft-fp/fmatf4.c: Include <libc-internal.h>.
30772         (__fmal): Ignore uninitialized warnings around packing.
30774         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
30775         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30776         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
30777         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
30779         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
30780         switch statement into default case.
30781         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
30783         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
30784         a conditional in forcing "inexact".
30785         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
30786         Likewise.
30788 2015-05-22  Roland McGrath  <roland@hack.frob.com>
30790         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30791         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
30792         for each INTERNAL_SYSCALL use.
30794 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
30796         [BZ #438]
30797         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
30798         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
30799         variable.
30801         [BZ #18444]
30802         * string/basename.c (basename): Rename to __basename and define as
30803         weak alias of __basename.  Use libc_hidden_weak.
30804         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
30805         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
30806         __basename instead of basename.
30807         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
30808         Remove variable.
30809         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
30811 2015-05-18  Florian Weimer  <fweimer@redhat.com>
30813         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
30814         (_IO_JUMPS_FILE_plus): New.
30815         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
30816         _IO_CAST_FIELD_ACCESS.
30817         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
30818         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
30819         * libio/freopen.c (freopen): Likewise.
30820         * libio/freopen64.c (freopen64): Likewise.
30821         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
30822         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
30823         * libio/iofwide.c (_IO_fwide): Likewise.
30824         * libio/memstream.c (open_memstream): Likewise.
30825         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30826         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
30827         * libio/oldiopopen.c (_IO_old_popen): Likewise.
30829 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
30831         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
30832         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
30833         NADJ.
30834         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
30835         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
30836         NADJ.
30837         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
30838         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
30839         NADJ.
30841         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
30842         (p == 4) case.
30844         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
30845         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
30846         Remove variable.
30847         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
30848         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
30849         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
30851 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30853         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
30854         Adjust jump table label generation macros.
30856 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30858         * stdio-common/vfprintf.c (vfprintf): Move local variables
30859         args_malloced, specs, specs_malloced, and the code after
30860         do_positional to the printf_positional function.
30861         (printf_positional): New function.
30863 2015-05-21  Florian Weimer  <fweimer@redhat.com>
30865         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
30866         function.
30867         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
30868         STEP4_TABLE, process_arg): Move macro definitions
30869         out of the vfprintf function.  (Cosmetic change only.)
30871 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
30873         * benchtests/Makefile (stdio-common-bench): Define.
30874         (benchset): Add stdio-common-bench.
30875         * sprintf-inputs: New file.
30876         * sprintf-source.c: New file.
30878 2015-05-21  Andreas Schwab  <schwab@suse.de>
30880         [BZ #13028]
30881         [BZ #17053]
30882         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
30883         of struct __res_state.
30884         * resolv/res_send.c (__libc_res_nsend): Likewise.
30885         (get_nsaddr): New function.
30886         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
30887         statp directly.
30889 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
30891         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
30892         -D_POSIX_C_SOURCE=199506L.
30894         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
30896         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
30897         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
30898         Do not mention otherwise.
30899         [POSIX] (_XOPEN_VERSION): Do not expect.
30900         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
30901         [POSIX] (_POSIX2_C_BIND): Likewise.
30902         [POSIX] (_POSIX2_VERSION): Likewise.
30903         [POSIX] (_XOPEN_XPG2): Likewise.
30904         [POSIX] (_XOPEN_XPG3): Likewise.
30905         [POSIX] (_XOPEN_XPG4): Likewise.
30906         [POSIX] (_XOPEN_UNIX): Likewise.
30907         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
30908         [POSIX] (_POSIX_BARRIERS): Likewise.
30909         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
30910         [POSIX] (_POSIX_CPUTIME): Likewise.
30911         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
30912         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
30913         [POSIX] (_POSIX_SHELL): Likewise.
30914         [POSIX] (_POSIX_SPAWN): Likewise.
30915         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
30916         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
30917         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
30918         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
30919         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
30920         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
30921         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
30922         [POSIX] (_XBS5_LP64_OFF64): Likewise.
30923         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
30924         [POSIX] (_POSIX_TIMEOUTS): Likewise.
30925         [POSIX] (_POSIX2_PBS): Likewise.
30926         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
30927         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
30928         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
30929         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
30930         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
30931         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
30932         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
30933         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
30934         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
30935         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
30936         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
30937         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
30938         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
30939         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
30940         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
30941         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
30942         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
30943         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
30944         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30945         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30946         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30947         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30948         [POSIX] (_SC_2_C_BIND): Likewise.
30949         [POSIX] (_SC_2_C_VERSION): Likewise.
30950         [POSIX] (_SC_2_PBS): Likewise.
30951         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30952         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30953         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30954         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30955         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30956         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30957         [POSIX] (_SC_BARRIERS): Likewise.
30958         [POSIX] (_SC_BASE): Likewise.
30959         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30960         [POSIX] (_SC_DEVICE_IO): Likewise.
30961         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30962         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30963         [POSIX] (_SC_FD_MGMT): Likewise.
30964         [POSIX] (_SC_FIFO): Likewise.
30965         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30966         [POSIX] (_SC_FILE_LOCKING): Likewise.
30967         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30968         [POSIX] (_SC_IOV_MAX): Likewise.
30969         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30970         [POSIX] (_SC_NETWORKING): Likewise.
30971         [POSIX] (_SC_PAGE_SIZE): Likewise.
30972         [POSIX] (_SC_PASS_MAX): Likewise.
30973         [POSIX] (_SC_PIPE): Likewise.
30974         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30975         [POSIX] (_SC_REGEXP): Likewise.
30976         [POSIX] (_SC_SHELL): Likewise.
30977         [POSIX] (_SC_SIGNALS): Likewise.
30978         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30979         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30980         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30981         [POSIX] (_SC_USER_GROUPS): Likewise.
30982         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30983         [POSIX] (_SC_STREAMS): Likewise.
30984         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30985         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30986         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30987         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30988         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30989         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30990         [POSIX] (_PC_FILESIZEBITS): Likewise.
30991         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30992         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30993         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30994         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30995         [POSIX] (uid_t): Likewise.
30996         [POSIX] (gid_t): Likewise.
30997         [POSIX] (off_t): Likewise.
30998         [POSIX] (pid_t): Likewise.
30999         [POSIX] (cuserid): Allow.
31000         (_SC_2_CHAR_TERM): Require constant.
31001         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31002         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31003         variable.
31005 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31007         * sysdeps/nacl/pthread-pids.h: New file.
31008         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31009         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31011         * nptl/pthread-pids.h: New file.
31012         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31013         * nptl/nptl-init.c: Include <pthread-pids.h>.
31014         (__pthread_initialize_minimal_internal):
31015         Call __pthread_initialize_pids instead of set_tid_address syscall.
31017         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31018         * sysdeps/posix/usleep.c: ... here.
31020 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31022         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31023         call_pselect6 object.
31024         [$(subdir) = io]: Remove call_sync_file_range object.
31025         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31026         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31027         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31028         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31030 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31032         * math/s_cproj.c: Add include "math_private.h".
31033         * math/s_cprojf.c: Likewise.
31034         * math/s_cprojl.c: Likewise.
31036 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31038         [BZ #18244]
31039         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31040         high mantissa bit when testing whether P is a NaN.
31041         * math/libm-test.inc (remainder_test_data): Add more tests.
31042         (remquo_test_data): Likewise.
31044         [BZ #18049]
31045         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31046         below -32, return the argument, with underflow if subnormal.
31047         * math/auto-libm-test-in: Add more tests of atanh.
31048         * math/auto-libm-test-out: Regenerated.
31050 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31052         [BZ #18434]
31053         * nptl/tst-sem15.c: New file.
31054         * nptl/Makefile (tests): Add it.
31055         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31056         s/<</>>/ to fix typo in EOVERFLOW check.
31057         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31059 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31061         * manual/strings.texi (envz_remove): Fix typo in safety
31062         annotations.
31064 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31065             Steve Ellcey  <sellcey@imgtec.com>
31067         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31068         in order to avoid strict alias warnings.
31069         (iruserok_af): Ditto for ra.
31071 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31073         [BZ #17581]
31074         * malloc/hooks.c
31075         (magicbyte): Convert to a function and avoid returning 0x01.
31076         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31077         (mem2chunk_check): Fix unsigned comparisons to zero.
31078         Hoist defs of sz and magic.
31080 2015-05-19  Richard Henderson  <rth@redhat.com>
31082         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31084         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31086 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31088         [BZ #16159]
31089         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31090         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31091         (reused_arena): Find a non-corrupt arena.
31092         (heap_trim): Pass arena to unlink.
31093         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31094         malloc_printerr.
31095         (top_check): Likewise.
31096         (free_check): Likewise.
31097         (realloc_check): Likewise.
31098         * malloc/malloc.c (malloc_printerr): Add arena argument.
31099         (unlink): Likewise.
31100         (munmap_chunk): Adjust.
31101         (ARENA_CORRUPTION_BIT): New macro.
31102         (arena_is_corrupt): Likewise.
31103         (set_arena_corrupt): Likewise.
31104         (sysmalloc): Use mmap if there are no usable arenas.
31105         (_int_malloc): Likewise.
31106         (__libc_malloc): Don't fail if arena_get returns NULL.
31107         (_mid_memalign): Likewise.
31108         (__libc_calloc): Likewise.
31109         (__libc_realloc): Adjust for additional argument to
31110         malloc_printerr.
31111         (_int_free): Likewise.
31112         (malloc_consolidate): Likewise.
31113         (_int_realloc): Likewise.
31114         (_int_memalign): Don't touch corrupt arenas.
31115         * malloc/tst-malloc-backtrace.c: New test case.
31117         * Makefile (summarize-tests): Fix return value on success.
31119         * manual/string.texi (Envz Functions): Add envz_remove.
31121 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31123         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31124         (invalid_name): New function, broken out of ...
31125         (__opendirat): ... here.  Call it.
31126         (need_isdir_precheck): New function, broken out of ...
31127         (__opendirat): ... here.  Call it.
31128         Use __fxstatat64, not __xstatat64.
31129         (opendir_oflags): New function, broken out of ...
31130         (__opendirat): ... here.  Call it.
31131         (opendir_tail): New function, broken out of ...
31132         (__opendirat): ... here.  Call it.
31133         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31134         opendir_tail, rather than punting to __opendirat.
31135         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31137 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31139         * .gitignore: Ignore generated *.pyc.
31141 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31143         * include/stdio.h: Define __need_wint_t.
31144         * test-skeleton.c: Avoid `for' loop initial declaration.
31145         * nptl/tst-initializers1.c: Use test-skeleton.c.
31147 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31149         [BZ #18418]
31150         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31152 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31154         [BZ #16352]
31155         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31156         (__ieee754_atanh): Force underflow exception for results with
31157         small absolute value.
31158         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31159         (__ieee754_atanhf): Force underflow exception for results with
31160         small absolute value.
31161         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31162         (__ieee754_atanh): Force underflow exception for results with
31163         small absolute value.
31164         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31165         (__ieee754_atanhf): Force underflow exception for results with
31166         small absolute value.
31167         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31168         (__ieee754_atanhl): Force underflow exception for results with
31169         small absolute value.
31170         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31171         (__ieee754_atanhl): Force underflow exception for results with
31172         small absolute value.
31173         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31174         (__ieee754_atanhl): Force underflow exception for results with
31175         small absolute value.
31176         * math/auto-libm-test-in: Do not allow missing underflow
31177         exceptions from atanh.
31178         * math/auto-libm-test-out: Regenerated.
31180         [BZ #18221]
31181         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31182         2**-28 as threshold for returning x or +/- 1/x.
31183         * math/auto-libm-test-in: Add more tests of tan.
31184         * math/auto-libm-test-out: Regenerated.
31186         [BZ #18220]
31187         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31188         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31189         * math/auto-libm-test-in: Add another test of lgamma.
31190         * math/auto-libm-test-out: Regenerated.
31192 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31194         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31195         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31196         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31197         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31198         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31199         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31200         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31201         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31202         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31203         (log1): Use fabs.  (my_log2): Use fabs.
31204         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31205         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31206         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31207         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31208         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31209         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31210         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31211         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31212         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31213         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31214         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31216 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31218         [BZ #18217]
31219         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31220         as threshold for returning 1 - x.
31221         * math/auto-libm-test-in: Add more tests of erfc.
31222         * math/auto-libm-test-out: Regenerated.
31224 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
31226         [BZ #18196]
31227         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
31228         threshold for large arguments.
31229         * math/auto-libm-test-in: Add another test of atan.
31230         * math/auto-libm-test-out: Regenerated.
31232         [BZ #16339]
31233         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
31234         (__log1p): Force underflow exception for results with small
31235         absolute value.
31236         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
31237         (__log1pf): Force underflow exception for results with small
31238         absolute value.
31239         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
31240         (__log1p): Force underflow exception for results with small
31241         absolute value.
31242         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
31243         (__log1pf): Force underflow exception for results with small
31244         absolute value.
31245         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
31246         (__log1pl): Force underflow exception for results with small
31247         absolute value.
31248         * math/auto-libm-test-in: Do not allow missing underflow
31249         exceptions from log1p.
31250         * math/auto-libm-test-out: Regenerated.
31252 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
31253             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31255         [BZ #16704]
31256         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
31258 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
31260         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
31261         (libmvec): New variable.
31262         * configure.ac: Added option for mathvec build.
31263         * configure: Regenerated.
31264         * mathvec/Depend: New file.
31265         * mathvec/Makefile: New file.
31266         * shlib-versions: Added libmvec.
31267         * math/Makefile: Added rule for libm.so installation.
31269         * bits/math-vector.h: New file.
31270         * bits/libm-simd-decl-stubs.h: New header.
31271         * math/Makefile (headers): Added new header
31272         libm-simd-decl-stubs.h.
31273         * math/math.h (__MATHCALL_VEC): New macro.
31275         * math/gen-libm-have-vector-test.sh: Script generates series of macros
31276         for conditions in testing functions.
31277         * math/Makefile: Added call of libm-have-vector-test.sh.
31278         * math/libm-test.inc (HAVE_VECTOR): New macros.
31280         * math/libm-test.inc: START refactored.
31281         * math/test-double.c (TEST_MATHVEC): Add define.
31282         * math/test-float.c: Likewise.
31283         * math/test-idouble.c: Likewise.
31284         * math/test-ifloat.c: Likewise.
31285         * math/test-ildoubl.c: Likewise.
31286         * math/test-ldouble.c: Likewise.
31287         * sysdeps/generic/math-tests-arch.h
31288         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
31289         architecture check.
31291         * math/test-double.c (FUNC_TEST): New macro.
31292         * math/test-float.c: Likewise.
31293         * math/test-idouble.c: Likewise.
31294         * math/test-ifloat.c: Likewise.
31295         * math/test-ildoubl.c: Likewise.
31296         * math/test-ldouble.c: Likewise.
31297         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
31299 2015-05-13  Roland McGrath  <roland@hack.frob.com>
31301         * sysdeps/nacl/fdopendir.c: New file.
31303         * dirent/scandir-tail.c: New file.
31304         * dirent/scandir64-tail.c: New file.
31305         * dirent/Makefile (routines): Add them.
31306         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
31307         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
31308         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
31309         [!SCANDIR] (SCANDIR_TAIL): New macro.
31310         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
31311         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
31312         (SCANDIRAT): Macro removed.
31313         (SCANDIR_TAIL): New macro.
31314         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
31315         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
31316         (SCANDIRAT): Just call __opendirat and __scandir_tail.
31317         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
31318         (READDIR): Macro removed.
31319         (SCANDIR_TAIL): New macro.
31320         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
31321         (SCANDIR_TAIL): New macro.
31323         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
31324         * dirent/scandir-cancel.c: ... to this new file.
31325         * dirent/Makefile (routines): Add it.
31326         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
31327         * sysdeps/unix/sysv/linux/i386/scandir64.c
31328         (SKIP_SCANDIR_CANCEL): Macro removed.
31329         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
31331         * dirent/tst-scandir.c: New file.
31332         * dirent/tst-scandir64.c: New file.
31333         * dirent/Makefile (tests): Add them.
31335 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
31337         [BZ #18409]
31338         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
31340 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31342         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
31343         list.
31345 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
31347         * benchtests/bench-strcoll.c: New benchmark.
31348         * benchtests/Makefile: Generate locales and run benchmark.
31349         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
31350         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
31351         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
31352         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
31353         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
31354         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
31355         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
31356         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
31357         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
31358         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
31359         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
31360         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
31361         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
31362         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
31363         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
31364         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
31365         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
31366         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
31367         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
31368         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
31369         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
31370         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
31371         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
31372         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
31374 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
31376         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
31377         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
31379 2015-05-12  Roland McGrath  <roland@hack.frob.com>
31381         * posix/uname-values.h: New file.
31382         * posix/uname.c: Include that instead of <config-name.h>.
31383         * sysdeps/nacl/uname-values.h: New file.
31384         * sysdeps/arm/nacl/uname-values.h: New file.
31386 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
31388         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
31389         splitting into fields.
31391 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
31393         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
31394         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
31395         * locale/localeinfo.h: Add enum collation_encoding_type.
31396         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
31397         * programs/ld-collate.c (collate_output): Add encoding type info.
31398         * string/strcoll_l.c (STRDIFF): New function.
31399         * (STRCOLL): Use STRDIFF to skip over equal prefix.
31400         * wcsmbs/wcscoll_l.c: Define STRDIFF.
31402 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
31404         [BZ #18397]
31405         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
31406         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
31407         <fpu_control.h> instead of <math/fpu_control.c>.
31408         * sysdeps/mips/mips32/fpu/Makefile: New file.
31410 2015-05-11  Andreas Schwab  <schwab@suse.de>
31412         [BZ #18007]
31413         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
31414         nss_endgrent.
31415         (_nss_compat_endgrent): Call nss_endgrent.
31416         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
31417         nss_endpwent.
31418         (_nss_compat_endpwent): Call nss_endpwent.
31419         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
31420         needent, call nss_setspent only if non-zero.
31421         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
31422         (internal_endspent): Don't call nss_endspent.
31423         (_nss_compat_endspent): Call nss_endspent.
31424         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
31425         Remove.  All uses removed.
31426         (internal_setent): Remove parameter stayopen, add parameter
31427         stream.  Use it instead of global variable.
31428         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
31429         (internal_endent, internal_getent): Add parameter stream.  Use it
31430         instead of global variable.
31431         (CONCAT(_nss_files_end,ENTNAME))
31432         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
31433         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
31434         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
31435         uses removed.
31436         (internal_setent, internal_endent): Add parameter stream.  Use it
31437         instead of global variable.
31438         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
31439         stream.
31440         (get_next_alias): Add parameter stream.
31441         (_nss_files_getaliasent_r): Pass global stream.
31442         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
31443         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
31444         (_nss_files_gethostbyname4_r): Pass local stream to
31445         internal_setent, internal_getent and internal_endent.  Remove
31446         locking.
31448 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31450         * tst-strfmon1.c (tests): Update expected currency symbol.
31452 2015-05-08  Roland McGrath  <roland@hack.frob.com>
31454         * sysdeps/nacl/gethostname.c: New file.
31456 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
31458         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
31459         and sinh.
31460         * math/auto-libm-test-out: Regenerated.
31461         * sysdeps/i386/fpu/libm-test-ulps: Update.
31462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31464 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
31466         [BZ #18125]
31467         * stdlib/tst-setcontext3.c: New file.
31468         * stdlib/tst-setcontext3.sh: New file.
31469         * stdlib/Makefile (tests): Add tst-setcontext3.
31470         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
31471         to verify test program created output file.
31472         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
31473         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
31474         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
31475         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
31477 2015-05-06  Roland McGrath  <roland@hack.frob.com>
31479         [BZ #18383]
31480         * elf/tst-tlsalign.c: New file.
31481         * elf/tst-tlsalign-static.c: New file.
31482         * elf/tst-tlsalign-lib.c: New file.
31483         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
31484         (tests-static): Add tst-tlsalign-static.
31485         (modules-names): Add tst-tlsalign-lib.
31486         (test-xfail-tst-tlsalign): New variable.
31487         (test-xfail-tst-tlsalign-static): New variable.
31489         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
31490         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
31492 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
31494         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
31495         csqrt, erfc, sin and sincos.
31496         * math/auto-libm-test-out: Regenerated.
31497         * sysdeps/i386/fpu/libm-test-ulps: Update.
31498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31500 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31502         * sysdeps/aarch64/libm-test-ulps: Update.
31504 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
31506         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
31507         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
31508         * math/auto-libm-test-out: Regenerated.
31509         * sysdeps/i386/fpu/libm-test-ulps: Update.
31510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31512 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
31514         [BZ #18265]
31515         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
31516         (wcsncpy): Likewise.
31518 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31520         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
31521         Assume __ASSUME_FALLOCATE is always true.
31522         * sysdeps/unix/sysv/linux/posix_fallocate64.c
31523         (__posix_fallocate64_l64): Likewise.
31524         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
31525         (posix_fallocate): Likewise.
31526         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
31527         (__posix_fallocate64_l64): Likewise.
31528         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31529         [!__ASSUME_FALLOCATE]: Add comment.
31531 2015-05-05  Florian Weimer  <fweimer@redhat.com>
31533         * sysdeps/unix/sysv/linux/i386/Makefile
31534         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
31535         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
31536         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
31537         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31538         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31539         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
31540         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
31542 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
31544         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
31545         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
31546         tgamma.
31547         * math/auto-libm-test-out: Regenerated.
31548         * sysdeps/i386/fpu/libm-test-ulps: Update.
31549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31551 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31553         * math/auto-libm-test-in: Add more tests of tgamma.
31554         * math/auto-libm-test-out: Regenerated.
31555         * sysdeps/i386/fpu/libm-test-ulps: Update.
31556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31558         * math/auto-libm-test-in: Add more tests of tanh.
31559         * math/auto-libm-test-out: Regenerated.
31560         * sysdeps/i386/fpu/libm-test-ulps: Update.
31561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31563         * math/auto-libm-test-in: Add more tests of tan.
31564         * math/auto-libm-test-out: Regenerated.
31565         * sysdeps/i386/fpu/libm-test-ulps: Update.
31566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31568         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
31569         * math/auto-libm-test-out: Regenerated.
31570         * sysdeps/i386/fpu/libm-test-ulps: Update.
31571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31573         * math/auto-libm-test-in: Add another test of pow.
31574         * math/auto-libm-test-out: Regenerated.
31575         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31577         * math/auto-libm-test-in: Add more tests of lgamma.
31578         * math/auto-libm-test-out: Regenerated.
31579         * sysdeps/i386/fpu/libm-test-ulps: Update.
31580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31582         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
31583         log1p.
31584         * math/auto-libm-test-out: Regenerated.
31585         * sysdeps/i386/fpu/libm-test-ulps: Update.
31586         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31588 2015-05-01  Mark Wielaard  <mjw@redhat.com>
31590         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
31591         Elf64_Chdr structs and ELFCOMPRESS constants.
31593 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
31595         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
31596         expm1.
31597         * math/auto-libm-test-out: Regenerated.
31598         * sysdeps/i386/fpu/libm-test-ulps: Update.
31599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31601         * math/auto-libm-test-in: Add more tests of erf and erfc.
31602         * math/auto-libm-test-out: Regenerated.
31603         * sysdeps/i386/fpu/libm-test-ulps: Update.
31604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31606 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31608         * config.h.in (HAVE_AARCH64_BE): Add.
31610 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
31612         * math/auto-libm-test-in: Add more tests of csqrt.
31613         * math/auto-libm-test-out: Regenerated.
31614         * sysdeps/i386/fpu/libm-test-ulps: Update.
31615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31617         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31618         * math/auto-libm-test-out: Regenerated.
31619         * sysdeps/i386/fpu/libm-test-ulps: Update.
31620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31622         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
31624 2015-04-29  Roland McGrath  <roland@hack.frob.com>
31626         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
31627         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
31629         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
31630         (euidaccess, eaccess): Define as weak aliases.
31632         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
31633         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
31634         but __suseconds_t is often 'long int' so some sources assume that
31635         type is being used (e.g. they use %ld to print tv_usec).
31637 2015-04-29  Florian Weimer  <fweimer@redhat.com>
31639         [BZ #18007]
31640         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
31641         (CVE-2014-8121)
31642         * nss/tst-nss-getpwent.c: New file.
31643         * nss/Makefile (tests): Add new test.
31645 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
31647         [BZ #18346]
31648         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
31649         exponents less than 48 as cases where high part of mantissa needs
31650         examining to determine whether argument is integral.
31651         * math/libm-test.inc (round_test_data): Add more tests.
31653 2015-04-28  Mark Wielaard  <mjw@redhat.com>
31655         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
31657 2015-04-27  David S. Miller  <davem@davemloft.net>
31659         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
31660         __tls_get_addr.
31661         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31663 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
31665         [BZ #18333]
31666         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
31668 2015-04-27  Florian Weimer  <fweimer@redhat.com>
31670         [BZ #18333]
31671         * time/tzset.c (parse_tzname): Return error on memory allocation
31672         failure.
31673         * test-skeleton.c (struct temp_name_list): Change type of name
31674         member to non-const.
31675         (add_temp_file): Create a copy of the file name.
31676         (delete_temp_files): Deallocate memory.
31677         (create_temp_file): Add comment.
31679 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31681         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
31682         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
31684 2015-04-24  Roland McGrath  <roland@hack.frob.com>
31686         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
31687         * sysdeps/arm/configure: Regenerated.
31689 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31691         [BZ #17715]
31692         * time/tzfile.c (__tzfile_read): Check for large values of
31693         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
31694         * time/tzset.c (__tzstring_len): New function, based on the old
31695         __tzstring function.
31696         (__tzstring): Call __tzstring_len.
31697         (parse_tzname): New helper function extracted from
31698         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
31699         the input string.
31700         (parse_offset): New helper function extracted from
31701         __tzset_parse_tz.  Replace switch with fallthrough with
31702         initialization before sscanf.
31703         (parse_rule): Likewise.
31704         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
31705         new-style function definition.
31706         * timezone/Makefile (tests): Add tst-tzset.
31707         (tst-tzset.out): Dependencies on time zone files.
31708         (tst-tzset-ENV): Set TZDIR.
31709         (testdata/XT%): Copy crafted time zone files.
31710         * timezone/README: Mention crafted time zone files.
31711         * timezone/testdata/XT1, timezone/testdata/XT2,
31712         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
31713         files.
31714         * timezone/tst-tzset.c: New test.
31716 2015-04-24  Florian Weimer  <fweimer@redhat.com>
31718         * Makeconfig (+gccwarn): Remove -Winline.
31720 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31722         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
31724 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
31726         * NEWS: Mention sysconf() cache information support for s390.
31727         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
31729 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
31731         * math/k_casinh.c (__kernel_casinh): Use __copysign.
31732         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
31733         (__nearbyint): Likewise.
31734         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
31735         (copysignl): Likewise.
31737 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
31739         [BZ #18287]
31740         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
31741         based on padding.  (CVE-2015-1781)
31743 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31745         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
31746         libc-vdso.h.
31747         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
31748         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
31749         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
31750         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31751         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31752         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
31753         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
31754         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31755         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31756         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
31757         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
31758         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
31759         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31760         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
31761         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31762         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
31763         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
31764         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
31765         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
31766         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
31767         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
31768         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
31769         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
31771 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
31773         * stdlib/setenv.c (__add_to_environ):
31774         Dump core quickly if setenv (..., NULL, ...) is called.
31775         This time, do it the right way, and pacify GCC with a pragma.
31777 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31779         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
31780         IMAP->l_prev cannot be null, and #if out the code for the contrary
31781         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
31782         believe that NS (&_dl_ns[NSID]) could point outside the array.
31784         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
31785         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
31786         before using NSID as an index.
31788 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
31790         [BZ #17825]
31791         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
31792         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
31793         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31795 2015-04-17  Roland McGrath  <roland@hack.frob.com>
31797         Add preliminary port to Google Native Client on ARM.
31798         * abi-tags (.*-.*-nacl.*): New entry.
31799         * sysdeps/arm/nacl: New directory.
31800         * sysdeps/nacl: New directory.
31802 2015-04-16  David S. Miller  <davem@davemloft.net>
31804         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
31805         lowlevellock-futex.h
31807 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
31809         * sysdeps/tile/configure.ac: New file.
31810         * sysdeps/tile/configure: Regenerated.
31812 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31814         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
31815         conditionals for weak_alias and libc_hidden_weak.
31816         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
31817         libc_hidden_weak and weak_alias.
31818         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
31819         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
31820         and weak_alias for static one.
31822 2015-04-15  David S. Miller  <davem@davemloft.net>
31824         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
31826 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31828         [BZ #18206]
31829         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
31830           Use signed comparision instead of substraction to avoid
31831           overflow bug.
31832         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
31833           Take the sign of ret.
31834         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
31835           Do not expect precise return values. Only the sign matters.
31836         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
31837         * wcsmbs/test-wcsncmp.c: New File.
31838         * string/test-strncmp.c: Add wcsncmp support.
31840 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
31842         [BZ #6792]
31843         * math/w_log1p.c: New file.
31844         * math/w_log1pf.c: Likewise.
31845         * math/w_log1pl.c: Likewise.
31846         * math/Makefile (libm-calls): Add w_log1p.
31847         * math/s_log1pl.c (log1pl): Remove weak_alias.
31848         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
31849         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
31850         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
31851         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
31852         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
31853         [NO_LONG_DOUBLE] (log1pl): Likewise.
31854         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
31855         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
31856         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
31857         (log1p): Remove long_double_symbol.
31858         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
31859         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
31860         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
31861         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
31862         remove weak_alias for corresponding log1p function.
31863         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
31864         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
31865         * sysdeps/ia64/fpu/w_log1p.c: New file.
31866         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
31867         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
31868         * math/libm-test.inc (log1p_test_data): Add errno expectations.
31870 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
31872         [BZ #18247]
31873         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
31874         decimal exponent by 1.
31875         * stdlib/tst-strtod-round-data: Add more tests.
31876         * stdlib/tst-strtod-round.c (tests): Regenerated.
31878 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
31880         * math/auto-libm-test-in: Add more tests of clog and clog10.
31881         * math/auto-libm-test-out: Regenerated.
31882         * sysdeps/i386/fpu/libm-test-ulps: Update.
31883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31885 2015-04-09  Roland McGrath  <roland@hack.frob.com>
31887         * Makeconfig (module-cppflags): Exclude all .v.i files.
31888         (skip-module-cppflags): Variable removed.
31890         * configure.ac (libc_config_ok): Initialize before reading
31891         preconfigure scripts, not after.
31892         * configure: Regenerated.
31894         * test-skeleton.c (TIMEOUT): Move #define to top level.
31895         (main): Grok environment variable TEST_DIRECT.  If set, print
31896         test expectation details into that file and then behave as if
31897         given --direct.
31899 2015-04-09  Florian Weimer  <fweimer@redhat.com>
31901         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
31902         warning on 32-bit.
31904 2015-04-08  David S. Miller  <davem@davemloft.net>
31906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31908 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31910         * math/auto-libm-test-in: Add more tests of atanh.
31911         * math/auto-libm-test-out: Regenerated.
31912         * sysdeps/i386/fpu/libm-test-ulps: Update.
31913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31915         * math/auto-libm-test-in: Add more tests of atan.
31916         * math/auto-libm-test-out: Regenerated.
31917         * sysdeps/i386/fpu/libm-test-ulps: Update.
31918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31920 2015-04-08  Florian Weimer  <fweimer@redhat.com>
31922         * elf/pldd.c (main): Rewrite to use struct
31923         scratch_buffer instead of extend_alloca.
31924         * elf/pldd-xx.c (find_maps): Likewise.
31925         * grp/initgroups.c: Include <scratch_buffer.h> instead of
31926         <alloca.h>.
31927         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
31928         scratch_buffer instead of extend_alloca.
31929         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
31930         grp/compat-initgroups.c.
31931         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
31932         Rewrite to use struct scratch_buffer instead of extend_alloca.
31933         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
31934         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31936 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
31938         * math/auto-libm-test-in: Add more tests of cbrt.
31939         * math/auto-libm-test-out: Regenerated.
31940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31942         * math/auto-libm-test-in: Add more tests of cabs.
31943         * math/auto-libm-test-out: Regenerated.
31944         * sysdeps/i386/fpu/libm-test-ulps: Update.
31945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31947         [BZ #18210]
31948         [BZ #18211]
31949         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31950         (__ieee754_atan2): Set FE_TONEAREST mode for internal
31951         computations.
31952         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31953         clog10.
31954         * math/auto-libm-test-out: Regenerated.
31955         * sysdeps/i386/fpu/libm-test-ulps: Update.
31956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31958         [BZ #18197]
31959         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31960         (atan): Set FE_TONEAREST mode for internal computations.
31961         * math/auto-libm-test-in: Add more tests of atan.
31962         * math/auto-libm-test-out: Regenerated.
31964 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31966         [BZ #17930]
31967         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31969 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31971         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31973 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31975         * include/scratch_buffer.h: New file.
31976         * malloc/scratch_buffer_grow.c: Likewise.
31977         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31978         * malloc/scratch_buffer_set_array_size.c: Likewise.
31979         * malloc/tst-scratch_buffer.c: Likewise.
31980         * malloc/Makefile (routines): Add scratch_buffer_grow.
31981         (tests): Add test case.
31982         * malloc/Versions (GLIBC_PRIVATE): Export
31983         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31984         __libc_scratch_buffer_set_array_size.
31986 2015-04-06  Richard Henderson  <rth@redhat.com>
31988         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31989         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31991         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31992         unsigned int before printing.
31994 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31996         [BZ #17596]
31997         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31998         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32000 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32002         * include/libc-internal.h (libc_max_align_t): Define.
32004 2015-04-02  Andreas Schwab  <schwab@suse.de>
32006         [BZ #16850]
32007         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32009 2015-04-02  Mel Gorman  <mgorman@suse.de>
32011         [BZ #17195]
32012         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32013         as well as the main arena.
32015 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32017         [BZ #18185]
32018         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32019         sharing L2 cache to 2 for Silvermont/Knights Landing.
32021 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32023         [BZ #17711]
32024         * config.make.in (have-protected-data): New.
32025         * configure.ac: Check linker support for protected data symbol.
32026         * configure: Regenerated.
32027         * elf/Makefile (modules-names): Add tst-protected1moda and
32028         tst-protected1modb if $(have-protected-data) is yes.
32029         (tests): Add tst-protected1a and tst-protected1b if
32030         $(have-protected-data) is yes.
32031         ($(objpfx)tst-protected1a): New.
32032         ($(objpfx)tst-protected1b): Likewise.
32033         (tst-protected1modb.so-no-z-defs): Likewise.
32034         * elf/tst-protected1a.c: New file.
32035         * elf/tst-protected1b.c: Likewise.
32036         * elf/tst-protected1mod.h: Likewise.
32037         * elf/tst-protected1moda.c: Likewise.
32038         * elf/tst-protected1modb.c: Likewise.
32040 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32042         [BZ #17711]
32043         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32044         indicates it is called from do_lookup_x on relocation against
32045         protected data, skip the data definion in the executable from
32046         copy reloc.
32047         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32048         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32049         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32050         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32051         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32052         otherwise to 0.
32053         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32054         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32055         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32056         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32057         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32058         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32060 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32062         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32063         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32065 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32067         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32068         THREAD_SETMEM_NC.
32069         * sysdeps/x86_64/nptl/tls.h: Ditto.
32071 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32073         * dlfcn/tststatic.c (main): Converted to ...
32074         (do_test): ... this.
32075         (TEST_FUNCTION): New macro.
32076         Include test-skeleton.c.
32078 2015-03-26  Alan Modra  <amodra@gmail.com>
32080         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32081         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32082         zero for undefined weak.
32083         (elf_machine_plt_conflict): Similarly.
32085 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32087         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32088         atanh.
32089         * math/auto-libm-test-out: Regenerated.
32090         * sysdeps/i386/fpu/libm-test-ulps: Update.
32091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32093         * math/auto-libm-test-in: Add another test of asin.
32094         * math/auto-libm-test-out: Regenerated.
32095         * sysdeps/i386/fpu/libm-test-ulps: Update.
32096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32098         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32099         Remove macro.
32100         (LLL_EBX_REG): Likewise.
32101         (LLL_ENTER_KERNEL): Likewise.
32103         * math/auto-libm-test-in: Add more tests of asin.
32104         * math/auto-libm-test-out: Regenerated.
32105         * sysdeps/i386/fpu/libm-test-ulps: Update.
32106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32108         [BZ #18138]
32109         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32110         libc_do_syscall_args): New structure.
32111         (INTERNAL_SYSCALL_MAIN_0): New macro.
32112         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32113         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32114         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32115         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32116         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32117         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32118         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32119         Replace conditional definitions by conditional definitions of ....
32120         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32121         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32122         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32123         (libpthread-sysdep_routines): Add libc-do-syscall.
32124         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32125         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32126         to __NR_futex not 240.
32128 2015-03-25  Alan Modra  <amodra@gmail.com>
32130         * NEWS: Advertise TLS optimization.
32131         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32132         (DT_PPC_NUM): Increment.
32133         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32134         (CHECK_STATIC_TLS): Use here.
32135         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32136         TLS descriptors.
32137         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32138         * sysdeps/powerpc/dl-tls.c: New file.
32139         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32140         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32141         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32142         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32147 2015-03-25  Alan Modra  <amodra@gmail.com>
32149         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32150         for overlapping .opd entries" to "support...".
32151         * sysdeps/powerpc/powerpc64/configure: Regenerate
32153 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32155         * math/auto-libm-test-in: Add more tests of acos.
32156         * math/auto-libm-test-out: Regenerated.
32157         * sysdeps/i386/fpu/libm-test-ulps: Update.
32158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32160         * math/auto-libm-test-in: Add more tests of expm1.
32161         * math/auto-libm-test-out: Regenerated.
32162         * sysdeps/i386/fpu/libm-test-ulps: Update.
32163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32165 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32167         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32168         * math/auto-libm-test-out: Regenerated.
32169         * sysdeps/i386/fpu/libm-test-ulps: Update.
32170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32172         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32175         * math/auto-libm-test-in: Add more tests of log2.
32176         * math/auto-libm-test-out: Regenerated.
32177         * sysdeps/i386/fpu/libm-test-ulps: Update.
32178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32180 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32182         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32183         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32184         _IO_IS_APPENDING bit in READ_WRITE instead.
32186 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32188         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32189         (__determine_cpumask_size): Replace extend_alloca with a
32190         variable-length array.  Do not treat res == 0 as an error.
32192 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32194         [BZ #18100]
32195         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32196         and integer overflow.
32197         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32198         (main): Add integer overflow tests.
32199         * manual/pattern.texi (Calling Wordexp): Document additional use
32200         for WRDE_SYNTAX.
32202 2015-03-23  Alan Modra  <amodra@gmail.com>
32204         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32205         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32206         and false branch of conditional.
32207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32208         Likewise.
32210 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32212         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32213         libc-modules.h
32214         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32215         unused declaration of _hurd_intr_rpc_msg_in_trap.
32216         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32217         defined instead of whether it is non-zero.
32218         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32219         input constraint instead of both input and output constraint.  Use ecx
32220         clobber instead of %ecx.
32221         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32222         mutex_unlock): Use a statement expression instead of an expression list.
32223         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
32224         type to vm_size_t instead of vm_address_t.
32225         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
32226         defined instead of whether it is non-zero.
32227         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
32228         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
32229         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
32230         comparisons with mapaddr.
32231         * nscd/nscd-client.h: Include <time.h>.
32232         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
32233         9th parameter to __vm_region instead of int.
32234         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
32235         * scripts/check-local-headers.sh (exclude): Add device/,
32236         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
32237         cthreads.h.
32239 2015-03-19  Roland McGrath  <roland@hack.frob.com>
32241         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
32242         to account for alignment padding.
32243         * sysdeps/arm/memmove.S: Likewise.
32245 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
32247         * sysdeps/unix/sysv/linux/generic/README: New file.
32249 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
32251         [BZ #18138]
32252         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
32253         (futex_abstimed_wait)
32254         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
32255         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
32256         of lll_futex_timed_wait.
32258 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
32260         [BZ #17542]
32261         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
32263 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
32265         [BZ #17090]
32266         [BZ #17620]
32267         [BZ #17621]
32268         [BZ #17628]
32269         * NEWS: Update.
32270         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
32271         entries with Static TLS too.  Skip entries past the end of the
32272         allocated DTV, from Alan Modra.
32273         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
32274         Static TLS DTV entry set up from...
32275         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
32276         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
32277         * nptl/allocatestack.c (init_one_static_tls): ... and here...
32278         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
32279         for Static TLS.
32280         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
32281         that the slot we find is associated with the given map before
32282         using its generation count.
32283         * nptl_db/db_info.c: Include ldsodefs.h.
32284         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
32285         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
32286         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
32287         (link_map::l_tls_offset): New struct field.
32288         (dtv_t::counter): Likewise.
32289         (rtld_global): New struct.
32290         (_rtld_global): New rtld variable.
32291         (dl_tls_dtv_slotinfo_list): New rtld global field.
32292         (dtv_slotinfo_list): New struct.
32293         (dtv_slotinfo): Likewise.
32294         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
32295         (td_lookup): Rename to...
32296         (td_mod_lookup): ... this.  Use new mod parameter instead of
32297         LIBPTHREAD_SO.
32298         * nptl_db/td_thr_tlsbase.c: Include link.h.
32299         (dtv_slotinfo_list, dtv_slotinfo): New functions.
32300         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
32301         addresses even if the DTV is out of date or missing them.
32302         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
32303         index zero-length arrays.
32304         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
32305         (td_lookup): Make it a macro implemented in terms of...
32306         (td_mod_lookup): ... this declaration.
32307         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
32308         (DB_MAIN_VARIABLE): Likewise.
32310 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32312         [BZ #18134]
32313         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
32315 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
32317         * stdlib/setenv.c (__add_to_environ): Revert previous change.
32319 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
32321         [BZ #18128]
32322         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
32323         (atomic_add, atomic_increment_and_test)
32324         (atomic_decrement_and_test): Fix 64-bit arithmetic.
32326 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
32328         * stdlib/setenv.c (__add_to_environ):
32329         Dump core quickly if setenv (..., NULL, ...) is called.
32331 2015-03-13  Roland McGrath  <roland@hack.frob.com>
32333         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
32334         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
32335         all the necessary asm magic in one place.
32336         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
32337         using those.
32339 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
32341         [BZ #14906]
32342         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
32343         traced file mtime. Use consistent log message.
32344         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
32345         (register_traced_file): Call install_watches. Always set mtime.
32346         (invalidate_cache): Iterate over all trace files. Call install_watches.
32347         (inotify_check_files): Don't inline. Handle watching parent
32348         directories and configuration file movement in and out.
32349         (handle_inotify_events): New function.
32350         (main_loop_poll): Call handle_inotify_events.
32351         (main_loop_epoll): Likewise.
32352         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
32353         (struct traced_file): Use array of inotify fds. Add parent directory,
32354         and basename.
32355         (struct database_dyn): Remove unused file_mtime.
32356         (init_traced_file): New inline function.
32357         (define_traced_file): New macro.
32358         * nss/nss_db/db-init.c: Use define_traced_file.
32359         (_nss_db_init): Use init_traced_file.
32360         * nss/nss_files/files-init.c: Use define_traced_file.
32361         (_nss_files_init): Use init_traced_file.
32363 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
32365         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
32366         [_LIBC]: Do not include <stdlib.h>.
32367         [!_LIBC] (abort): Remove declaration.
32368         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
32369         _FP_STATIC_ASSERT instead of conditionally calling abort.
32370         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
32371         (_FP_EXTEND_CNAN): Likewise.
32372         (FP_TRUNC): Likewise.
32373         (__FP_CLZ): Likewise.
32374         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
32376 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
32378         * manual/string.texi (XPG basename): Fix prototype.
32380 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32382         [BZ #18080]
32383         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
32384         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32385         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
32386         (__setcontext): Likewise.
32387         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
32388         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
32389         Call rt_sigprocmask syscall one time to set new signal mask
32390         and retrieve the current signal mask instead of two calls.
32391         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
32392         (__swapcontext): Likewise.
32393         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
32394         * stdlib/tst-setcontext2.c: New file.
32396 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32398         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32400 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
32402         [BZ #18093]
32403         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
32404         the wrong size.
32406 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32408         [BZ #18043]
32409         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
32411 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32413         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
32414         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
32415         Remove define.
32416         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
32417         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
32418         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
32419         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
32420         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
32421         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
32422         define.
32423         * nptl_db/td_symbol_list.c (td_lookup): Remove
32424         HAVE_ASM_GLOBAL_DOT_NAME code.
32425         * sysdeps/powerpc/powerpc64/configure.ac: Remove
32426         HAVE_ASM_GLOBAL_DOT_NAME check.
32427         * sysdeps/powerpc/powerpc64/configure: Regenerate.
32428         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
32429         (DOT_LABEL): Remove define.
32430         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
32431         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
32432         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
32433         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
32434         (__TLS_GET_ADDR): Likewise.
32435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
32436         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
32438 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
32440         [BZ #18111]
32441         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
32442         (_FPU_SETCW): Initialize cw from fpsr before storing.
32443         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
32444         (fesetexceptflag): Rewrite using fpu_control.h.
32445         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
32447 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
32449         [BZ #18110]
32450         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
32451         asms.
32452         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
32454 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
32456         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
32457         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
32458         abort.
32459         (_FP_FMA): Likewise.
32460         (_FP_DIV): Likewise.
32462 2015-03-10  Roland McGrath  <roland@hack.frob.com>
32464         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
32465         with 0 in that case.
32466         * Makefile (summarize-tests): New canned sequence, factored out of
32467         commands for targets tests and xtests.  Display summary lines that
32468         don't start with PASS: or XFAIL: rather than ones that do start with
32469         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
32470         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
32471         do start with ERROR: or FAIL:.
32472         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
32473         (except for [$(build-shared) = yes]).
32474         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
32475         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
32476         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
32477         * nptl/Makefile: Revert 2015-03-04 changes.
32478         [$(CXX) empty] (tests-unsupported): New variable.
32479         * debug/Makefile: Likewise.
32481         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
32482         gnulib file.  Replace __attribute with __attribute__ throughout.
32484 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
32486         * sysdeps/hppa/fpu/libm-test-ulps: Update.
32488 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32490         [BZ #18104]
32491         * math/auto-libm-test-in: Add another test of pow.
32492         * math/auto-libm-test-out: Regenerated.
32494 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32496         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
32497         $(config-cflags-nofma).
32499 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
32501         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
32502         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
32503         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
32504         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
32505         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
32506         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
32507         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
32508         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
32509         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
32510         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
32511         Add comment on closing #endif.
32513 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32515         * posix/wordexp.c (CHAR_IN_SET): New macro.
32516         (parse_param): Use it.
32518 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32520         * sysdeps/powerpc/fpu/libm-test-ulps: update.
32522 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32524         [BZ #18043]
32525         * posix/wordexp.c (parse_param): Fix buffer overflow.
32526         * posix/wordexp-test.c (test_case): Add test case.
32528 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32530         [BZ #18042]
32531         * posix/wordexp.c (parse_backtick): Fix off-by-one.
32532         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
32534 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
32536         [BZ #18043]
32537         * posix/wordexp-test.c (test_case): Add test for BZ #18043
32538         (do_bz18043): Delete.
32539         (at_page_end): New.
32540         (testit): Refactor to have words at the edge of unreadable page.
32542 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32544         [BZ #16734]
32545         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
32546         Cleanup read-only streams as well.
32547         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
32549 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32551         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
32552         <bits/libc-lockP.h>
32554 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
32556         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
32557         on [__KERNEL__].
32558         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
32559         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
32560         * soft-fp/op-common.h (_FP_DECL): Likewise.
32562 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
32564         * elf/ifuncdep2.c (global): Replace
32565         __attribute__((visibility("protected"))) with
32566         asm (".protected global").
32567         * elf/ifuncmod1.c (global): Likewise.
32568         * elf/ifuncmod5.c (global): Likewise.
32570 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
32572         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
32573         <asm/sfp-machine.h> instead of <sfp-machine.h>.
32575 2015-03-06  Roland McGrath  <roland@hack.frob.com>
32577         * manual/install.texi (Configuring and compiling):
32578         Document test-wrapper-env-only.
32579         * INSTALL: Regenerated.
32581 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32583         [BZ #18043]
32584         * posix/wordexp.c (parse_param): Fix buffer overflow.
32585         * posix/wordexp-test.c (do_bz18043): Add test case.
32587 2015-03-06  Vincent Bernat  <vincent@bernat.im>
32589         * time/tst-strptime2.c (do_test): Ensure failing tests are
32590         reported correctly.
32591         * time/tst-strptime3.c (do_test): Likewise.
32593 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
32595         Fix aio_error thread-safety.
32596         * sysdeps/pthread/aio_error.c: New file
32597         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
32598         synchronization.
32600 2015-03-06  Florian Weimer  <fweimer@redhat.com>
32602         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
32603         (group_number, vfprintf): Use it.
32604         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
32605         (JUMP, REF): Use it.
32606         (WORK_BUFFER_SIZE): New enum constant.
32607         (process_arg, vfprintf): Use it.
32609 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
32611         * manual/errno.texi (Error Messages): Complete example function
32612         by adding missing #define.
32613         (program_invocation_name): Add statement indicating GNU
32614         extension and reference which header file declares the variable.
32615         (program_invocation_short_name): Likewise.
32617 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
32619         * manual/errno.texi (Error Messages): Delete strerror ISO C89
32620         compatibility note.
32622 2015-03-05  Roland McGrath  <roland@hack.frob.com>
32624         * Makeconfig (test-wrapper-env-only): New variable.
32625         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
32626         then use that with $(test-wrapper-env-only) rather than using
32627         $(test-wrapper-env) $(run-program-env) $($*-ENV).
32629 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32631         [BZ #18082]
32632         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
32633         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
32634         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
32635         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
32636         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
32637         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
32638         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
32639         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
32640         Likewise.
32641         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
32642         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
32643         Likewise.
32644         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
32645         Likewise.
32646         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
32647         Likewise.
32648         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
32649         Likewise.
32650         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
32651         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
32652         Likewise.
32653         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
32654         Likewise.
32655         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
32656         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
32658 2015-03-04  Roland McGrath  <roland@hack.frob.com>
32660         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
32661         (ETH_ALEN): New macro.
32662         (struct ether_addr): Use it for length of ether_addr_octet.
32664         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
32665         (setdb): Don't call __nss_configure_lookup for "rpc".
32666         (do_test): Don't call test_rpc.
32667         (output_rpcent, test_rpc): Functions moved ...
32668         * sunrpc/test-rpcent.c: ... to this new file.
32669         * sunrpc/Makefile (tests): Add it.
32671         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
32672         __xpg_sigpause.
32673         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
32674         * nptl/tst-signal6.c: Likewise.
32675         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
32676         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
32678         * configure.ac (libc_cv_cxx_link_ok): New check.
32679         Reset CXX to empty if it fails to link.
32680         * configure: Regenerated.
32681         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
32682         bug-atexit3-lib only if $(CXX) is nonempty.
32683         * nptl/Makefile (tests): Likewise for tst-cancel24.
32684         (tests, tests-static): Likewise for tst-cancel24-static.
32685         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
32686         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
32687         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
32688         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
32690 2015-03-04  Andreas Schwab  <schwab@suse.de>
32692         [BZ #17631]
32693         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
32694         for non-GCC compilers.
32695         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
32696         Likewise.
32698 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32700         [BZ #17776]
32701         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
32702         integer before bitwise and assembly operations.
32703         (feclearexcept): Likewise.
32704         * math/test-fenvinline.c: New file.
32705         * math/Makefile: Add test-fenvinline test.
32707 2015-03-03  Alan Modra  <amodra@gmail.com>
32709         [BZ #16512]
32710         * scripts/localplt.awk: Strip off symbol version.
32711         * NEWS: Mention bug fix.
32713 2015-03-02  Roland McGrath  <roland@hack.frob.com>
32715         * sysdeps/pthread/timer_routines.c
32716         (timer_free_list, thread_free_list, thread_active_list): Make static.
32718 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
32720         [BZ #17779]
32721         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32722         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32723         Undefine.
32724         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32725         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32726         Likewise.
32727         * sysdeps/unix/sysv/linux/sh/kernel-features.h
32728         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
32729         Likewise.
32731 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
32733         [BZ #18036]
32734         * posix/fnmatch_loop.c (END): Detect invalid pattern.
32735         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
32737 2015-03-02  Andreas Schwab  <schwab@suse.de>
32739         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
32740         variable name.
32742 2015-03-02  Florian Weimer  <fweimer@redhat.com>
32744         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
32745         Return error status.
32747 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
32749         [BZ #15969]
32750         * locale/findlocale.c (_nl_find_locale): Introduce const
32751         version of loc_name and drop unsafe type casts.
32753 2015-02-27  Roland McGrath  <roland@hack.frob.com>
32755         * dlfcn/tststatic2.c (main): Converted to ...
32756         (do_test): ... this.
32757         (TEST_FUNCTION): New macro.
32758         Include test-skeleton.c.
32760 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
32762         [BZ #17711]
32763         * elf/Makefile (tests): Add vismain only if PIE is enabled.
32764         (tests-pie): Add vismain.
32765         (CFLAGS-vismain.c): New.
32766         * elf/vismain.c: Add comments for PIE requirement.
32768 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32770         [BZ #18046]
32771         [BZ #18047]
32772         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
32773         0x1p-56L as threshold for just returning the argument.
32774         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
32775         0x1p-32L as threshold for just returning the argument.
32776         * math/auto-libm-test-in: Add more tests of atanh.
32777         * math/auto-libm-test-out: Regenerated.
32778         * sysdeps/i386/fpu/libm-test-ulps: Update.
32779         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
32781 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32783         * string/bcopy.c (bcopy): Call memmove for performance.
32785 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
32787         * string/bzero.c (__bzero): Call memset for performance.
32789 2015-02-27  John David Anglin  <dave.anglin@bell.net>
32791         [BZ #18068]
32792         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
32793         to 00100000.
32795 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
32797         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
32799 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32801         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
32802         (__kernel_standard): Use CSTR macro when setting exc.name.
32803         * sysdeps/ieee754/Makefile [$(subdir) = math]
32804         (CFLAGS-k_standard.c): Remove variable.
32806         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
32807         setting p and q from "else if" to "else".
32808         (qzero): Likewise.
32809         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
32810         (qone): Likewise.
32811         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
32812         (qzerof): Likewise.
32813         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
32814         (qonef): Likewise.
32815         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
32816         (qzero): Likewise.
32817         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
32818         (qone): Likewise.
32820         [BZ #18038]
32821         [BZ #18039]
32822         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
32823         return pi/2 for arguments below 0x1p-113L.
32824         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
32825         return pi/2 for arguments below 0x1p-106L.
32826         * math/auto-libm-test-in: Add more tests of acos.
32827         * math/auto-libm-test-out: Regenerated.
32829         [BZ #16351]
32830         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
32831         (MO): New macro.
32832         (__ieee754_asin): Force underflow exception for results with small
32833         absolute value.
32834         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
32835         (MO): New macro.
32836         (__ieee754_asinf): Force underflow exception for results with
32837         small absolute value.
32838         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
32839         (__ieee754_asin): Force underflow exception for results with small
32840         absolute value.
32841         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
32842         (__ieee754_asinf): Force underflow exception for results with
32843         small absolute value.
32844         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
32845         (__ieee754_asinl): Force underflow exception for results with
32846         small absolute value.
32847         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
32848         (__ieee754_asinl): Force underflow exception for results with
32849         small absolute value.
32850         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
32851         (__ieee754_asinl): Force underflow exception for results with
32852         small absolute value.
32853         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
32854         Include <math.h>.
32855         * math/auto-libm-test-in: Do not mark underflow exceptions as
32856         possibly missing for bug 16351.
32857         * math/auto-libm-test-out: Regenerated.
32859         [BZ #18030]
32860         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
32861         of power of 2 down when low part has opposite sign.
32862         * math/libm-test.inc (logb_test_data): Add more tests.
32864 2015-02-26  Andreas Schwab  <schwab@suse.de>
32866         [BZ #18032]
32867         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
32868         over collating symbol inside a bracket expression.  Minor cleanup.
32869         * posix/tst-fnmatch3.c (do_test): Add test case.
32871 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
32873         [BZ #18029]
32874         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
32875         Adjust exponent of power of 2 down when low part has opposite
32876         sign.
32877         * math/libm-test.inc (ilogb_test_data): Add more tests.
32879 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
32881         [BZ #15969]
32882         * locale/findlocale.c (_nl_find_locale): Fix constness error in
32883         the previous change.
32885         [BZ #15969]
32886         * locale/findlocale.c (_nl_find_locale): Retry archive search
32887         after alias expansion.
32889 2015-02-25  Roland McGrath  <roland@hack.frob.com>
32891         * iconv/tst-iconv3.c (main): Converted to ...
32892         (do_test): ... this.
32893         (TEST_FUNCTION): New macro.
32894         Include test-skeleton.c.
32896         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
32897         (convert): Make function static.
32898         (test_unalign): Likewise.  Add const to argument pointee types.
32899         (main): Replace with static function do_test.
32900         Print "Succeeded." only if RET is zero.
32901         (TEST_FUNCTION): New macro.
32902         Include test-skeleton.c.
32904         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
32905         returns a null pointer.
32907 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32909         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
32910         to __memcpy_ppc only for static builds.
32912 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
32914         [BZ #18020]
32915         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
32916         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
32917         * math/auto-libm-test-in: Add more tests of asinh.
32918         * math/auto-libm-test-out: Regenerated.
32919         * sysdeps/i386/fpu/libm-test-ulps: Update.
32920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32922 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
32924         [BZ #15850]
32925         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
32926         and ip6_mtuinfo definitions here.
32927         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
32928         in this define too.  Update comment.
32930 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
32932         * elf/sprof.c (load_shobj): Tweak error message to match others.
32934 2015-02-24  Kevin Easton  <kevin@guarana.org>
32936         [BZ #16145] (partial fix)
32937         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
32938         to reduce lock contention.
32940 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
32942         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
32943         (struct timex): Update time comment.
32944         (ADJ_SETOFFSET): Define.
32946 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32948         [BZ #18019]
32949         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32950         2**56 not 2**28 as threshold for log (2x) formula.
32951         * math/auto-libm-test-in: Add more tests of acosh.
32952         * math/auto-libm-test-out: Regenerated.
32953         * sysdeps/i386/fpu/libm-test-ulps: Update.
32954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32956 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32958         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32959         parenthesis around the buf assignment.
32960         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32962 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32964         [BZ #16783]
32965         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32966         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32967         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32968         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32969         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32970         * math/libm-test.inc (scalb_test_data): Add more tests.
32972 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32974         [BZ #17916]
32975         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32976         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32978 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32980         [BZ #17523]
32981         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32982         * io/bits/fcntl2.h (open): Use it.
32983         (openat): Likewise.
32984         * io/open.c (__libc_open): Likewise.
32985         * io/open64.c (__libc_open64): Likewise.
32986         * io/open64_2.c (__open64_2): Likewise.
32987         * io/open_2.c (__open_2): Likewise.
32988         * io/openat.c (__openat): Likewise.
32989         * io/openat64.c (__openat64): Likewise.
32990         * io/openat64_2.c (__openat64_2): Likewise.
32991         * io/openat_2.c (__openat_2): Likewise.
32992         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32993         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32994         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32995         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32996         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32997         (__open_nocancel): Likewise.
32998         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32999         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33000         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33002 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33004         [BZ #14841]
33005         * resolv/gethnamaddr.c (getanswer): Skip logging if
33006         RES_USE_DNSSEC is set.
33007         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33009 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33011         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33013 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33015         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33016         201304L, for Unicode 7.
33018 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33020         [BZ #17836]
33021         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33022         shared library.  Add gmon-start.os otherwise.
33023         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33024         $(objpfx)gmon-start.os if builing shared library.
33025         ($(objpfx)g$(static-start-installed-name)): Likewise.
33027 2015-02-23  Andreas Schwab  <schwab@suse.de>
33029         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33031 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33033         [BZ #17269]
33034         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33035         (enlarge_userbuf): Likewise.
33037 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33039         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33040         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33041         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33042         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33044 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33046         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33047         expression inside statement expression.
33049 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33051         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33052         <sysdeps/nptl/lowlevellock.h> and remove macros and
33053         functions that are now defined there.
33054         (SYS_futex): Remove.
33055         (lll_compare_and_swap): Remove.
33056         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33058 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33060         [BZ #17999]
33061         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33062         instead of scandirat.
33063         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33064         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33065         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33066         __scandirat.
33067         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33068         (__scandirat): Declare.  Use libc_hidden_proto.
33069         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33070         Remove variable.
33071         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33073 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33075         [BZ #15319]
33076         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33077         (MO): New macro.
33078         (__ieee754_atan2): For results with small absolute value, force
33079         underflow exception and remove excess range and precision from
33080         return value.
33081         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33082         (MO): New macro.
33083         (__ieee754_atan2f): For results with small absolute value, force
33084         underflow exception and remove excess range and precision from
33085         return value.
33086         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33087         (MO): New macro.
33088         (__atan): For results with small absolute value, force underflow
33089         exception and remove excess range and precision from return value.
33090         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33091         (MO): New macro.
33092         (__atanf): For results with small absolute value, force underflow
33093         exception and remove excess range and precision from return value.
33094         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33095         <math.h>.
33096         (__ieee754_atan2): Force underflow exception for results with
33097         small absolute value.
33098         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33099         <math_private.h>.
33100         (atan): Force underflow exception for results with small absolute
33101         value.
33102         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33103         (__atanf): Force underflow exception for results with small
33104         absolute value.
33105         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33106         <math.h>.
33107         (__atanl): Force underflow exception for results with small
33108         absolute value.
33109         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33110         (__atanl): Force underflow exception for results with small
33111         absolute value.
33112         * sysdeps/x86/fpu/bits/mathinline.h
33113         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33114         (__ieee754_atan2): Only define inline for long double.
33115         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33116         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33117         * math/auto-libm-test-in: Do not mark underflow exceptions as
33118         possibly missing for bug 15319.  Add more tests of atan2.
33119         * math/auto-libm-test-out: Regenerated.
33120         * math/libm-test.inc (casin_test_data): Do not mark underflow
33121         exceptions as possibly missing for bug 15319.
33122         (casinh_test_data): Likewise.
33123         * sysdeps/i386/fpu/libm-test-ulps: Update.
33125 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33127         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33128         * sysdeps/mips/bits/endian.h: Fix comments.
33130 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33132         [BZ #17996]
33133         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33134         (hdestroy_r): Likewise.
33135         (hsearch_r): Likewise.
33136         (__hcreate_r): Declare and use libc_hidden_proto.
33137         (__hdestroy_r): Likewise.
33138         (__hsearch_r): Likewise.
33139         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33140         (hcreate): Call __hcreate_r instead of hcreate_r.
33141         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33142         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33143         as weak alias of __hcreate_r.
33144         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33145         __hdestroy_r.
33146         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33147         __hsearch_r.
33148         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33149         Remove variable.
33150         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33151         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33152         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33153         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33155 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33157         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33158         arena_lock into a single arena_get.
33160 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33162         * dl-reloc.c: Inlucde libc-internal.h.
33163         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33164         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33165         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33166         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33167         (grow_heap): Likewise.
33168         * malloc/malloc.c: Include libc-internal.h.
33169         (do_check_malloc): Call powerof2.
33170         (sysmalloc): Use pagesize. Call ALIGN_UP.
33171         (systrim): Use pagesize.
33172         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33173         (__libc_valloc): Use pagesize.
33174         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33176 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33178         [BZ #17991]
33179         * include/sys/resource.h (__getrlimit64): Declare.  Use
33180         libc_hidden_proto.
33181         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33182         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33183         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33184         getrlimit64.
33185         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33186         __getrlimit64.
33187         [!getrlimit64] (getrlimit64): Define as weak alias of
33188         __getrlimit64.  Use libc_hidden_weak.
33189         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33190         using __getrlimit64 not __new_getrlimit64.
33191         (__GI_getrlimit64): Likewise.
33192         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33193         Likewise.
33194         (__GI_getrlimit64): Likewise.
33195         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33197         (getrlimit): Add __getrlimit64 alias.
33198         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33199         Likewise.
33200         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33201         Remove variable.
33202         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33203         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33205 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33207         * libio/fileops.c: Add missing sys/mman.h
33208         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33210 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33212         * manual/math.texi (Errors in Math Functions): Clarify goals
33213         regarding inexact and underflow exceptions.
33215 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33217         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33218         * sysdeps/mips/memset.S: Ditto.
33220 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33222         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
33224 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
33226         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
33227         (__v1longjmp): Remove versioned symbol.
33228         (__v1siglongjmp): Remove alias and versioned symbol.
33229         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
33230         (__v2siglongjmp): Likewise.
33232 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33234         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
33236 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
33238         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
33240 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33242         [BZ #17987]
33243         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
33244         zero result does not depend on the sign resulting from
33245         subtraction.
33246         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33247         Likewise.
33248         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33249         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33250         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33251         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33252         * math/libm-test.inc (remquo_test_data): Add more tests.
33254 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
33256         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
33257         Problem reported by J William Piggott.
33259 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
33261         [BZ #17978]
33262         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
33263         products 4 * y and 2 * y where those would overflow.
33264         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33265         Likewise.
33266         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
33267         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
33268         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33269         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33270         * math/libm-test.inc (remquo_test_data): Add more tests.
33272         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
33274         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
33275         [defined _COMPILING_NEWLIB].
33276         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
33277         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
33279         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
33280         [!defined __mips_isa_rev || __mips_isa_rev < 6].
33282 2015-02-16  Torvald Riegel  <triegel@redhat.com>
33284         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
33285         acquired.
33287 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
33289         [BZ #17792]
33290         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
33291         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
33292         HOST_STACK_END_ADDR): Likewise.
33294 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
33296         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
33297         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
33298         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
33300 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33302         * sysdeps/generic/c++-types.data: New file.
33303         * sysdeps/generic/ld.abilist: New file.
33304         * sysdeps/generic/libBrokenLocale.abilist: New file.
33305         * sysdeps/generic/libanl.abilist: New file.
33306         * sysdeps/generic/libc.abilist: New file.
33307         * sysdeps/generic/libcrypt.abilist: New file.
33308         * sysdeps/generic/libdl.abilist: New file.
33309         * sysdeps/generic/libm.abilist: New file.
33310         * sysdeps/generic/libpthread.abilist: New file.
33311         * sysdeps/generic/libresolv.abilist: New file.
33312         * sysdeps/generic/librt.abilist: New file.
33314 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33316         [BZ #17569]
33317         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
33318         Compute absolute value of x as modified by fmod, not original
33319         value of x.
33320         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
33321         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
33322         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
33323         RUN_TEST_ffI_f1_mod8.
33324         (remquo_test_data): Add more tests.
33326 2015-02-13  Roland McGrath  <roland@hack.frob.com>
33328         * sysdeps/init_array/pt-crti.S: New file.
33330 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
33332         [BZ #17967]
33333         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
33334         __builtin_fmaf instead of relying on contraction of a * b + c.
33336 2015-02-12  J William Piggott  <elseifthen@gmx.com>
33338         [BZ #17969]
33339         * manual/time.texi: correct the zoneinfo path in the TZ Variable
33340         node.
33342 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33344         [BZ #17964]
33345         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
33346         __builtin_fma instead of relying on contraction of a * b + c.
33348 2015-02-12  Roland McGrath  <roland@hack.frob.com>
33350         * Makeconfig (ASFLAGS): Add -Werror=undef.
33351         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
33352         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
33353         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
33355         * Makeconfig (after-link): New variable.
33356         (+link-pie, +link-pie-tests): Use it.
33357         (+link-static, +link-static-tests): Likewise.
33358         (+link, +link-tests): Likewise.
33359         * Makerules (build-module, build-module-asneeded): Likewise.
33360         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
33361         Likewise.
33362         * elf/Makefile ($(objpfx)ld.so): Likewise.
33364 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
33366         [BZ #17965]
33367         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
33368         both struct timeval and struct timespec.
33370 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
33372         [BZ #16560]
33373         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33374         and redefine.
33375         (__ieee754_exp2l): Do not multiply small fractional parts by
33376         M_LN2l.
33377         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
33378         small argument.
33379         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
33380         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
33381         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
33382         * math/auto-libm-test-in: Add more tests of exp2.
33383         * math/auto-libm-test-out: Regenerated.
33385 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33387         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
33388         unaligned path.
33390 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33392         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
33393         little endian.
33395 2015-02-12  Andreas Schwab  <schwab@suse.de>
33397         [BZ #15790]
33398         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
33399         Filter out elision flags from value returned in kind.
33400         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
33401         * nptl/tst-pthread-mutexattr.c: New file.
33403 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33405         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
33406         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
33407         into gnu-gnu, and update comment to refer to abi-tags.
33409 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
33411         [BZ #15467]
33412         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
33413         (__sincos): Set errno to EDOM for infinite argument.
33414         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
33415         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
33416         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
33417         (__sincosl): Set errno to EDOM for infinite argument.
33418         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
33419         (__sincosl): Set errno to EDOM for infinite argument.
33420         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
33421         (__sincosl): Set errno to EDOM for infinite argument.
33422         * math/libm-test.inc (sincos_test_data): Test errno setting.
33424 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
33426         * string/strxfrm_l.c: Remove #define STRCMP.
33427         * string/strcoll_l.c: Remove #define STRLEN.
33428         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
33429         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
33431 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
33433         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
33434         * sysdeps/mips/mips32/sfp-machine.h: ... here.
33435         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
33436         * sysdeps/mips/mips64/Makefile: ... here.
33437         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
33438         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
33439         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
33440         * sysdeps/mips/mips64/sfp-machine.h: ... here.
33441         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
33442         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
33443         * sysdeps/mips/mips64/n64/Implies: Likewise.
33445 2015-02-10  Roland McGrath  <roland@hack.frob.com>
33447         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
33448         <sys/time.h>, <string.h>, and <errno.h>.
33449         (dest_offset, dest_address, value, zero): Remove unused variables.
33450         (ldouble): Remove typedef.
33451         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
33452         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
33453         1).  Fix code style.
33454         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
33455         (check): Function removed.
33456         (CHECK): New macro.
33457         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
33458         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
33459         Don't call set_sigaction_FP and remove_sigaction_FP here.
33460         (ldouble_test): Just use 'long double' as macro argument, no need for
33461         the 'ldouble' typedef.
33462         (do_test): Set up SIGFPE handler at start, using plain signal rather
33463         than sigaction.  Fix code style.
33465 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
33467         [BZ #17949]
33468         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
33469         jump label.
33471 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33473         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
33474         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33476         * sysdeps/powerpc/configure.ac: Remove file.
33477         * sysdeps/powerpc/configure: Likewise.
33479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33480         [sysdep_routines]: Remove wordcopy-power6 object.
33481         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
33482         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
33483         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
33484         (__memmove_ppc32): Likewise.
33485         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
33486         file.
33487         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
33488         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
33489         Remove preprocessor.
33491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
33492         [sysdep_routines]: Remove wide chars objects.
33493         [wcsmbs]: New rule for wide char objects.
33495         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33496         Remove wordcopy-power6 obejct.
33497         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
33498         Use local call for wordcopy and memcpy symbols.
33499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
33500         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
33501         implementation for loader.
33502         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
33504         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33505         Remove wordcopy-power7 object.
33506         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
33507         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
33508         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
33509         (_wordcopy_fwd_dest_aligned): Likewise.
33510         (_wordcopy_bwd_aligned): Likewise.
33511         (_wordcopy_bwd_dest_aligned): Likewise.
33513         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
33514         Rewrite to call __memmove_ppc instead of include default
33515         implementation.
33517         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33518         Remove wide chars objects.
33519         [wcsmbs]: New rule for wide char objects.
33521 2015-02-09  Andreas Schwab  <schwab@suse.de>
33523         [BZ #17912]
33524         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
33525         in terms of __O_DIRECTORY.
33527 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33529         * time/getdate.c: Include <stdbool.h>.
33530         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
33531         call PTR_MANGLE.
33532         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
33533         PTR_DEMANGLE.
33535 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
33537         Add ersatz _Static_assert on older C hosts
33538         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
33539         pre-C11 C platform that is not known to support _Static_assert.
33541 2015-02-07  Richard Braun  <rbraun@sceen.net>
33543         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
33544         sigstate.
33545         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
33547 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33549         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
33550         priority against unexistent AIO_PRIO_DELTA_MAX.
33551         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
33552         instead of int.
33553         * misc/fchflags.c (fchflags): Likewise.
33554         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
33555         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
33556         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
33557         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
33558         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
33559         Declare macros.
33560         [__USE_MISC] (chflags, fchflags): Declare functions.
33561         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
33562         EINVAL when nfds is greater than FD_SETSIZE.
33563         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
33564         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
33565         45.
33566         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
33567         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
33568         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
33569         MACH_RCV_TIMED_OUT.
33570         * hurd/hurd/signal.h (_hurd_self_sigstate,
33571         _hurd_critical_section_lock, _hurd_critical_section_unlock):
33572         Explicit casts from void *.
33573         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
33574         * abi-tags: Rename gnu-gnu os into gnu.
33576         [BZ #4719]
33577         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
33578         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
33579         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
33580         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
33581         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
33582         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
33584         [BZ #17944]
33585         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
33586         duplicates ADDR->sun_path with sockaddr LEN limitation.
33587         * sysdeps/mach/hurd/connect.c: Include <string.h>
33588         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
33589         * sysdeps/mach/hurd/sendmsg.c: Likewise.
33590         * sysdeps/mach/hurd/sendto.c: Likewise.
33591         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
33592         implementing it by hand.
33594 2015-02-06  Roland McGrath  <roland@hack.frob.com>
33596         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
33597         Use sfi_breg on ldr.
33598         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
33599         Likewise.
33601         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
33602         it's defined.
33603         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
33604         Test SIGSETXID only if it's defined.
33606         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
33608         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
33609         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
33611         * nptl/tst-align2.c: Moved ...
33612         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
33613         * nptl/Makefile (tests): Remove tst-align2.
33614         * sysdeps/unix/sysv/linux/Makefile
33615         [$(subdir) = nptl] (tests): Add tst-align-clone.
33616         * nptl/tst-getpid1.c: Moved ...
33617         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
33618         * nptl/tst-getpid2.c: Moved ...
33619         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
33620         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33621         * sysdeps/unix/sysv/linux/Makefile
33622         [$(subdir) = nptl] (tests): ... here.
33623         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
33624         * sysdeps/unix/sysv/linux/Makefile
33625         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
33627         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
33628         Drop trailing \n from perror argument.  Use return rather than exit.
33630         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
33631         on [SA_SIGINFO].
33632         * nptl/tst-cancel21.c (do_test): Likewise.
33633         * debug/tst-backtrace6.c: Include <signal.h> first thing.
33634         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
33635         [!SA_SIGINFO]: Make it a stub test.
33637         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
33638         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
33640         * posix/tst-getlogin.c: Move to ...
33641         * login/tst-getlogin.c: ... here.
33642         * posix/Makefile (tests): Move tst-getlogin to ...
33643         * login/Makefile (tests): ... here.
33645         * libio/tst-atime.c (do_test): Move local variables SV and E
33646         inside [ST_NOATIME] conditional.
33648         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
33650         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
33652         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
33653         (wait_code): New function replaces macro.
33654         Call nanosleep rather than syscall.
33656         * nptl/pt-system.c: Rewritten.  Put everything under
33657         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33658         Use IFUNC to redirect when possible.
33660         * nptl/pt-longjmp.c: Rewritten.  Put everything under
33661         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33662         Use IFUNC to redirect when possible.
33664         * nptl/pt-fork.c: Rewritten.  Put everything under
33665         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
33666         Use IFUNC to redirect when possible.
33667         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
33669         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
33670         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
33671         unconditionally nowadays.  This included the only reference to
33672         __vdso_clock_gettime that appears outside libc proper.
33673         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
33674         Remove version set (containing only __vdso_clock_gettime).
33675         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
33676         Add attribute_hidden.
33677         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33678         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
33679         libc_hidden_data_def.
33680         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33681         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33683         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
33684         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
33685         setrpcent, and getrpcport to ...
33686         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
33687         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
33688         getrpcbynumber_r, and getrpcent_r to ...
33689         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
33690         * inet/getrpcbyname.c: Moved ...
33691         * sunrpc/getrpcbyname.c: ... here.
33692         * inet/getrpcbyname_r.c: Moved ...
33693         * sunrpc/getrpcbyname_r.c: ... here.
33694         * inet/getrpcbynumber.c: Moved ...
33695         * sunrpc/getrpcbynumber.c: ... here.
33696         * inet/getrpcbynumber_r.c: Moved ...
33697         * sunrpc/getrpcbynumber_r.c: ... here.
33698         * inet/getrpcent.c: Moved ...
33699         * sunrpc/getrpcent.c: ... here.
33700         * inet/getrpcent_r.c: Moved ...
33701         * sunrpc/getrpcent_r.c: ... here.
33702         * inet/Makefile (routines): Move those to ...
33703         * sunrpc/Makefile (routines): ... here.
33704         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
33705         the $(subdirs) list.
33706         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
33707         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
33708         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
33709         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
33711         * elf/Makefile (routines): Include $(all-dl-routines), not just
33712         $(dl-routines).
33713         (rtld-routines): Likewise.  Use = rather than :=.
33714         * sysdeps/aarch64/Makefile [$(subdir) = elf]
33715         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
33716         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
33717         * sysdeps/arm/Makefile: Likewise.
33718         * sysdeps/i386/Makefile: Likewise.
33719         * sysdeps/x86_64/Makefile: Likewise.
33720         * sysdeps/hppa/Makefile [$(subdir) = elf]
33721         (sysdep_routines, sysdep-rtld-routines): Don't add
33722         $(sysdep-dl-routines) to these.
33723         * sysdeps/ia64/Makefile: Likewise.
33724         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
33725         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
33726         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
33727         Don't add dl-static to these; sysdep-dl-routines alone is enough.
33728         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
33729         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
33730         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
33731         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
33732         * sysdeps/powerpc/Makefile [$(subdir) = elf]
33733         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
33734         these; sysdep-dl-routines alone is enough.
33736 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
33738         [BZ #17932]
33739         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
33740         where multiplication results in zero and third argument is finite
33741         and nonzero.
33742         * math/auto-libm-test-in: Add more tests of fma.
33743         * math/auto-libm-test-out: Regenerated.
33745         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
33746         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
33747         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
33748         (_FP_CMP_EQ): Likewise.
33749         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
33751         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
33752         extra argument CHECK_NAN.  Redefine as wrapper around
33753         _FP_EXTEND_CNAN.
33755 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
33757         * version.h (RELEASE): Set to "stable".
33758         (VERSION): Set to "2.21"
33759         * include/features.h (__GLIBC_MINOR__): Set to 21.
33761         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
33763 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
33764             Paul Eggert  <eggert@cs.ucla.edu>
33766         [BZ #16618]
33767         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
33768         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
33769         size in bytes. Store needed elements in wpmax. Use needed size
33770         in bytes for extend_alloca.
33772 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
33774         * manual/install.texi: Latest tested versions are GCC 4.9.2,
33775         binutls 2.25, and texinfo 5.2.
33776         * INSTALL: Regenerate.
33777         * sysdeps/nios2/configure: Regenerate.
33778         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
33779         * manual/contrib.texi: Update.
33780         * po/be.po: Update.
33781         * po/bg.po: Update.
33782         * po/ca.po: Update.
33783         * po/cs.po: Update.
33784         * po/da.po: Update.
33785         * po/de.po: Update.
33786         * po/el.po: Update.
33787         * po/eo.po: Update.
33788         * po/es.po: Update.
33789         * po/fi.po: Update.
33790         * po/fr.po: Update.
33791         * po/gl.po: Update.
33792         * po/hr.po: Update.
33793         * po/hu.po: Update.
33794         * po/ia.po: Update.
33795         * po/id.po: Update.
33796         * po/it.po: Update.
33797         * po/ja.po: Update.
33798         * po/ko.po: Update.
33799         * po/lt.po: Update.
33800         * po/nb.po: Update.
33801         * po/nl.po: Update.
33802         * po/pl.po: Update.
33803         * po/pt_BR.po: Update.
33804         * po/ru.po: Update.
33805         * po/rw.po: Update.
33806         * po/sk.po: Update.
33807         * po/sl.po: Update.
33808         * po/sv.po: Update.
33809         * po/tr.po: Update.
33810         * po/uk.po: Update.
33811         * po/vi.po: Update.
33812         * po/zh_CN.po: Update.
33813         * po/zh_TW.po: Update.
33815         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
33816         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
33817         * sysdeps/hppa/dl-irel.h: Remove #warning.
33818         * sysdeps/hppa/entry.h: Provide prototype for
33819         __canonicalize_funcptr_for_compare and cast argument.
33820         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
33821         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
33822         * sysdeps/hppa/sotruss-lib.c: New file.
33823         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
33824         (atomic_compare_and_exchange_val_acq): Use __typeof__.
33825         (atomic_compare_and_exchange_bool_acq): Likewise.
33826         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
33827         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
33829         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
33830         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
33831         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
33833 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
33835         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
33836         called function in non-PIC case.
33838 2015-01-31  David S. Miller  <davem@davemloft.net>
33840         * sysdeps/sparc/sparc32/bits/atomic.h
33841         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
33842         unlock not after it.
33843         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
33844         volatile register usage warnings from the compiler.
33846         * sysdeps/sparc/nptl/sem_init.c: Delete.
33847         * sysdeps/sparc/nptl/sem_post.c: Delete.
33848         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
33849         * sysdeps/sparc/nptl/sem_wait.c: Delete.
33850         * sysdeps/sparc/sparc32/sem_init.c: New file.
33851         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
33852         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
33853         padding explicitly initialized.
33854         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
33855         padding for in-semaphore spinlock.
33856         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
33857         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
33858         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
33859         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
33860         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
33861         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
33862         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
33863         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
33864         version.
33865         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
33866         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
33868 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
33870         [BZ #17801]
33871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33872         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
33873         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
33874         New.
33875         (index_AVX_Fast_Unaligned_Load): Likewise.
33876         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
33877         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
33878         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
33879         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
33880         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
33881         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
33882         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
33883         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
33884         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
33886 2015-01-29  Andreas Schwab  <schwab@suse.de>
33888         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
33890 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
33892         [BZ #17892]
33893         * nscd/nscd_stat.c (send_stats): Initialize DATA.
33895 2015-01-28  Martin Sebor  <msebor@redhat.com>
33897         * math/README.libm-test: Clarify. Add "How to read the test output."
33899 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
33901         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
33902         Define to 0.
33904 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
33906         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
33907         (__HAVE_64B_ATOMICS): Define to 0.
33909 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33911         [BZ #17885]
33912         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
33913         value to set as new flag.
33915         [BZ #16576]
33916         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
33917         and use _ARCH_PPCSQ instead.
33918         (__ieee754_sqrt): Likewise.
33919         (__ieee754_sqrtf): Likewise.
33920         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
33921         _ARCH_PPCSQ is defined.
33922         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
33923         fsqrt instruction.
33924         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
33925         _ARCH_PPCSQ is defined.
33926         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
33927         fsqrts instruction.
33928         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
33930 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33932         * iconv/loop.c: Suppress array out of bound warning caused by GCC
33933         bug (GCC BZ #64739).
33935 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
33937         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
33938         Mark _retval as used.
33939         (lll_futex_wake_unlock): Likewise.
33940         (lll_futex_timed_wait_requeue_pi): Likewise.
33942         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33943         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
33944         register variables.
33946         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33947         libm_hidden_def.
33949         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33950         (__bswap_64): Mark as __always_inline.
33952 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33954         [BZ #15378]
33955         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33956         when none of the search directories exist.
33958 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33960         [BZ #17869]
33961         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33962         power8 in .machine directive.
33964         [BZ #17868]
33965         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33966         set dependency from opd value.
33968 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33970         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33971         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33972         architecture.
33974 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33976         [BZ #17870]
33977         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33978         with uint64_t.
33979         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33980         (uint64_t) 1.
33981         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33982         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33983         Replace 1UL with (uint64_t) 1.
33984         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33985         int with uint64_t.
33987 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33989         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33990         (if_freenameindex): Likewise.
33992         * resource/getrlimit64.c: Add missing libc_hidden_def.
33994 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33996         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33997         __label__.
33998         (_FP_FMA): Likewise.
33999         (_FP_TO_INT_ROUND): Likewise.
34000         (_FP_FROM_INT): Likewise.
34002 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34004         [BZ #16418]
34005         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34006         Make code racy and cancel safe.
34008 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34010         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34011         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34012         attribution.
34014         * pwd/tst-getpw.c: Rewrite.
34016         [BZ #17702]
34017         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34018         (modules-names): Add moddummy1 and moddummy2.
34019         ($(objpfx)tst-rec-dlopen): Define.
34020         * dlfcn/moddummy1.c: New file.
34021         * dlfcn/moddummy2.c: New file.
34022         * dlfcn/tst-rec-dlopen.c: New file.
34023         * elf/dl-cache.c (_dl_load_cache_lookup):
34024         Return char*. Copy result with alloca/strcpy/strdup.
34025         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34026         returns char*. Free cached. If not saving realname
34027         free cached.
34028         * elf/dl-open.c (dl_open_worker): Do not assert that
34029         _r_debug->r_state is RT_CONSISTENT.
34030         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34031         returns char*.
34033 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34034             Carlos O'Donell  <carlos@redhat.com>
34036         [BZ #12674]
34037         * nptl/sem_waitcommon.c: New file.
34038         * nptl/sem_wait.c: Include sem_waitcommon.c.
34039         (__sem_wait_cleanup, do_futex_wait): Remove.
34040         (__new_sem_wait): Adapt.
34041         (__new_sem_trywait): New function.
34042         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34043         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34044         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34045         (sem_timedwait): Adapt.
34046         * nptl/sem_post.c (__new_sem_post): Adapt.
34047         (futex_wake): New function.
34048         (__old_sem_post): Add release MO fence.
34049         * nptl/sem_open.c (sem_open): Adapt.
34050         * nptl/sem_init.c (__new_sem_init): Adapt.
34051         (futex_private_if_supported): New function.
34052         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34053         (__old_sem_getvalue): Add using previous code.
34054         * sysdeps/nptl/internaltypes.h: Adapt.
34055         * nptl/tst-sem13.c (do_test): Adapt.
34056         * nptl/tst-sem11.c (main): Adapt.
34057         * nptl/sem_trywait.c: Remove.
34058         * nptl/DESIGN-sem.txt: Remove.
34059         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34060         (gen-as-const-headers): Remove structsem.sym.
34061         * nptl/structsem.sym: Remove.
34062         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34063         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34064         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34065         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34066         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34067         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34068         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34069         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34070         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34071         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34072         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34073         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34074         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34075         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34076         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34077         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34078         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34079         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34080         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34081         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34082         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34083         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34085 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34087         * INSTALL: Regenerated.
34089         * po/libc.pot: Regenerated.
34091 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34092             Sandra Loosemore  <sandra@codesourcery.com>
34093             Andrew Jenner  <andrew@codesourcery.com>
34094             Joseph Myers  <joseph@codesourcery.com>
34095             Nathan Sidwell  <nathan@codesourcery.com>
34097         * NEWS: Mention new Nios II port.
34098         * sysdeps/nios2/Implies: New file.
34099         * sysdeps/nios2/Makefile: New file.
34100         * sysdeps/nios2/Subdirs: New file.
34101         * sysdeps/nios2/Versions: New file.
34102         * sysdeps/nios2/__longjmp.S: New file.
34103         * sysdeps/nios2/abort-instr.h: New file.
34104         * sysdeps/nios2/backtrace.c: New file.
34105         * sysdeps/nios2/bits/endian.h: New file.
34106         * sysdeps/nios2/bits/fenv.h: New file.
34107         * sysdeps/nios2/bits/link.h: New file.
34108         * sysdeps/nios2/bits/setjmp.h: New file.
34109         * sysdeps/nios2/bsd-_setjmp.S: New file.
34110         * sysdeps/nios2/bsd-setjmp.S: New file.
34111         * sysdeps/nios2/configure: New generated file.
34112         * sysdeps/nios2/configure.ac: New file.
34113         * sysdeps/nios2/crti.S: New file.
34114         * sysdeps/nios2/crtn.S: New file.
34115         * sysdeps/nios2/dl-init.c: New file.
34116         * sysdeps/nios2/dl-machine.h: New file.
34117         * sysdeps/nios2/dl-sysdep.h: New file.
34118         * sysdeps/nios2/dl-tls.h: New file.
34119         * sysdeps/nios2/dl-trampoline.S: New file.
34120         * sysdeps/nios2/gccframe.h: New file.
34121         * sysdeps/nios2/gmp-mparam.h: New file.
34122         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34123         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34124         * sysdeps/nios2/ldsodefs.h: New file.
34125         * sysdeps/nios2/libc-tls.c: New file.
34126         * sysdeps/nios2/libm-test-ulps: New file.
34127         * sysdeps/nios2/machine-gmon.h: New file.
34128         * sysdeps/nios2/math-tests.h: New file.
34129         * sysdeps/nios2/math_private.h: New file.
34130         * sysdeps/nios2/memusage.h: New file.
34131         * sysdeps/nios2/nptl/Makefile: New file.
34132         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34133         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34134         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34135         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34136         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34137         * sysdeps/nios2/nptl/tls.h: New file.
34138         * sysdeps/nios2/preconfigure: New file.
34139         * sysdeps/nios2/s_fma.c: New file.
34140         * sysdeps/nios2/s_fmaf.c: New file.
34141         * sysdeps/nios2/setjmp.S: New file.
34142         * sysdeps/nios2/sfp-machine.h: New file.
34143         * sysdeps/nios2/sotruss-lib.c: New file.
34144         * sysdeps/nios2/stackguard-macros.h: New file.
34145         * sysdeps/nios2/stackinfo.h: New file.
34146         * sysdeps/nios2/start.S: New file.
34147         * sysdeps/nios2/sysdep.h: New file.
34148         * sysdeps/nios2/tls-macros.h: New file.
34149         * sysdeps/nios2/tst-audit.h: New file.
34150         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34151         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34152         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34153         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34154         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34155         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34156         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34157         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34158         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34159         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34160         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34161         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34162         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34163         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34164         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34165         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34166         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34167         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34168         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34169         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34170         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34171         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34172         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34173         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34174         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34175         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34176         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34177         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34178         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34179         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34180         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34181         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34182         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34183         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34184         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34185         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34186         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34187         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34188         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34189         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34190         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34191         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34192         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34193         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34195 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34197         [BZ #17844]
34198         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34199         (getutent): Use weak_alias in non SHARED case
34200         and default_symbol_version in SHARED case.
34201         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34202         (getutent_r, pututline): Likewise.
34203         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34204         (getutid): Likewise.
34205         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34206         (getutid_r): Likewise.
34207         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34208         (getutline): Likewise.
34209         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34210         (getutline_r): Likewise.
34211         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34212         (updwtmp): Likewise.
34214 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34216         [BZ #17848]
34217         * sysdeps/s390/s390-32/memcmp.S
34218         (memcmp_g5): Rename to __memcmp_g5.
34219         * sysdeps/s390/s390-32/memcpy.S
34220         (memcpy_g5): Rename to __memcpy_g5.
34221         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34222         (memcpy_mvcle) Rename to __memcpy_mvcle.
34223         * sysdeps/s390/s390-32/memset.S
34224         (memset_g5): Rename to __memset_g5.
34225         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34226         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34227         and use prefixed functions.
34228         * sysdeps/s390/s390-32/multiarch/memcmp.S
34229         (memcmp_z196): Rename to __memcmp_z196.
34230         (memcmp_z10): Rename to __memcmp_z10.
34231         (memcmp): Set alias to __memcmp_g5.
34232         (bcmp): Set alias to __memcmp_g5.
34233         * sysdeps/s390/s390-32/multiarch/memcpy.S
34234         (memcpy_z196): Rename to __memcpy_z196.
34235         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34236         (memcpy_z10): Rename to __memcpy_z10.
34237         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34238         (memcpy): Set alias to __memcpy_g5.
34239         * sysdeps/s390/s390-32/multiarch/memset.S
34240         (memset_z196): Rename to __memset_z196.
34241         Jump to __memset_mvcle instead of memset_mvcle.
34242         (memset_z10): Rename to __memset_z10.
34243         Jump to __memset_mvcle instead of memset_mvcle.
34244         (memset_mvcle) Rename to __memset_mvcle.
34245         (memset): Set alias to __memset_g5.
34246         * sysdeps/s390/s390-64/memcmp.S
34247         (memcmp_z900): Rename to __memcmp_z900.
34248         * sysdeps/s390/s390-64/memcpy.S
34249         (memcpy_z900): Rename to __memcpy_z900.
34250         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34251         (memcpy_mvcle) Rename to __memcpy_mvcle.
34252         * sysdeps/s390/s390-64/memset.S
34253         (memset_z900): Rename to __memset_z900.
34254         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
34255         (IFUNC_RESOLVE): Prefix ifunc-resolve function
34256         and use prefixed functions.
34257         * sysdeps/s390/s390-64/multiarch/memcmp.S
34258         (memcmp_z196): Rename to __memcmp_z196.
34259         (memcmp_z10): Rename to __memcmp_z10.
34260         (memcmp): Set alias to __memcmp_z900.
34261         (bcmp): Set alias to __memcmp_z900.
34262         * sysdeps/s390/s390-64/multiarch/memcpy.S
34263         (memcpy_z196): Rename to __memcpy_z196.
34264         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34265         (memcpy_z10): Rename to __memcpy_z10.
34266         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34267         (memcpy): Set alias to __memcpy_z900.
34268         * sysdeps/s390/s390-64/multiarch/memset.S
34269         (memset_z196): Rename to __memset_z196.
34270         Jump to __memset_mvcle instead of memset_mvcle.
34271         (memset_z10): Rename to __memset_z10.
34272         Jump to __memset_mvcle instead of memset_mvcle.
34273         (memset_mvcle) Rename to __memset_mvcle.
34274         (memset): Set alias to __memset_z900.
34276 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
34278         [BZ #17748]
34279         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
34280         __fesetenv instead of fesetenv.
34282 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34284         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
34285         macro.
34287 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34289         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
34290         regression on LE.
34292         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
34293         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
34294         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34295         strncmp-power8 object.
34296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34297         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
34298         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
34299         * NEWS: Update.
34301 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34302             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34304         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
34305         trailing byte check.
34307 2015-01-13  David S. Miller  <davem@davemloft.net>
34309         * include/signal.h (__sigreturn): Guard with __USE_MISC.
34311 2015-01-13  Roland McGrath  <roland@hack.frob.com>
34313         * login/logout.c (logout): Use memset rather than bzero.
34314         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
34315         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
34316         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
34317         (_gethtbyaddr): Likewise.
34318         * locale/programs/simple-hash.c (bcopy): Macro removed.
34320 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34322         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34323         Add strcmp-power8 object.
34324         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34325         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
34326         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
34327         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
34328         __strcmp_power8 implementation.
34329         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
34330         * NEWS: Update.
34332         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34333         Add strncpy-power8 and stpncpy-power8 objects.
34334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34335         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
34336         implementations.
34337         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
34338         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
34339         __stpncpy_power8 implementation.
34340         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
34341         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
34342         __strncpy_power8 implementation.
34343         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
34344         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
34345         * NEWS: Update.
34347         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
34348         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
34349         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
34351         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34352         strncat-power8 object.
34353         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
34354         __strcat_power8 implementation.
34355         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34356         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
34357         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
34358         optimized strcat for power8.
34360         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
34361         strcpy-power8 and stpcpy-power8 objects.
34362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34363         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
34364         implementations.
34365         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
34366         multiarch stpcpy implementation for POWER8.
34367         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
34368         multiarch strcpy implementation for POWER8.
34369         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
34370         __strcpy_power8 function.
34371         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
34372         stpcpy for POWER8.
34373         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
34374         strcpy for POWER8.
34375         * NEWS: Update.
34377 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
34379         [BZ #16009]
34380         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
34381         weights and rules. Use do_xfrm_cached if data fits in cache,
34382         do_xfrm otherwise.  Moved former main loop to...
34383         * (do_xfrm_cached): New function.
34384         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
34385         find_idx, find_position and stack_push.
34386         * (find_idx): New function.
34387         * (find_position): Likewise.
34388         * localedata/sort-test.sh: Added test run for do_xfrm.
34389         * localedata/xfrm-test.c (main): Added command line option
34390         -nocache to run the test with strings that are too large for
34391         the STRXFRM cache.
34393 2015-01-13  Torvald Riegel  <triegel@redhat.com>
34395         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
34396         variable to lll_futex_wake call, not the value itself.
34398 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
34400         [BZ #17803]
34401         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
34402         twom64.  Adjust value to 0x1p-64L.
34403         (__scalblnl): Only return standard underflowing result for K <=
34404         -64 not K <= -63; adjust exponent for underflowing result by 64
34405         not 63.
34406         * math/libm-test.inc (scalbn_test_data): Add more tests.
34407         (scalbln_test_data): Likewise.
34409         [BZ #17834]
34410         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
34411         0x1p63L.
34412         (__scalblnl): Get new exponent of adjusted subnormal value from ES
34413         not HX.
34414         * math/libm-test.inc (scalbn_test_data): Add more tests.
34415         (scalbln_test_data): Likewise.
34417 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34418             Stefani Seibold  <stefani@seibold.net>
34420         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
34421         (sysdep_routines): Add dl-vdso here, ...
34422         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
34423         (sysdep_routines): ... not here.
34424         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
34425         fallback when vDSO is not presented.
34426         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34427         Define with libc_hidden_proto/libc_hidden_data_def definitions.
34428         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
34429         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
34430         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
34431         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
34432         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
34433         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
34434         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
34435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
34436         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
34437         fallback configurable symbol when vDSO is not available.
34438         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
34439         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
34440         be able to redefine fallback symbol when vDSO is not available.
34441         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
34442         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
34444 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34446         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
34447         (TLS_INIT_TP): Add tm_capable initialization.
34448         (TLS_DEFINE_INIT_TP): Likewise.
34449         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
34450         TCB.
34451         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
34452         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
34453         calculation.
34454         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
34455         transactoion is lock elision is built and TCB tm_capable is set.
34456         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
34457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34458         (INTERNAL_SYSCALL_NCS): Likewise.
34459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34460         (INTERNAL_SYSCALL_NCS): Likewise.
34461         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
34463         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
34464         for powerpc.
34465         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34466         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
34467         and remove it for 32 bits case.
34468         [pthread_rwlock_t] (__rwelision): New field for lock elision.
34469         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
34470         initialization.
34471         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
34472         Disable lock elision with rdlocks if elision is not available.
34474         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
34475         (sysdep_routines): Add lock elision objects.
34476         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
34477         [pthread_mutex_t] (__spins): Rework to add lock elision field.
34478         [pthread_mutex_t] (__elision): Add field.
34479         [__PTHREAD_SPINS]: Adjust to init lock elision field.
34480         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
34481         elision definitions for powerpc.
34482         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
34483         implementation of lock elision for powerpc.
34484         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
34485         implementation of timed lock elision for powerpc.
34486         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
34487         implementation of trylock with lock elision for powerpc.
34488         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
34489         implementaion of unlock for lock elision for powerpc.
34490         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
34491         automatic enable lock elision for mutexes.
34492         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
34493         transaction execution definitions for powerpc.
34494         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
34495         definitions.
34496         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
34497         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
34498         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
34499         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
34500         * NEWS: Update.
34502 2015-01-09  Roland McGrath  <roland@hack.frob.com>
34504         * sysdeps/posix/shm-directory.c: Use <> rather than ""
34505         for #include of <shm-directory.h>.
34507 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
34509         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
34510         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
34512 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
34514         [BZ #17791]
34515         * NEWS: Mention bug fix.
34516         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
34517         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
34518         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
34520 2015-01-09  Torvald Riegel <triegel@redhat.com>
34522         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
34524 2015-01-09  Torvald Riegel <triegel@redhat.com>
34526         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
34528 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34530         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
34531         pointer and cast to uintptr_t.
34533 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34535         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
34536         removed.
34537         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
34539 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
34541         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
34542         of 0.
34544 2015-01-08  Roland McGrath  <roland@hack.frob.com>
34546         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
34547         <nptl/pthreadP.h> instead.
34548         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
34550         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
34551         already defined.
34552         [__SIGRTMIN] (init): Function removed.
34553         [__SIGRTMIN] (initialized): Variable removed.
34554         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
34555         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
34556         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
34557         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
34558         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
34559         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
34560         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
34561         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
34562         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
34563         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
34564         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
34565         * sysdeps/nptl/allocrtsig.c: New file.
34566         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
34567         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
34568         * sysdeps/generic/testrtsig.h: File removed.
34570         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
34571         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
34573         * nptl/nptl-init.c (pthread_functions): Conditionalize
34574         .ptr__nptl_setxid initialization on [SIGSETXID].
34576         * sysdeps/nptl/sys/procfs.h: New file.
34577         * nptl_db/Makefile (headers): Add it.
34578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
34580         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
34581         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
34582         * nptl/pthread_attr_setaffinity.c: Include it.
34583         * nptl/pthread_setattr_default_np.c: Likewise.
34584         * nptl/check-cpuset.h: New file.
34586 2015-01-08  Richard Henderson  <rth@redhat.com>
34588         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
34589         (CFLAGS-tst-execstack-prog.c): Likewise.
34590         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
34592 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
34593             Sandra Loosemore  <sandra@codesourcery.com>
34594             Andrew Jenner  <andrew@codesourcery.com>
34595             Joseph Myers  <joseph@codesourcery.com>
34596             Nathan Sidwell  <nathan@codesourcery.com>
34598         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
34599         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
34600         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
34601         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
34602         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
34603         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
34604         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
34605         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
34606         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
34607         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
34608         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
34609         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
34610         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
34611         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
34612         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
34613         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
34614         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
34616 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34618         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
34619         timespec struct member in syscall macro.
34620         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
34621         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
34622         first timeval struct member in syscall macro.
34623         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
34625 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
34627         [BZ #17748]
34628         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
34629         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
34630         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
34631         __feupdateenv and define as weak alias of __feupdateenv.  Use
34632         libm_hidden_weak.
34633         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
34634         libm_hidden_def.
34635         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
34636         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
34637         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34638         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
34639         libm_hidden_def.
34640         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
34641         __feupdateenv and define as weak alias of __feupdateenv.  Use
34642         libm_hidden_weak.
34643         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
34644         libm_hidden_def.
34645         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
34646         __feupdateenv and define as weak alias of __feupdateenv.  Use
34647         libm_hidden_weak.
34648         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
34649         libm_hidden_def.
34650         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34651         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34652         (__feupdateenv): Likewise.
34653         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
34654         __feupdateenv and define as weak alias of __feupdateenv.  Use
34655         libm_hidden_weak.
34656         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34657         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
34658         libm_hidden_def.
34659         * sysdeps/tile/math_private.h (__feupdateenv): New inline
34660         function.
34661         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
34662         libm_hidden_def.
34663         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
34664         __feupdateenv instead of feupdateenv.
34665         (default_libc_feupdateenv_test): Likewise.
34666         (libc_feresetround_ctx): Likewise.
34668 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34670         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
34671         prototype.
34673 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
34675         * posix/regcomp.c (parse_bracket_exp): Initialize type to
34676         COLL_SYM in a couple of places to avoid uninitialized variable
34677         wanings on tilegx gcc 4.8.2.
34679 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34681         * sysdeps/aarch64/strcpy.S: New file.
34682         * sysdeps/aarch64/stpcpy.S: New file.
34683         * NEWS: Updated.
34685 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
34687         * sysdeps/aarch64/strrchr.S: New file.
34688         * NEWS: Updated.
34690 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
34692         [BZ #17658]
34693         * stdlib/setenv.c: Fix memory leak when setting large,
34694         duplicate string.
34696 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
34698         [BZ #17273]
34699         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
34700         and tabs from buffer before parsing fstab entry.
34701         * misc/tst-mntent.c (main): Add test for mount entry with
34702         trailing spaces and tabs.
34704 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
34706         [BZ #17748]
34707         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
34708         * math/fesetround.c (fesetround): Rename to __fesetround and
34709         define as weak alias of __fesetround.  Use libm_hidden_weak.
34710         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
34711         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
34712         * sysdeps/arm/fesetround.c (fesetround): Likewise.
34713         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
34714         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
34715         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
34716         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
34717         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
34718         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
34719         __fesetround_inline.
34720         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
34721         __fesetround_inline instead of __fesetround.
34722         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
34723         __fesetround and define as weak alias of __fesetround.  Use
34724         libm_hidden_weak.  Call __fesetround_inline instead of
34725         __fesetround.
34726         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
34727         __fesetround and define as weak alias of __fesetround.  Use
34728         libm_hidden_weak.
34729         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
34730         Likewise.
34731         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
34732         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34733         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
34734         * sysdeps/tile/math_private.h (__fesetround): New inline function.
34735         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
34736         __fesetround and define as weak alias of __fesetround.  Use
34737         libm_hidden_weak.
34738         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
34739         __fesetround instead of fesetround.
34740         (default_libc_feholdexcept_setround): Likewise.
34741         (libc_feholdsetround_ctx): Likewise.
34742         (libc_feholdsetround_noex_ctx): Likewise.
34744         [BZ #17748]
34745         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
34746         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
34747         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34748         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34749         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34750         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
34751         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34752         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
34753         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34754         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34755         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34756         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34757         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34758         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34759         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
34760         libm_hidden_def.
34761         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
34762         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
34763         Likewise.
34764         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
34765         define as weak alias of __fesetenv.  Use libm_hidden_weak.
34766         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34767         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
34768         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
34769         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
34770         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
34771         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
34772         __fesetenv instead of fesetenv.
34773         (libc_feresetround_noex_ctx): Likewise.
34774         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34775         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
34776         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
34777         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34778         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34779         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34780         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
34781         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
34782         (__feupdateenv): Likewise.
34783         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34784         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34785         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34786         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
34788 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34790         [BZ #17806]
34791         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
34792         addresses have been freed.
34794 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
34796         * resolv/res_init.c (__res_vinit): Improve comments about nserv
34797         and nservall.
34799 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
34801         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
34802         Clean up check_pf allocation pattern. addresses
34804 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34806         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
34807         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
34808         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
34809         * nptl/pthread_exit.c (__pthread_exit): Likewise.
34810         * nptl/pthread_join.c (pthread_join): Likewise.
34811         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
34812         * sysdeps/posix/waitid.c (__waitid): Likewise.
34813         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
34814         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
34815         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
34816         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
34817         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
34818         Likewise.
34819         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
34820         (__libc_pread64): Likewise.
34821         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
34822         (__libc_pwrite): Likewise.
34823         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
34824         (__libc_pwrite64): Likewsie.
34825         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
34826         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
34827         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
34828         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
34829         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
34830         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
34831         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
34833         Likewise.
34834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34835         (__libc_pread64): Likewise.
34836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
34837         Likewise.
34838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34839         (__libc_pwrite64): Likewise.
34840         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
34841         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
34842         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
34843         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
34844         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
34845         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
34846         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
34847         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
34848         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
34849         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
34850         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
34851         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
34852         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
34853         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
34854         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
34855         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
34856         Likewise.
34858 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34860         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
34861         (CFLAGS-test-double.c): Likewise.
34862         (CFLAGS-test-ldouble.c): Likewise.
34863         (CPPFLAGS-test-ifloat.c): Likewise.
34864         (CPPFLAGS-test-idouble.c): Likewise.
34865         (CPPFLAGS-test-ildoubl.c): Likewise.
34866         (CFLAGS-test-test-fenv.c): Remove variable.
34867         (CFLAGS-test-misc.c): Likewise.
34869 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
34871         [BZ #17797]
34872         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
34873         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
34874         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
34875         CLOCKS_PER_SEC == 1000000.
34876         * time/clocktest.c (main): Replace %ld with %jd and cast to
34877         intmax_t.
34879 2015-01-05  Roland McGrath  <roland@hack.frob.com>
34881         * sysdeps/generic/unwind-resume.h: New file.
34882         * sysdeps/gnu/unwind-resume.c: Include it.
34883         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
34884         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
34885         argument list.
34886         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
34887         global rather than static.
34888         (_Unwind_Resume): Update user.
34889         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
34890         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
34891         rather than static.  Add __attribute__ ((cold)).
34892         (_Unwind_Resume, __gcc_personality_v0): Update callers.
34893         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
34894         * sysdeps/arm/arm-unwind-resume.S: New file.
34895         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
34896         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
34897         * sysdeps/arm/Makefile [$(subdir) = csu]
34898         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
34899         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34900         Add rt-arm-unwind-resume.
34901         [$(subdir) = nptl]
34902         (libpthread-sysdep_routines, libpthread-shared-only-routines):
34903         Add pt-arm-unwind-resume.
34904         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
34905         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
34907 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34909         [BZ #17748]
34910         * include/fenv.h (__feholdexcept): Declare.  Use
34911         libm_hidden_proto.
34912         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
34913         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
34914         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34915         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
34916         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
34917         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
34918         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
34919         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34920         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
34921         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
34922         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34923         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
34924         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
34925         (feholdexcept): Likewise.
34926         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34927         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34928         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
34929         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34930         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
34931         __feholdexcept instead of feholdexcept.
34932         (default_libc_feholdexcept_setround): Likewise.
34934 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34936         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
34937         to avoid using stl/str to align destination.
34939 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34941         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
34943 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34945         [BZ #17796]
34946         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34947         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34948         Define as weak alias not strong alias.
34950 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34952         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34953         bltzal with addiupc.
34954         (RTLD_START): Ditto.
34956 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34958         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34959         for __vdso_* functions in declarations.
34960         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34961         definitions.
34962         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34963         INTERNAL_VSYSCALL): Use struct return types to check for error.
34965         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34966         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34967         function with cast from llround().
34968         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34969         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34970         Define.
34972 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34974         [BZ #17793]
34975         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34976         Define as weak alias not strong alias.
34978         [BZ #17635]
34979         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34980         ...
34981         * ctype/ctype-extn.c: ... here.
34982         (__isblank_l): Move to ...
34983         * ctype/ctype-c99_l.c: ... here.  New file.
34984         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34985         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34986         Remove variable.
34987         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34988         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34989         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34990         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34991         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34993         [BZ #17777]
34994         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34995         (posix_fadvise64): Define as weak alias not strong alias.
34996         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34997         (posix_fallocate64): Likewise.
34998         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34999         Remove variable.
35000         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35001         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35002         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35003         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35004         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35006 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35008         [BZ #16191]
35009         * NEWS: Mention bug fix.
35010         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35011         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35012         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35013         (HOST_STACK_END_ADDR): Likewise.
35015 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35017         [BZ #17748]
35018         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35019         * math/fegetround.c (fegetround): Rename to __fegetround and
35020         define as weak alias of __fegetround.  Use libm_hidden_weak.
35021         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35022         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35023         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35024         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35025         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35026         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35027         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35028         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35029         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35030         Undefine after rather than before function definition; use
35031         parentheses around function name in definition.
35032         (__fegetround): Also undefine macro after function definition.
35033         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35034         __fegetround and define as weak alias of __fegetround.  Use
35035         libm_hidden_weak.  Do not undefine as macro.
35036         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35037         Likewise.
35038         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35039         __fegetround and define as weak alias of __fegetround.  Use
35040         libm_hidden_weak.
35041         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35042         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35043         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35044         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35045         __fegetround and define as weak alias of __fegetround.  Use
35046         libm_hidden_weak.
35047         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35048         __fegetround instead of fegetround.
35050         [BZ #17782]
35051         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35052         Condition macro definition on [__USE_MISC].
35054         [BZ #17781]
35055         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35056         (struct sigaction): Change type of sa_flags field to int.
35058         [BZ #17780]
35059         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35060         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35061         __glibc_reserved0.
35063         * nptl/version.c (banner): Use single year in copyright notice.
35065         * NEWS: Update copyright dates.
35066         * catgets/gencat.c (print_version): Likewise.
35067         * csu/version.c (banner): Likewise.
35068         * debug/catchsegv.sh: Likewise.
35069         * debug/pcprofiledump.c (print_version): Likewise.
35070         * debug/xtrace.sh (do_version): Likewise.
35071         * elf/ldconfig.c (print_version): Likewise.
35072         * elf/ldd.bash.in: Likewise.
35073         * elf/pldd.c (print_version): Likewise.
35074         * elf/sotruss.sh: Likewise.
35075         * elf/sprof.c (print_version): Likewise.
35076         * iconv/iconv_prog.c (print_version): Likewise.
35077         * iconv/iconvconfig.c (print_version): Likewise.
35078         * locale/programs/locale.c (print_version): Likewise.
35079         * locale/programs/localedef.c (print_version): Likewise.
35080         * login/programs/pt_chown.c (print_version): Likewise.
35081         * malloc/memusage.sh (do_version): Likewise.
35082         * malloc/memusagestat.c (print_version): Likewise.
35083         * malloc/mtrace.pl: Likewise.
35084         * manual/libc.texinfo: Likewise.
35085         * nptl/version.c (banner): Likewise.
35086         * nscd/nscd.c (print_version): Likewise.
35087         * nss/getent.c (print_version): Likewise.
35088         * nss/makedb.c (print_version): Likewise.
35089         * posix/getconf.c (main): Likewise.
35090         * scripts/test-installation.pl: Likewise.
35091         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35093 2015-01-02  Will Newton  <will.newton@linaro.org>
35095         * sysdeps/arm/armv7/configure: Removed.
35096         * sysdeps/arm/armv7/configure.ac: Likewise.
35098 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35100         * All files with FSF copyright notices: Update copyright dates
35101         using scripts/update-copyrights.
35102         * intl/plural.c: Regenerated.
35103         * locale/programs/charmap-kw.h: Likewise.
35104         * locale/programs/locfile-kw.h: Likewise.
35106 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35108         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35110 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35112         [BZ #17748]
35113         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35114         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35115         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35116         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35117         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35118         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35119         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35120         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35121         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35122         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35123         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35124         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35125         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35126         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35127         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35128         libm_hidden_def.
35129         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35130         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35131         Likewise.
35132         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35133         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35134         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35135         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35136         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35137         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35138         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35139         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35140         __fegetenv instead of fegetenv.
35141         (libc_feholdsetround_noex_ctx): Likewise.
35143 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35145         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35146         (Elf_MIPS_ABIFlags_v0): New structure.
35147         (EF_MIPS_FP64): Define.
35148         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35149         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35150         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35151         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35152         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35153         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35154         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35155         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35156         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35157         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35158         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35159         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35160         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35161         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35162         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35163         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35164         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35165         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35166         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35167         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35168         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35169         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35170         field.
35171         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35172         EF_MIPS_FP64.
35173         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35174         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35175         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35176         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35177         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35178         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35179         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35180         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35181         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35182         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35183         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35184         record the current FP ABI extension.
35185         (mips-mode-switch): Define to show if kernel headers support mode
35186         switching.
35187         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35188         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35189         supported SYSV ABI version to 3.
35190         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35191         feature.
35193 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35194             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35196         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35197         path.
35198         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35200 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35202         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35203         __fegetround and redefine to call __fegetround.  Remove condition
35204         on [!__NO_MATH_INLINES].
35205         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35206         function.
35207         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35208         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35209         Remove macro.
35210         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35211         instead of <fenv_libc.h>.
35212         (__llrintl): Call fegetround instead of __fegetround.
35213         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35214         instead of <fenv_libc.h>.
35215         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35216         (__lrintl): Call fegetround instead of __fegetround.
35217         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35218         instead of <fenv_libc.h>.
35219         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35220         (__rintl): Call fegetround instead of __fegetround.
35222 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35224         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
35225         arrays.
35227 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35229         [BZ #17775]
35230         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
35231         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
35232         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
35234 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35236         * sysdeps/i386/tls-macros.h: Include <features.h>.
35237         (TLS_LE): Use non-PIC version for GCC >= 5.0.
35238         (TLS_IE): Likewise.
35239         (TLS_LD): Likewise.
35240         (TLS_GD): Likewise.
35241         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
35242         define for GCC >= 5.0.
35244 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
35246         * math/test-fenv.c (test_single_exception, set_single_exc,
35247         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
35248         feexcp_mask_test, feenable_test, fe_single_test): Add
35249         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
35250         case where they are not used.
35251         * math/libm-test.inc: Likewise.
35252         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
35253         unused in the absence of FP rounding/exception support.
35254         * stdio-common/tst-printf-round.c: Likewise.
35255         * stdlib/tst-strtod-round.c: Likewise.
35256         * stdlib/tst-strtod-underflow.c: Likewise.
35258 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
35260         [BZ #17723]
35261         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
35262         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
35263         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35264         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35265         libm_hidden_weak.
35266         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
35267         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35268         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
35269         libm_hidden_def.
35270         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35271         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35272         libm_hidden_weak.
35273         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
35274         Likewise.
35275         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
35276         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35277         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35278         libm_hidden_weak.
35279         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35280         libm_hidden_def.
35281         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
35282         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
35283         (__feraiseexcept): Likewise.
35284         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
35285         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
35286         libm_hidden_weak.
35287         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
35288         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
35289         libm_hidden_def.
35290         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
35291         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35292         Use libm_hidden_def.
35293         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
35294         libm_hidden_def.
35295         (feraiseexcept): Define as weak not strong alias.  Use
35296         libm_hidden_weak.
35297         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
35298         New inline function.  Factored out of ...
35299         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
35300         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
35301         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
35302         feraiseexcept.
35303         * math/w_acos.c (__acos): Likewise.
35304         * math/w_asin.c (__asin): Likewise.
35305         * math/w_ilogb.c (__ilogb): Likewise.
35306         * math/w_j0.c (y0): Likewise.
35307         * math/w_j1.c (y1): Likewise.
35308         * math/w_jn.c (yn): Likewise.
35309         * math/w_log.c (__log): Likewise.
35310         * math/w_log10.c (__log10): Likewise.
35311         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
35312         * sysdeps/aarch64/fpu/math_private.h
35313         (libc_feupdateenv_test_aarch64): Likewise.
35314         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35315         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
35316         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
35317         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35318         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35319         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35320         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
35321         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35322         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35323         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35325 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
35327         [BZ #17732]
35328         * io/test-utime.c (main): Replace %ld with %jd and cast to
35329         intmax_t.
35330         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
35331         * nptl/tst-mutex5.c: Include <stdint.h>.
35332         (do_test): Replace %ld with %jd and cast to intmax_t.
35333         * posix/tst-regex.c (run_test): Likewise.
35334         (run_test_backwards): Likewise.
35335         * rt/tst-clock.c: Include <stdint.h>.
35336         (clock_test): Replace %ld with %jd and cast to intmax_t.
35337         * rt/tst-cpuclock1.c: Include <stdint.h>.
35338         (do_test): Replace %lu with %ju and cast to uintmax_t.
35339         * rt/tst-cpuclock2.c: Include <stdint.h>.
35340         (do_test): Replace %lu with %ju and cast to uintmax_t.
35341         * rt/tst-mqueue1.c: Include <stdint.h>.
35342         (check_attrs): Replace %ld with %jd and cast to intmax_t.
35343         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
35344         intmax_t.
35345         * rt/tst-mqueue4.c (do_test): Likewise.
35346         * rt/tst-timer4.c: Include <stdint.h>.
35347         (check_ts): Replace %ld with %jd and cast to intmax_t.
35348         (do_test): Likewise.
35349         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
35350         and cast to intmax_t.
35351         * sysdeps/pthread/tst-timer.c (main): Likewise.
35352         * time/clocktest.c (main): Likewise.
35353         * time/tst-posixtz.c (do_test): Likewise.
35354         * timezone/tst-timezone.c (main): Likewise.
35356 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
35357             H.J. Lu  <hongjiu.lu@intel.com>
35359         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
35360         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35361         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
35362         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
35363         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
35364         version if bit_Fast_Unaligned_Load is set.
35365         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35366         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35367         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35368         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35369         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35370         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35371         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35372         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
35373         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
35374         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
35375         to 4.
35376         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
35377         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
35378         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
35379         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
35381 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
35383         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
35384         instead of #if to avoid a Wundef warning.
35385         * stdlib/tst-limits.c (do_test): Likewise.
35387         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
35388         parallel other exception macros.
35389         (fegetenv): Convert from macro to extern inline so that it applies
35390         retroactively to inline functions already seen by the compiler.
35391         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
35393         * posix/Makefile (before-compile): Use $(objpfx) for
35394         posix-conf-vars-def.h.
35396 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35398         * posix/getconf.c (main): Use size_t for type of I.
35399         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
35400         NSPEC.
35402         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
35403         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
35404         * posix/posix-envs.def: Likewise.
35405         * sysdeps/posix/sysconf.c: Likewise.
35406         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
35407         (specs): Remove array.
35408         * scripts/gen-posix-conf-vars.awk: Support generation of specs
35409         array.
35411         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
35412         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
35413         (__sysconf): Use CONF_IS_* macros.
35415         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
35416         ($(objpfx)posix-conf-vars-def.h): New target.
35417         * posix/posix-conf-vars.list: New file.
35418         * posix/posix-conf-vars.h: New file.
35419         * posix/confstr.c: Include posix-conf-vars.h.
35420         (confstr): Use CONF_IS_* macros.
35421         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
35422         CONF_IS_* macros.
35423         * scripts/gen-posix-conf-vars.awk: New file.
35425 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
35427         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
35428         fegetround): Add no-op macros to avoid linknamespace issues.
35430         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
35431         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
35433         * sysdeps/unix/sysv/linux/tile/sysdep.h
35434         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
35435         assembly-specific section to avoid a redefinition warning.
35437         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
35438         long before casting to pointer to avoid a cast warning.
35440 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
35442         * sysdeps/tile/tilegx/Implies: New file.
35444 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
35446         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
35448 2014-12-23  Florian Weimer  <fweimer@redhat.com>
35450         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
35452 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35454         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
35455         not define.
35456         * sysdeps/unix/sysv/linux/utimes.c: Do not include
35457         <kernel-features.h>.
35458         (__utimes) [__NR_utimes]: Make code unconditional.
35459         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
35460         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35461         (__ASSUME_UTIMES): Do not undefine.
35462         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35463         (__ASSUME_UTIMES): Likewise.
35464         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35465         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
35466         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
35467         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
35469 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35471         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
35473 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
35475         [BZ #17747]
35476         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
35477         alias to weak alias for j0l, y0l.
35478         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
35479         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
35481         [BZ #17746]
35482         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
35483         conversion.
35485 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
35487         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
35488         to zero if not already defined.
35490 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35492         [BZ #17724]
35493         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
35494         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
35495         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
35496         (char *) casts added.
35497         * sysdeps/ieee754/k_standardf.c: New file.
35498         * sysdeps/ieee754/k_standardl.c: Likewise.
35499         * math/Makefile (libm-support): Remove k_standard.
35500         (libm-calls): Add k_standard.
35502 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35504         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35505         Optimize to avoid an unnecessary FPCR read.
35507 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35509         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
35510         Optimize to reduce FPCR/FPSR accesses.
35512 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35514         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
35515         Call libc_fetestexcept_aarch64.
35517 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
35519         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
35520         Call libc_fesetround_aarch64.
35522 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
35524         [BZ #17733]
35525         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
35526         (__bind): Do not define as weak alias.
35527         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
35528         define.
35529         (__getsockname): Do not define as weak alias.
35531 2014-12-22  Will Newton  <will.newton@linaro.org>
35533         * manual/install.texi: Document that we require bison 2.7
35534         or above.
35535         * INSTALL: Regenerate.
35536         * configure.ac: Use AC_CHECK_PROG_VER instead of
35537         AC_PATH_PROG when checking for bison and check for
35538         version 2.7 or above.
35539         * configure: Regenerate.
35541 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
35543         [BZ #17745]
35544         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
35545         * sysdeps/tile/ffsll.c (ffsll): To here.
35547         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
35549 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35551         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
35552         if not defined.
35553         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
35554         definition.
35555         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35556         hidden ___tls_get_addr.
35557         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
35558         hidden __tls_get_addr.
35559         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
35560         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
35561         Likewise.
35563 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35565         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
35566         _dl_init call.
35568 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
35570         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
35571         from "call _dl_init@PLT".
35572         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
35574 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
35576         * manual/search.texi: (Array Sort Function): Clarify stable sorting
35577         guarantees.
35579 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
35581         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
35583 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35585         [BZ #17744]
35586         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
35587         strnlen.
35589 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35591         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
35592         of multu on MIPSr6.
35593         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
35594         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
35595         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
35596         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
35597         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
35599 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
35601         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
35602         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
35603         (PTR_SUBU): Use subu for mips32r6/mips64r6.
35604         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
35605         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
35606         mips32r6/mips64r6.
35607         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
35609 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
35611         * string/strncat.c (STRNCAT): Simplify implementation.
35613 2014-12-19  David S. Miller  <davem@davemloft.net>
35615         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
35616         access the quad as both a long double and as a series of 4 words.
35618         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
35619         link_map->l_info array access.
35621 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
35623         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
35625         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
35626         * math/atest-exp2.c (TIMEOUT): Likewise.
35627         * math/atest-sincos.c (TIMEOUT): Likewise.
35629 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35631         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
35632         -Wno-error with -fno-builtin-lround.
35634 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35636         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
35637         Contains futex constants and functions moved over from ...
35638         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
35639         <lowlevellock-futex.h>.
35640         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35641         (lll_timedwait_tid): Add comments and parentheses around macro
35642         arguments.
35644 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35646         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
35647         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
35648         (__lll_private_flag): Remove.
35649         (lll_futex_wait): Likewise.
35650         (lll_futex_timed_wait): Likewise.
35651         (lll_futex_wake): Likewise.
35652         (lll_futex_requeue): Likewise.
35653         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
35654         (__lll_timedwait_tid): Spell out argument names.
35655         (lll_timedwait_tid): Add comments and parentheses around macro
35656         arguments.
35657         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
35658         LLL_SHARED and LLL_PRIVATE usable from assembly code.
35660 2014-12-19  Torvald Riegel  <triegel@redhat.com>
35662         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
35663         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
35664         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
35665         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
35666         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
35667         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
35668         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
35669         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
35670         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
35671         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
35672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
35673         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
35674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
35675         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
35676         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
35677         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
35678         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
35679         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
35680         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
35682 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35684         * sysdeps/x86_64/x32/Makefile: New file.
35686 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
35688         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
35689         1L with (mp_limb_t) 1.
35691 2014-12-17  Roland McGrath  <roland@hack.frob.com>
35693         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
35694         * nptl/libc_pthread_init.c: ... here.
35695         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
35696         * nptl/register-atfork.c: ... here.
35698         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
35699         Use pthread_sigmask rather than INTERNAL_SYSCALL.
35700         Use assert_perror to check its return value.
35701         (__gai_create_helper_thread): Likewise.
35703         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
35705         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
35707 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
35709         [BZ #17725]
35710         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
35711         __profil_counter.
35712         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
35713         Likewise.
35714         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
35715         Likewise.
35716         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
35717         Likewise.
35718         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
35719         (profil_counter): Likewise.
35720         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
35721         (profil_counter): Likewise.
35722         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
35723         Likewise.
35724         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
35725         Likewise.
35726         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
35727         (profil_counter): Likewise.
35728         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
35729         Likewise.
35730         [!__profil_counter] (profil_counter): Define as weak alias of
35731         __profil_counter.
35732         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
35733         (profil_counter): Rename to __profil_counter.
35734         [!__profil_counter] (profil_counter): Define as weak alias of
35735         __profil_counter.
35736         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
35737         (profil_counter): Rename to __profil_counter.
35738         [!__profil_counter] (profil_counter): Define as weak alias of
35739         __profil_counter.
35740         * sysdeps/posix/profil.c: Update comment referring to
35741         profil_counter.
35742         (__profil): Use __profil_counter instead of profil_counter.
35743         * sysdeps/posix/sprofil.c (profil_counter): Rename to
35744         __profil_counter.  Use __profil_counter_ushort and
35745         __profil_counter_uint in definitions.
35746         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
35747         instead of profil_counter_uint and profil_counter_ushort.
35749         [BZ #17722]
35750         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
35751         define as weak alias of __inet_makeaddr.
35752         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
35753         as weak alias of __inet_addr.
35754         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
35755         as weak alias of __inet_pton.  Use libc_hidden_weak.
35756         * include/arpa/inet.h (__inet_pton): Declare.  Use
35757         libc_hidden_proto.
35758         (inet_makeaddr): Don't use libc_hidden_proto.
35759         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
35760         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
35761         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
35762         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
35763         Remove variable.
35764         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
35765         (test-xfail-POSIX/time.h/linknamespace): Likewise.
35767 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
35769         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
35771 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35773         * stdio-common/bug-vfprintf-nargs.c (do_test):
35774         Cast value to intptr_t to avoid format warning
35775         for usage with PRIdPTR printing macro.
35777 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
35779         * libio/tst-widetext.c (do_test):
35780         Use format type %td instead of %Zd for ptrdiff_t
35781         in order to avoid format warning.
35783 2014-12-17  Andreas Schwab  <schwab@suse.de>
35785         * nscd/mem.c (gc): Add size_t cast to match printf format.
35787 2014-12-16  Roland McGrath  <roland@hack.frob.com>
35789         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
35790         (init): Apply PTR_MANGLE to pointers before storing them.
35791         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
35792         before using them.
35794 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
35796         [BZ #17719]
35797         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
35798         define as weak alias of __memrchr.
35799         (__memrchr): Do not define as strong alias of memrchr.
35800         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
35801         Remove variable.
35802         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
35803         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
35804         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
35806         [BZ #17717]
35807         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
35808         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
35809         (if_indextoname): Rename to __if_indextoname and define as weak
35810         alias of __if_indextoname.  Use libc_hidden_weak.
35811         (if_freenameindex): Rename to __if_freenameindex and define as
35812         weak alias of __if_freenameindex.
35813         (if_nameindex): Rename to __if_nameindex and define as weak alias
35814         of __if_nameindex.
35815         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
35816         __if_nametoindex and define as weak alias of __if_nametoindex.
35817         Use libc_hidden_weak.
35818         (if_freenameindex): Rename to __if_freenameindex and define as
35819         weak alias of __if_freenameindex.
35820         (if_nameindex): Rename to __if_nameindex and define as weak alias
35821         of __if_nameindex.
35822         (if_indextoname): Rename to __if_indextoname and define as weak
35823         alias of __if_indextoname.  Use libc_hidden_weak.
35824         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
35825         __if_nametoindex and define as weak alias of __if_nametoindex.
35826         Use libc_hidden_weak.
35827         (if_freenameindex): Rename to __if_freenameindex and define as
35828         weak alias of __if_freenameindex.  Use libc_hidden_weak.
35829         (if_nameindex_netlink): Use __if_freenameindex instead of
35830         if_freenameindex.
35831         (if_nameindex): Rename to __if_nameindex and define as weak alias
35832         of __if_nameindex.  Use libc_hidden_weak.
35833         (if_indextoname): Rename to __if_indextoname and define as weak
35834         alias of __if_indextoname.  Use libc_hidden_weak.
35835         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
35836         libc_hidden_proto.
35837         [!_ISOMAC] (__if_freenameindex): Likewise.
35838         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
35839         if_nametoindex.
35840         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
35841         variable.
35842         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
35843         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
35844         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
35845         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
35846         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
35847         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
35848         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
35850         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
35851         Remove variable.
35852         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
35853         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
35855 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35857         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
35858         subscript above bounds'
35860         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
35861         bounds.
35863 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
35865         * libio/tst-fopenloc.c: Use test-skeleton.c.
35867         * stdlib/tst-bsearch.c: Use test-skeleton.c.
35868         (entry): Rename to ITEM.
35869         (do_test, comp): Adjust.
35871         * stdio-common/tst-fseek.c: Use test-skeleton.c.
35873 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35875         * string/tester.c: Include <libc-internal.h>.
35876         (test_memset): Ignore -Wmemset-transposed-args.
35878 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35880         * misc/tst-mntent2.c (do_test): Fix warning.
35882 2014-12-16  Torvald Riegel  <triegel@redhat.com>
35884         * elf/tst-unique4lib.cc(a): Mark as used.
35886 2014-12-16  Florian Weimer  <fweimer@redhat.com>
35888         [BZ #17630]
35889         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
35890         names.
35892 2014-12-16  Allan McRae  <allan@archlinux.org>
35894         * stdio-common/Makefile (tests): Re-add bug26.
35896 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
35898         [BZ #17657]
35899         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
35900         static array.
35902 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
35904         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
35905         (__lll_lock_wait): Likewise.
35906         (__lll_timedlock_wait): Likewise.
35907         (__lll_timedwait_tid): Likewise.
35908         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
35909         (__lll_robust_timedlock_wait): Likewise.
35910         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
35911         (lll_cond_trylock): Likewise.
35912         (__lll_lock): Likewise.
35913         (__lll_robust_lock): Likewise.
35914         (__lll_cond_lock): Likewise.
35915         (lll_robust_cond_lock): Likewise.
35916         (__lll_timedlock): Likewise.
35917         (__lll_robust_timedlock): Likewise.
35918         (__lll_unlock): Likewise.
35919         (__lll_robust_unlock): Likewise.
35920         (lll_wait_tid): Likewise.
35921         (lll_timedwait_tid): Likewise.
35923 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35925         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
35927 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35929         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
35931 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35933         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
35934         * stdio-common/tst-sprintf.c: Likewise.
35936 2014-12-15  Torvald Riegel  <triegel@redhat.com>
35938         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
35940 2014-12-15  Jeff Law  <law@redhat.com>
35942         [BZ #16617]
35943         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
35944         on the heap.  (CVE-2012-3406)
35945         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35946         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
35947         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35949 2014-12-15  Will Newton  <will.newton@linaro.org>
35951         * manual/install.texi: Bump required version of texinfo
35952         to 4.7 from 4.5.
35953         * INSTALL: Regenerated.
35954         * configure.ac: Check for makeinfo version 4.7 and above.
35955         * configure: Regenerated.
35957 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35959         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35960         PREFIX, string constant to insert between directory and name.
35961         * sysdeps/posix/shm_open.c: Update caller.
35962         * sysdeps/posix/shm_unlink.c: Likewise.
35963         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35964         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35965         (SEM_SHM_PREFIX): New macro.
35966         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35967         [$(have-thread-library) = no].
35968         * nptl/Makefile (libpthread-routines): Add shm-directory.
35969         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35970         * sysdeps/nptl/shm-directory.h: New file.
35971         * sysdeps/posix/shm-directory.c
35972         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35973         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35974         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35975         INTERNAL_SYSCALL.
35976         (__where_is_shmfs): Function removed.
35977         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35978         Variables removed.
35979         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35980         Use SHM_GET_NAME.
35981         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35983         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35984         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35985         unconditional for use inside libpthread.
35986         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35988 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35990         * nptl/pthread_getaffinity.c: New file.
35991         * nptl/pthread_setaffinity.c: New file.
35992         * nptl/pthread_getname.c: New file.
35993         * nptl/pthread_setname.c: New file.
35995         * nptl/pthread_create.c (START_THREAD_DEFN)
35996         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35998 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35999             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36001         * resolv/res_send.c (send_vc): Disable warning resplen may
36002         be used uninitialized.
36004 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36006         * nptl/tst-mutex6.c
36007         (ATTR_NULL): New define checks ATTR against NULL.
36008         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36009         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36011 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36013         [BZ #17581]
36014         * malloc/hooks.c
36015         (mem2mem_check): Revert my previous change.
36016         (malloc_check_get_size): Revert my previous change.
36017         (mem2chunk_check): Revert my previous change.
36019 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36021         * sysdeps/posix/shm-directory.c: New file.
36022         * sysdeps/posix/shm-directory.h: New file.
36023         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36024         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36025         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36026         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36027         Transmute EPERM to EACCES.
36028         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36029         from ...
36030         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36031         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36033 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36035         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36036         pointer and cast to uintptr_t.
36037         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36038         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36039         Add cast to avoid warning.
36040         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36042 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36044         * nptl/semaphore.h: Move to ...
36045         * sysdeps/pthread/semaphore.h: ... here.
36046         * Makefile (installed-headers): Change nptl/semaphore.h to
36047         sysdeps/pthread/semaphore.h.
36049 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36051         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36052         generated error format strings.
36054         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36055         -Wformat-extra-args warnings for scanf formats.
36056         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36057         test of zero-length format (duh).
36058         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36059         corner-case scanf format test.
36060         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36061         generated fprintf format string.
36062         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36063         corner-case sprintf format tests.
36064         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36065         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36066         -Wformat-extra-args warnings throughout.
36067         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36068         (CFLAGS-scanf4.c): Likewise.
36069         (CFLAGS-scanf7.c): Likewise.
36070         (CFLAGS-tst-sprintf.c): Likewise.
36071         (CFLAGS-tst-printf.c): Likewise.
36072         (CFLAGS-tst-printfsz.c): Likewise.
36074 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36076         * include/cpio.h: New file.
36077         * include/fmtmsg.h: Likewise.
36079         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36080         corresponding format argument to size_t.
36081         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36082         arguments.
36083         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36084         corresponding format argument to size_t.
36085         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36086         arguments.
36087         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36088         corresponding format argument to size_t.
36089         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36090         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36091         (CFLAGS-tst-mbswcs2.c): Likewise.
36092         (CFLAGS-tst-mbswcs3.c): Likewise.
36093         (CFLAGS-tst-mbswcs4.c): Likewise.
36094         (CFLAGS-tst-mbswcs5.c): Likewise.
36095         (CFLAGS-tst-trans.c): Likewise.
36097 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36099         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36100         rather than assuming they won't contain any '%'s.
36102 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36104         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36105         inhibit_loop_to_libcall to avoid recursive calls.
36106         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36107         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36109 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36111         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36112         prototype.
36114 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36116         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36117         integer value instead of boolean.
36119 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36121         * malloc/malloc.c: Fix powerof2 check.
36123 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36125         * locale/programs/locfile.h (maybe_swap_uint32):
36126         Remove inline and add unused attribute.
36128 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36130         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36131         Truncating assembler expression to a .long expression.
36133 2014-12-11  Andreas Schwab  <schwab@suse.de>
36135         * elf/rtld.c (struct map_args): Constify str member.
36136         (do_preload): Constify fname argument.
36138 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36141         constants definition.
36143 2014-12-11  Andreas Schwab  <schwab@suse.de>
36145         [BZ #16657]
36146         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36147         FORCE_ELISION instead of DO_ELISION.
36148         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36149         Remove.
36150         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36151         Likewise.
36153         * iconvdata/gconv-modules: Remove duplicate entry.
36155 2014-12-11  Will Newton  <will.newton@linaro.org>
36157         Merge gettext 0.19.3 into intl/.
36159         This involves a number of cosmetic changes to comments
36160         and ANSI function definitions and prototypes throughout
36161         all the files. The gettext copyright header is used but
36162         with the date ranges taken from the glibc copy.
36164         * NEWS: Add gettext merge to 2.21.
36165         * intl/bindtextdom.c: Switch to gettext copyright.
36166         Use ANSI definitions and prototypes.
36167         Use gl_* locking primitives rather than __libc_* ones.
36168         Use __builtin_expect rather than __glibc_likely/unlikely.
36169         * intl/dcgettext.c: Switch to gettext copyright.
36170         Use ANSI definitions and prototypes.
36171         * intl/dcigettext.c: Switch to gettext copyright.
36172         Use ANSI definitions and prototypes.
36173         (INTDIV0_RAISES_SIGFPE): New define.
36174         Use gl_* locking primitives rather than __libc_* ones.
36175         Include eval-plural.h instead of plural-eval.c.
36176         Use __builtin_expect rather than __glibc_likely/unlikely.
36177         * intl/dcngettext.c: Switch to gettext copyright.
36178         Use ANSI definitions and prototypes.
36179         * intl/dgettext.c: Likewise.
36180         * intl/dngettext.c: Likewise.
36181         * intl/plural-eval.c: Renamed to...
36182         * intl/eval-plural.h: ...this.
36183         * intl/explodename.c: Switch to gettext copyright.
36184         Use ANSI definitions and prototypes.
36185         (_nl_explode_name): Use strchr instead of __rawmemchr.
36186         * intl/finddomain.c: Switch to gettext copyright.
36187         Use ANSI definitions and prototypes.
36188         Use gl_* locking primitives rather than __libc_* ones.
36189         (_nl_find_domain): Use malloc rather than alloca for
36190         allocation of temporary locale name.
36191         * intl/gettext.c: Switch to gettext copyright.
36192         Use ANSI definitions and prototypes.
36193         * intl/gettextP.h: Switch to gettext copyright.
36194         Use ANSI definitions and prototypes.
36195         Use gl_* locking primitives rather than __libc_* ones.
36196         * intl/gmo.h: Switch to gettext copyright.
36197         (struct sysdep_string): Move struct segment_pair outside of
36198         struct definition.
36199         * intl/hash-string.c: Use ANSI definitions and prototypes.
36200         * intl/hash-string.h: Switch to gettext copyright.
36201         Use ANSI definitions and prototypes.
36202         * intl/l10nflist.c: Switch to gettext copyright.
36203         Use ANSI definitions and prototypes.
36204         (_nl_normalize_codeset): Avoid integer overflow.
36205         * intl/loadinfo.h: Switch to gettext copyright.
36206         Use ANSI definitions and prototypes.
36207         (LIBINTL_DLL_EXPORTED): New define.
36208         (PATH_SEPARATOR): New define.
36209         * intl/loadmsgcat.c: Switch to gettext copyright.
36210         * intl/localealias.c: Switch to gettext copyright.
36211         Use ANSI definitions and prototypes.
36212         (_nl_expand_alias): Use PATH_SEPARATOR.
36213         * intl/ngettext.c: Switch to gettext copyright.
36214         Use ANSI definitions and prototypes.
36215         * intl/plural-exp.c: Likewise.
36216         * intl/plural-exp.h: Switch to gettext copyright.
36217         Use ANSI definitions and prototypes.
36218         (struct expression): Move definition of enum operator outside
36219         of struct definition.
36220         * intl/plural.c: Regenerate.
36221         * intl/plural.y: Switch to gettext copyright.
36222         Use ANSI definitions and prototypes.
36223         Port to bison 3.0.
36224         * intl/textdomain.c: Switch to gettext copyright.
36225         Use ANSI definitions and prototypes.
36226         Use gl_* locking primitives rather than __libc_* ones.
36228 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
36230         * debug/warning-nop.c: Add used atrribute.
36232 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36234         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
36236         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
36237         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
36238         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
36240 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36241             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36243         [BZ #17634]
36244         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
36245         Undefine after defining function.  Define as weak alias of
36246         __wcschr.  Use libc_hidden_weak.
36247         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
36248         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
36249         (libc_hidden_def): Also define __GI___wcschr alias.
36250         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
36251         __wcschr and define as weak alias of __wcschr.
36252         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
36253         __wcschr.
36254         [!WCSCHR] (DEFAULT_WCSCHR): Define.
36255         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
36256         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
36257         libc_hidden_weak.  Do not use libc_hidden_def.
36258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
36259         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
36260         __GI___wcschr alias.
36261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
36262         [IS_IN (libc)] (wcschr): Define as macro expanding to
36263         __redirect_wcschr.
36264         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
36265         [IS_IN (libc)] (__wcschr_power6): Likewise.
36266         [IS_IN (libc)] (__wcschr_power7): Likewise.
36267         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
36268         instead of wcschr.
36269         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
36270         __libc_wcschr.
36271         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
36272         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
36273         __wcschr and define as weak alias of __wcschr.  Use
36274         libc_hidden_builtin_def.
36275         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
36276         as weak alias of __wcschr.  Use libc_hidden_weak.
36277         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
36278         wcschr.
36279         * time/era.c (_nl_init_era_entries): Likewise.
36280         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
36281         variable.
36282         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36283         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36285 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36287         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
36288         format for long int variable.
36290 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
36292         [BZ #10672]
36293         * manual/search.texi: (Array Sort Function): Remove claim how to make
36294         qsort stable.
36296 2014-12-10  Andreas Schwab  <schwab@suse.de>
36298         [BZ #12847]
36299         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
36300         user-controlled locks.
36302 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
36304         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
36305         register.
36307 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
36309         * configure.ac (--disable-werror): New configure option.
36310         (enable_werror): New AC_SUBST.
36311         * configure: Regenerated.
36312         * config.make.in (enable-werror): New variable.
36313         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
36314         -Wno-error=undef.
36315         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
36316         * manual/install.texi (Configuring and compiling): Document
36317         --disable-werror.
36318         * INSTALL: Regenerated.
36319         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
36320         (CFLAGS-tst-chk2.c): Likewise.
36321         (CFLAGS-tst-chk3.c): Likewise.
36322         (CFLAGS-tst-chk4.cc): Likewise.
36323         (CFLAGS-tst-chk5.cc): Likewise.
36324         (CFLAGS-tst-chk6.cc): Likewise.
36325         (CFLAGS-tst-lfschk1.c): Likewise.
36326         (CFLAGS-tst-lfschk2.c): Likewise.
36327         (CFLAGS-tst-lfschk3.c): Likewise.
36328         (CFLAGS-tst-lfschk4.cc): Likewise.
36329         (CFLAGS-tst-lfschk5.cc): Likewise.
36330         (CFLAGS-tst-lfschk6.cc): Likewise.
36332         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
36333         (main): Disable -Wdeprecated-declarations around calls to
36334         register_printf_function.
36336         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
36337         (do_test): Disable -Wdiv-by-zero around some calls to
36338         fwrite_unlocked and fread_unlocked.
36340         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
36341         (DIAG_POP_NEEDS_COMMENT): Likewise.
36342         (_DIAG_STR1): Likewise.
36343         (_DIAG_STR): Likewise.
36344         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
36345         * stdio-common/bug21.c: Include <libc-internal.h>.
36346         (do_test): Disable -Wformat around call to sscanf.
36347         * stdio-common/scanf14.c: Include <libc-internal.h>.
36348         (main): Disable -Wformat around some calls to scanf functions.
36350 2014-12-09  Torvald Riegel  <triegel@redhat.com>
36352         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
36354 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36356         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
36357         stack variable alignment.
36359 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
36361         [BZ #17682]
36362         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
36363         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
36364         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
36365         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
36366         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
36367         __getrlimit instead of getrlimit.
36368         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
36369         __gettimeofday instead of gettimeofday.
36370         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36371         Likewise.
36372         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
36373         Likewise.
36374         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
36375         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
36376         Remove variable.
36377         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36378         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36380 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36382         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
36383         for wide-character tests.
36385 2014-12-04  Roland McGrath  <roland@hack.frob.com>
36387         * io/openat64.c: #include <libc-internal.h>
36388         (__openat64): Prototypify.  Use ignore_value on MODE.
36389         * io/openat.c: Likewise.
36390         * misc/reboot.c: #include <libc-internal.h>
36391         (reboot): Prototypify.  Use ignore_value on HOWTO.
36392         * misc/ptrace.c: #include <libc-internal.h>
36393         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
36395 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
36397         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
36398         XPG4, UNIX98 and XOPEN2K.
36399         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
36400         Remove variable.
36401         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36403 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36405         * libio/fileops.c: Use ISO C style for function definitions.
36406         * libio/iofopen.c: Likewise.
36407         * libio/wfileops.c: Likewise.
36409         [BZ #17653]
36410         * libio/fileops.c (_IO_new_file_underflow): Unset cached
36411         offset on EOF.
36412         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
36413         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
36414         (fgets_func): Function pointer to fgets and fgetws.
36415         (do_ftell_test): Add test to verify ftell value after read
36416         EOF.
36417         (do_test): Set fgets_func.
36419         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
36420         O_TRUNC flag for w and w+ modes.
36421         (do_rewind_test): Likewise.
36422         (do_ftell_test): Likewise.
36423         (do_write_test): Likewise.
36425         [BZ #17647]
36426         * libio/fileops.c (do_ftell): Seek only when there are
36427         unflushed writes.
36428         * libio/wfileops.c (do_ftell_wide): Likewise.
36429         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
36430         test case.
36431         (do_one_test): Call it.
36433 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
36435         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
36436         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
36437         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
36438         Remove variable.
36439         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36440         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
36441         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
36443 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36445         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
36446         Remove variable.
36447         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36449         [BZ #17668]
36450         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
36451         as weak alias of __getifaddrs.  Use libc_hidden_weak.
36452         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36453         __freeifaddrs.  Use libc_hidden_weak.
36454         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
36455         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
36456         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36457         __freeifaddrs.  Use libc_hidden_weak.
36458         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
36459         __getifaddrs and define as weak alias of __getifaddrs.  Use
36460         libc_hidden_weak.
36461         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
36462         __freeifaddrs.  Use libc_hidden_weak.
36463         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
36464         Remove variable.
36465         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36466         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36468 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
36470         [BZ #17601]
36471         * sysdeps/mips/start.S (__start): Use indirect jump to call
36472         __libc_start_main.
36474 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
36476         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
36478         * nptl/tst-mutex1.c: Include <stdbool.h>.
36479         [!ATTR] (ATTR_NULL): New macro.
36480         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
36481         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
36482         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
36484         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
36485         to char *.
36487         [BZ #17665]
36488         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
36489         Change conditional to [__USE_MISC].
36491         [BZ #17664]
36492         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
36493         fgets_unlocked.
36494         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
36495         __fgets_unlocked.
36496         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
36497         fgets_unlocked.
36498         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
36499         Remove variable.
36500         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36501         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36502         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36503         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36504         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36505         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36506         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36507         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
36508         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
36510         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
36512 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36514         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36515         Remove strpbrk objects.
36516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36517         (__libc_ifunc_impl_list): Remove strpbrk implementation.
36518         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
36519         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
36520         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
36521         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
36523         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36524         Remove strcspn objects.
36525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36526         (__libc_ifunc_impl_list): Remove strcspn implementation.
36527         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
36528         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
36529         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
36530         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
36532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36533         Remove strspn objetcs.
36534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36535         (__libc_ifunc_impl_list): Remove strspn implementation.
36536         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
36537         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36538         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
36539         * sysdeps/powerpc/powerpc64/strspn.S: New file.
36541 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
36543         [BZ #17581]
36544         * malloc/hooks.c
36545         (mem2mem_check): Add a terminator to the chain of checking blocks.
36546         (malloc_check_get_size): Use it here.
36547         (mem2chunk_check): Ditto.
36549 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36551         * sysdeps/powerpc/powerpc64/strtok.S: New file.
36552         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
36554 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
36556         * bits/ioctl-types.h: Indent preprocessor directives correctly.
36558         * nptl/nptl-init.c: Include libc-internal.h.
36559         (__pthread_initialize_minimal_internal): Use ROUND_UP.
36561         * elf/ldconfig.c (search_dir): Expand comment.
36563 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
36565         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
36566         variable.
36567         (linknamespace-symlist-stdlibs-tests): Likewise.
36568         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
36569         instead of $(objpfx)symlist-stdlibs.
36570         (linknamespace-libs-isoc): New variable.
36571         (linknamespace-libs): Use $(linknamespace-libs-isoc).
36572         (linknamespace-libs-ISO): New variable.
36573         (linknamespace-libs-ISO99): Likewise.
36574         (linknamespace-libs-ISO11): Likewise.
36575         (linknamespace-libs-XPG3): Likewise.
36576         (linknamespace-libs-XPG4): Likewise.
36577         (linknamespace-libs-POSIX): Likewise.
36578         (linknamespace-libs-UNIX98): Likewise.
36579         (linknamespace-libs-XOPEN2K): Likewise.
36580         (linknamespace-libs-POSIX2008): Likewise.
36581         (linknamespace-libs-XOPEN2K8): Likewise.
36582         ($(objpfx)symlist-stdlibs): Replace by
36583         $(linknamespace-symlist-stdlibs-tests).  Use
36584         $(linknamespace-libs-$*) as set of libraries.
36585         ($(linknamespace-header-tests)): Update dependencies.  Use
36586         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
36587         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
36588         * conform/linknamespace.pl: Remove comment about considering
36589         definitions of symbols from irrelevant libraries.
36591 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
36593         [BZ #13862]
36594         * elf/dl-tls.c: Include <atomic.h>.
36595         (oom): Remove #ifdef SHARED/#endif.
36596         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
36597         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
36598         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
36599         big enough.
36600         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
36601         * nptl/Makefile (tests): Add tst-stack4.
36602         (modules-names): Add tst-stack4mod.
36603         ($(objpfx)tst-stack4): New.
36604         (tst-stack4mod.sos): Likewise.
36605         ($(objpfx)tst-stack4.out): Likewise.
36606         ($(tst-stack4mod.sos)): Likewise.
36607         (clean): Likewise.
36608         * nptl/tst-stack4.c: New file.
36609         * nptl/tst-stack4mod.c: Likewise.
36611 2014-11-27  J. Brown  <jb999@gmx.de>
36613         * sysdeps/x86/bits/string.h: Add recent CPUs.
36615 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36617         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
36618         sigblock.
36620         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
36621         feof.
36623         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
36624         variable.
36626 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
36628         * nscd/connections.c: Include libc-internal.h because of macro
36629         usage ignore_value.
36631 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36633         * string/bits/string3.h (__warn_memset_zero_len): Don't
36634         declare for gcc newer than 5.0.
36635         (memset): Don't test for zero-length __LEN for gcc newer than
36636         5.0.
36638 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
36640         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
36641         size_t for %zu format.
36643         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
36644         difference, not %ju.
36646 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36648         * include/libc-internal.h (ignore_value): New macro.
36649         * nscd/connections.c (restart): Wrap calls to setuid and setgid
36650         with ignore_value.
36652         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
36653         definition.
36655         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
36656         pthread_cleanup_push to void *.
36658         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
36659         Undefine.
36661         [BZ #16619]
36662         [BZ #16740]
36663         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
36664         instead of 1L << 52.
36666         * libio/bug-rewind.c (do_test): Check fwscanf return values.
36667         * libio/bug-rewind2.c (do_test): Likewise.
36669         * debug/test-stpcpy_chk-ifunc.c: Remove file.
36670         * debug/test-strcpy_chk-ifunc.c: Likewise.
36671         * wcsmbs/test-wcschr-ifunc.c: Likewise.
36672         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36673         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36674         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36675         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36676         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36677         * Rules [$(multi-arch) = no] (tests): Do not filter out
36678         $(tests-ifunc).
36679         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
36680         * debug/Makefile (tests-ifunc): Remove variable.
36681         (tests): Do not add $(tests-ifunc).
36682         * wcsmbs/Makefile (tests-ifunc): Remove variable.
36683         (tests): Do not add $(tests-ifunc).
36684         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
36685         [TEST_IFUNC]: Remove conditionals.
36686         * string/test-string.h (TEST_IFUNC): Remove macro.
36687         [TEST_IFUNC]: Remove conditionals.
36689         * string/test-strchr.c [!WIDE] (L): New macro.
36690         [WIDE] (L): Likewise.
36691         (check1): Use CHAR instead of char.  Use L on string and character
36692         constants.
36694 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
36696         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
36697         tests.
36698         * sysdeps/powerpc/bits/atomic.h
36699         (__arch_atomic_exchange_and_add_32_acq): Add definition.
36700         (__arch_atomic_exchange_and_add_32_rel): Likewise.
36701         (atomic_exchange_and_add_acq): Likewise.
36702         (atomic_exchange_and_add_rel): Likewise.
36703         * sysdeps/powerpc/powerpc32/bits/atomic.h
36704         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36705         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36706         * sysdeps/powerpc/powerpc64/bits/atomic.h
36707         (__arch_atomic_exchange_and_add_64_acq): Add definition.
36708         (__arch_atomic_exchange_and_add_64_rel): Likewise.
36710 2014-11-26  Torvald Riegel  <triegel@redhat.com>
36712         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
36713         Change synchronization of __sched_fifo_min_prio and
36714         __sched_fifo_max_prio.
36715         * nptl/pthread_mutexattr_getprioceiling.c
36716         (pthread_mutexattr_getprioceiling): Likewise.
36717         * nptl/pthread_mutexattr_setprioceiling.c
36718         (pthread_mutexattr_setprioceiling): Likewise.
36719         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
36720         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
36721         Likewise.
36723 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
36725         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
36726         void.
36728 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36730         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
36731         third argument const.
36733 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
36735         fnmatch: work around GCC compiler warning bug with uninit var
36736         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
36737         This works around a bug with x86-64 GCC 4.9.2 and earlier
36738         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
36739         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
36740         used uninitialized in this function [-Wmaybe-uninitialized]".
36742 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
36744         * posix/bug-regex31.c (main): Return RES not 0.
36746 2014-11-25  Anton Blanchard <anton@samba.org>
36748         * sysdeps/powerpc/bits/atomic.h
36749         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
36751 2014-11-24  Sterling Augustine  <saugustine@google.com>
36753         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
36755 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
36757         [BZ #17608]
36758         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
36760 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
36762         [BZ #17633]
36763         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
36764         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
36765         variable.
36766         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36767         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36769 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36771         * string/strncpy.c (strncpy): Improve performance by using memset.
36773 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
36775         * string/strcpy.c (strcpy):
36776         Improve performance by using strlen and memcpy.
36778 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
36780         * string/strcoll_l.c (get_next_seq): __always_inline.
36781         * string/strcoll_l.c (do_compare): __always_inline.
36783 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36785         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
36786         defined.
36787         * include/mqueue.h: Likewise.
36788         * include/stdlib.h: Likewise.
36790         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
36791         (get_null_defines): Adjust.
36792         * sunrpc/Makefile: Adjust comment.
36793         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
36794         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
36795         (CFLAGS-interp.c): Likewise.
36796         (CFLAGS-ldconfig.c): Likewise.
36797         (CPPFLAGS-.os): Likewise.
36798         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36799         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36800         * extra-modules.mk (extra-modules.mk): Likewise.
36801         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
36802         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
36803         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
36804         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
36805         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
36806         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
36807         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
36808         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
36809         * iconvdata/Makefile (CPPFLAGS): Likewise.
36810         (cpp-srcs-left): Add libof for all iconvdata routines.
36811         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
36812         * include/assert.h: Likewise.
36813         * include/ctype.h: Likewise.
36814         * include/errno.h: Likewise.
36815         * include/libc-symbols.h: Likewise.
36816         * include/math.h: Likewise.
36817         * include/netdb.h: Likewise.
36818         * include/resolv.h: Likewise.
36819         * include/stdio.h: Likewise.
36820         * include/stdlib.h: Likewise.
36821         * include/string.h: Likewise.
36822         * include/sys/stat.h: Likewise.
36823         * include/wctype.h: Likewise.
36824         * intl/l10nflist.c: Likewise.
36825         * libidn/idn-stub.c: Likewise.
36826         * libio/libioP.h: Likewise.
36827         * nptl/libc_multiple_threads.c: Likewise.
36828         * nptl/pthreadP.h: Likewise.
36829         * posix/regex_internal.h: Likewise.
36830         * resolv/res_hconf.c: Likewise.
36831         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
36832         * sysdeps/arm/memmove.S: Likewise.
36833         * sysdeps/arm/sysdep.h: Likewise.
36834         * sysdeps/generic/_itoa.h: Likewise.
36835         * sysdeps/generic/symbol-hacks.h: Likewise.
36836         * sysdeps/gnu/errlist.awk: Likewise.
36837         * sysdeps/gnu/errlist.c: Likewise.
36838         * sysdeps/i386/i586/memcpy.S: Likewise.
36839         * sysdeps/i386/i586/memset.S: Likewise.
36840         * sysdeps/i386/i686/memcpy.S: Likewise.
36841         * sysdeps/i386/i686/memmove.S: Likewise.
36842         * sysdeps/i386/i686/mempcpy.S: Likewise.
36843         * sysdeps/i386/i686/memset.S: Likewise.
36844         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36845         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36846         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
36847         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
36848         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36849         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36850         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
36851         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36852         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36853         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36854         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36855         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36856         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36857         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36858         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36859         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36860         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
36861         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
36862         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
36863         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36864         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36865         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36866         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36867         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36868         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36869         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36870         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
36871         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36872         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
36873         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36874         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36875         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36876         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36877         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36878         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36879         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36880         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36881         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36882         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36883         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36884         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36885         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36886         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36887         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36888         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36889         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36890         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
36891         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
36892         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36893         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36894         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36895         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
36896         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
36897         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36898         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36899         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
36900         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36901         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
36902         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
36903         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36904         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36905         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36906         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
36907         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36908         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36909         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
36910         * sysdeps/posix/closedir.c: Likewise.
36911         * sysdeps/posix/opendir.c: Likewise.
36912         * sysdeps/posix/readdir.c: Likewise.
36913         * sysdeps/posix/rewinddir.c: Likewise.
36914         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
36915         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
36916         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
36917         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
36918         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
36919         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
36920         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
36921         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
36922         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
36923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
36924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
36925         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
36926         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
36927         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
36928         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
36929         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
36930         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
36931         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
36932         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
36933         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
36934         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
36935         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
36936         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
36937         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
36938         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
36939         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
36940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
36941         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
36942         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
36943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
36944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36949         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36950         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36951         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36952         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36953         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36954         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36955         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36956         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36957         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36958         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36959         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36960         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36961         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36962         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36963         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36964         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36965         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36966         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36968         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36969         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36971         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36972         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36973         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36974         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36975         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36976         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36977         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36978         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36979         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36980         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36981         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36982         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36983         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36984         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36985         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36986         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36987         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36988         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36989         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36990         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36991         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36992         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36993         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36994         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36995         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36996         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36997         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36998         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36999         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37000         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37001         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37002         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37003         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37004         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37005         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37006         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37007         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37008         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37009         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37010         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37011         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37012         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37013         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37014         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37015         * sysdeps/unix/alpha/sysdep.S: Likewise.
37016         * sysdeps/unix/alpha/sysdep.h: Likewise.
37017         * sysdeps/unix/make-syscalls.sh: Likewise.
37018         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37020         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37021         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37022         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37023         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37024         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37025         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37026         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37027         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37028         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37029         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37030         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37031         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37032         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37033         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37034         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37035         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37036         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37037         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37038         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37039         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37040         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37041         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37042         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37043         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37044         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37047         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37048         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37049         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37052         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37054         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37056         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37057         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37058         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37059         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37060         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37061         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37062         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37064         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37065         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37066         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37068         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37069         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37070         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37071         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37072         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37073         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37074         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37075         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37076         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37077         * sysdeps/x86_64/memcpy.S: Likewise.
37078         * sysdeps/x86_64/memmove.c: Likewise.
37079         * sysdeps/x86_64/memset.S: Likewise.
37080         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37081         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37082         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37083         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37084         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37085         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37086         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37087         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37088         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37089         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37090         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37091         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37092         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37093         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37094         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37095         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37096         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37097         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37098         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37099         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37100         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37101         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37102         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37103         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37104         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37105         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37106         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37107         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37108         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37109         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37110         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37111         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37112         * sysdeps/x86_64/strcmp.S: Likewise.
37114         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37116         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37117         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37118         * elf/rtld-Rules: Likewise.
37119         * elf/setup-vdso.h: Likewise.
37120         * include/assert.h: Likewise.
37121         * include/bits/stdlib-float.h: Likewise.
37122         * include/errno.h: Likewise.
37123         * include/sys/stat.h: Likewise.
37124         * include/unistd.h: Likewise.
37125         * sysdeps/aarch64/setjmp.S: Likewise.
37126         * sysdeps/alpha/setjmp.S: Likewise.
37127         * sysdeps/arm/__longjmp.S: Likewise.
37128         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37129         * sysdeps/arm/setjmp.S: Likewise.
37130         * sysdeps/arm/sysdep.h: Likewise.
37131         * sysdeps/generic/_itoa.h: Likewise.
37132         * sysdeps/generic/dl-sysdep.h: Likewise.
37133         * sysdeps/generic/ldsodefs.h: Likewise.
37134         * sysdeps/i386/dl-tls.h: Likewise.
37135         * sysdeps/i386/setjmp.S: Likewise.
37136         * sysdeps/m68k/setjmp.c: Likewise.
37137         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37138         * sysdeps/mach/hurd/opendir.c: Likewise.
37139         * sysdeps/posix/getcwd.c: Likewise.
37140         * sysdeps/posix/opendir.c: Likewise.
37141         * sysdeps/posix/profil.c: Likewise.
37142         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37143         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37144         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37145         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37146         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37147         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37148         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37149         * sysdeps/s390/dl-tls.h: Likewise.
37150         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37151         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37152         * sysdeps/sh/sh3/setjmp.S: Likewise.
37153         * sysdeps/sh/sh4/setjmp.S: Likewise.
37154         * sysdeps/unix/alpha/sysdep.h: Likewise.
37155         * sysdeps/unix/arm/sysdep.S: Likewise.
37156         * sysdeps/unix/i386/sysdep.S: Likewise.
37157         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37158         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37159         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37160         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37161         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37162         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37163         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37164         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37165         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37166         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37167         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37168         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37169         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37172         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37173         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37174         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37175         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37176         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37177         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37178         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37180         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37181         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37182         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37183         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37184         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37185         * sysdeps/x86_64/setjmp.S: Likewise.
37187         * include/math.h: Use IS_IN instead of IS_IN_libm.
37188         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37189         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37190         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37191         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37192         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37193         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37194         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37195         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37196         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37197         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37198         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37199         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37200         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37201         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37202         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37203         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37204         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37205         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37206         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37207         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37208         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37209         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37210         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37211         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37212         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37213         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37214         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37215         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37216         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37217         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37218         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37219         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37220         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37222         Likewise.
37223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
37224         Likewise.
37225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
37226         Likewise.
37227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
37228         Likewise.
37229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
37230         Likewise.
37231         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
37232         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
37233         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
37234         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
37235         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
37236         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
37237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
37238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
37239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
37240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
37241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
37242         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
37243         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
37244         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
37245         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
37246         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37247         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
37248         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
37249         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37250         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
37251         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
37252         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
37253         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
37254         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
37255         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
37256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37257         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
37259         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
37260         * nptl/pthreadP.h: Likewise.
37261         * nptl_db/structs.def: Likewise.
37262         * sysdeps/arm/sysdep.h: Likewise.
37263         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37264         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37265         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
37266         * sysdeps/unix/alpha/sysdep.h: Likewise.
37267         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37269         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37270         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37271         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37272         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37274         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37275         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37276         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37277         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37278         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37279         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37280         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37283         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37285         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37286         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37287         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37288         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37289         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37290         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37291         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
37292         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37294         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
37295         * nptl/pthreadP.h: Likewise.
37296         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37297         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37298         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37299         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37300         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37301         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37302         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37303         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37304         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37305         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37306         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37307         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
37309         Likewise.
37310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
37311         Likewise.
37312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37313         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37314         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37316         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37317         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37318         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37319         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37321         * dlfcn/dladdr.c: Use IS_IN.
37322         * dlfcn/dladdr1.c: Likewise.
37323         * dlfcn/dlclose.c: Likewise.
37324         * dlfcn/dlerror.c: Likewise.
37325         * dlfcn/dlinfo.c: Likewise.
37326         * dlfcn/dlmopen.c: Likewise.
37327         * dlfcn/dlopen.c: Likewise.
37328         * dlfcn/dlsym.c: Likewise.
37329         * dlfcn/dlvsym.c: Likewise.
37331         * include/ifaddrs.h: Use IS_IN.
37332         * inet/check_pf.c: Likewise.
37333         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37334         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
37336         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
37337         IS_IN_ldconfig.
37338         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
37339         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
37341         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
37342         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
37343         IS_IN (libc).
37345         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
37347         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
37348         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37349         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37350         * include/libc-symbols.h (IS_IN_LIB): New macro.
37351         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
37352         * include/netdb.h: Likewise.
37353         * include/stap-probe.h: Remove all uses of IN_LIB.
37355         * Makeconfig (module-cppflags-real): Define MODULE_NAME
37356         instead of IN_MODULE.
37357         * include/libc-symbols.h (IN_MODULE): Define using
37358         MODULE_NAME.
37359         (PASTE_NAME, PASTE_NAME1): New macros.
37360         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
37361         of IN_LIB.
37362         (STAP_PROBE_ASM): Likewise.
37364 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37366         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
37367         __mach_init in dlopened libc.
37369 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
37371         * sysdeps/arm/preconfigure.ac: Delete EABI check.
37372         * sysdeps/arm/preconfigure: Regenerate.
37374 2014-11-21  Roland McGrath  <roland@hack.frob.com>
37376         * nptl/pthread_create.c (__pthread_create_2_1): Set
37377         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
37378         when copying values from IATTR into PD.
37380 2014-11-21  Will Newton  <will.newton@linaro.org>
37381             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
37383         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
37384         Refactor inline-asm.  Also add comment.
37386         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
37387         ElfW macro instead of hardcoded Elf64 types.
37388         (la_aarch64_gnu_pltenter): Likewise.
37389         * sysdeps/aarch64/dl-machine.h
37390         (elf_machine_runtime_setup): Use ElfW(Addr).
37392         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
37393         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
37394         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
37395         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
37396         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
37397         (R_AARCH64_TLS_DTPMOD64): Rename to ..
37398         (R_AARCH64_TLS_DTPMOD): This.
37399         (R_AARCH64_TLS_DTPREL64): Rename to ...
37400         (R_AARCH64_TLS_DTPREL): This.
37401         (R_AARCH64_TLS_TPREL64): Rename to ...
37402         (R_AARCH64_TLS_TPREL): This.
37403         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
37404         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
37405         R_AARCH64_TLS_TPREL64.
37406         (elf_machine_rela): Likewise.
37408 2014-11-21  Torvald Riegel  <triegel@redhat.com>
37410         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
37411         by setting it to 0.  64b atomics are not supported currently.
37413 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37415         [BZ #16469]
37416         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
37417         search domain names.
37419 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37421         [BZ #16469]
37422         * NEWS: Update.
37423         * resolv/res_query.c (__libc_res_nquerydomain): Retain
37424         trailing dot.
37425         * posix/tst-getaddrinfo5.c: New.
37426         * posix/Makefile (tests): Add it.
37428 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37430         [BZ #14498]
37431         * NEWS: Fixed.
37432         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
37433         after parsing line but before break_if_match.
37434         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
37435         if there is a protocol mismatch.
37437 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
37439         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
37440         because the potential race is on the user-supplied stream.
37442 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37444         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
37445         string literal if not passed a buffer.
37446         * manual/job.texi (ctermid): Update reasoning, note deviation
37447         from posix, suggest mtasurace when not passed a buffer, for
37448         future non-preliminary safety notes.
37450 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37452         * manual/users.texi (cuserid): Fix MT-Safety note for the case
37453         of not passing it a buffer.
37454         Reported by Peng Haitao.
37456 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
37458         * manual/Makefile ($(objpfx)stamp-summary): Require
37459         check-safety.sh to pass.
37460         * manual/check-safety.sh: Wish for verification that every
37461         @deftypefn and @deftypefun is followed by a @safety remark.
37463 2014-11-20  Roland McGrath  <roland@hack.frob.com>
37465         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
37467         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
37468         PTHREAD_CANCEL_ASYNCHRONOUS.
37469         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
37470         send SIGCANCEL.
37472         * nptl/default-sched.h: New file.
37473         * sysdeps/unix/sysv/linux/default-sched.h: New file.
37474         * nptl/pthread_create.c: Include it.
37475         (__pthread_create_2_1): Use collect_default_sched instead of making
37476         Linux syscalls here directly.
37478 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37480         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
37481         __pthread_once): Use C11 atomics.
37483 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37485         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
37487 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37489         * include/atomic.h (__atomic_link_error, __atomic_check_size,
37490         atomic_thread_fence_acquire, atomic_thread_fence_release,
37491         atomic_thread_fence_seq_cst, atomic_load_relaxed,
37492         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
37493         atomic_compare_exchange_weak_relaxed,
37494         atomic_compare_exchange_weak_acquire,
37495         atomic_compare_exchange_weak_release,
37496         atomic_exchange_acquire, atomic_exchange_release,
37497         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
37498         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
37499         atomic_fetch_and_acquire,
37500         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
37502 2014-11-20  Torvald Riegel  <triegel@redhat.com>
37504         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
37505         USE_ATOMIC_COMPILER_BUILTINS): Define.
37506         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
37507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37508         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
37509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37510         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
37511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37512         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
37513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37514         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
37515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37516         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
37517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37518         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
37519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37520         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
37521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37522         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37524         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37526         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
37527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37528         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
37529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37530         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
37531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37532         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
37533         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37534         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
37535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37536         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
37537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37538         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
37539         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37540         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37541         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37542         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
37543         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37544         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
37545         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
37547 2014-11-19  Roland McGrath  <roland@hack.frob.com>
37549         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
37550         the sched_priority value here.  It was already checked when the user
37551         called pthread_attr_setschedparam.
37553         * nptl/tst-bad-schedattr.c: New file.
37554         * nptl/Makefile (tests): Add it.
37556 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
37557             Florian Weimer  <fweimer@redhat.com>
37558             Joseph Myers  <joseph@codesourcery.com>
37559             Adam Conrad  <adconrad@0c3.net>
37560             Andreas Schwab  <schwab@suse.de>
37561             Brooks  <bmoses@google.com>
37563         [BZ #17625]
37564         * wordexp-test.c (__dso_handle): Add prototype.
37565         (__register_atfork): Likewise.
37566         (__app_register_atfork): New function.
37567         (registered_forks): New global.
37568         (register_fork): New function.
37569         (test_case): Add 3 new tests for WRDE_CMDSUB.
37570         (main): Call __app_register_atfork.
37571         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
37572         fork count is non-zero fail the test.
37573         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
37574         is set.
37575         (parse_dollars): Remove check for WRDE_NOCMD.
37576         (parse_dquote): Likewise.
37578 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37580         * Makeconfig (built-modules): List non-library modules to be
37581         built.
37582         (module-cppflags): Include libc-modules.h for
37583         everything except shlib-versions.v.i.
37584         (CPPFLAGS): Use it.
37585         (before-compile): Add libc-modules.h.
37586         ($(common-objpfx)libc-modules.h,
37587         $(common-objpfx)libc-modules.stmp): New targets.
37588         (common-generated): Add libc-modules.h and libc-modules.stmp.
37589         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
37590         * include/libc-symbols.h: Don't include libc-modules.h.
37591         * include/libc-modules.h: Remove file.
37592         * scripts/gen-libc-modules.awk: New script to generate
37593         libc-modules.h.
37594         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
37595         Depend on libc-modules.stmp.
37597         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
37599         * Makeconfig (in-module): Get value of libof set for the
37600         translation unit.
37601         (CPPFLAGS): Use $(in-module).
37602         * Makerules: Don't suffix routine names for nonlib.
37603         * include/libc-modules.h: New file.
37604         * include/libc-symbols.h: Include libc-modules.h
37605         (IS_IN): New macro to replace IS_IN_* macros.
37606         * elf/Makefile: Set libof-* for each routine.
37607         * elf/rtld-Rules: Likewise.
37608         * extra-modules.mk: Likewise.
37609         * iconv/Makefile: Likewise.
37610         * iconvdata/Makefile: Likewise.
37611         * locale/Makefile: Likewise.
37612         * malloc/Makefile: Likewise.
37613         * nss/Makefile: Likewise.
37614         * sysdeps/gnu/Makefile: Likewise.
37615         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
37616         * sysdeps/unix/sysv/linux/Makefile: Likewise.
37617         * sysdeps/s390/s390-64/Makefile: Likewise.
37618         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
37619         CPPFLAGS for nscd instead of nonlib.
37621 2014-11-18  Roland McGrath  <roland@hack.frob.com>
37623         * nptl/createthread.c: New file.
37625         * nptl/createthread.c: Moved ...
37626         * sysdeps/unix/sysv/linux/createthread.c: ... here.
37628         * nptl/createthread.c: Add proper top-line comment.
37629         (do_clone): Folded into ...
37630         (create_thread): ... here.  Take new arguments STOPPED_START and
37631         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
37632         increment __nptl_threads, do event-reporting logic, do
37633         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
37634         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
37635         resource cleanup if sched_setaffinity or sched_setscheduler fails,
37636         just send SIGCANCEL.
37637         * nptl/pthread_create.c: Forward-declare create_thread before
37638         including createthread.c.
37639         (start_thread): Use new macro START_THREAD_DEFN to replace defining
37640         declaration, and new macro START_THREAD_SELF to replace argument.
37641         Remove return statement.
37642         (report_thread_creation): New function.
37643         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
37644         synchronization logic, and __nptl_nthreads increment here, around
37645         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
37646         PD->parent_cancelhandling here, before create_thread.  When
37647         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
37648         __deallocate_stack, and ENOMEM translation here.
37650 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
37652         [BZ #17616]
37653         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
37654         (mptwo): Rename to __mptwo.
37655         (__inv): Use __mptwo instead of mptwo.
37656         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
37657         (mptwo): Rename to __mptwo.
37658         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
37659         of mpone and __mptwo instead of mptwo.
37660         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
37661         instead of mpone.
37662         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37663         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
37664         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
37665         of mpone and __mptwo instead of mptwo.
37666         (__mpranred): Use __mpone instead of mpone.
37667         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
37668         variable.
37669         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37670         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37671         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37672         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37673         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37674         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37675         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37676         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37677         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37678         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37679         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37680         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37681         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37682         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37683         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37684         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37685         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37686         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37687         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37689 2014-11-18  Tom de Vries  <tom@codesoucery.com>
37691         * manual/signal.texi (Primitives Interrupted by Signals): In section,
37692         replace BSD Handler xref with BSD Signal Handling.
37694 2014-11-17  Richard Henderson  <rth@redhat.com>
37696         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
37697         (_FP_PACK_RAW_2): Remove.
37698         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
37699         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
37700         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
37701         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
37702         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
37703         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
37704         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
37705         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
37706         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
37707         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
37708         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
37709         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
37710         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
37711         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
37712         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
37713         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
37715 2014-11-14  Roland McGrath  <roland@hack.frob.com>
37717         * signal/signal.h [__USE_MISC]
37718         (struct sigvec): Remove type.
37719         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
37720         (sigvec): Remove declaration.
37721         * sysdeps/posix/sigvec.c: Moved ...
37722         * signal/sigvec.c: ... here, replacing old file.
37723         (struct sigvec): New type, copied from old signal.h definition.
37724         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
37725         (__sigvec): Convert definition to prototype.
37726         (sigvec): Replace weak_alias with compat_symbol.
37727         * signal/Versions (libc: GLIBC_2.21): New version set.
37728         * include/signal.h: Remove __sigvec declaration.
37729         * sysdeps/unix/bsd/sigvec.c: Remove file.
37730         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
37731         * manual/signal.texi (BSD Handler): Remove subsection.
37732         Move siginterrupt up to ...
37733         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
37734         (Blocking in BSD): Fold subsection into its parent.
37735         * NEWS: Mention sigvec removal.
37737 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37739         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
37740         (DLA_FMS): Make definition conditional only on [__FMA4__].
37741         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
37742         definition.
37744         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
37745         Make definition conditional only on [PROF].
37746         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
37747         definition.
37748         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
37749         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
37751         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
37752         !__GNUC__].
37753         * include/signal.h (__sigpause): Move declaration above call to
37754         libc_hidden_proto.
37755         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
37756         variable.
37757         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37758         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37760 2014-11-14  David S. Miller  <davem@davemloft.net>
37762         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
37763         Define before including <string/memcpy.c> and <string/mempcpy.c>.
37765 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
37767         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
37768         * configure: Regenerated.
37769         * manual/install.texi (Tools for Compilation): Document a
37770         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
37771         compiler verified to work.
37772         * INSTALL: Regenerated.
37774         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
37775         redeclare with asm name.
37776         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
37777         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
37778         including <string.h>.
37779         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37780         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
37781         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37782         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
37783         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37784         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
37785         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
37787 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
37789         * stdlib/strtol.c (__strtol): Use prototype definition.
37791         [BZ #17594]
37792         * stdlib/strtol.c (SYM__): New macro.
37793         (SYM__1): Likewise.
37794         (__strtol): Likewise.
37795         (strtol): Rename to __strtol and define as weak alias of
37796         __strtol.  Use libc_hidden_weak.
37798 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37800         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
37801         Use numbered labels in inline assembly.
37803 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37805         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
37806         Add setjmp LIBC_PROBE.
37807         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
37808         Likewise.
37809         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
37810         Add longjmp, longjmp_target LIBC_PROBE.
37811         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
37812         Likewise.
37814 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37816         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
37817         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
37818         to get rid of unused variable warning.
37820 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37822         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
37823         Check for unwind_backtrace ==  NULL only in SHARED case.
37824         (__backchain_backtrace): Compile only in SHARED case.
37825         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
37826         Likewise.
37827         (__backchain_backtrace): Declare as static.
37829 2014-11-12  Roland McGrath  <roland@hack.frob.com>
37831         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
37832         (__libc_multiple_threads_ptr): Variable moved ...
37833         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
37835 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
37837         * conform/GlibcConform.pm: New file.
37838         * conform/conformtest.pl: Use GlibcConform module.
37839         * conform/linknamespace.pl: New file.
37840         * conform/list-header-symbols.pl: Likewise.
37841         * conform/Makefile (linknamespace-symlists-base): New variable.
37842         (linknamespace-symlists-tests): Likewise.
37843         (linknamespace-header-base): Likewise.
37844         (linknamespace-header-tests): Likewise.
37845         (tests-special): Add new tests.
37846         ($(linknamespace-symlists-tests)): New rule.
37847         (linknamespace-libs): New variable.
37848         ($(objpfx)symlist-stdlibs): New rule.
37849         ($(linknamespace-header-tests)): Likewise.
37850         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
37851         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
37852         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
37853         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
37854         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
37855         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
37856         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
37857         (test-xfail-ISO/math.h/linknamespace): Likewise.
37858         (test-xfail-ISO/signal.h/linknamespace): Likewise.
37859         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
37860         (test-xfail-ISO/time.h/linknamespace): Likewise.
37861         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
37862         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
37863         (test-xfail-ISO99/math.h/linknamespace): Likewise.
37864         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
37865         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37866         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
37867         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
37868         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
37869         (test-xfail-ISO11/math.h/linknamespace): Likewise.
37870         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
37871         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37872         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
37873         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
37874         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
37875         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
37876         (test-xfail-XPG3/math.h/linknamespace): Likewise.
37877         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
37878         (test-xfail-XPG3/search.h/linknamespace): Likewise.
37879         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
37880         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37881         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
37882         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
37883         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
37884         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
37885         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37886         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
37887         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
37888         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
37889         (test-xfail-XPG4/math.h/linknamespace): Likewise.
37890         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
37891         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
37892         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
37893         (test-xfail-XPG4/search.h/linknamespace): Likewise.
37894         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
37895         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
37896         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
37897         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
37898         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
37899         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37900         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
37901         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
37902         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
37903         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37904         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37905         (test-xfail-POSIX/math.h/linknamespace): Likewise.
37906         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
37907         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
37908         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
37909         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
37910         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
37911         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37912         (test-xfail-POSIX/time.h/linknamespace): Likewise.
37913         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
37914         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37915         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
37916         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
37917         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
37918         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37919         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37920         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
37921         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
37922         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
37923         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
37924         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
37925         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
37926         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
37927         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
37928         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
37929         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
37930         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
37931         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
37932         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
37933         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37934         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37935         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
37936         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
37937         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
37938         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
37939         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37940         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
37941         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
37942         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
37943         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
37944         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37945         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37946         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37947         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37948         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37949         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37950         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37951         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37952         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37953         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37954         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37955         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37956         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37957         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37958         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37959         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37960         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37961         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37962         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37963         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37964         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37965         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37966         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37967         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37968         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37969         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37970         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37971         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37972         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37973         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37974         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37975         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37976         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37977         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37978         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37979         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37980         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37981         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37982         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37983         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37984         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37985         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37986         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37987         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37988         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37989         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37990         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37991         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37992         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37993         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37994         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37995         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37996         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37997         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37998         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37999         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38000         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38001         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38002         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38003         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38004         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38005         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38006         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38007         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38008         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38009         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38010         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38012         [BZ #17589]
38013         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38014         of fgets_unlocked.
38016         [BZ #17585]
38017         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38018         (memmem): Rename to __memmem and define as weak alias of
38019         __memmem.  Use libc_hidden_weak.
38020         (__memmem): Use libc_hidden_def.
38021         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38022         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38023         memmem.
38025         [BZ #17582]
38026         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38027         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38028         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38029         and define as weak alias of __fgets_unlocked.  Use
38030         libc_hidden_weak.
38031         (__fgets_unlocked): Use libc_hidden_def.
38032         * include/stdio.h (__fgets_unlocked): Declare.  Use
38033         libc_hidden_proto.
38034         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38035         __fgets_unlocked instead of fgets_unlocked.
38036         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38037         (GET_NPROCS_CONF_PARSER): Likewise.
38038         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38039         (GET_NPROCS_CONF_PARSER): Likewise.
38041         [BZ #17574]
38042         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38043         weak alias of __wmemset.  Use libc_hidden_weak.
38044         (__wmemset): Use libc_hidden_def.
38045         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38046         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38047         of wmemset.
38049         [BZ #17573]
38050         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38051         with asm name __mempcpy.
38052         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38054         [BZ #17572]
38055         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38056         and define as weak alias of __rawmemchr.
38057         (__rawmemchr): Do not define as strong alias of rawmemchr.
38059         [BZ #17571]
38060         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38061         alias of __qsort_r.
38062         (qsort): Call __qsort_r instead of qsort_r.
38063         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38064         (__qsort_r): Declare.  Call libc_hidden_proto.
38065         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38066         instead of qsort_r.
38067         * nscd/gai.c (__qsort_r): Define to qsort_r.
38068         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38069         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38070         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38072         [BZ #17570]
38073         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38074         define as weak alias of __malloc_info.
38076         [BZ #17584]
38077         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38078         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38079         (__rewinddir): Use libc_hidden_def.
38080         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38081         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38082         (__rewinddir): Use libc_hidden_def.
38083         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38084         weak alias of __rewinddir.  Don't use libc_hidden_def.
38085         (__rewinddir): Use libc_hidden_def.
38086         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38087         (__rewinddir): Use libc_hidden_proto.
38088         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38089         rewinddir.
38090         (__getcwd): Use __rewinddir instead of rewinddir.
38092         [BZ #17583]
38093         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38094         alias of __fileno.  Use libc_hidden_weak.
38095         (__fileno): Use libc_hidden_def.
38096         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38097         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38098         alias of __ftello.
38099         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38100         __ftello.
38101         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38102         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38103         libc_hidden_def.
38104         (fread_unlocked): Don't use libc_hidden_ver.
38105         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38106         and define as weak alias of __fread_unlocked.  Don't use
38107         libc_hidden_def.
38108         (__fread_unlocked): Use libc_hidden_def.
38109         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38110         (ftello): Don't use libc_hidden_proto.
38111         (__ftello): Declare.  Use libc_hidden_proto.
38112         (fread_unlocked): Don't use libc_hidden_proto.
38113         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38114         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38115         and __ftello instead of fileno, fread_unlocked and ftello.
38117 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38119         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38120         GOT12.
38121         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38122         Likewise.
38123         (_dl_start_user): Likewise.
38124         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38126 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38127             Siddhesh Poyarekar  <siddhesh@redhat.com>
38129         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38130         Move argv and envp down instead of moving argc up.
38131         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38133 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38135         [BZ #17506]
38136         * test-skeleton.c (main): Return successful if one of
38137         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38138         * string/tst-strcoll-overflow.c: Define expected status.
38140 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38142         [BZ #17475]
38143         * locale/iso-639.def: Define Bhili and Tulu language codes.
38145 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38147         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38149 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38151         [BZ #17555]
38152         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38154 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38156         * configure.ac: Updated check of minimal required version to
38157         2.22.
38158         * manual/install.texi (Tools for Compilation): Updated version
38159         number.
38160         * configure: Regenerated.
38161         * INSTALL: Likewise.
38163 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38165         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38166         __tls_get_addr.
38168 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38170         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38171         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38172         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38173         libc_hidden_weak.
38174         (waitpid): Define as alias of __waitpid.
38175         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38176         __waitpid.
38177         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38178         libc_hidden_weak.
38179         (waitpid): Define as alias of __waitpid.
38180         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38181         __libc_waitpid alias.
38182         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38183         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38184         Likewise.
38185         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38186         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38187         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38188         alias.
38189         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38190         __waitpid.
38191         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38192         libc_hidden_weak.
38193         (waitpid): Define as alias of __waitpid.
38195 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38197         * manual/llio.texi: Add comment that write safety has been
38198         fixed in Linux.
38200         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38201         (localplt-build-dso): Add elf/ld.so.
38202         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38203         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38204         and free for ld.so.
38205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38206         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38208         Likewise.
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38210         Likewise.
38211         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38212         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38213         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38214         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38215         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38216         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38217         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38218         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38219         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38220         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38221         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38223 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
38225         [BZ #14132]
38226         * include/libc-symbols.h (INTUSE): Remove macro.
38227         (INTDEF): Likewise.
38228         (INTVARDEF): Likewise.
38229         (_INTVARDEF): Likewise.
38230         (INTDEF2): Likewise.
38231         (INTVARDEF2): Likewise.
38232         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
38233         rtld_hidden_def instead of INTVARDEF.
38234         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
38235         (_dl_starting_up_internal): Remove declaration.
38236         (_dl_starting_up): Use rtld_hidden_proto.
38237         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
38238         declaration.
38239         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
38240         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
38241         _dl_starting_up.
38242         * elf/dl-writev.h (_dl_writev): Likewise.
38243         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
38244         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
38245         _dl_starting_up_internal.
38247 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38249         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
38250         test-skeleton.c.
38252 2014-11-05  Will Newton  <will.newton@linaro.org>
38254         * benchtests/Makefile: (bench-malloc): Add malloc thread
38255         scalability benchmark.
38256         * benchtests/bench-malloc-threads.c: New file.
38258 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
38260         * sysdeps/aarch64/strchrnul.S: New file.
38262 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38264         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
38265         definition.
38266         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38267         Likewise.
38268         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38269         Likewise.
38270         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38271         Likewise.
38272         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38273         Likewise.
38274         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38275         Likewise.
38277 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
38279         * catgets/test-gencat.c: Use test-skeleton.c.
38280         * catgets/tst-catgets.c: Likewise.
38281         * csu/tst-empty.c: Likewise.
38282         * elf/tst-audit2.c: Likewise.
38283         * elf/tst-global1.c: Likewise.
38284         * elf/tst-pathopt.c: Likewise.
38285         * elf/tst-piemod1.c: Likewise.
38286         * elf/tst-tls10.c: Likewise.
38287         * elf/tst-tls11.c: Likewise.
38288         * elf/tst-tls12.c: Likewise.
38289         * gnulib/tst-gcc.c: Likewise.
38290         * iconvdata/tst-e2big.c: Likewise.
38291         * iconvdata/tst-loading.c: Likewise.
38292         * iconv/tst-iconv1.c: Likewise.
38293         * iconv/tst-iconv2.c: Likewise.
38294         * inet/test-inet6_opt.c: Likewise.
38295         * inet/tst-gethnm.c: Likewise.
38296         * inet/tst-network.c: Likewise.
38297         * inet/tst-ntoa.c: Likewise.
38298         * intl/tst-codeset.c: Likewise.
38299         * intl/tst-gettext2.c: Likewise.
38300         * intl/tst-gettext3.c: Likewise.
38301         * intl/tst-ngettext.c: Likewise.
38302         * intl/tst-translit.c: Likewise.
38303         * io/test-stat.c: Likewise.
38304         * libio/test-fmemopen.c: Likewise.
38305         * libio/tst-freopen.c: Likewise.
38306         * libio/tst-sscanf.c: Likewise.
38307         * libio/tst-ungetwc1.c: Likewise.
38308         * libio/tst-ungetwc2.c: Likewise.
38309         * libio/tst-widetext.c: Likewise.
38310         * localedata/tst-ctype.c: Likewise.
38311         * localedata/tst-digits.c: Likewise.
38312         * localedata/tst-leaks.c: Likewise.
38313         * localedata/tst-mbswcs1.c: Likewise.
38314         * localedata/tst-mbswcs2.c: Likewise.
38315         * localedata/tst-mbswcs3.c: Likewise.
38316         * localedata/tst-mbswcs4.c: Likewise.
38317         * localedata/tst-mbswcs5.c: Likewise.
38318         * localedata/tst-setlocale.c: Likewise.
38319         * localedata/tst-trans.c: Likewise.
38320         * localedata/tst-wctype.c: Likewise.
38321         * localedata/tst-xlocale1.c: Likewise.
38322         * login/tst-grantpt.c: Likewise.
38323         * malloc/tst-calloc.c: Likewise.
38324         * malloc/tst-malloc.c: Likewise.
38325         * malloc/tst-mallocstate.c: Likewise.
38326         * malloc/tst-mcheck.c: Likewise.
38327         * malloc/tst-mtrace.c: Likewise.
38328         * malloc/tst-obstack.c: Likewise.
38329         * math/atest-exp2.c: Likewise.
38330         * math/atest-exp.c: Likewise.
38331         * math/atest-sincos.c: Likewise.
38332         * math/test-matherr.c: Likewise.
38333         * math/test-misc.c: Likewise.
38334         * math/test-powl.c: Likewise.
38335         * math/tst-definitions.c: Likewise.
38336         * misc/tst-dirname.c: Likewise.
38337         * misc/tst-efgcvt.c: Likewise.
38338         * misc/tst-fdset.c: Likewise.
38339         * misc/tst-hsearch.c: Likewise.
38340         * misc/tst-mntent2.c: Likewise.
38341         * nptl/tst-sem7.c: Likewise.
38342         * nptl/tst-sem8.c: Likewise.
38343         * nptl/tst-sem9.c: Likewise.
38344         * nss/test-netdb.c: Likewise.
38345         * posix/tst-fnmatch.c: Likewise.
38346         * posix/tst-getlogin.c: Likewise.
38347         * posix/tst-gnuglob.c: Likewise.
38348         * posix/tst-mmap.c: Likewise.
38349         * pwd/tst-getpw.c: Likewise.
38350         * resolv/tst-inet_ntop.c: Likewise.
38351         * rt/tst-timer.c: Likewise.
38352         * stdio-common/test-fseek.c: Likewise.
38353         * stdio-common/test-popen.c: Likewise.
38354         * stdio-common/test-vfprintf.c: Likewise.
38355         * stdio-common/tst-cookie.c: Likewise.
38356         * stdio-common/tst-fileno.c: Likewise.
38357         * stdio-common/tst-gets.c: Likewise.
38358         * stdio-common/tst-obprintf.c: Likewise.
38359         * stdio-common/tst-perror.c: Likewise.
38360         * stdio-common/tst-sprintf2.c: Likewise.
38361         * stdio-common/tst-sprintf3.c: Likewise.
38362         * stdio-common/tst-sprintf.c: Likewise.
38363         * stdio-common/tst-swprintf.c: Likewise.
38364         * stdio-common/tst-tmpnam.c: Likewise.
38365         * stdio-common/tst-unbputc.c: Likewise.
38366         * stdio-common/tst-wc-printf.c: Likewise.
38367         * stdlib/tst-environ.c: Likewise.
38368         * stdlib/tst-fmtmsg.c: Likewise.
38369         * stdlib/tst-limits.c: Likewise.
38370         * stdlib/tst-rand48-2.c: Likewise.
38371         * stdlib/tst-rand48.c: Likewise.
38372         * stdlib/tst-random2.c: Likewise.
38373         * stdlib/tst-random.c: Likewise.
38374         * stdlib/tst-strtol.c: Likewise.
38375         * stdlib/tst-strtoll.c: Likewise.
38376         * stdlib/tst-tls-atexit.c: Likewise.
38377         * stdlib/tst-xpg-basename.c: Likewise.
38378         * string/test-ffs.c: Likewise.
38379         * string/tst-bswap.c: Likewise.
38380         * string/tst-inlcall.c: Likewise.
38381         * string/tst-strtok.c: Likewise.
38382         * string/tst-strxfrm.c: Likewise.
38383         * sysdeps/x86_64/tst-audit10.c: Likewise.
38384         * sysdeps/x86_64/tst-audit3.c: Likewise.
38385         * sysdeps/x86_64/tst-audit4.c: Likewise.
38386         * sysdeps/x86_64/tst-audit5.c: Likewise.
38387         * time/tst-ftime_l.c: Likewise.
38388         * time/tst-getdate.c: Likewise.
38389         * time/tst-mktime3.c: Likewise.
38390         * time/tst-mktime.c: Likewise.
38391         * time/tst-posixtz.c: Likewise.
38392         * time/tst-strptime2.c: Likewise.
38393         * time/tst-strptime3.c: Likewise.
38394         * wcsmbs/tst-btowc.c: Likewise.
38395         * wcsmbs/tst-mbrtowc.c: Likewise.
38396         * wcsmbs/tst-mbsrtowcs.c: Likewise.
38397         * wcsmbs/tst-wchar-h.c: Likewise.
38398         * wcsmbs/tst-wcpncpy.c: Likewise.
38399         * wcsmbs/tst-wcrtomb.c: Likewise.
38400         * wcsmbs/tst-wcsnlen.c: Likewise.
38401         * wcsmbs/tst-wcstof.c: Likewise.
38403 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
38405         [BZ #14132]
38406         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
38407         INTDEF.
38408         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
38409         declaration.
38410         (_dl_mcount): Use rtld_hidden_proto.
38411         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
38412         _dl_mcount.
38413         * elf/rtld.c (_rtld_global_ro): Likewise.
38415         [BZ #14132]
38416         * elf/dl-init.c (_dl_init): Don't use INTDEF.
38417         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
38418         of _dl_init_internal.
38419         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
38420         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
38421         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
38422         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
38423         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
38424         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
38425         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
38426         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
38427         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
38428         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
38429         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
38430         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
38431         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38432         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38433         * sysdeps/tile/dl-start.S (_start): Likewise.
38434         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
38435         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
38437         [BZ #14132]
38438         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
38439         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
38440         (rtld_progname): Make macro definition unconditional.
38441         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
38442         INTDEF.
38443         (dlmopen_doit): Do not use INTUSE with _dl_argv.
38444         (dl_main): Likewise.
38445         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38446         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
38447         instead of _dl_argv_internal.
38448         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38449         __GI__dl_argv instead of INTUSE(_dl_argv).
38450         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
38451         __GI__dl_argv instead of _dl_argv_internal.
38453         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
38454         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
38455         macro.
38456         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
38457         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
38458         New macro.
38459         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
38460         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
38461         macro.
38462         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
38463         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
38465 2014-11-04  Andreas Schwab  <schwab@suse.de>
38467         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
38469 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38471         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
38472         mtvsrd instruction in binary form.
38474 2014-11-03  Andreas Schwab  <schwab@suse.de>
38476         [BZ #17522]
38477         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
38478         for less than MB_LEN_MAX use a local buffer of that size.
38479         * libio/tst-fputws.c: New file.
38480         * libio/Makefile (tests): Add tst-fputws.
38482 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
38484         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
38485         the size of the fpu_fr.fpu_dregs[] array.
38487 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
38489         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
38490         (__nanosleep): Do not define as alias.
38491         (nanosleep): Define as alias of __nanosleep.
38492         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
38493         __libc_nanosleep name.
38495 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38497         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
38498         install.texi in comment.
38500 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38502         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
38503         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
38504         ... add here and use lwsync or sync ...
38505         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
38506         ... and add here using lwsync.
38508 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38510         * elf/dl-machine-reject-phdr.h: New file.
38511         * elf/dl-load.c: #include that.
38512         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
38513         if that returned true.
38515 2014-10-31  Roland McGrath  <roland@hack.frob.com>
38517         [BZ #17496]
38518         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
38519         gen-as-const-headers chunk.  Add a big scare comment after the last
38520         safe place to touch before-compile.
38522 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
38524         * manual/install.texi (Tools for Compilation): Update autoconf
38525         version requirements.
38526         * INSTALL: Regenerated.
38528         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
38529         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
38530         (__libc_pselect): Likewise.
38532         [BZ #14138]
38533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
38534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38538 2014-10-31  Torvald Riegel  <triegel@redhat.com>
38540         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
38541         correct barrier instruction.
38542         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
38543         Likewise.
38544         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
38545         Likewise.
38547 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38549         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
38550         after defining inlines.  Instead, just use parens to defeat macro
38551         expansion of __isctype in its declaration.
38553 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38555         * include/sys/uio.h (__libc_readv): Remove declaration.
38556         (__libc_writev): Likewise.
38557         * misc/readv.c (__libc_readv): Rename to __readv.
38558         (__readv): Do not define as alias.
38559         (readv): Define as alias of __readv.
38560         * misc/writev.c (__libc_writev): Rename to __writev.
38561         (__writev): Do not define as alias.
38562         (writev): Define as alias of __writev.
38563         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
38564         (__readv): Do not define as alias.
38565         (readv): Define unconditionally as alias of __readv.
38566         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
38567         (__writev): Do not define as alias.
38568         (writev): Define unconditionally as alias of __writev.
38569         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
38570         name.
38571         (writev): Do not define __libc_writev name.
38573 2014-10-30  Roland McGrath  <roland@hack.frob.com>
38575         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
38576         (convert_charseq): New function, broken out of ...
38577         (use_from_charmap): ... here.  Call it.
38578         (use_to_charmap): Use convert_charseq and free instead of duplicating
38579         its code with a variable-length stack struct.
38581 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
38583         * include/fcntl.h (__libc_creat): Remove declaration.
38584         * io/creat.c (__libc_creat): Rename to creat.
38585         (creat): Do not define as alias.
38586         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
38587         of creat instead of __libc_creat.
38588         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
38589         to creat.
38590         (creat): Do not define as alias.
38591         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
38592         __libc_creat.
38593         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
38594         __libc_creat name.
38595         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
38596         Likewise.
38598 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
38600         * manual/llio.texi: Add comments discussing why write() may be
38601         considered MT-unsafe on Linux.
38603 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
38605         * dl-load.c (local_strdup): Remove.
38606         (expand_dynamic_string_token): Use __strdup.
38607         (decompose_rpath): Likewise.
38608         (_dl_map_object): Likewise.
38610 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
38612         [BZ #14132]
38613         * sysdeps/generic/unwind-dw2-fde.c
38614         (__register_frame_info_bases_internal): Do not declare.
38615         (__register_frame_info_table_bases_internal): Likewise.
38616         (__deregister_frame_info_bases_internal): Likewise.
38617         (__register_frame_info_bases): Declare and use hidden_proto before
38618         definition.  Use hidden_def instead of INTDEF.
38619         (__register_frame_info_table_bases): Likewise.
38620         (__deregister_frame_info_bases): Likewise.
38621         (__register_frame_info): Do not use INTUSE.
38622         (__register_frame): Likewise.
38623         (__register_frame_info_table): Likewise.
38624         (__register_frame_table): Likewise.
38625         (__deregister_frame_info): Likewise.
38626         (__deregister_frame): Likewise.
38628 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
38630         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38631         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
38632         not undefine.
38633         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
38634         Likewise.
38635         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
38636         Likewise.
38638 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
38640         [BZ #14138]
38641         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
38642         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
38643         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
38644         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
38645         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
38646         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
38647         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
38648         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
38649         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
38650         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
38651         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
38652         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
38653         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
38654         syscall.
38655         (setfsuid): Likewise.
38656         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
38657         (setfsuid): Likewise.
38658         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
38659         (setfsuid): Likewise.
38660         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
38661         Likewise.
38662         (setfsuid): Likewise.
38663         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
38664         (setfsuid): Likewise.
38665         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
38666         Likewise.
38667         (setfsuid): Likewise.
38669 2014-10-27  Andreas Schwab  <schwab@suse.de>
38671         [BZ #17501]
38672         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
38673         check for Slow_SSE4_2 feature bit.
38674         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
38675         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
38676         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
38677         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
38679 2014-10-24  Roland McGrath  <roland@hack.frob.com>
38681         * configure.ac: Validate compiler version with a empirical test of
38682         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
38683         $CC -v output.
38684         * configure: Regenerated.
38686         * inet/htons.c (htons): Prototypify.
38687         * inet/htonl.c (htonl): Likewise.
38689 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38691         * string/strncat.c (strncat): Improve performance by using strlen.
38693 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38695         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
38697 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38699         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
38700         Call libc_fetestexcept_aarch64.
38702 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38704         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
38705         Call libc_feholdexcept_aarch64.
38707 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38709         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
38710         Call get_rounding_mode.
38712 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38714         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38715         Simplify logic.
38717 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
38719         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
38720         Simplify logic.
38722 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
38724         [BZ #14138]
38725         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
38726         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
38727         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
38728         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
38729         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
38730         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
38731         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
38732         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
38733         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
38734         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
38735         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
38736         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
38737         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
38738         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
38739         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
38740         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
38741         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
38742         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
38743         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
38744         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
38745         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
38746         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
38747         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
38748         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
38749         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
38750         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
38751         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
38752         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
38753         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
38754         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
38755         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
38756         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
38757         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
38758         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
38759         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
38760         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
38761         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
38762         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
38763         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
38764         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
38765         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
38766         syscall.
38767         (geteuid): Likewise.
38768         (getgid): Likewise.
38769         (getuid): Likewise.
38770         (getresgid): Likewise.
38771         (getresuid): Likewise.
38772         (getgroups): Likewise.
38773         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
38774         (geteuid): Likewise.
38775         (getgid): Likewise.
38776         (getuid): Likewise.
38777         (getresgid): Likewise.
38778         (getresuid): Likewise.
38779         (getgroups): Likewise.
38780         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
38781         (geteuid): Likewise.
38782         (getgid): Likewise.
38783         (getuid): Likewise.
38784         (getresgid): Likewise.
38785         (getresuid): Likewise.
38786         (getgroups): Likewise.
38787         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
38788         Likewise.
38789         (geteuid): Likewise.
38790         (getgid): Likewise.
38791         (getuid): Likewise.
38792         (getresgid): Likewise.
38793         (getresuid): Likewise.
38794         (getgroups): Likewise.
38795         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
38796         (geteuid): Likewise.
38797         (getgid): Likewise.
38798         (getuid): Likewise.
38799         (getresgid): Likewise.
38800         (getresuid): Likewise.
38801         (getgroups): Likewise.
38802         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
38803         Likewise.
38804         (geteuid): Likewise.
38805         (getgid): Likewise.
38806         (getuid): Likewise.
38807         (getgroups): Likewise.
38809         [BZ #14138]
38810         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
38811         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
38812         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
38813         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
38814         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
38815         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
38816         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
38817         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
38818         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
38819         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
38820         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
38821         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
38822         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
38823         __chown.
38824         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
38825         (lchown): Likewise.
38826         (fchown): Likewise.
38827         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
38828         Likewise.
38829         (lchown): Likewise.
38830         (fchown): Likewise.
38831         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
38832         (lchown): Likewise.
38833         (fchown): Likewise.
38834         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
38835         Likewise.
38836         (lchown): Likewise.
38837         (fchown): Likewise.
38839 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38841         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
38842         Simplify logic.
38844 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38846         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38847         Cleanup logic.
38849 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38851         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
38852         Remove unused include.
38854 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
38856         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
38857         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
38858         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
38859         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
38861 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
38862             Helge Deller <deller@gmx.de>
38864         [BZ #17508]
38865         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
38866         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
38867         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
38869 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
38871         [BZ #14132]
38872         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
38873         Remove macro definition.
38874         (__ashrdi3_v_glibc20): Likewise.
38875         (__lshrdi3_v_glibc20): Likewise.
38876         (__cmpdi2_v_glibc20): Likewise.
38877         (__ucmpdi2_v_glibc20): Likewise.
38878         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
38879         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38880         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38881         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38882         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38883         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
38885 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38887         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
38888         old GNU extension [0] syntax.
38889         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
38890         alloca rather than an array member with variable length.
38891         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
38892         * nscd/nscd.c (invalidate_db): New function, broken out of ...
38893         (parse_opt): ... here.  Likewise use alloca there.
38894         Validate the -i argument before checking for rootness.
38895         (send_shutdown): New function, broken out of ...
38896         (parse_opt): ... here.
38898 2014-10-22  Roland McGrath  <roland@hack.frob.com>
38900         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
38901         macro to get at the _rt_local_ro field.
38902         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
38903         ([PIC] case) or _dl_hwcap ([!PIC] case).
38904         * sysdeps/arm/setjmp.S: Likewise.
38906         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
38907         * sysdeps/arm/configure.ac: New check to define it.
38908         * sysdeps/arm/configure: Regenerated.
38909         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
38910         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
38911         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
38912         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
38913         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
38914         Use move/movt pair instead of a load.
38915         (LDST_GLOBAL): Macro removed.
38916         (LDR_GLOBAL): New macro replaces it.
38917         (LDR_HIDDEN): New macro.
38918         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
38919         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
38921         * setjmp/tst-setjmp-static.c: New file.
38922         * setjmp/Makefile (tests): Add it.
38923         (tests-static): New variable.
38925 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
38927         [BZ #17485]
38928         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
38930 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
38932         [BZ #14132]
38933         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
38935 2014-10-21  Roland McGrath  <roland@hack.frob.com>
38937         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
38939 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38941         * io/fts.c (dirent_not_directory): New function.
38942         (fts_build): Call it.
38944 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38946         * nptl/version.c (__nptl_main): Use normal __write rather than
38947         INTERNAL_SYSCALL.
38948         (banner): Update copyright years.
38950         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38951         gettimeofday.
38952         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38953         * nptl/pthread_cond_timedwait.c: Likewise.
38954         * nptl/pthread_mutex_timedlock.c: Likewise.
38955         * nptl/sem_timedwait.c: Likewise.
38957         * sysdeps/nptl/bits/libc-lock.h
38958         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38959         (__libc_lock_init_recursive): Return void, not 0.
38960         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38961         (__libc_rwlock_init): Likewise.
38962         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38964 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38966         [BZ #15215]
38967         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38968         (__pthread_once_slow): ... here.
38969         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38970         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38972 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38974         [BZ #15215]
38975         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38976         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38977         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38978         * nptl/pthread_once.c (__pthread_once): Likewise.
38979         Update comments.
38981 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38983         [BZ #14138]
38984         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38985         name.
38986         (writev): Use __libc_writev as strong name.
38987         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38988         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38990 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38992         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38994         * sysdeps/i386/nptl/tls.h
38995         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38996         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38997         New macros.
38998         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38999         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39000         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39001         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39002         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39003         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39005         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39006         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39007         on [__NR_futex].
39008         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39009         broken out of ...
39010         (__pthread_mutex_init): ... here.  Call it.
39011         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39012         Conditionalize PI cases on [__NR_futex].
39013         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39014         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39015         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39017         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39018         conditional on [SIGSETXID].
39019         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39020         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39021         is defined.  Likewise for SIGSETXID.
39022         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39023         Conditionalize definitions on [SIGSETXID].
39024         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39025         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39026         unblocking on [SIGCANCEL].
39028         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39029         [__NR_set_robust_list].
39031 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39033         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39034         (do_compare): Likewise.
39036 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39038         [BZ #15884]
39039         * string/strcoll_l.c: Don't include stdio.h.
39040         (coll_seq): Remove members idxarr and rulearr.
39041         (get_next_seq_cached): Remove function.
39042         (get_next_seq): Likewise.
39043         (get_next_seq_nocache): Rename to get_next_seq.
39044         (do_compare): Remove function.
39045         (do_compare_nocache): Rename to do_compare.
39046         (STRCOLL): Remove weight and rules cache.
39048 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39050         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39051         * sysdeps/arm/sfp-machine.h: ... to here.
39052         * sysdeps/arm/Implies: Remove arm/soft-fp.
39054 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39056         * conform/data/sys/utsname.h-data (*_t): Allow.
39057         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39058         [POSIX] (WEXITED): Do not expect constant.
39059         [POSIX] (WSTOPPED): Likewise.
39060         [POSIX] (WNOHANG): Likewise.
39061         [POSIX] (WNOWAIT): Likewise.
39062         [POSIX] (siginfo_t): Do not expect type or elements.
39063         [POSIX] (pid_t): Do not expect type.
39064         [POSIX] (signal.h): Do not allow header.
39065         [POSIX] (sys/resource.h): Likewise.
39066         [POSIX] (si_*): Do not allow pattern.
39067         [POSIX] (W*): Likewise.
39068         [POSIX] (P_*): Likewise.
39069         [POSIX] (BUS_*): Likewise.
39070         [POSIX] (CLD_*): Likewise.
39071         [POSIX] (FPE_*): Likewise.
39072         [POSIX] (ILL_*): Likewise.
39073         [POSIX] (POLL_*): Likewise.
39074         [POSIX] (SEGV_*): Likewise.
39075         [POSIX] (SI_*): Likewise.
39076         [POSIX] (TRAP_*): Likewise.
39077         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39078         variable.
39080 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39082         [BZ #12926]
39083         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39084         infinite loop when __recvmsg returns 0.
39086 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39088         * CANCEL-FCT-WAIVE: Remove file.
39089         * CANCEL-FILE-WAIVE: Likewise.
39091         [BZ #14132]
39092         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39093         instead of INTVARDEF.
39094         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39095         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39096         rtld_hidden_data_def instead of INTVARDEF.
39097         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39098         * elf/dl-deps.c (expand_dst): Likewise.
39099         * elf/dl-load.c (_dl_dst_count): Likewise.
39100         (_dl_dst_substitute): Likewise.
39101         (decompose_rpath): Likewise.
39102         (_dl_init_paths): Likewise.
39103         (open_path): Likewise.
39104         (_dl_map_object): Likewise.
39105         * elf/rtld.c (dl_main): Likewise.
39106         (process_dl_audit): Likewise.
39107         (process_envvars): Likewise.
39108         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39109         Remove declaration.
39110         (__libc_enable_secure): Use rtld_hidden_proto.
39112 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39114         * elf/dl-load.c
39115         (add_path): New function broken out of _dl_rtld_di_serinfo.
39116         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39118 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39120         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39121         parentheses around macro arguments.
39122         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39123         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39126         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39133         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39134         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39135         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39136         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39137         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39138         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39139         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39141         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39143         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39144         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39146         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39147         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39148         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39149         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39150         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39151         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39152         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39153         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39154         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39155         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39156         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39157         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39158         Likewise.
39159         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39160         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39161         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39162         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39163         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39164         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39165         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39166         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39167         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39168         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39169         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39170         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39171         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39180         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39181         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39182         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39184         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39185         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39186         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39187         (_FP_FRAC_SRS_1): Likewise.
39188         (_FP_FRAC_CLZ_1): Likewise.
39189         (_FP_MUL_MEAT_1_imm): Likewise.
39190         (_FP_MUL_MEAT_1_wide): Likewise.
39191         (_FP_MUL_MEAT_1_hard): Likewise.
39192         (_FP_SQRT_MEAT_1): Likewise.
39193         (_FP_FRAC_ASSEMBLE_1): Likewise.
39194         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39195         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39196         (__FP_CLZ_2): Likewise.
39197         (_FP_MUL_MEAT_2_wide): Likewise.
39198         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39199         (_FP_MUL_MEAT_2_gmp): Likewise.
39200         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39201         (_FP_SQRT_MEAT_2): Likewise.
39202         (_FP_FRAC_ASSEMBLE_2): Likewise.
39203         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39204         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39205         (_FP_FRAC_CLZ_4): Likewise.
39206         (_FP_MUL_MEAT_4_wide): Likewise.
39207         (_FP_MUL_MEAT_4_gmp): Likewise.
39208         (_FP_SQRT_MEAT_4): Likewise.
39209         (_FP_FRAC_ASSEMBLE_4): Likewise.
39210         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39211         * soft-fp/op-common.h (_FP_CMP): Likewise.
39212         (_FP_CMP_EQ): Likewise.
39213         (_FP_CMP_UNORD): Likewise.
39214         (_FP_TO_INT): Likewise.
39215         (_FP_FROM_INT): Likewise.
39216         [!__FP_CLZ] (__FP_CLZ): Likewise.
39217         (_FP_DIV_HELP_imm): Likewise.
39218         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39219         Likewise.
39220         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39221         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
39223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
39224         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
39225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
39228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
39229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
39230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
39231         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
39232         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
39233         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
39234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
39235         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
39236         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
39237         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
39238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
39239         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
39240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
39241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
39242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
39243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
39244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
39245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
39246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
39247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
39248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
39249         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
39250         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
39251         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
39252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
39253         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
39254         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
39255         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
39256         (FP_UNPACK_RAW_SP): Likewise.
39257         (FP_PACK_RAW_S): Likewise.
39258         (FP_PACK_RAW_SP): Likewise.
39259         (FP_UNPACK_S): Likewise.
39260         (FP_UNPACK_SP): Likewise.
39261         (FP_UNPACK_SEMIRAW_S): Likewise.
39262         (FP_UNPACK_SEMIRAW_SP): Likewise.
39263         (FP_PACK_S): Likewise.
39264         (FP_PACK_SP): Likewise.
39265         (FP_PACK_SEMIRAW_S): Likewise.
39266         (FP_PACK_SEMIRAW_SP): Likewise.
39267         (_FP_SQRT_MEAT_S): Likewise.
39268         (FP_CMP_S): Likewise.
39269         (FP_CMP_EQ_S): Likewise.
39270         (FP_CMP_UNORD_S): Likewise.
39271         (FP_TO_INT_S): Likewise.
39272         (FP_FROM_INT_S): Likewise.
39274         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
39276         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
39277         (FP_EX_INVALID_IMZ): Likewise.
39278         (FP_EX_INVALID_IMZ_FMA): Likewise.
39279         (FP_EX_INVALID_ISI): Likewise.
39280         (FP_EX_INVALID_ZDZ): Likewise.
39281         (FP_EX_INVALID_IDI): Likewise.
39282         (FP_EX_INVALID_SQRT): Likewise.
39283         (FP_EX_INVALID_CVI): Likewise.
39284         (FP_EX_INVALID_VC): Likewise.
39285         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
39286         "invalid" exceptions.
39287         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
39288         (_FP_ADD_INTERNAL): Likewise.
39289         (_FP_MUL): Likewise.
39290         (_FP_FMA): Likewise.
39291         (_FP_DIV): Likewise.
39292         (_FP_CMP_CHECK_NAN): Likewise.
39293         (_FP_SQRT): Likewise.
39294         (_FP_TO_INT): Likewise.
39295         (FP_EXTEND): Likewise.
39297 2014-10-09  Allan McRae  <allan@archlinux.org>
39299         * po/fr.po: Update French translation from translation project.
39301 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39303         [BZ #14132]
39304         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
39305         of INTDEF.
39306         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
39307         (__cxa_atexit): Use libc_hidden_proto.
39308         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
39310         [BZ #14132]
39311         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
39312         declaration.
39313         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
39314         [!_ISOMAC] (__iswspace_l_internal): Likewise.
39315         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
39316         [!_ISOMAC] (__iswctype_internal): Likewise.
39317         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
39318         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
39319         alias.
39320         (fcntl): Remove __fcntl_internal alias.
39321         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
39322         __connect_internal alias.
39323         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
39324         Likewise.
39326         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
39327         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
39328         FP_DENORM_ZERO.
39329         (_FP_CHECK_FLUSH_ZERO): New macro.
39330         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
39331         (_FP_CMP): Likewise.
39332         (_FP_CMP_EQ): Likewise.
39333         (_FP_TO_INT): Do not set inexact for subnormal arguments if
39334         FP_DENORM_ZERO.
39335         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
39336         (FP_TRUNC): Likewise.
39338         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
39339         treated as invalid conversion, not as normal exponent.
39341         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
39342         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
39343         (_FP_CMP_EQ): Likewise.
39344         (_FP_CMP_UNORD): Likewise.
39345         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
39346         (FP_CMP_EQ_D): Likewise.
39347         (FP_CMP_UNORD_D): Likewise.
39348         * soft-fp/extended.h (FP_CMP_E): Likewise.
39349         (FP_CMP_EQ_E): Likewise.
39350         (FP_CMP_UNORD_E): Likewise.
39351         * soft-fp/quad.h (FP_CMP_Q): Likewise.
39352         (FP_CMP_EQ_Q): Likewise.
39353         (FP_CMP_UNORD_Q): Likewise.
39354         * soft-fp/single.h (FP_CMP_S): Likewise.
39355         (FP_CMP_EQ_S): Likewise.
39356         (FP_CMP_UNORD_S): Likewise.
39357         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
39358         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
39359         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
39360         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
39361         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
39362         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
39363         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
39364         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
39365         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
39366         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
39367         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
39368         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
39369         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
39370         to FP_CMP_Q.
39371         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
39372         FP_CMP_Q.
39373         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
39374         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
39375         FP_CMP_EQ_Q.
39376         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
39377         FP_CMP_Q.
39378         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
39379         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
39380         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
39381         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
39382         FP_CMP_EQ_Q.
39383         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
39384         FP_CMP_Q.
39385         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
39386         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
39387         FP_CMP_EQ_Q.
39388         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
39389         FP_CMP_Q.
39390         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
39391         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
39392         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
39393         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
39394         FP_CMP_EQ_Q.
39396         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
39397         a subnormal result, set the underflow exception if trapping on
39398         underflow is enabled.
39399         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
39400         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
39401         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
39402         redefine to 0.
39403         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
39404         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39405         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
39406         * soft-fp/extendxftf2.c (__extendxftf2): Use
39407         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
39409         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
39410         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
39411         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39412         FP_HANDLE_EXCEPTIONS.
39413         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
39414         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39415         FP_HANDLE_EXCEPTIONS.
39416         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
39417         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39418         FP_HANDLE_EXCEPTIONS.
39419         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
39420         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
39421         FP_HANDLE_EXCEPTIONS.
39423 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
39425         [BZ #14132]
39426         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
39427         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
39428         use INTUSE.
39429         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
39430         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
39431         Remove alias.
39432         (__adjtimex): Define using libc_hidden_ver.
39433         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
39434         Remove declaration.
39435         (ntp_gettime): Call __adjtimex directly.
39436         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
39437         Remove declaration.
39438         (ntp_gettimex): Call __adjtimex directly.
39439         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
39440         __adjtimex_internal alias.
39442 2014-10-08  Roland McGrath  <roland@hack.frob.com>
39444         [BZ #17460]
39445         * nscd/nscd.c (more_help): Rewrite list of tables collection
39446         using xstrdup and asprintf.
39448         * nscd/nscd_conf.c: Remove local xstrdup declaration.
39450 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39451             Roland McGrath  <roland@hack.frob.com>
39453         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
39454         (do_lookup_unique): ... local function 'enter' here; update callers.
39456 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
39458         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
39459         compat_symbol calls on [SHARED].
39460         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
39461         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
39462         Remove.
39463         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39464         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
39465         (oldsetrlimit): Remove.
39466         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39468         (lchown): New syscall entry.
39469         (oldsetrlimit): Remove.
39470         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39471         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
39472         (oldsetrlimit): Remove.
39473         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
39475         [BZ #14138]
39476         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
39477         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
39478         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
39479         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
39480         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
39481         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
39482         (fchown): Likewise.
39483         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
39484         (fchown): Likewise.
39485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
39486         Likewise.
39488 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39490         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
39491         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
39492         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
39493         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
39494         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
39495         Likewise.
39496         (__old_sem_post): Likewise.
39498 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
39500         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
39501         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
39502         HAVE_CLOCK_GETTIME_VSYSCALL macros.
39503         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
39504         Use INLINE_VSYSCALL macro.
39505         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
39506         __vdso_clock_gettime.
39507         * sysdeps/unix/sysv/linux/tile/init-first.c
39508         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
39509         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
39510         __vdso_clock_gettime.
39512         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
39513         to set up frame more cleanly.
39515         * sysdeps/tile/memcmp.c: New file.
39517         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
39519         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
39520         * sysdeps/tile/tilegx/strcasestr.c: New file.
39521         * sysdeps/tile/tilegx/strnlen.c: New file.
39522         * sysdeps/tile/tilegx/strstr.c: New file.
39524         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
39526 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
39528         * nptl/tst-setuid3.c: Write errors to stdout.
39530 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39532         * elf/dl-deps.c
39533         (preload): New functions broken out of _dl_map_object_deps.
39534         (_dl_map_object_deps):  Remove a nested function. Update call sites.
39536 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
39538         [BZ #14138]
39539         * sysdeps/unix/sysv/linux/execve.c: Remove file.
39540         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
39542 2014-10-01  Steve Ellcey  <sellcey@mips.com>
39544         * sysdeps/mips/strcmp.S: New.
39546 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
39548         [BZ #14138]
39549         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
39550         (linkat): Likewise.
39551         (mkdirat): Likewise.
39552         (readlinkat): Likewise.
39553         (renameat): Likewise.
39554         (symlinkat): Likewise.
39555         (unlinkat): Likewise.
39556         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
39557         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
39558         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
39559         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
39560         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
39561         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
39562         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
39564 2014-09-30  Will Newton  <will.newton@linaro.org>
39566         * math/math.h: Define long double math functions if
39567         _LIBC_TEST is defined.
39568         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
39570         * localedata/Makefile: Move assignment to tests-special
39571         into an ifdef testing run-built-tests.
39572         * timezone/Makefile: Likewise.
39574 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
39576         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
39577         with $(BASH) not $(SHELL).
39579 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
39580             Matthew LeGendre  <legendre1@llnl.gov>
39582         [BZ #17411]
39583         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
39584         l_reloc_result.
39586 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39588         * stdio-common/printf_fp.c
39589         (hack_digit): New function, broken out of ...
39590         (__printf_fp): ... local function here.  Update call sites.
39591         hack_digit now takes an additional parameter that is a pointer
39592         to a struct of the referenced locals.  Those locals moved inside
39593         the struct and references updated.
39595 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
39597         * aclocal.m4: Require autoconf 2.69.
39598         * configure: Regenerated.
39599         * sysdeps/aarch64/configure: Likewise.
39600         * sysdeps/alpha/configure: Likewise.
39601         * sysdeps/arm/armv7/configure: Likewise.
39602         * sysdeps/arm/configure: Likewise.
39603         * sysdeps/ia64/configure: Likewise.
39604         * sysdeps/mach/configure: Likewise.
39605         * sysdeps/mips/configure: Likewise.
39606         * sysdeps/s390/configure: Likewise.
39607         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
39608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
39610         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
39611         file.
39612         * sysdeps/ia64/configure.ac: Likewise.
39614 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
39616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
39617         specify symbol version for ld.so.  Do not include entry for
39618         libpthread.
39619         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39620         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39621         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39623         [BZ #14171]
39624         * Makeconfig [$(build-shared) = yes]
39625         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
39626         makefiles.
39627         [$(build-shared) = yes && $(soversions.mk-done) = t]
39628         ($(common-objpfx)gnu/lib-names.h): Remove rule.
39629         [$(build-shared) = yes && $(soversions.mk-done) = t]
39630         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
39631         to Makerules.
39632         [$(build-shared) = yes && $(soversions.mk-done) = t]
39633         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
39634         here.
39635         [$(build-shared) = yes && $(soversions.mk-done) = t]
39636         (common-generated): Don't append gnu/lib-names.h and
39637         gnu/lib-names.stmp here.
39638         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
39639         (lib-names-h-abi): New variable.
39640         [$(build-shared) = yes && $(soversions.mk-done) = t]
39641         (lib-names-stmp-abi): Likewise.
39642         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39643         abi-variants] (before-compile): Append
39644         $(common-objpfx)$(lib-names-h-abi).
39645         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39646         abi-variants] (common-generated): Append gnu/lib-names.h.
39647         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39648         abi-variants] (install-others-nosubdir): Depend on
39649         $(inst_includedir)/$(lib-names-h-abi).
39650         [$(build-shared) = yes && $(soversions.mk-done) = t &&
39651         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
39652         [$(build-shared) = yes && $(soversions.mk-done) = t]
39653         ($(common-objpfx)$(lib-names-h-abi)): New rule.
39654         [$(build-shared) = yes && $(soversions.mk-done) = t]
39655         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
39656         [$(build-shared) = yes && $(soversions.mk-done) = t]
39657         (common-generated): Append $(lib-names-h-abi) and
39658         $(lib-names-stmp-abi).
39659         * scripts/lib-names.awk: Do not handle multi being set.
39660         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
39661         Remove variable.
39662         (abi-lp64_be-ld-soname): Likewise.
39663         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
39664         Likewise.
39665         (abi-hard-ld-soname): Likewise.
39666         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
39667         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
39668         Remove variable.
39669         (abi-o32_hard-ld-soname): Likewise.
39670         (abi-o32_soft_2008-ld-soname): Likewise.
39671         (abi-o32_hard_2008-ld-soname): Likewise.
39672         (abi-n32_soft-ld-soname): Likewise.
39673         (abi-n32_hard-ld-soname): Likewise.
39674         (abi-n32_soft_2008-ld-soname): Likewise.
39675         (abi-n32_hard_2008-ld-soname): Likewise.
39676         (abi-n64_soft-ld-soname): Likewise.
39677         (abi-n64_hard-ld-soname): Likewise.
39678         (abi-n64_soft_2008-ld-soname): Likewise.
39679         (abi-n64_hard_2008-ld-soname): Likewise.
39680         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
39681         Likewise.
39682         (abi-64-v2-ld-soname): Likewise.
39683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
39684         ld.so entries.
39685         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
39686         variable.
39687         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
39688         entry.
39689         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
39690         variable.
39691         (abi-64-ld-soname): Likewise.
39692         (abi-x32-ld-soname): Likewise.
39693         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
39694         entry.
39695         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39697 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
39699         [BZ #14138]
39700         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
39701         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
39702         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
39703         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
39704         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
39705         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
39706         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
39707         syscall entry for GLIBC_2.2 symbol version.
39708         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
39709         Likewise.
39710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
39711         (setrlimit): Likewise.
39712         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
39713         Likewise.
39715 2014-09-23  Will Newton  <will.newton@linaro.org>
39717         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
39718         _LINUX_ARM_SYSDEP_H include guard too.
39719         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
39720         define.
39722 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
39724         * sysdeps/unix/sysv/linux/eventfd.c:
39725         Make first argument unsigned.
39726         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
39727         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
39729 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
39731         [BZ #16852]
39732         * socket/recvmmsg.c (recvmmsg): Drop const argument.
39733         * socket/sys/socket.h: Likewise.
39734         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
39736 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39738         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
39740 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
39742         * time/tst-ftime.c: New test.
39743         * time/Makefile (tests): Add tst-ftime.
39745 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
39747         * soft-fp/extended.h: Fix comment formatting.
39748         * soft-fp/op-1.h: Likewise.
39749         * soft-fp/op-2.h: Likewise.
39750         * soft-fp/op-4.h: Likewise.
39751         * soft-fp/op-8.h: Likewise.
39752         * soft-fp/op-common.h: Likewise.
39753         * soft-fp/soft-fp.h: Likewise.
39755         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
39757 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
39759         [BZ #6652]
39760         * Makeconfig (soversions-default-setname): Remove variable.
39761         ($(common-objpfx)soversions.i): Don't pass default_setname to
39762         soversions.awk.
39763         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
39764         oldest_abi to abi-versions.awk.
39765         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
39766         * config.make.in (oldest-abi): Remove variable.
39767         * configure.ac (--enable-oldest-abi): Remove configure option.
39768         * configure: Regenerated.
39769         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
39770         text.
39771         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
39772         * scripts/soversions.awk: Do not handle default_setname variable.
39773         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
39774         variable.
39775         * sysdeps/mach/hurd/configure: Regenerated.
39776         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
39777         variable.
39778         * sysdeps/unix/sysv/linux/configure: Regenerated.
39780 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39782         * elf/Makefile (CFLAGS-interp.c): Remove.
39783         ($(elf-objpfx)runtime-linker.h): Generate header with linker
39784         path string.
39785         * elf/interp.c: Include generated runtime-linker.h
39787         * Makerules (lib%.so): Don't include $(+interp) in
39788         prerequisites.
39789         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
39790         * dlfcn/eval.c: Remove file.
39792         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
39793         macros.
39795         [BZ #17266]
39796         * misc/sys/cdefs.h: Define __extern_always_inline for clang
39797         4.2 and newer.
39799         [BZ #17370]
39800         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
39802 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39803             Jakub Jelinek  <jakub@redhat.com>
39805         [BZ #17266]
39806         * libio/stdio.h: Check definition of __fortify_function
39807         instead of __extern_always_inline to include bits/stdio2.h.
39808         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
39809         check if __extern_always_inline is defined.
39810         [__USE_MISC || __USE_XOPEN]: Likewise.
39811         [__USE_ISOC99] Likewise.
39812         * misc/sys/cdefs.h (__fortify_function): Define only if
39813         __extern_always_inline is defined.
39814         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
39815         __extern_always_inline and __extern_inline only for g++-4.3
39816         and newer or a compatible gcc.
39818 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
39820         [BZ #17371]
39821         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39822         last change to handle zero prefix length.
39824 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39826         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
39827         _SC_REGEX_VERSION.
39829         * posix/getconf.c (vars): Add _POSIX_IPV6 and
39830         _POSIX_RAW_SOCKETS.
39832 2014-09-13  Allan McRae  <allan@archlinux.org>
39834         * po/ru.po: Update Russian translation from translation project.
39836 2014-09-12  Roland McGrath  <roland@hack.frob.com>
39838         * locale/programs/locale.c (show_locale_vars): Inline local function
39839         into its sole call site.  Clean up some style nits.
39840         (print_item): New function, broken out of ...
39841         (show_info): ... local function here.  Clean up style nits.
39843         * locale/programs/ld-ctype.c (set_one_default): New function, broken
39844         out of ...
39845         (set_class_defaults): ... local function set_default here.
39846         Define set_default as a macro locally to pass constant parameters.
39847         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
39848         rather than a shared local.
39850         * stdlib/rpmatch.c (try): New function, broken out of ...
39851         (rpmatch): ... local function here.  Also, prototypify definition.
39853 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
39855         * scripts/soversions.awk: Do not handle configuration names.
39856         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
39857         vendor and os variables to soversions.awk.
39858         * configure.ac: Do not modify gnu-* host_os.
39859         * configure: Regenerated
39860         * shlib-versions: Remove first column with configuration names.
39861         * nptl/shlib-versions: Likewise.
39862         * nptl_db/shlib-versions: Likewise.
39863         * sysdeps/hppa/shlib-versions: Likewise.
39864         * sysdeps/m68k/shlib-versions: Likewise.
39865         * sysdeps/mach/hurd/shlib-versions: Likewise.
39866         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
39867         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
39868         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
39869         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
39870         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
39871         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
39872         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
39873         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
39874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39875         Likewise.
39876         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39877         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39878         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39879         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39880         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39881         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
39882         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
39883         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
39885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
39886         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
39887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39888         Regenerated.
39889         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
39890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
39891         Condition symbol version definitions on [HAVE_ELFV2_ABI].
39893         * shlib-versions: Remove OS-specific entries.  Moved to files in
39894         sysdeps.
39895         * sysdeps/mach/hurd/shlib-versions: New file.
39896         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
39898         * nptl/shlib-versions: Remove architecture-specific entries.
39899         Moved to files in sysdeps.
39900         * shlib-versions: Likewise.
39901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
39902         file.
39903         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
39904         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
39905         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
39906         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
39908         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
39909         (UDP_NO_CHECK6_RX): Likewise.
39911 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39913         * sysdeps/posix/sysconf.c (__sysconf): Spell
39914         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
39916 2014-08-12  Florian Weimer  <fweimer@redhat.com>
39918         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
39919         loading.
39920         * iconv/Versions (__gconv_transliterate): Export for use from
39921         gconv modules.
39922         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
39923         (struct __gconv_trans_data, __gconv_trans_fct,
39924         __gconv_trans_context_fct, __gconv_trans_query_fct,
39925         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
39926         definitions.
39927         (struct __gconv_step_data): Remove __trans member.
39928         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
39929         longer hidden.  Remove unused trans_data argument.
39930         * iconv/gconv_int.h (struct trans_struct): Remove definition.
39931         (__gconv_translit_find): Remove declaration.
39932         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
39933         prototype.
39934         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
39935         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
39936         trans_data argument.  Add hidden definition.
39937         (__gconv_translit_find): Remove.
39938         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
39939         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
39940         * iconv/skeleton.c: Remove transliteration initialization.
39941         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
39942         __gconv_step_data initialization.
39943         * libio/iofwide.c (__libio_translit_): Remove.
39944         (_IO_fwide): Adjust struct __gconv_step_data initialization.
39945         * wcsmbs/btowc.c (__btowc): Likewise.
39946         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39947         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39948         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39949         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39950         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39951         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39952         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39953         * wcsmbs/wctob.c (wctob): Likewise.
39955 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39957         [BZ #16194]
39958         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39959         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39960         register usage.
39961         * sysdeps/x86/Makefile: Adjust.
39963 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39964             Roland McGrath  <roland@hack.frob.com>
39966         * locale/weight.h: Add include guard.
39967         (findidx): Make static rather than auto; take new parameters
39968         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39969         * locale/weightwc.h: Likewise.
39970         * posix/fnmatch_loop.c
39971         (FCT): Change type of EXTRA from int32_t to wint_t.
39972         Don't include either header inside the function.
39973         Call FINDIDX rather than findidx, and pass new arguments.
39974         #undef FINDIDX at the end of the file.
39975         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39976         FINDIDX before including fnmatch_loop.c for the non-wide version.
39977         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39978         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39979         for the wide version.
39980         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39981         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39982         Pass new arguments to findidx.
39983         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39984         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39985         Don't #include it inside the function.  Pass new arguments to findidx.
39986         * posix/regex_internal.h
39987         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39988         (re_string_elem_size_at): Don't #include it inside the function.
39989         Pass new arguments to findidx.
39990         * string/strcoll_l.c: #include WEIGHT_H at top level.
39991         (get_next_seq): Don't #include it inside the function.
39992         Pass new arguments to findidx.
39993         (get_next_seq_nocache): Likewise.
39994         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39995         (STRXFRM): Don't #include it inside the function.
39996         Pass new arguments to findidx.
39998 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40000         [BZ #17344]
40001         * malloc/malloc.c (unlink): Turn asserts into a call to
40002         malloc_printerr.
40004 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40006         [BZ #17370]
40007         * libio/wfileops (do_ftell_wide): Free OUT.
40009 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40011         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40013 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40015         [BZ #17363]
40016         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40017         group if the current group is empty.
40019 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40021         * benchtests/bench-memset.c (test_main): Add more test from size
40022         from 32 to 512 bytes.
40023         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40024         Add POWER8 memset object.
40025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40026         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40027         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40028         implementation.
40029         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40030         Likewise.
40031         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40032         multiarch POWER8 memset optimization.
40033         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40034         POWER8 memset optimization.
40036         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40037         Remove bzero multiarch objects.
40038         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40039         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40040         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40041         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40042         Remove define.
40043         [__bzero]: Redefine to specific name.
40044         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40045         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40046         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40047         define.
40048         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40049         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40051 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40053         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40054         warnings into errors.
40056         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40057         __cxa_thread_atexit_impl prototype.
40059 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40061         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40062         Fix capitalization of error message.
40064 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40066         * sysdeps/mips/preconfigure: Modify ABI tests.
40068 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40070         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40072 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40073             Carlos O'Donell  <carlos@systemhalted.org>
40075         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40076         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40077         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40078         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40079         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40080         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40081         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40082         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40083         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40084         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40085         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40086         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40087         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40088         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40089         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40090         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40091         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40092         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40093         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40094         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40095         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40096         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40097         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40098         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40099         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40100         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40101         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40102         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40103         Deconditionalize the code that was previously under [RESET_PID].
40104         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40105         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40106         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40107         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40108         include sysdep.h.
40110 2014-09-08  Allan McRae  <allan@archlinux.org>
40112         * version.h (RELEASE): Set to "development".
40113         (VERSION): Set to "2.20.90"
40115 2014-09-07  Allan McRae  <allan@archlinux.org
40117         * version.h (RELEASE): Set to "stable".
40118         (VERSION): Set to "2.20"
40119         * include/features.h (__GLIBC_MINOR__): Set to 20.
40121         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40122         Liebler.
40124         * po/ko.po: Update Korean translation from translation project.
40126 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40128         [BZ #17354]
40129         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40130         macro for handling signed relocations.
40132 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40134         [BZ #17325]
40135         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40136         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40137         assert.
40138         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40139         * iconvdata/ibm935.c (BODY): Likewise.
40140         * iconvdata/ibm937.c (BODY): Likewise.
40141         * iconvdata/ibm939.c (BODY): Likewise.
40142         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40143         assert.
40144         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40145         script.
40146         * iconvdata/run-iconv-test.sh: New test loop for checking for
40147         decoder crashers.
40149 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40151         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40152         libm_hidden_ver.
40154 2014-09-01  Allan McRae  <allan@archlinux.org>
40156         * po/eo.po: Update Esperanto translation from translation project.
40158         * po/ca.po: Update Catalan translation from translation project.
40160 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40162         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40163         __proc_dostop call.
40165 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40167         [BZ #17319]
40168         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40169         to call set_thread_area instead of hand written asm.
40170         (__NR_set_thread_area): Removed define.
40171         (TLS_FLAG_WRITABLE): Likewise.
40172         (__ASSUME_SET_THREAD_AREA): Remove check.
40173         (TLS_EBX_ARG): Remove define.
40174         (TLS_LOAD_EBX): Likewise.
40176 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40178         Simplify atomicity of socket creation in bind.
40180         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40181         looking up the name after linking the file.
40183 2014-08-27  Allan McRae  <allan@archlinux.org>
40185         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40187 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40189         [BZ #17187]
40190         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40191         trans_compare, open_translit, __gconv_translit_find):
40192         Remove module loading code.
40194 2014-08-26  Allan McRae  <allan@archlinux.org>
40196         * po/vi.po: Update Vietnamese translation from translation project.
40198         * po/uk.po: Update Ukrainian translation from translation project.
40200         * po/fr.po: Update French translation from translation project.
40202         * po/ru.po: Update Russian translation from translation project.
40204         * po/pl.po: Update Polish translation from translation project.
40206         * po/cs.po: Update Czech translation from translation project.
40208         * po/de.po: Update German translation from translation project.
40210         * po/bg.po: Update Bulgarian translation from translation project.
40212         * po/sv.po: Update Sweedish translation from translation project.
40214         * po/nl.po: Update Dutch translation from translation project.
40216         * po/es.po: Update Spanish translation from translation project.
40218 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40220         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40222         * catgets/Makefile (CPPFLAGS-gencat): Remove.
40223         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
40224         (CPPFLAGS-iconvconfig): Likewise.
40225         * timezone/Makefile (CPPFLAGS-zic): Likewise.
40227         * include/libc-symbols.h: Remove unnecessary check for
40228         NOT_IN_libc.
40229         * nptl/pthreadP.h: Likewise.
40230         * sysdeps/aarch64/setjmp.S: Likewise.
40231         * sysdeps/alpha/setjmp.S: Likewise.
40232         * sysdeps/arm/sysdep.h: Likewise.
40233         * sysdeps/i386/setjmp.S: Likewise.
40234         * sysdeps/m68k/setjmp.c: Likewise.
40235         * sysdeps/posix/getcwd.c: Likewise.
40236         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40237         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40238         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40239         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40240         * sysdeps/sh/sh3/setjmp.S: Likewise.
40241         * sysdeps/sh/sh4/setjmp.S: Likewise.
40242         * sysdeps/unix/alpha/sysdep.h: Likewise.
40243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40244         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40245         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40246         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40250         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40251         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40252         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40253         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40254         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40255         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40256         * sysdeps/x86_64/setjmp.S: Likewise.
40258 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
40260         [BZ #17263]
40261         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
40262         <stdint.h>.
40263         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
40264         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
40266 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40268         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
40270         [BZ #17262]
40271         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
40272         and __x86_64__ when disabling x87 inline functions.
40274 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
40276         [BZ #17259]
40277         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
40278         asm statement with __cpuid_count.
40280 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
40282         * configure.ac: Change __ehdr_start code to dereference the struct.
40283         Run readelf on the output to look for relocations.
40284         * configure: Regenerated.
40286 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
40288         [BZ #17261]
40289         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
40290         value to 0.
40291         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
40293 2014-08-12  Roland McGrath  <roland@hack.frob.com>
40295         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
40297 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
40299         [BZ #16892]
40300         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
40301         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
40303 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40305         * malloc/malloc.c: Fix typo in comment.
40307 2014-08-09  Allan McRae  <allan@archlinux.org>
40309         * Regenerate libc.po.
40311 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
40313         * intl/tst-gettext2.sh: Check every lang file for creation.
40315 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40317         * sysdeps/aarch64/fpu/math_private.h
40318         (libc_feholdsetround_noex_aarch64_ctx): New function.
40320 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
40322         * sysdeps/arm/armv6/strcpy.S (strcpy):
40323         Fix performance issue in misaligned cases.
40325 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40327         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
40328         Move definition from termios.h.
40329         (struct termio): Likewise.
40330         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40331         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40332         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40333         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40334         Likewise.
40335         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
40336         Move definition to ioctl-types.h
40337         (struct termio): Likewise.
40338         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40339         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
40340         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
40341         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
40342         Likewise.
40344 2014-08-05  Richard Henderson  <rth@redhat.com>
40346         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
40347         exceptions.
40348         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
40349         Add fraiseexcpt.
40350         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
40351         Use __feraiseexcept.
40352         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
40353         Protect libm symbols with IS_IN_libm.
40355         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
40357 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
40359         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
40361 2014-08-04  Will Newton  <will.newton@linaro.org>
40363         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
40364         file.
40366 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
40368         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
40369         variants for each function.
40371 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40373         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
40374         appended ...
40375         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
40376         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
40377         appended ...
40378         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
40379         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
40380         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
40381         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
40382         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
40383         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
40384         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
40385         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
40386         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
40387         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
40388         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
40389         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
40390         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
40391         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
40392         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
40393         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
40394         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
40395         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
40396         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
40397         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
40398         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
40399         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
40400         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
40401         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
40402         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
40403         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
40404         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
40405         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
40406         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
40407         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
40408         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
40409         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
40410         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
40411         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
40412         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
40413         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
40414         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
40415         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
40416         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
40417         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
40418         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
40419         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
40420         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
40421         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
40422         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
40423         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
40424         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
40425         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
40426         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
40427         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
40428         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
40429         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
40430         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
40431         Update #include.
40432         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
40433         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
40435 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40437         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
40438         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
40439         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
40440         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
40441         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
40442         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
40444 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40446         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
40447         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
40448         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40449         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
40451 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40453         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
40454         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
40455         (__libc_vfork): Define function under this name.
40456         (__vfork): Define as an alias.
40457         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
40458         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
40460 2014-08-04  Roland McGrath  <roland@hack.frob.com>
40462         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
40463         that was previously under [RESET_PID].
40464         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
40466 2014-08-04  Andreas Schwab  <schwab@suse.de>
40468         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
40470 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
40472         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
40473         (main): Likewise.
40475 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40477         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
40479 2014-08-01  Richard Henderon  <rth@redhat.com>
40481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
40482         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
40483         typo in exact zero test.
40484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40485         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40486         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40488 2014-08-01  Roland McGrath  <roland@hack.frob.com>
40490         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
40491         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
40492         * sysdeps/arm/sysdep.h: ... here.
40493         [!__ASSEMBLER__]: Include <stdint.h>.
40495 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40497         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
40498         (HAVE_WCTYPE_H): Likewise.
40499         (HAVE_ISWCTYPE): Likewise.
40500         (ENABLE_NLS): Likewise.
40501         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
40502         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
40504         * posix/regex_internal.c: Check if DEBUG is defined and is
40505         set.
40507         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
40508         (HAVE_MBSRTOWCS): Likewise.
40509         * posix/fnmatch.c: Include string.h unconditionally.
40511 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40513         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
40514         reversal.
40516 2014-07-31  Roland McGrath  <roland@hack.frob.com>
40518         * sysdeps/generic/safe-fatal.h: New file.
40519         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
40520         * nptl/forward.c: Include it.
40521         (__pthread_unwind): Use __safe_fatal as default action, rather
40522         than a bogus use of INTERNAL_SYSCALL that could never work.
40524         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
40525         * configure.ac (libc_cv_builtin_trap): New test.
40526         * configure: Regenerated.
40527         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
40528         (ABORT_INSTRUCTION): Define using __builtin_trap.
40530         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
40531         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
40532         * sysdeps/nptl/nptl-signals.h: New file.
40533         * nptl/pthreadP.h: Include <nptl-signals.h>.
40535 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40537         * sysdeps/s390/s390-64/utf16-utf32-z9.c
40538         (ONE_DIRECTION): Define.
40539         * sysdeps/s390/s390-64/utf8-utf16-z9.c
40540         (ONE_DIRECTION): Define.
40541         * sysdeps/s390/s390-64/utf8-utf32-z9.c
40542         (ONE_DIRECTION): Define.
40544 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
40546         * sysdeps/s390/Makefile: Delete file.
40547         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
40548         * sysdeps/s390/__longjmp.c: Delete file.
40549         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
40550         Remove fields __flags and __reserved.
40551         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
40552         and add versioning.
40553         * sysdeps/s390/rtld-__longjmp.c: Delete file.
40554         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
40555         * sysdeps/s390/rtld-setjmp.S: Likewise.
40556         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
40557         * sysdeps/s390/s390-32/__longjmp.c: ... here.
40558         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
40559         * sysdeps/s390/s390-32/setjmp.S: ... here.
40560         Add versioning.
40561         (__sigsetjmp): Remove setting __flags field.
40562         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
40563         * sysdeps/s390/s390-64/__longjmp.c: ... here.
40564         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
40565         * sysdeps/s390/s390-64/setjmp.S: ... here.
40566         Add versioning.
40567         (__sigsetjmp): Remove setting __flags field.
40568         * sysdeps/s390/setjmp.S: Delete file.
40569         * sysdeps/s390/sigjmp.c: Likewise.
40570         * sysdeps/s390/v1-longjmp.c: Likewise.
40571         * sysdeps/s390/v1-setjmp.h: Likewise.
40572         * sysdeps/s390/v1-sigjmp.c: Likewise.
40573         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
40574         Remove v1-longjmp_chk.
40575         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
40576         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
40577         Include debug/longjmp_chk.c and add versioning.
40578         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
40579         Include nptl/pt-longjmp.c and add versioning.
40580         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
40581         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
40582         Include __longjmp.c.
40583         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40584         Move to ...
40585         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
40586         (__getcontext): Remove setting __flags field.
40587         Add versioning.
40588         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40589         Don't restore upper high grps.
40590         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
40591         Likewise.
40592         (__swapcontext): Remove setting uc_flags field.
40593         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
40594         Delete file.
40595         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40596         Include __longjmp.c.
40597         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40598         Move to ...
40599         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
40600         (__getcontext): Remove setting __flags field.
40601         Add versioning.
40602         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
40603         (__swapcontext): Remove setting uc_flags field.
40604         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
40605         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
40606         Remove fields uc_high_gprs and __reserved.
40607         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
40608         New file with reverted content.
40609         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
40610         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
40611         Regenerated.
40612         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
40613         Regenerated.
40615 2014-07-31  Andreas Schwab  <schwab@suse.de>
40617         * config.h.in (HAVE_IFUNC): Define to 0.
40618         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
40619         definedness.
40621 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
40623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40624         memmove-avx-unaligned, memcpy-avx-unaligned and
40625         mempcpy-avx-unaligned.
40626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40627         Add tests for AVX memcpy functions.
40628         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
40629         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
40630         memcpy_chk.
40631         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
40632         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
40633         memmove_chk.
40634         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
40635         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
40636         mempcpy_chk.
40637         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
40638         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
40639         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
40641 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40643         [BZ #17213]
40644         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
40645         powerpc64le.
40647 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
40649         [BZ #16839]
40650         * manual/llio.texi: Add section about open file description locks.
40651         * manual/examples/ofdlocks.c: Example of open file description
40652         lock usage.
40653         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
40654         F_OFD_SETLK, and F_OFD_SETLKW.
40656 2014-07-23  Allan McRae  <allan@archlinux.org>
40658         * po/es.po: Update Spanish translation from translation project.
40660 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
40662         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
40664 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
40666         [BZ #17078]
40667         * sysdeps/arm/dl-machine.h (elf_machine_rela)
40668         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
40669         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
40671 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
40673         [BZ #17088]
40674         * math/fesetenv.c (__fesetenv)
40675         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
40676         * math/feupdateenv.c (__feupdateenv)
40677         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
40679         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
40680         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
40681         (__ASSUME_SOCKETCALL): Do not define.
40683         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
40684         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
40685         (__ASSUME_SOCKETCALL): Do not define.
40686         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
40687         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40688         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40689         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
40690         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40691         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
40692         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40693         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40695         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
40696         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
40697         (__ASSUME_SOCKETCALL): Do not define.
40698         (__ASSUME_IPC64): Define unconditionally.
40699         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40700         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40701         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
40702         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40703         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
40704         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40705         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
40706         Likewise.
40708         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
40709         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
40710         (__ASSUME_SOCKETCALL): Do not define.
40711         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
40712         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40713         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40714         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
40715         (__ASSUME_REQUEUE_PI): Define unconditionally.
40716         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
40717         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
40718         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40719         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
40720         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40721         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40723         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
40724         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
40725         (__ASSUME_SOCKETCALL): Do not define.
40726         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
40727         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40728         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40729         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
40730         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40731         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
40733         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
40734         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
40735         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
40736         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
40737         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
40738         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
40739         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
40740         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
40741         (__ASSUME_GETCPU_SYSCALL): Likewise.
40743         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
40744         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
40745         cases for individual architectures.
40746         * sysdeps/gnu/configure: Regenerated.
40747         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
40748         LIBC_SLIBDIR_RTLDDIR.
40749         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
40750         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
40751         LIBC_SLIBDIR_RTLDDIR.
40752         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
40754         LIBC_SLIBDIR_RTLDDIR.
40755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40756         Regenerated.
40757         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
40758         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
40759         file.
40760         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
40761         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
40762         file.
40763         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
40764         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
40765         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
40766         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
40768         * sysdeps/aarch64/shlib-versions: Move to ...
40769         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
40770         * sysdeps/alpha/shlib-versions: Move to ...
40771         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
40772         * sysdeps/arm/shlib-versions: Move to ...
40773         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
40774         * sysdeps/hppa/shlib-versions: Move all contents except for
40775         libgcc_s entry to ...
40776         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
40777         entry from ...
40778         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
40779         * sysdeps/ia64/shlib-versions: Move to ...
40780         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
40781         entry from ...
40782         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
40783         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
40784         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
40785         * sysdeps/microblaze/shlib-versions: Move to ...
40786         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
40787         * sysdeps/mips/shlib-versions: Move to ...
40788         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
40789         entry from ...
40790         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
40791         * sysdeps/tile/shlib-versions: Move to ...
40792         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
40793         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
40794         from ...
40795         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
40796         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
40797         entry from ...
40798         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
40800 2014-07-17  Will Newton  <will.newton@linaro.org>
40802         * sysdeps/arm/bits/atomic.h
40803         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
40804         (__arch_compare_and_exchange_bool_16_int): Likewise.
40805         (__arch_compare_and_exchange_bool_64_int): Likewise.
40807         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
40808         into an #else block.
40810 2014-07-16  Roland McGrath  <roland@hack.frob.com>
40812         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
40813         just Linux configurations.  Test empirically that the compiler sets
40814         __ARM_EABI__, rather than using the tuple to decide.
40815         * sysdeps/arm/preconfigure: Regenerated.
40816         * sysdeps/unix/sysv/linux/arm/configure: File removed.
40817         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
40818         contents appended ...
40819         * sysdeps/arm/configure.ac: ... here.
40820         * sysdeps/arm/configure: Regenerated.
40822 2014-07-15  Roland McGrath  <roland@hack.frob.com>
40824         * nptl/pthread_kill.c: New file.
40825         * nptl/pthread_sigmask.c: New file.
40826         * nptl/pthread_sigqueue.c: New file.
40828         * sysdeps/nptl/lowlevellock.h: New file.
40829         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
40830         * sysdeps/nptl/lowlevellock-futex.h: New file.
40832         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
40833         Remove dead declarations.
40835 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
40837         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
40838         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
40839         config-cflags-avx2.
40840         * sysdeps/x86_64/configure.ac: Likewise.
40841         * sysdeps/i386/configure: Regenerated.
40842         * sysdeps/x86_64/configure: Likewise.
40843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40844         memset-avx2 only if config-cflags-avx2 is yes.
40845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40846         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
40847         defined.
40848         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
40849         only if HAVE_AVX2_SUPPORT is defined.
40850         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40852 2014-07-14  Alan Modra  <amodra@gmail.com>
40854         [BZ #17153]
40855         * elf/elf.h (DT_PPC64_NUM): Correct value.
40856         * NEWS: Add to fixed bug list.
40858 2014-07-13  Jim Meyering  <meyering@fb.com>
40860         [BZ 17150]
40861         regex: don't deref NULL upon heap allocation failure
40862         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
40863         failure in one more place.
40864         To trigger the segfault, configure grep -with-included-regex,
40865         build it, and run these commands:
40866         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
40868 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
40870         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40872 2014-07-11  Richard Henderson  <rth@redhat.com>
40874         * sysdeps/aarch64/libm-test-ulps: Update.
40876 2014-07-10  Florian Weimer  <fweimer@redhat.com>
40878         [BZ #17135]
40879         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
40880         * nptl/allocatestack.c (__nptl_setxid_error): New function.
40881         (__nptl_setxid): Initialize error member.  Call
40882         __nptl_setxid_error.
40883         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
40884         * nptl/descr.h (struct xid_command): Add error member.
40885         * nptl/tst-setuid3.c: New file.
40886         * nptl/Makefile (tests): Add it.
40888 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40890         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
40891         New define.
40892         (__lll_trylock): Use __lll_base_trylock.
40893         (__lll_cond_trylock): Likewise.
40895 2014-07-10  Roland McGrath  <roland@hack.frob.com>
40897         * nptl/pthread_create.c (start_thread): Use atomic_or and
40898         lll_futex_wake directly rather than lll_robust_dead.
40899         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40900         (lll_robust_dead): Macro removed.
40901         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
40902         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40903         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40904         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40905         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40906         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40907         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40908         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40909         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40910         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40911         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40912         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40913         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40914         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40915         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40917         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
40918         Use atomic_compare_and_exchange_val_acq directly rather than
40919         lll_robust_trylock.
40920         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
40921         (__lll_robust_trylock, lll_robust_trylock): Removed.
40922         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
40923         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
40924         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40925         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40926         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
40927         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
40928         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40929         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
40930         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40931         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40932         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40933         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40934         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40935         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40937 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40939         * manual/locale.texi (Locale Names): New section documenting
40940         locale name syntax.  Adjust menu and node chaining accordingly.
40941         (Choosing Locale): Reference Locale Names, Locale Categories.
40942         Mention setting LC_ALL=C.  Reflect that name syntax is now
40943         documented.
40944         (Locale Categories): New section title.  Reference Locale Names.
40945         LC_ALL is an environment variable, but not a category.
40946         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40947         description, now in Locale Name.  Reference that section.  Locale
40948         name syntax is now documented.
40950 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40952         [BZ #17137]
40953         * locale/findlocale.c (name_present, valid_locale_name): New
40954         functions.
40955         (_nl_find_locale): Use the loc_name variable to store name
40956         candidates.  Call name_present and valid_locale_name to check and
40957         validate locale names.  Return an error if the locale is invalid.
40959 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40961         * locale/setlocale.c (setlocale): Use strdup for allocating
40962         composite name copy.
40964 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40966         Sync up with gnulib.
40967         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40968         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40969         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40970         and _GL_ARG_NONNULL.
40971         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40972         [!_LIBC]: Include code for Windows and Cygwin.
40973         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40974         Include prototype for int strerror_r.
40975         [!_LIBC] (is_open): New function.
40976         (flush_stdout): New function.
40977         (print_errno_message): Use it.
40978         (error): Likewise.
40979         (error_at_line): Likewise.
40980         (error_tail) Add function attribute macros.  Use
40981         __builtin_expect.
40983         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40985         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40987         * io/ftw.c: Include sys/param.h unconditionally.
40989         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40991         [BZ #17125]
40992         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40993         libc_freeres_ptr.
40994         (freecache): New function to free CACHE on exit.
40996         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40997         initialization.
40999 2014-07-09  David S. Miller  <davem@davemloft.net>
41001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41003         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41004         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41005         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41006         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41007         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41008         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41009         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41010         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41011         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41012         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41013         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41014         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41015         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41017 2014-07-09  Andreas Schwab  <schwab@suse.de>
41019         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41020         output.
41021         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41022         (do_test): Likewise.
41024         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41026 2014-07-09  Will Newton  <will.newton@linaro.org>
41028         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41029         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41030         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41031         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41032         * sysdeps/hppa/start.S (_start): Likewise.
41034 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41036         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41038         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41039         defined.
41041 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41043         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41044         after checking that it is non-NULL.
41046         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41048 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41050         * sysdeps/powerpc/memmove.c: Remove file.
41051         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41052         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41053         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41054         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41055         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41056         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41057         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41058         string memmove instead of removed powerpc one.
41060         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41061         [weak_alias]: Fix compiler warning due trailing data.
41062         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41063         [weak_alias]: Likewise.
41064         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41065         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41067         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41068         (__libc_ifunc_impl_list): Add memmove functions.
41070 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41072         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41073         Remove code.
41074         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41075         Likewise.
41076         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41077         Likewise.
41078         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41079         Likewise.
41080         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41081         Likewise.
41082         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41083         Likewise.
41084         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41085         Likewise.
41086         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41087         Likewise.
41088         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41089         Likewise.
41090         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41091         Likewise.
41092         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41093         Likewise.
41094         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41095         Likewise.
41096         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41097         Likewise.
41098         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41099         Likewise.
41100         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41101         Likewise.
41102         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41103         Likewise.
41104         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41105         Likewise.
41107 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41109         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41110         to avoid alignment traps in non-cacheable memory.
41111         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41113         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41114         multiarch objects.
41115         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41116         file: multiarch power7 memmove.
41117         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41118         multiarch default memmove.
41119         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41120         multiarch memove for powerpc32/power4.
41122         * string/bcopy.c: Use full path to include memmove.c.
41123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41124         multiarch objects.
41125         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41126         bcopy for powerpc64.
41127         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41128         bcopy for powerpc64.
41129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41130         and memmove implementations.
41131         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41132         optimized multiarch memmove for POWER7/powerpc64.
41133         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41134         default multiarch memmove for powerpc64.
41135         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41136         multiarch for powerpc64.
41137         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41138         for POWER7/powerpc64.
41139         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41140         memmove for POWER7/powerpc64.
41142         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41143         glibc default one.
41145         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41146         __ELF_NATIVE_CLASS equal to 64.
41148 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41150         * sysdeps/nptl/lowlevellock.h: File removed.
41152         * NEWS: NPTL is no longer an add-on!
41153         * nptl/internaltypes.h: Moved ...
41154         * sysdeps/nptl/internaltypes.h: ... here.
41155         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41156         * sysdeps/nptl/fork.c: Likewise.
41157         * sysdeps/nptl/gai_misc.h: Likewise.
41158         * sysdeps/nptl/librt-cancellation.c: Likewise.
41159         * sysdeps/nptl/jmp-unwind.c: Likewise.
41160         * sysdeps/nptl/setxid.h: Likewise.
41161         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41162         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41163         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41164         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41165         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41166         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41167         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41168         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41169         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41170         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41171         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41172         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41173         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41174         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41175         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41176         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41177         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41178         * nptl/Makeconfig: Moved ...
41179         * sysdeps/nptl/Makeconfig: ... here.
41180         * nptl/configure: File removed.
41181         * nptl/ANNOUNCE: File removed.
41182         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41183         * sysdeps/unix/sysv/linux/configure: Regenerated.
41185         * nptl/Makefile (routines): Add libc_pthread_init,
41186         libc_multiple_threads, register-atfork and unregister-atfork.
41187         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41188         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41189         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41190         pthread-pi-defines.sym, structsem.sym.
41191         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41192         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41193         [$(subdir) = nptl] (tests): Add tst-setgetname.
41194         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41195         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41196         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41197         [!LIBC_SIGACTION]: Remove aliases.
41198         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41199         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41200         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41201         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41202         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41203         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41204         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41205         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41206         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41207         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41208         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41209         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41210         __libc_allocate_rtsig_private.
41211         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41212         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41213         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41214         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41215         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41216         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41217         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41218         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41219         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41220         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41221         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41222         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
41223         * nptl/internaltypes.h: ... here.
41224         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
41225         * sysdeps/nptl/jmp-unwind.c: ... here.
41226         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
41227         * nptl/libc-lowlevellock.c: ... here.
41228         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
41229         * nptl/libc_multiple_threads.c: ... here.
41230         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
41231         * nptl/libc_pthread_init.c: ... here.
41232         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
41233         * nptl/lowlevelbarrier.sym: ... here.
41234         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
41235         * nptl/lowlevelcond.sym: ... here.
41236         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
41237         * nptl/lowlevellock.c: ... here.
41238         * nptl/lowlevellock.h: Moved ...
41239         * sysdeps/nptl/lowlevellock.h: ... here.
41240         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
41241         * nptl/lowlevelrobustlock.c: ... here.
41242         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
41243         * nptl/lowlevelrobustlock.sym: ... here.
41244         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
41245         * nptl/lowlevelrwlock.sym: ... here.
41246         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
41247         * nptl/pt-fork.c: ... here.
41248         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
41249         * nptl/pthread-pi-defines.sym: ... here.
41250         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
41251         * nptl/pthread_attr_getaffinity.c: ... here.
41252         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
41253         * nptl/pthread_attr_setaffinity.c: ... here.
41254         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
41255         * nptl/pthread_mutex_cond_lock.c: ... here.
41256         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41257         Update #include.
41258         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
41259         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
41260         * nptl/pthread_once.c: ... here, replacing old file.
41261         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
41262         * nptl/pthread_yield.c: ... here.
41263         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
41264         * nptl/register-atfork.c: ... here.
41265         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
41266         * nptl/sem_post.c: ... here.
41267         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
41268         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
41269         * nptl/sem_timedwait.c: ... here.
41270         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
41271         * nptl/sem_trywait.c: ... here.
41272         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
41273         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
41274         * nptl/sem_wait.c: ... here.
41275         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
41276         * nptl/structsem.sym: ... here.
41277         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
41278         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
41279         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
41280         * nptl/unregister-atfork.c: ... here.
41281         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
41282         * nptl/unwindbuf.sym: ... here.
41283         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
41284         * sysdeps/nptl/fork.c: ... here.
41285         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
41286         * sysdeps/nptl/fork.h: ... here.
41287         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
41288         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
41289         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
41290         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
41291         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
41292         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
41293         * sysdeps/unix/sysv/linux/getpid.c: ... here.
41294         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
41295         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
41296         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
41297         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
41298         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
41299         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
41300         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
41301         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
41302         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
41303         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
41304         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
41305         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
41306         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
41307         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
41308         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
41309         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
41310         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
41311         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
41312         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
41313         * sysdeps/unix/sysv/linux/raise.c: ... here.
41314         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
41315         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
41316         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
41317         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
41318         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
41319         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
41320         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
41321         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
41322         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
41323         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
41324         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
41325         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
41326         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
41327         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
41328         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
41330 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41332         * sysdeps/generic/memcopy.h: Add comment for
41333         MEMCPY_OK_FOR_FWD_MEMMOVE.
41335 2014-07-04  Will Newton  <will.newton@linaro.org>
41337         * string/memchr.c: Merge from gnulib.
41338         [_LIBC]: Remove conditionals.
41339         (__ptr_t): Remove define.
41340         (LONG_MAX_32_BITS): Likewise.
41341         (LONG_MAX): Likewise.
41342         (MEMCHR): Use ANSI prototype and optimize algorithm.
41344         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
41346 2014-07-03  Roland McGrath  <roland@hack.frob.com>
41348         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
41349         (lll_futex_timed_wait_bitset): Fix syscall argument count.
41351         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
41352         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
41353         in a bare environment with no <stdlib.h> installed.
41354         * sysdeps/nptl/configure: Regenerated.
41356         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
41358         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
41359         AC_EGREP_CPP for kernel header checks, so they only succeed if
41360         including <linux/version.h> actually works right.
41361         * sysdeps/unix/sysv/linux/configure: Regenerated.
41363         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
41364         value so it's not diagnosed as unused.
41366         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
41367         thing) with "ifeq ($(subdir),rt)".
41369 2014-07-03  Richard Henderson  <rth@redhat.com>
41371         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
41372         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
41373         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
41375         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
41376         (math_force_eval): New.
41378         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
41379         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
41381         * sysdeps/alpha/fpu/s_round.c: Remove file.
41382         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
41384         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
41385         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
41386         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
41387         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
41388         (_dl_start, print_statistics): Likewise.
41389         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
41390         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
41392         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41393         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41394         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41395         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41396         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41397         (HP_SMALL_TIMING_AVAIL): Define.
41398         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41399         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41400         (HP_SMALL_TIMING_AVAIL): Define.
41401         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41402         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
41404         * sysdeps/aarch64/hp-timing.h: New file.
41406         * sysdeps/generic/hp-timing.h: Remove dead comment.
41407         * sysdeps/generic/hp-timing-common.h: New file.
41408         * sysdeps/alpha/hp-timing.h: Include it.
41409         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
41410         * sysdeps/i386/i686/hp-timing.h: Likewise.
41411         * sysdeps/ia64/hp-timing.h: Likewise.
41412         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41413         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41414         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
41415         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
41416         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
41417         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
41418         (hp_timing_t): New.
41420         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
41421         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
41422         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
41423         * elf/rtld.c (_dl_start_final): Likewise.
41424         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
41425         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41426         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41427         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41428         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41429         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41430         (HP_TIMING_DIFF_INIT): Remove.
41431         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41432         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
41433         (HP_TIMING_DIFF_INIT): Remove.
41434         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
41435         * sysdeps/i386/i686/hp-timing.c: Remove file.
41436         * sysdeps/x86_64/hp-timing.c: Remove file.
41437         * sysdeps/ia64/hp-timing.c: Remove file.
41438         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
41439         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
41440         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
41441         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
41443         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
41444         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
41445         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
41446         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41447         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
41448         (HP_TIMING_ACCUM): Remove.
41449         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41450         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
41451         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
41453         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
41454         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
41455         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
41456         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
41457         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
41458         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41459         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
41460         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
41462         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
41464 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
41466         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
41468 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41470         Sync up with gettext.
41471         * intl/loadmsgcat.c: Define O_BINARY if not defined.
41472         [_MSC_VER]: Include malloc.h
41473         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
41474         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
41475         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
41476         TEMP_FAILURE_RETRY.  Cast return of alloca.
41477         [!_LIBC] Call gl_rwlock_init.
41478         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
41480 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41482         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
41483         before checking its value.
41485 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41487         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
41489         * debug/memcpy_chk.c: Don't include pagecopy.h.
41490         * debug/mempcpy_chk.c: Likewise.
41491         * string/memcpy.c: Likewise.
41492         * string/memmove.c: Likewise.
41493         * sysdeps/powerpc/memmove.c: Likewise.
41494         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
41495         definition of PAGE_COPY_FWD_MAYBE here...
41496         * sysdeps/generic/pagecopy.h: ... from here.
41497         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
41499 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41500             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41502         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
41503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
41504         optimizations.
41505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41506         (__libc_ifunc_impl_list): Likewise.
41507         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
41508         multiarch strcat for PPC64.
41509         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
41510         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
41512 2014-07-02  Roland McGrath  <roland@hack.frob.com>
41514         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
41516 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41518         * intl/loadmsgcat.c: Remove declaration of
41519         get_sysdep_segment_value.
41520         (get_sysdep_segment_value): Use ISO C style.
41521         (_nl_load_domain): Use ISO C style.  Get rid of redundant
41522         semicolon.  Fix typo and formatting in comment.
41523         (_nl_unload_domain): Use ISO C style.
41525         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
41527 2014-07-02  Will Newton  <will.newton@linaro.org>
41529         * malloc/obstack.c: Merge from gnulib master.
41530         [HAVE_CONFIG_H]: Remove conditional code.
41531         [!_LIBC]: Include config.h.
41532         [!ELIDE_CODE]: Don't include inttypes.h, include
41533         stdint.h unconditionally.
41534         (print_and_abort): Mark as _Noreturn.
41535         (_obstack_allocated_p): Mark as __attribute_pure__.
41536         (obstack_free): Rename to __obstack_free.
41537         [!__attribute__]: Remove conditional code.
41538         * malloc/obstack.h: Merge from gnulib master.
41539         [__cplusplus]: Move conditional down.
41540         [!__attribute_pure__]: Define __attribute_pure__ here
41541         if it is not already defined.
41542         (_obstack_memory_used): Mark as __attribute_pure__.
41543         [!__obstack_free]: Define as obstack_free.
41544         [__GNUC__]: Remove check for ancient NeXT gcc.
41546 2014-07-02  Will Newton  <will.newton@linaro.org>
41547             Paul Eggert  <eggert@cs.ucla.edu>
41549         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
41551 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41553         * resolv/gethnamaddr.c: Add comment warning that the file is
41554         not maintained.
41556 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
41558         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
41559         entries.
41561         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
41562         entry for aio_cancel and aio_cancel64.
41563         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
41564         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
41565         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
41566         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
41567         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
41568         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
41569         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
41570         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
41571         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
41572         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
41573         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
41574         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
41575         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
41577 2014-07-01  Roland McGrath  <roland@hack.frob.com>
41579         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
41580         * nptl/pthread_mutex_lock.c: Likewise.
41581         * nptl/pthread_mutex_timedlock.c: Likewise.
41582         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
41584 2014-07-01  Richard henderson  <rth@redhat.com>
41586         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
41587         (__isnan, __isnanl): Remove.
41588         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
41590         * sysdeps/alpha/fpu/libm-test-ulps: Update.
41592 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41594         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41596 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41598         * resolv/nss_dns/dns-host.c (getanswer_r)
41599         [MULTI_PTRS_ARE_ALIASES]: Remove code.
41601 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
41603         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41604         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
41605         undefine.
41606         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
41607         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
41609 2014-07-01  Roland McGrath <roland@hack.frob.com>
41611         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
41612         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
41614         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
41615         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
41617         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
41618         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
41619         ... here.
41620         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
41621         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
41623         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
41624         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
41625         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
41626         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
41628         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
41629         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
41630         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
41631         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
41632         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
41633         Moved ...
41634         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
41635         ... here.
41636         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
41637         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
41638         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
41639         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
41640         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
41641         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
41642         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
41643         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
41644         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
41645         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
41646         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
41647         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
41648         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
41649         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
41650         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
41651         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
41652         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
41653         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
41654         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
41655         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
41656         ... here.
41657         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
41658         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
41659         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
41660         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
41661         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
41662         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
41663         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
41664         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
41666 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
41668         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
41669         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
41670         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
41671         Add sysdep.
41673 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41677 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41679         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
41680         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41682         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41684         * sysdeps/arm/libm-test-ulps: Regenerated.
41686 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41687             Roland McGrath <roland@hack.frob.com>
41689         * test-skeleton.c (signal_handler): Kill the whole process group
41690         before killing the child individually.
41691         (main): Report any failure on `setpgid'.
41693 2014-06-30  Roland McGrath  <roland@hack.frob.com>
41695         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
41696         from _TLS_H to _ARM_NPTL_TLS_H.
41697         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
41698         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
41700 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
41702         [BZ #16539]
41703         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
41704         (__expm1l): Return argument unchanged when small but not
41705         subnormal.
41707         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
41708         include macro name.
41709         (_FP_UNPACK_RAW_1_P): Likewise.
41710         (_FP_PACK_RAW_1): Likewise.
41711         (_FP_PACK_RAW_1_P): Likewise.
41712         (_FP_MUL_MEAT_1_wide): Likewise.
41713         (_FP_MUL_MEAT_DW_1_hard): Likewise.
41714         (_FP_MUL_MEAT_1_hard): Likewise.
41715         (_FP_DIV_MEAT_1_imm): Likewise.
41716         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
41717         (_FP_DIV_MEAT_1_udiv): Likewise.
41718         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
41719         (_FP_UNPACK_RAW_2): Likewise.
41720         (_FP_UNPACK_RAW_2_P): Likewise.
41721         (_FP_PACK_RAW_2): Likewise.
41722         (_FP_PACK_RAW_2_P): Likewise.
41723         (_FP_MUL_MEAT_DW_2_wide): Likewise.
41724         (_FP_MUL_MEAT_2_wide): Likewise.
41725         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
41726         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
41727         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
41728         (_FP_MUL_MEAT_2_gmp): Likewise.
41729         (_FP_DIV_MEAT_2_udiv): Likewise.
41730         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
41731         (_FP_FRAC_SRL_4): Likewise.
41732         (_FP_FRAC_SRST_4): Likewise.
41733         (_FP_FRAC_SRS_4): Likewise.
41734         (_FP_UNPACK_RAW_4): Likewise.
41735         (_FP_UNPACK_RAW_4_P): Likewise.
41736         (_FP_PACK_RAW_4): Likewise.
41737         (_FP_PACK_RAW_4_P): Likewise.
41738         (_FP_MUL_MEAT_DW_4_wide): Likewise.
41739         (_FP_MUL_MEAT_4_wide): Likewise.
41740         (_FP_MUL_MEAT_4_gmp): Likewise.
41741         (umul_ppppmnnn): Likewise.
41742         (_FP_DIV_MEAT_4_udiv): Likewise.
41743         (__FP_FRAC_ADD_4): Likewise.
41744         (__FP_FRAC_SUB_3): Likewise.
41745         (__FP_FRAC_SUB_4): Likewise.
41746         (__FP_FRAC_DEC_3): Likewise.
41747         (__FP_FRAC_DEC_4): Likewise.
41748         (__FP_FRAC_ADDI_4): Likewise.
41749         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
41750         (_FP_FRAC_SRL_8): Likewise.
41751         (_FP_FRAC_SRS_8): Likewise.
41753         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
41754         include macro name.
41755         (FP_UNPACK_RAW_EP): Likewise.
41756         (FP_PACK_RAW_E): Likewise.
41757         (FP_PACK_RAW_EP): Likewise.
41758         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
41759         (_FP_ISSIGNAN): Likewise.
41760         (_FP_ADD_INTERNAL): Likewise.
41761         (_FP_FMA): Likewise.
41762         (_FP_CMP): Likewise.
41763         (_FP_SQRT): Likewise.
41764         (_FP_TO_INT): Likewise.
41765         (_FP_FROM_INT): Likewise.
41766         (FP_EXTEND): Likewise.
41767         (_FP_DIV_MEAT_N_loop): Likewise.
41769 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
41771         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
41772         throughout.
41774 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
41776         [BZ #17097]
41777         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
41778         result with correct sign in case of exponents that produce
41779         overflow except for X very close to 1.
41781 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
41783         mktime: merge #if/#ifdef usage from glibc
41784         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
41785         as that works with both Glibc's and Gnulib's style.
41786         See thread starting at Siddhesh Poyarekar's bug report at:
41787         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
41789 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41791         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
41792         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
41793         * sysdeps/tile/tilegx/memmove.c: Remove file.
41795 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41797         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
41798         abi-name definition.
41799         * scripts/soversions.awk: Do not handle or generate ABI lines.
41800         * shlib-versions: Remove ABI entries.
41801         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
41802         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
41804 2014-06-27  Roland McGrath  <roland@hack.frob.com>
41806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
41807         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
41808         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
41809         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
41810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
41811         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
41812         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
41813         Moved ...
41814         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
41815         ... here.
41816         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
41817         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
41818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
41819         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
41820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
41821         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
41822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
41823         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
41824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
41825         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
41826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
41827         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
41828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
41829         Moved ...
41830         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
41831         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
41832         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
41833         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
41834         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
41835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
41836         Moved ...
41837         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
41838         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
41839         Moved ...
41840         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
41841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
41842         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
41843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
41844         Moved ...
41845         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
41846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
41847         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
41848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
41849         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
41850         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
41851         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
41852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
41853         Moved ...
41854         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
41855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
41856         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
41857         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
41858         Moved ...
41859         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
41860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
41861         Moved ...
41862         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
41863         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
41864         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
41865         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
41866         Moved ...
41867         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
41868         ... here.
41869         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
41870         Identical file removed.
41871         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
41872         Moved ...
41873         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
41874         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
41875         Identical file removed.
41876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
41877         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
41878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
41879         Moved ...
41880         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
41881         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
41882         Identical file removed.
41883         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
41884         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
41885         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
41886         Identical file removed.
41887         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
41888         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
41889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
41890         Identical file removed.
41891         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
41892         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
41893         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
41894         Identical file removed.
41895         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
41896         Moved ...
41897         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
41898         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
41899         Identical file removed.
41900         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
41901         Moved ...
41902         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
41903         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
41904         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
41905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
41906         Identical file removed.
41907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
41908         Moved ...
41909         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
41910         ... here.
41911         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
41912         Identical file removed.
41913         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
41914         Moved ...
41915         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
41916         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
41917         Identical file removed.
41918         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
41919         Moved ...
41920         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
41921         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
41922         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
41923         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
41924         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
41925         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
41926         Moved ...
41927         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
41928         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
41929         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
41931         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
41932         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
41933         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
41934         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
41935         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
41937 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
41939         [BZ #17092]
41940         * nscd/nscd.c (monitor_child): Return exit status of child
41941         instead of return value from wait syscall.
41943 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41945         * configure.ac (libc_commonpagesize): Remove variable.
41946         (libc_relro_required): Likewise.
41947         (libc_cv_z_relro): Remove configure test.
41948         * configure: Regenerated.
41949         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41950         variable.
41951         (libc_relro_required): Likewise.
41952         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41953         (libc_relro_required): Likewise.
41954         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41955         (libc_relro_required): Likewise.
41956         * sysdeps/arm/preconfigure: Regenerated.
41957         * sysdeps/ia64/preconfigure: Remove file.
41958         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41959         variable.
41960         (libc_relro_required): Likewise.
41962         [BZ #16561]
41963         [BZ #16562]
41964         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41965         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41966         recompute overflowing results in original rounding mode.
41967         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41968         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41969         recompute overflowing results in original rounding mode.
41970         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41971         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41972         recompute overflowing results in original rounding mode.
41973         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41974         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41975         recompute overflowing results in original rounding mode.
41976         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41977         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41978         recompute overflowing results in original rounding mode.
41979         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41980         (libc_feholdsetround_ctx): New macro.
41981         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41982         * sysdeps/i386/fpu/libm-test-ulps: Update.
41983         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41985 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41987         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41988         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41989         corresponding .cpsetup call.
41991 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41993         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41994         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41995         * sysdeps/arm/Makefile [$(subdir) = csu]
41996         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41997         (static-only-routines): Add aeabi_read_tp here.
41998         (shared-only-routines): Add libc-aeabi_read_tp here.
41999         (CFLAGS-libc-start.c): Add -fexceptions here.
42000         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42001         (sysdep_routines, static-only-routines, shared-only-routines):
42002         Don't add to these here.
42003         (CFLAGS-libc-start.c): Likewise.
42005         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42006         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42007         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42008         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42009         * sysdeps/arm/Makefile [$(subdir) = rt]
42010         (librt-sysdep_routines, librt-shared-only-routines):
42011         Append rt-aeabi_unwind_cpp_pr1 here.
42012         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42013         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42014         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42015         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42016         Append nptl-aeabi_unwind_cpp_pr1 here.
42017         (tests): Filter out tst-cleanupx4 here.
42018         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42019         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42020         Don't do those here.
42022 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42024         * scripts/list-sources.sh: Do not handle ports specially.
42026 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42028         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42029         * sysdeps/arm/feupdateenv.c: Likewise.
42031         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42033 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42035         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42036         trailing whitespace removed.
42037         * scripts/config.guess: Update to version 2014-03-23.
42038         * scripts/config.sub: Update to version 2014-05-01
42039         * scripts/install-sh: Update to version 2013-12-25.23.
42040         * scripts/move-if-change: Update from gnulib.
42042 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42044         * debug/memmove_chk.c: Remove pagecopy.h include.
42046 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42048         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42049         identical to gnulib mktime.
42051 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42053         * configure.ac: Do not test for machine being rs6000.  Do not test
42054         for powerpc*-*soft.
42055         * configure: Regenerated.
42057         [BZ #11505]
42058         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42059         test.
42060         * configure: Regenerated.
42061         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42062         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42063         Remove configure test.
42064         * sysdeps/arm/configure: Regenerated.
42065         * sysdeps/nptl/configure.ac: Do not check
42066         libc_cv_asm_cfi_directives.
42067         * sysdeps/nptl/configure: Regenerated.
42068         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42069         * sysdeps/x86_64/nptl/configure: Remove generated file.
42070         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42071         unconditional.
42072         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42074 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42076         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42077         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42078         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42079         it is defined.
42081         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42082         instead of whether it is defined.
42083         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42084         * sysdeps/hppa/dl-machine.h: Likewise.
42085         * sysdeps/ia64/dl-machine.h: Likewise.
42086         * sysdeps/m68k/dl-machine.h: Likewise.
42087         * sysdeps/microblaze/dl-machine.h: Likewise.
42088         * sysdeps/mips/dl-machine.: Likewise.
42089         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42090         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42091         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42092         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42093         * sysdeps/sh/dl-machine.h: Likewise.
42094         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42095         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42096         * sysdeps/tile/dl-machine.h: Likewise.
42097         * sysdeps/x86_64/dl-machine.h: Likewise.
42099         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42100         code.
42101         (verify_persistent_db): Likewise.
42103 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42106         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42108         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42110         Moved ...
42111         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42112         ... here.
42113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42114         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42116         Identical file removed.
42117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42118         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42120         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42122         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42124         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42126         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42128         Moved ...
42129         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42131         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42133         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42135         Moved ...
42136         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42138         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42140         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42142         Identical file removed.
42143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42144         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42146         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42148         Moved ...
42149         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42150         ... here.
42151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42152         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42154         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42156         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42158         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42160         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42162         Moved ...
42163         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42165         Moved ...
42166         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42168         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42170         Moved ...
42171         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42173         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42175         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42176         folded into ...
42177         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42178         * sysdeps/unix/sysv/linux/s390/Versions
42179         (libpthread: GLIBC_2.19): New version set.
42180         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42181         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42182         (librt: GLIBC_2.3.3): New version set.
42183         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42184         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42185         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42186         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42187         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42188         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42189         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42190         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42191         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42192         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42193         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42194         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42195         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42196         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42197         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42198         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42199         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42200         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42201         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42202         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42203         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42204         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42205         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42206         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42207         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42208         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42209         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42210         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42211         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42212         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42213         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42214         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42216         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42218         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42219         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42220         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42221         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42222         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
42223         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
42224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
42225         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
42226         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
42227         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
42229         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
42230         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
42231         (__libc_vfork): Define the function under this name.
42232         [!NOT_IN_libc] (__vfork): Make this an alias.
42233         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42234         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
42235         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
42236         (__libc_vfork): Define the function under this name.
42237         [!NOT_IN_libc] (__vfork): Make this an alias.
42238         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
42239         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
42240         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
42241         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
42242         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
42243         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42245         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
42246         code that was previously under [RESET_PID].
42247         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
42248         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
42249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
42251         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
42252         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
42253         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
42254         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
42255         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
42256         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
42257         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
42258         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
42259         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
42260         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
42261         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
42262         Moved ...
42263         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
42264         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
42265         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
42266         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
42267         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
42268         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
42269         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
42270         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
42271         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
42272         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
42273         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
42274         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
42275         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
42276         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
42277         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
42278         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
42279         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
42280         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
42281         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
42282         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
42283         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
42284         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
42285         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
42286         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
42287         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
42288         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
42289         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
42290         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
42291         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
42293 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42295         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
42296         that was previously under [RESET_PID].
42297         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
42299 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42301         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
42302         not undefine and redefine.
42303         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
42304         [O_CLOEXEC]: Make code unconditional.
42305         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
42306         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
42307         <kernel-features.h>.
42308         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
42309         conditional variable definition.
42310         (shm_open) [O_CLOEXEC]: Make code unconditional.
42311         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
42312         code.
42314         * configure.ac (USE_REGPARMS): Don't define here.
42315         * configure: Regenerated.
42316         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
42317         * sysdeps/i386/configure: Regenerated.
42319         * nptl/createthread.c: Don't include kernel-features.h.
42320         * nptl/pthread_cancel.c: Likewise.
42321         * nptl/pthread_condattr_setclock.c: Likewise.
42322         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
42323         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
42324         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
42325         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
42326         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
42327         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
42328         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42329         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
42330         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42331         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
42332         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
42333         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
42334         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
42335         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
42336         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
42337         * nscd/gai.c: Likewise.
42338         * nss/nss_db/db-open.c: Likewise.
42339         * sysdeps/generic/ldsodefs.h: Likewise.
42340         * sysdeps/sh/nptl/tls.h: Likewise.
42341         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
42342         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
42343         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
42344         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
42345         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
42346         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
42347         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
42348         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
42349         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
42350         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
42351         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
42352         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
42353         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
42354         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
42355         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
42356         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
42357         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
42358         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
42359         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
42360         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
42361         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
42362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
42363         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
42364         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
42365         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
42366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
42367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
42368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
42369         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
42370         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
42371         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
42372         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
42373         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
42374         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42375         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42376         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
42377         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42378         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
42379         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
42380         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
42381         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
42382         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
42383         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
42384         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42385         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
42386         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
42387         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
42388         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
42389         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
42390         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
42391         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
42392         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
42393         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
42394         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
42395         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
42396         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
42397         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42398         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
42399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
42401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
42402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
42403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
42404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
42405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
42406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
42407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
42410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
42411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
42412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
42413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
42419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
42420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
42421         * sysdeps/unix/sysv/linux/pread.c: Likewise.
42422         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
42423         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
42424         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
42425         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
42426         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
42427         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
42428         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
42429         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
42430         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
42431         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
42432         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
42433         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
42434         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
42435         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
42436         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
42437         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
42438         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
42439         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
42440         * sysdeps/unix/sysv/linux/system.c: Likewise.
42441         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
42442         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
42443         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42444         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42445         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
42446         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
42447         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42449         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
42450         * configure: Regenerated.
42451         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
42453         * configure.ac (base_machine): Do not set specially for particular
42454         machines here.
42455         * configure: Regenerated.
42456         * sysdeps/powerpc/preconfigure: Move machine and base_machine
42457         settings from configure.ac.
42458         * sysdeps/i386/preconfigure: New file.
42459         * sysdeps/s390/preconfigure: Likewise.
42460         * sysdeps/sh/preconfigure: Likewise.
42461         * sysdeps/sparc/preconfigure: Likewise.
42463 2014-06-25  Roland McGrath  <roland@hack.frob.com>
42465         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
42466         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
42467         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
42468         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
42469         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
42470         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
42471         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
42472         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
42473         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
42474         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
42475         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
42476         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
42477         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
42478         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
42479         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
42480         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
42481         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
42482         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
42483         * sysdeps/sparc/sparc64/Makefile: ... appended here.
42485         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
42486         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
42487         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
42488         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
42489         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
42490         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
42491         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
42492         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
42493         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
42494         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
42495         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
42496         * sysdeps/sparc/sparc32/sem_post.c: ... here.
42497         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
42498         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
42499         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
42500         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
42501         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
42502         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
42503         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
42504         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
42505         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
42506         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
42507         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
42508         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
42509         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
42510         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
42511         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
42512         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
42513         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
42514         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
42515         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
42516         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
42517         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
42518         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
42519         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
42520         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
42521         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
42522         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
42524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
42525         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
42526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
42527         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
42528         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42529         Moved ...
42530         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
42531         ... here.
42532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
42533         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
42534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
42535         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
42536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
42537         Moved ...
42538         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
42539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
42540         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
42541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
42542         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
42543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
42544         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
42545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42546         Moved ...
42547         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
42548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42549         Moved ...
42550         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
42551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
42552         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
42553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42554         Moved ...
42555         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
42556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
42557         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
42558         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
42559         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
42560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
42561         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
42562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
42563         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
42564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42565         Moved ...
42566         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
42567         ... here.
42568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
42569         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
42570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
42571         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
42572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
42573         Moved ...
42574         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
42575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
42576         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
42577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
42578         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
42579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
42580         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
42581         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42582         Moved ...
42583         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
42584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42585         Moved ...
42586         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
42587         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
42588         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
42589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42590         Moved ...
42591         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
42592         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
42593         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
42594         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
42595         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
42597 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42599         * timezone/checktab.awk: Update from tzcode 2014e.
42600         * timezone/private.h: Likewise.
42601         * timezone/tzfile.h: Likewise.
42602         * timezone/zdump.c: Likewise.
42603         * timezone/zic.c: Likewise.
42605         * sysdeps/unix/sysv/linux/kernel-features.h
42606         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
42607         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
42608         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
42609         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
42610         Remove conditional code.
42612 2014-06-25  Will Newton  <will.newton@linaro.org>
42614         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
42615         (_dl_arm_cap_flags): Add HWCAP2 values.
42616         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
42617         (_DL_HWCAP_COUNT): Increase to 37.
42618         (_DL_HWCAP_LAST): New define.
42619         (_DL_HWCAP2_LAST): New define.
42620         (_dl_procinfo): Add support for printing
42621         AT_HWCAP2 entries.
42622         (_dl_string_hwcap): Use _dl_hwcap_string.
42624 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42628 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
42630         * README: Do not mention ports directory.
42632         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
42633         Remove macro.
42634         * sysdeps/unix/sysv/linux/futimes.c: Do not include
42635         <kernel-features.h>.
42636         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
42637         conditional variable definition.
42638         (__futimes): Update comment.
42639         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
42640         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
42642         [BZ #16560]
42643         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
42644         arguments close to 0.
42645         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
42646         Likewise.
42647         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
42648         Likewise.
42649         * math/auto-libm-test-in: Add more tests of exp10.
42650         * math/auto-libm-test-out: Regenerated.
42651         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42653         * sysdeps/unix/sysv/linux/kernel-features.h
42654         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
42655         * sysdeps/unix/sysv/linux/readv.c: Do not include
42656         <kernel-features.h>.
42657         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42658         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42659         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42660         unconditional.
42661         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42662         conditional code.
42663         * sysdeps/unix/sysv/linux/writev.c: Do not include
42664         <kernel-features.h>.
42665         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
42666         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
42667         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
42668         unconditional.
42669         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
42670         conditional code.
42672 2014-06-25  Will Newton  <will.newton@linaro.org>
42674         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
42675         comment changes throughout the file.  Remove checks
42676         for HAVE_*_H definitions that are not required.
42677         (__gen_tempname): Call abort if an unknown kind value is
42678         passed.
42680 2014-06-25  Andreas Schwab  <schwab@suse.de>
42682         [BZ #17086]
42683         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
42684         scalbln, scalblnf, scalblnl in libc.
42686 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42688         [BZ #17086]
42689         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
42690         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42691         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42693 2014-06-24  Roland McGrath  <roland@hack.frob.com>
42695         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
42696         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
42697         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
42698         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
42699         Update #include.
42700         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
42701         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
42702         Update #include.
42703         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
42704         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
42705         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
42706         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
42707         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
42708         * sysdeps/x86/bits/pthreadtypes.h: ... here.
42709         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
42710         * sysdeps/x86/bits/semaphore.h: ... here.
42711         * sysdeps/x86/nptl/elide.h: Moved ...
42712         * sysdeps/x86/elide.h: ... here.
42713         * sysdeps/x86_64/nptl/Implies: File removed.
42714         * sysdeps/i386/nptl/Implies: File removed.
42716 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
42718         [BZ #16539]
42719         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
42720         return the argument for normal arguments with exponent below -64.
42721         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
42722         Likewise.
42723         * math/auto-libm-test-in: Add another test of expm1.
42724         * math/auto-libm-test-out: Regenerated.
42726         [BZ #16287]
42727         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
42728         calling __erfcl for arguments at least 16.
42729         * math/auto-libm-test-in: Add more tests of erf.
42730         * math/auto-libm-test-out: Regenerated.
42732         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
42733         individual architectures.
42734         * sysdeps/unix/sysv/linux/configure: Regenerated.
42735         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
42736         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
42737         * sysdeps/unix/sysv/linux/powerpc/configure.ac
42738         (ldd_rewrite_script): Define variable.
42739         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
42740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
42741         file.
42742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
42743         generated file.
42744         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
42745         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
42746         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
42747         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
42748         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
42749         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
42750         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
42751         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
42753 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42755         [BZ #17084]
42756         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
42757         Rename member __data.d to __data.__elision_data.
42759 2014-06-24  Wilco  <wdijkstr@arm.com>
42761         * NEWS: Add 16918 to fixed bug list.
42763 2014-06-24  Wilco  <wdijkstr@arm.com>
42765         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
42767 2014-06-24  Wilco  <wdijkstr@arm.com>
42769         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
42770         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
42771         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
42772         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
42773         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
42774         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
42775         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
42776         Use _FPU_MASK_RM.
42778 2014-06-24  Wilco  <wdijkstr@arm.com>
42780         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
42782 2014-06-24  Wilco  <wdijkstr@arm.com>
42784         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
42785         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
42786         * sysdeps/arm/fesetround.c (fesetround): Remove space.
42787         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
42789 2014-06-24  Wilco  <wdijkstr@arm.com>
42791         [BZ #16918]
42792         * sysdeps/arm/feupdateenv.c (feupdateenv):
42793         Rewrite to reduce FPSCR accesses and fix return value.
42795 2014-06-24  Wilco  <wdijkstr@arm.com>
42797         * sysdeps/arm/fclrexcpt.c (feclearexcept):
42798         Optimize to avoid unnecessary FPSCR writes.
42799         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
42800         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
42801         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
42802         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
42804 2014-06-24  Wilco  <wdijkstr@arm.com>
42806         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
42807         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
42808         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
42809         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
42810         Call libc_fetestexcept_vfp.
42811         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
42812         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
42813         __SOFTFP__ ifdef so that they can be built for softfp.
42815 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42817         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
42818         argument type signed char.
42820         * Makerules (check-abi): Dump diff of symlist if the test
42821         fails.
42823 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42825         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
42826         using abort.
42828         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
42829         Remove unused variable ST.
42831 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42833         [BZ #16354]
42834         [BZ #17061]
42835         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
42836         small arguments before calling __expm1.
42837         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
42838         small arguments before calling __expm1f.
42839         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
42840         small arguments before calling __expm1l.
42841         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
42842         Likewise.
42843         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
42844         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
42845         spurious underflow for some cosh tests.
42846         * math/auto-libm-test-out: Regenerated.
42847         * sysdeps/i386/fpu/libm-test-ulps: Update.
42849         [BZ #17050]
42850         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
42851         (__ieee754_y1): Set errno if return value overflows.
42852         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
42853         (__ieee754_y1f): Set errno if return value overflows.
42854         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
42855         (__ieee754_y1l): Set errno if return value overflows.
42856         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
42857         (__ieee754_y1l): Set errno if return value overflows.
42858         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
42859         * math/auto-libm-test-out: Regenerated.
42861         * math/gen-auto-libm-tests.c: Document use of
42862         ignore-zero-inf-sign.
42863         (input_flag_type): Add value flag_ignore_zero_inf_sign.
42864         (input_flags): Add ignore-zero-inf-sign.
42865         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
42866         * math/gen-libm-test.pl (generate_testfile): Handle
42867         ignore-zero-inf-sign.
42868         * math/auto-libm-test-in: Mark some cpow tests with
42869         ignore-zero-inf-sign and some with xfail-rounding.
42870         * math/auto-libm-test-out: Regenerated.
42871         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
42872         * sysdeps/i386/fpu/libm-test-ulps: Update.
42873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42875         [BZ #16315]
42876         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
42877         overflowing or underflowing operations take place with sign of
42878         result.
42879         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42880         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
42881         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
42882         (__ieee754_pow): Recompute overflowing and underflowing results in
42883         original rounding mode.
42884         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
42885         (__powl_helper): Allow negative argument X and scale negated value
42886         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
42887         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
42888         overflowing or underflowing operations take place with sign of
42889         result.
42890         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
42891         Include <math.h>.
42892         * math/auto-libm-test-in: Add more tests of pow.
42893         * math/auto-libm-test-out: Regenerated.
42894         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
42895         (pow_tonearest_test_data): Remove.
42896         (pow_test_tonearest): Likewise.
42897         (pow_towardzero_test_data): Likewise.
42898         (pow_test_towardzero): Likewise.
42899         (pow_downward_test_data): Likewise.
42900         (pow_test_downward): Likewise.
42901         (pow_upward_test_data): Likewise.
42902         (pow_test_upward): Likewise.
42903         (main): Don't call removed functions.
42904         * sysdeps/i386/fpu/libm-test-ulps: Update.
42905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42907 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
42910         Moved ...
42911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
42912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42913         Moved ...
42914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
42915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42916         Moved ...
42917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
42918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42919         Moved ...
42920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
42921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42922         File removed.
42923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42924         File removed.
42925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
42926         File removed.
42927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
42928         File removed.
42929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
42930         File removed.
42931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
42932         File removed.
42933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
42934         File removed.
42935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42936         File removed.
42937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
42938         File removed.
42939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42940         File removed.
42941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
42942         File removed.
42943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
42944         File removed.
42945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42946         Moved ...
42947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42949         Moved ...
42950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42951         ... here.
42952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42953         Moved ...
42954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42956         Moved ...
42957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42959         Moved ...
42960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42962         Moved ...
42963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42965         Moved ...
42966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42968         Moved ...
42969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42971         Moved ...
42972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42975         ... here.
42976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42977         Moved ...
42978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42980         Moved ...
42981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42982         ... here.
42983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42984         Moved ...
42985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42986         ... here.
42987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42988         Moved ...
42989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42990         ... here.
42991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42992         Moved ...
42993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42995         Moved ...
42996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43000         Moved ...
43001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43002         ... here.
43003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43004         Moved ...
43005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43006         ... here.
43007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43008         Moved ...
43009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43011         Moved ...
43012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43014         Moved ...
43015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43017         Moved ...
43018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43020         Moved ...
43021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43022         ... here.
43023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43024         Moved ...
43025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43027         Moved ...
43028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43030         Moved ...
43031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43033         Moved ...
43034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43038         Moved ...
43039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43041         Moved ...
43042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43044         Moved ...
43045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43046         ... here.
43047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43048         Moved ...
43049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43050         ... here.
43051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43052         Moved ...
43053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43054         ... here.
43055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43056         Moved ...
43057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43059         Moved ...
43060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43062         Moved ...
43063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43065         Moved ...
43066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43067         ... here.
43068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43069         Moved ...
43070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43071         ... here.
43072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43073         Moved ...
43074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43075         ... here.
43076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43077         Moved ...
43078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43080         Moved ...
43081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43083 2014-06-23  Will Newton  <will.newton@linaro.org>
43084             Wilco  <wdijkstr@arm.com>
43086         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43087         implementation.  Include get-rounding-mode.h.
43088         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43089         [!libc_feholdsetround_noex_ctx]: Define
43090         libc_feholdsetround_noex_ctx.
43091         [!libc_feholdsetround_noexf_ctx]: Define
43092         libc_feholdsetround_noexf_ctx.
43093         [!libc_feholdsetround_noexl_ctx]: Define
43094         libc_feholdsetround_noexl_ctx.
43095         (libc_feholdsetround_ctx): New function.
43096         (libc_feresetround_ctx): New function.
43097         (libc_feholdsetround_noex_ctx): New function.
43098         (libc_feresetround_noex_ctx): New function.
43100 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43102         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43103         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43104         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43105         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43106         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43107         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43109         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43110         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43111         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43112         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43113         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43114         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43116         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43117         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43118         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43119         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43120         Moved ...
43121         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43122         ... here.
43123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43124         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43125         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43126         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43127         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43128         Moved ...
43129         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43131         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43133         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43134         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43135         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43136         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43137         Moved ...
43138         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43139         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43140         Moved ...
43141         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43142         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43143         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43145         Moved ...
43146         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43147         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43148         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43149         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43150         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43151         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43152         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43153         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43154         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43156         Moved ...
43157         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43158         ... here.
43159         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43160         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43161         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43162         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43163         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43164         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43165         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43166         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43167         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43168         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43169         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43170         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43171         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43172         Moved ...
43173         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43174         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43175         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43176         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43177         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43178         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43179         Moved ...
43180         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43181         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43182         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43183         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43184         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43186         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43187         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43188         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43189         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43190         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43191         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43192         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43193         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43194         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43195         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43196         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43197         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43198         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43199         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43200         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43201         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43202         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43203         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43204         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43205         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43206         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43207         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43208         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43209         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43210         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43211         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43212         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43213         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43215 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43217         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43218         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43219         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43220         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43221         (IPV6_PMTUDISC_INTERFACE): Likewise.
43222         (IPV6_PMTUDISC_OMIT): Likewise.
43224 2014-06-23  Andreas Schwab  <schwab@suse.de>
43226         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
43227         Remove unused errout label.
43229 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43231         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
43232         macro: hardware supports Vector Crypto instructions.
43234 2014-06-23  Will Newton  <will.newton@linaro.org>
43236         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
43237         rather than __builtin_expect.
43239         * elf/dl-lookup.c (undefined_msg): Remove variable.
43240         (_dl_lookup_symbol_x): Replace undefined_msg with string
43241         literal.
43243         * elf/dl-lookup.c (do_lookup_unique): New function.
43244         (do_lookup_x): Move STB_GNU_UNIQUE handling code
43245         to a separate function.
43247 2014-06-23  Andreas Schwab  <schwab@suse.de>
43249         [BZ #17079]
43250         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
43251         before reading the next line.
43253 2014-06-23  Will Newton  <will.newton@linaro.org>
43255         * test-skeleton.c (signal_handler): Use printf and %m
43256         rather than perror.  Use printf rather than fprintf to
43257         stderr.  Use puts rather than fputs to stderr.
43258         (main): Likewise.
43260 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
43262         * nscd/nscd.c (thread_info_t): Remove typedef.
43263         (thread_info): Remove variable.
43265 2014-06-21  Allan McRae  <allan@archlinux.org>
43267         * NEWS: Mention CVE-2014-4043.
43269 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43271         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
43272         * nptl/smp.h: ... here.
43274         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
43276         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
43277         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
43278         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
43279         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
43281         * nptl/allocatestack.c: Include <stack-aliasing.h>.
43282         * nptl/stack-aliasing.h: New file.
43283         * sysdeps/i386/i686/stack-aliasing.h: New file.
43284         * sysdeps/i386/i686/nptl/Makefile: File removed.
43285         * sysdeps/x86_64/stack-aliasing.h: New file.
43286         * sysdeps/x86_64/nptl/Makefile
43287         (CFLAGS-pthread_create.c): Variable removed.
43289         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
43290         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
43291         old file.
43292         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
43293         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
43294         old file.
43296 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
43298         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43299         (__ASSUME_SIGFRAME_V2): Remove macro.
43300         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
43301         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43302         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
43303         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
43304         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
43305         Declare as function.  Remove conditional macro definitions.
43306         (__default_rt_sa_restorer): Likewise.
43307         (__default_sa_restorer_v1): Remove declaration.
43308         (__default_sa_restorer_v2): Likewise.
43309         (__default_rt_sa_restorer_v1): Likewise.
43310         (__default_rt_sa_restorer_v2): Likewise.
43311         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
43312         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
43313         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
43315 2014-06-20  Roland McGrath  <roland@hack.frob.com>
43317         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
43318         (libpthread-routines): Add sysdep.
43319         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
43320         * sysdeps/unix/sysv/linux/sparc/Versions
43321         (libpthread: GLIBC_2.3.3): New version set.
43322         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
43323         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
43324         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
43325         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
43326         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
43327         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
43328         Moved ...
43329         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
43330         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
43331         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
43332         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
43333         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
43334         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
43335         * sysdeps/sparc/nptl/sem_init.c: ... here.
43336         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
43337         * sysdeps/sparc/nptl/sem_post.c: ... here.
43338         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
43339         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
43340         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
43341         * sysdeps/sparc/nptl/sem_wait.c: ... here.
43342         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
43343         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
43344         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
43345         (libpthread-routines): Add cpu_relax.
43346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
43347         File removed.
43348         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
43349         (librt: GLIBC_2.3.3): New version set.
43350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
43351         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
43352         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
43353         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
43354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
43355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
43356         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
43357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
43358         Moved ...
43359         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
43360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
43361         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
43362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
43363         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
43364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
43365         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
43366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
43367         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
43368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
43369         Moved ...
43370         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
43371         Update #include.
43372         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
43373         Moved ...
43374         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
43375         Update #include.
43376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
43377         Moved ...
43378         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
43379         Update #include.
43380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
43381         Moved ...
43382         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
43383         Update #include.
43384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
43385         Moved ...
43386         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
43387         Update #include.
43388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
43389         Moved ...
43390         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
43391         Update #include.
43392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
43393         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
43394         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
43395         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
43396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
43397         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
43398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
43399         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
43400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
43401         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
43402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
43403         Moved ...
43404         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
43405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
43406         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
43407         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
43408         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
43410 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43412         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
43413         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
43414         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
43415         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
43416         * nscd/nscd.c: Likewise.
43417         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
43418         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
43419         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
43420         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
43422         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
43423         <kernel-features.h>.
43424         (init_mq_netlink): Remove conditional have_sock_cloexec
43425         definitions.  Remove code conditional on have_sock_cloexec < 0.
43426         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
43427         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
43428         * sysdeps/unix/sysv/linux/opensock.c: Do not include
43429         <kernel-features.h>.
43430         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
43431         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
43433 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43436         Add tests for memset_chk and memset.
43438         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
43439         with AVX2_Usable.
43441 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43443         [BZ #16046]
43444         * elf/tst-dl-iter-static.c: New file.
43445         * elf/Makefile (tests-static): Add tst-dl-iter-static.
43447         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
43448         error.
43450 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43452         * sysdeps/unix/sysv/linux/kernel-features.h
43453         (__ASSUME_F_GETOWN_EX): Remove macro.
43454         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
43455         <kernel-features.h>.
43456         (miss_F_GETOWN_EX): Remove variable or macro.
43457         (do_fcntl): Do not check miss_F_GETOWN_EX.
43458         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
43460         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
43461         Remove macro.
43462         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
43463         [!__ASSUME_AT_RANDOM]: Remove conditional code.
43464         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
43466         * sysdeps/unix/sysv/linux/kernel-features.h
43467         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
43468         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
43469         [ADJ_OFFSET_SS_READ]: Make code unconditional.
43470         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
43472 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
43474         [BZ #17075]
43475         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
43476         Fix calculation of the symbol's value.
43477         * sysdeps/arm/tst-armtlsdescloc.c: New file.
43478         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
43479         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
43480         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
43481         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
43482         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
43483         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
43484         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
43485         (modules-names): Add `tst-armtlsdescmod',
43486         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
43487         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
43488         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43489         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
43490         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
43491         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
43492         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
43493         ($(objpfx)tst-armtlsdescloc): New dependency.
43494         ($(objpfx)tst-armtlsdescextnow): Likewise.
43495         ($(objpfx)tst-armtlsdescextlazy): Likewise.
43496         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
43497         TLS scheme support.
43498         * sysdeps/arm/configure: Regenerate.
43500 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
43502         * include/fcntl.h (__atfct_seterrno): Remove prototype.
43503         (__atfct_seterrno_2): Likewise.
43504         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
43505         <kernel-features.h>.
43506         (__ASSUME_ATFCTS): Do not undefine and redefine.
43507         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
43508         (__have_atfcts): Remove conditional definition.
43509         (__fxstatat([__NR_fstatat64]: Make code unconditional.
43510         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
43511         unreachable if [__ASSUME_ATFCTS].
43512         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
43513         not undefine and redefine.
43514         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
43515         <kernel-features.h>.
43516         (faccessat) [__NR_faccessat]: Make code unconditional.
43517         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
43518         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
43519         <kernel-features.h>.
43520         (fchmodat) [__NR_fchmodat]: Make code unconditional.
43521         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43522         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
43523         <kernel-features.h>.
43524         (fchownat) [__NR_fchownat]: Make code unconditional.
43525         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
43526         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
43527         <kernel-features.h>.
43528         (futimesat) [__NR_futimesat]: Make code unconditional.
43529         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
43530         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
43531         <kernel-features.h>.
43532         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43533         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43534         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
43535         <kernel-features.h>.
43536         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
43537         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43538         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
43539         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
43540         <kernel-features.h>.
43541         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
43542         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43543         * sysdeps/unix/sysv/linux/linkat.c: Do not include
43544         <kernel-features.h>.
43545         (linkat) [__NR_linkat]: Make code unconditional.
43546         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43547         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
43548         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
43549         <kernel-features.h>.
43550         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
43551         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
43552         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
43553         <kernel-features.h>.
43554         (mkdirat) [__NR_mkdirat]: Make code unconditional.
43555         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
43556         * sysdeps/unix/sysv/linux/openat.c: Do not include
43557         <kernel-features.h>.
43558         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
43559         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
43560         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
43561         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
43562         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
43563         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
43564         <kernel-features.h>.
43565         (readlinkat) [__NR_readlinkat]: Make code unconditional.
43566         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
43567         result of INLINE_SYSCALL directly, not via int variable.
43568         * sysdeps/unix/sysv/linux/renameat.c: Do not include
43569         <kernel-features.h>.
43570         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
43571         (renameat) [__NR_renameat]: Make code unconditional.
43572         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
43573         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
43574         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
43575         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
43576         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
43577         (__ASSUME_ATFCTS): Do not undefine and redefine.
43578         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
43579         <kernel-features.h>.
43580         (symlinkat) [__NR_symlinkat]: Make code unconditional.
43581         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43582         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
43583         <kernel-features.h>.
43584         (unlinkat) [__NR_unlinkat]: Make code unconditional.
43585         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
43586         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
43587         (__ASSUME_ATFCTS): Do not undefine and redefine.
43588         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
43589         <kernel-features.h>.
43590         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
43591         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
43592         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
43593         <kernel-features.h>.
43594         (__xmknodat) [__NR_mknodat]: Make code unconditional.
43595         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
43597 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
43599         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
43601 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
43603         [BZ #17069]
43604         * posix/regcomp.c (parse_reg_exp): Deallocate partially
43605         constructed tree before returning error.
43606         * posix/bug-regexp36.c: Expand test case.
43608 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43610         [BZ #6803]
43611         * math/libm-test.inc (scalbln_test_date):
43612         Add errno expectations.
43613         * math/w_scalblnf.c: New File.
43614         Add wrapper which checks for setting errno to ERANGE.
43615         Add weak_alias for corresponding scalbln function.
43616         * math/w_scalbln.c: Likewise.
43617         * math/w_scalblnl.c: Likewise.
43618         * math/Makefile (libm-calls): Add w_scalbln.
43619         * sysdeps/ieee754/flt-32/s_scalblnf.c:
43620         Remove weak_alias for corresponding scalbln function.
43621         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43622         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43623         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43624         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43625         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
43626         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43627         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
43628         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43629         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
43630         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
43631         Remove long_double_symbol for scalblnl function in libm, libc.
43632         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
43633         Add wrapper which checks for setting errno to ERANGE.
43634         Add long_double_symbol for scalblnl function in libm, libc.
43635         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
43636         Remove long_double_symbol for scalblnl in libm.
43637         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
43638         Add wrapper which checks for setting errno to ERANGE.
43639         Add long_double_symbol for scalblnl function in libm.
43640         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
43641         Do not use wrapper because of own implementation.
43643 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
43645         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
43646         3 bytes for __pad1 for x32.
43647         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
43649 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
43650             H.J. Lu  <hongjiu.lu@intel.com>
43652         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
43653         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
43654         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43655         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43656         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
43658 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
43660         [BZ #17069]
43661         * posix/regcomp.c (parse_expression): Deallocate partially
43662         constructed tree before returning error.
43663         * posix/Makefile.c (tests): Add bug-regex36.
43664         (generated): Add bug-regex36.mtrace.
43665         (tests-special): Add $(objpfx)bug-regex36-mem.out
43666         (bug-regex36-ENV): New variable.
43667         ($(objpfx)bug-regex36-mem.out): New rule.
43668         * posix/bug-regex36.c: New file.
43670 2014-06-19  Will Newton  <will.newton@linaro.org>
43672         * malloc/malloc.c (systrim): If extra is zero then return
43673         early.
43675 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43677         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
43679 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
43681         * sysdeps/aarch64/strchr.S: New file.
43683 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43685         [BZ #17022]
43686         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
43687         from arguments -2 or below.
43688         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43689         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
43691 2014-06-18  Andreas Schwab  <schwab@suse.de>
43693         [BZ #17062]
43694         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
43695         of a bracket expr not to run off the end of the string.
43696         * posix/Makefile (tests): Add tst-fnmatch3.
43697         * posix/tst-fnmatch3.c: New file.
43699 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
43701         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
43702         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43703         [$(cross-compiling) = no]: Likewise.
43704         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43705         [$(cross-compiling) = no]: Likewise.
43707 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43709         [BZ #17031]
43710         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
43711         double, adjusted for any remainder from the high double.
43712         * math/libm-test.inc (nearbyint): Add tests.
43713         (rint): Likewise.
43715 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43717         * nptl/sysdeps/powerpc/Makefile: Moved ...
43718         * sysdeps/powerpc/nptl/Makefile: ... here.
43719         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
43720         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
43721         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
43722         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
43723         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
43724         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
43725         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
43726         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
43727         * nptl/sysdeps/powerpc/tls.h: Moved ...
43728         * sysdeps/powerpc/nptl/tls.h: ... here.
43730 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
43732         [BZ #16681]
43733         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
43734         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
43735         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
43736         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
43737         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
43738         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
43739         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
43740         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
43741         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
43743 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
43745         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
43747 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
43749         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
43750         defined operator.
43752         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
43753         $TIMEOUTFACTOR.
43755 2014-06-16  Florian Weimer  <fweimer@redhat.com>
43757         [BZ #17058]
43758         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
43759         non-executed part of the test.
43761 2014-06-16  Andreas Schwab  <schwab@suse.de>
43763         * string/bits/string2.h (strdup, strndup): Update feature guard.
43765 2014-06-14  David S. Miller  <davem@davemloft.net>
43767         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43769 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
43771         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
43772         that was previously under [RESET_PID].
43773         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
43775         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
43776         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
43777         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
43778         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
43779         (__libc_vfork): New strong alias.
43780         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
43782 2014-06-14 Andi Kleen  <ak@linux.intel.com>
43784         * sysdeps/generic/elide.h: New file.
43786 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43788         * Makefile (installed-headers): Adjust path of pthread.h header.
43790 2014-06-13  Roland McGrath  <roland@hack.frob.com>
43792         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
43793         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
43794         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
43795         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
43797         * nptl/sysdeps/s390/Makefile: Moved ...
43798         * sysdeps/s390/nptl/Makefile: ... here.
43799         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
43800         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
43801         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
43802         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
43803         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
43804         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
43805         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
43806         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
43807         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
43808         * sysdeps/s390/nptl/pthreaddef.h: ... here.
43809         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
43810         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
43811         * nptl/sysdeps/s390/tls.h: Moved ...
43812         * sysdeps/s390/nptl/tls.h: ... here.
43814         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
43815         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
43817 2014-06-13  David S. Miller  <davem@davemloft.net>
43819         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
43820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
43821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
43822         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
43823         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
43824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
43825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
43826         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
43827         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
43828         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
43829         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
43830         Remove RESET_PID cpp guards.
43831         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
43832         Remove RESET_PID cpp guards.
43833         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
43835 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
43837         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
43838         __sp to uintptr_t.
43840 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43842         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
43843         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
43844         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
43845         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
43846         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
43847         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
43848         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
43849         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
43850         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
43851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
43852         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
43853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
43854         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
43855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
43856         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
43857         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
43858         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
43859         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
43860         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
43861         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
43863         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
43864         (pthread_rwlock_rdlock): Add elision.
43865         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
43866         (pthread_rwlock_wrlock): Add elision.
43867         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
43868         (pthread_rwlock_trywrlock): Add elision.
43869         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
43870         (pthread_rwlock_tryrdlock): Add elision.
43871         * nptl/pthread_rwlock_unlock.c: Include elide.h.
43872         (pthread_rwlock_tryrdlock): Add elision unlock.
43873         * nptl/sysdeps/pthread/pthread.h:
43874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
43875         (PTHREAD_RWLOCK_INITIALIZER,
43876         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
43877         Handle new elision field.
43878         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
43879         * sysdeps/arm/nptl/bits/pthreadtypes.h
43880         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43881         * sysdeps/sh/nptl/bits/pthreadtypes.h
43882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43883         * sysdeps/tile/nptl/bits/pthreadtypes.h
43884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43885         * sysdeps/a/nptl/bits/pthreadtypes.h
43886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43887         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43888         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43889         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43891         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
43892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43893         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43894         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43895         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43896         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43897         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43898         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43899         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43900         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43901         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
43902         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43903         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
43904         (elision_init): Set try_xbegin to zero when no RTM.
43905         * sysdeps/x86/nptl/bits/pthreadtypes.h
43906         (pthread_rwlock_t): Change __pad1 to __rwelision.
43907         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
43909 2014-06-13  Andi Kleen  <ak@linux.intel.com>
43911         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
43912         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
43913         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
43914         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
43916 2014-06-13  Meador Inge  <meadori@codesourcery.com>
43918         [BZ #16996]
43919         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
43920         that the cached result has been set before returning it.
43922 2014-06-12  Roland McGrath  <roland@hack.frob.com>
43924         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
43925         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
43926         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
43927         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
43928         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
43929         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
43931         * nptl/sysdeps/sparc/Makefile: Moved ...
43932         * sysdeps/sparc/nptl/Makefile: ... here.
43933         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
43934         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
43935         * nptl/sysdeps/sparc/tls.h: Moved ...
43936         * sysdeps/sparc/nptl/tls.h: ... here.
43937         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
43938         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
43939         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
43940         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
43941         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
43942         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
43943         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
43944         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43945         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43946         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43947         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43948         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43949         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43950         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43951         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43952         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43953         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43954         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43955         Update #include.
43956         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43957         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43958         Update #include.
43959         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43960         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43961         Update #include.
43962         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43963         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43964         Update #include.
43966         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43968         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43969         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43971         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43972         (struct list_links): Type removed.
43973         (struct thread_node, struct timer_node): Replace struct list_links
43974         with struct list_head.
43975         (list_unlink_ip): Likewise.
43976         * sysdeps/pthread/timer_routines.c
43977         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43978         (list_append, list_insbefore): Likewise.
43979         (list_init): Function removed.
43980         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43981         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43982         * sysdeps/pthread/Makefile: ... here, new file.
43984         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43985         * sysdeps/nptl/Implies: ... here.
43986         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43987         * nptl/sysdeps/pthread/list.h: Moved ...
43988         * include/list.h: ... here.
43989         * nptl/sysdeps/pthread/createthread.c: Moved ...
43990         * nptl/createthread.c: ... here.
43991         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43992         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43993         * nptl/pt-longjmp.c: ... here.
43994         * nptl/sysdeps/pthread/Makefile: Moved ...
43995         * sysdeps/nptl/Makefile: ... here.
43996         * nptl/sysdeps/pthread/Subdirs: Moved ...
43997         * sysdeps/nptl/Subdirs: ... here.
43998         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43999         * sysdeps/nptl/aio_misc.h: ... here.
44000         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44001         * sysdeps/nptl/bits/libc-lock.h: ... here.
44002         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44003         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44004         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44005         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44006         * nptl/sysdeps/pthread/configure: Moved ...
44007         * sysdeps/nptl/configure: ... here.
44008         * nptl/sysdeps/pthread/configure.ac: Moved ...
44009         * sysdeps/nptl/configure.ac: ... here.
44010         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44011         * sysdeps/nptl/gai_misc.h: ... here.
44012         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44013         * sysdeps/nptl/librt-cancellation.c: ... here.
44014         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44015         * sysdeps/nptl/malloc-machine.h: ... here.
44016         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44017         * sysdeps/nptl/pthread-functions.h: ... here.
44018         * nptl/sysdeps/pthread/pthread.h: Moved ...
44019         * sysdeps/nptl/pthread.h: ... here.
44020         * nptl/sysdeps/pthread/setxid.h: Moved ...
44021         * sysdeps/nptl/setxid.h: ... here.
44022         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44023         * sysdeps/nptl/sigfillset.c: ... here.
44024         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44025         * sysdeps/nptl/tcb-offsets.h: ... here.
44026         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44027         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44028         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44029         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44030         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44031         * sysdeps/pthread/allocalim.h: ... here.
44032         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44033         * sysdeps/pthread/bits/sigthread.h: ... here.
44034         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44035         * sysdeps/pthread/flockfile.c: ... here.
44036         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44037         * sysdeps/pthread/ftrylockfile.c: ... here.
44038         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44039         * sysdeps/pthread/funlockfile.c: ... here.
44040         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44041         * sysdeps/pthread/posix-timer.h: ... here.
44042         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44043         * sysdeps/pthread/timer_create.c: ... here.
44044         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44045         * sysdeps/pthread/timer_delete.c: ... here.
44046         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44047         * sysdeps/pthread/timer_getoverr.c: ... here.
44048         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44049         * sysdeps/pthread/timer_gettime.c: ... here.
44050         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44051         * sysdeps/pthread/timer_routines.c: ... here.
44052         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44053         * sysdeps/pthread/timer_settime.c: ... here.
44054         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44055         * sysdeps/pthread/tst-timer.c: ... here.
44056         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44057         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44059         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44060         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44062         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44063         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44064         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44065         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44066         Update #include target.
44067         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44068         * sysdeps/i386/i686/nptl/Makefile: ... here.
44069         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44070         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44071         Update #include target.
44072         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44073         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44074         * nptl/sysdeps/i386/Makefile: Moved ...
44075         * sysdeps/i386/nptl/Makefile: ... here.
44076         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44077         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44078         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44079         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44080         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44081         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44082         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44083         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44084         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44085         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44086         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44087         * nptl/sysdeps/i386/tls.h: Moved ...
44088         * sysdeps/i386/nptl/tls.h: ... here.
44090         * sysdeps/sh/Makefile [$(subdir) = csu]
44091         (gen-as-const-headers): Add tcb-offsets.sym.
44092         * nptl/sysdeps/sh/Makefile: File removed.
44093         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44094         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44095         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44096         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44097         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44098         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44099         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44100         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44101         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44102         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44103         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44104         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44105         * nptl/sysdeps/sh/tls.h: Moved ...
44106         * sysdeps/sh/nptl/tls.h: ... here.
44107         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44108         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44109         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44110         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44111         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44112         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44113         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44114         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44115         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44116         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44117         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44118         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44119         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44120         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44121         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44122         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44123         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44124         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44125         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44126         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44127         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44128         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44129         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44130         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44131         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44132         Moved ...
44133         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44134         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44135         Moved ...
44136         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44137         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44138         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44139         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44140         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44141         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44142         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44143         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44144         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44145         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44146         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44147         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44148         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44149         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44150         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44151         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44152         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44153         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44154         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44156 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44158         * posix/spawn_faction_addopen.c: Include string.h.
44160 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44162         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44163         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44164         * nptl/sysdeps/x86_64/Makefile: Moved ...
44165         * sysdeps/x86_64/nptl/Makefile: ... here.
44166         * nptl/sysdeps/x86_64/configure: Moved ...
44167         * sysdeps/x86_64/nptl/configure: ... here.
44168         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44169         * sysdeps/x86_64/nptl/configure.ac: ... here.
44170         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44171         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44172         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44173         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44174         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44175         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44176         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44177         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44178         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44179         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44180         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44181         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44182         * nptl/sysdeps/x86_64/tls.h: Moved ...
44183         * sysdeps/x86_64/nptl/tls.h: ... here.
44184         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44185         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44186         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44187         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44189         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44191 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44195 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44197         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44198         type.
44199         [POSIX] (off_t): Likewise.
44200         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44201         [POSIX] (S_ISBLK): Require macro.
44202         [POSIX] (S_ISCHR): Likewise.
44203         [POSIX] (S_ISDIR): Likewise.
44204         [POSIX] (S_ISFIFO): Likewise.
44205         [POSIX] (S_ISREG): Likewise.
44206         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44207         optional-macro.
44208         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44209         type.
44210         [POSIX] (time_t): Likewise.
44211         [POSIX] (timer_t): Likewise.
44213 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44215         [BZ #17048]
44216         * posix/spawn_int.h (struct __spawn_action): Make the path string
44217         non-const to support deallocation.
44218         * posix/spawn_faction_addopen.c
44219         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44220         * posix/spawn_faction_destroy.c
44221         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44222         path in all spawn_do_open actions.
44223         * posix/tst-spawn.c (do_test): Exercise the copy operation in
44224         posix_spawn_file_actions_addopen.
44226 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
44228         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
44229         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
44230         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
44231         conditional code always true.
44232         (__libc_vfork): New alias.
44234 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44236         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44237         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
44239         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
44241         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44242         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
44244         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44245         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
44247         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44248         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
44250 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44252         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
44253         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
44254         multiarch strcmp for PPC64.
44255         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
44256         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
44257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
44258         multiarch optimizations.
44259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44260         (__libc_ifunc_impl_list): Likewise.
44262 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44264         * benchtests/scripts/validate_benchout.py: New script.
44265         * benchtests/Makefile (bench-func): Call it.
44266         * benchtests/scripts/benchout.schema.json: New file.
44268 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
44270         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
44271         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
44272         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
44273         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
44274         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
44275         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
44276         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
44277         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
44278         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
44279         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
44280         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
44281         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
44282         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
44283         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
44284         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
44285         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
44286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
44287         Moved ...
44288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
44289         ... here.
44290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
44291         Moved ...
44292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
44293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
44294         Moved ...
44295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
44296         ... here.
44297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
44298         Moved ...
44299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
44300         ... here.
44301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
44302         Moved ...
44303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
44304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
44305         Moved ...
44306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
44307         ... here.
44308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
44309         Moved ...
44310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
44311         ... here.
44312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
44313         Moved ...
44314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
44315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
44316         Moved ...
44317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
44318         ... here.
44319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
44320         Moved ...
44321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
44322         ... here.
44323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
44324         Moved ...
44325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
44326         ... here.
44327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
44328         Moved ...
44329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
44330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
44331         Moved ...
44332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
44333         ... here.
44334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
44335         Moved ...
44336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
44337         ... here.
44338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
44339         Moved ...
44340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
44341         ... here.
44342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
44343         Moved ...
44344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
44345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
44346         Moved ...
44347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
44348         ... here.
44349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
44350         Moved ...
44351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
44352         ... here.
44353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
44354         Moved ...
44355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
44356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
44357         Moved ...
44358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
44359         ... here.
44360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
44361         Moved ...
44362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
44363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
44364         Moved ...
44365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
44366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
44367         Moved ...
44368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
44369         ... here.
44370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
44371         Moved ...
44372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
44373         ... here.
44374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
44375         Moved ...
44376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
44377         ... here.
44378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
44379         Moved ...
44380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
44381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
44382         Moved ...
44383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
44384         ... here.
44385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
44386         Moved ...
44387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
44388         ... here.
44389         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
44390         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
44391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
44392         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
44393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
44394         Moved ...
44395         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
44396         ... here.
44397         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
44398         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
44399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
44400         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
44401         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
44402         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
44403         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
44404         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
44405         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
44406         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
44407         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
44408         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
44409         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
44410         Moved ...
44411         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
44412         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
44413         Moved ...
44414         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
44415         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
44416         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
44417         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
44418         Moved ...
44419         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
44420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
44421         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
44422         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
44423         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
44424         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
44425         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
44427 2014-06-10  Wilco  <wdijkstr@arm.com>
44429         * math/test-fenv-return.c: New file.
44430         * math/Makefile: Add new test test-fenv-return.
44432 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
44434         [BZ #17042]
44435         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
44436         when x - 1 is zero.
44437         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
44438         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
44439         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
44440         0.0L for an argument of 1.0L.
44441         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
44442         Likewise.
44443         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
44444         value when x - 1 is zero.
44445         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
44446         * sysdeps/i386/fpu/libm-test-ulps: Update.
44447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44449 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
44451         [BZ #15119]
44452         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
44454 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44456         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
44457         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
44459 2014-06-09  Roland McGrath  <roland@hack.frob.com>
44461         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44462         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
44464         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44465         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
44467         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44468         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
44470         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
44471         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
44473         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
44474         if not already defined.
44475         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
44476         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
44477         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
44478         (TLS_INIT_TP): Use it.
44479         (TLS_DEFINE_INIT_TP): New macro.
44480         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
44482 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
44484         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
44485         constant.
44486         [POSIX] (IXANY): Likewise.
44487         [POSIX] (OLCUC): Likewise.
44488         [POSIX || POSIX2008] (CBAUD): Do not allow.
44489         [POSIX || POSIX2008] (DEFECHO): Likewise.
44490         [POSIX || POSIX2008] (ECHOCTL): Likewise.
44491         [POSIX || POSIX2008] (ECHOKE): Likewise.
44492         [POSIX || POSIX2008] (ECHOPRT): Likewise.
44493         [POSIX || POSIX2008] (EXTA): Likewise.
44494         [POSIX || POSIX2008] (EXTB): Likewise.
44495         [POSIX || POSIX2008] (FLUSHO): Likewise.
44496         [POSIX || POSIX2008] (LOBLK): Likewise.
44497         [POSIX || POSIX2008] (PENDIN): Likewise.
44498         [POSIX || POSIX2008] (SWTCH): Likewise.
44499         [POSIX || POSIX2008] (VDISCARD): Likewise.
44500         [POSIX || POSIX2008] (VDSUSP): Likewise.
44501         [POSIX || POSIX2008] (VLNEXT): Likewise.
44502         [POSIX || POSIX2008] (VREPRINT): Likewise.
44503         [POSIX || POSIX2008] (VSTATUS): Likewise.
44504         [POSIX || POSIX2008] (VWERASE): Likewise.
44505         (B*): Change to B[0123456789]*.
44506         * conform/data/time.h-data [POSIX || UNIX98]
44507         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
44508         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44509         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
44510         [POSIX] (tm_*): Do not allow.
44512 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
44514         * Makefile (install): Don't set LANGUAGE.
44515         * Makefile.in (install): Likewise.
44516         * assert/Makefile (test-assert-ENV): Remove variable.
44517         (test-assert-perr-ENV): Likewise.
44518         * elf/Makefile (neededtest4-ENV): Likewise.
44519         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44520         [$(cross-compiling) = no]: Don't set LANGUAGE.
44521         * io/ftwtest-sh (LANG): Remove variable.
44522         * libio/Makefile (tst-widetext-ENV): Likewise.
44523         * manual/install.texi (Running make install): Don't refer to
44524         environment settings for make install.
44525         * INSTALL: Regenerated.
44526         * nptl/tst-tls6.sh: Don't set LANG.
44527         * posix/globtest.sh (LANG): Remove variable.
44528         * string/Makefile (tester-ENV): Likewise.
44529         (inl-tester-ENV): Likewise.
44530         (noinl-tester-ENV): Likewise.
44531         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44532         [$(cross-compiling) = no]: Don't set LANGUAGE.
44533         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
44534         without explicit environment settings.
44536 2014-06-06  Roland McGrath  <roland@hack.frob.com>
44538         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
44539         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
44540         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
44541         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
44543 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
44545         * crypt/crypt-private.h [DOS]: Add some includes taken from the
44546         other files in the crypt directory.
44547         * crypt/crypt.c: Remove duplicate includes.
44548         * crypt/crypt-entry.c: Likewise.
44549         * crypt/crypt_util.c: Likewise.
44551 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
44553         * Makeconfig (run-program-env): New variable.
44554         (run-program-prefix-before-env): Likewise.
44555         (run-program-prefix-after-env): Likewise.
44556         (run-program-prefix): Define in terms of new variables.
44557         (built-program-cmd-before-env): New variable.
44558         (built-program-cmd-after-env): Likewise.
44559         (built-program-cmd): Define in terms of new variables.
44560         (test-program-prefix-before-env): New variable.
44561         (test-program-prefix-after-env): Likewise.
44562         (test-program-prefix): Define in terms of new variables.
44563         (test-program-cmd-before-env): New variable.
44564         (test-program-cmd-after-env): Likewise.
44565         (test-program-cmd): Define in terms of new variables.
44566         * Rules (make-test-out): Use $(run-program-env).
44567         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
44568         (help): Do not mention environment variables.  Mention
44569         --timeoutfactor option.
44570         (timeoutfactor): New variable.
44571         (blacklist_exports): Remove function.
44572         (exports): Remove variable.
44573         (command): Do not include ${exports}.
44574         * manual/install.texi (Configuring and compiling): Do not mention
44575         test wrappers preserving environment variables.  Mention that last
44576         assignment to a variable must take precedence.
44577         * INSTALL: Regenerated.
44578         * benchtests/Makefile (run-bench): Use $(run-program-env).
44579         * catgets/Makefile ($(objpfx)test1.cat): Use
44580         $(built-program-cmd-before-env), $(run-program-env) and
44581         $(built-program-cmd-after-env).
44582         ($(objpfx)test2.cat): Do not specify environment variables
44583         explicitly.
44584         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
44585         $(run-program-env) and $(built-program-cmd-after-env).
44586         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
44587         $(run-program-env) and $(test-program-cmd-after-env).
44588         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
44589         explicitly.
44590         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
44591         run_program_env and test_program_cmd_after_env arguments.
44592         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
44593         * elf/tst-pathopt.sh: Use run_program_env argument.
44594         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
44595         $(test-wrapper-env) and $(run-program-env).
44596         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
44597         run_program_env arguments.
44598         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
44599         * intl/Makefile ($(objpfx)tst-gettext.out): Use
44600         $(test-program-prefix-before-env), $(run-program-env) and
44601         $(test-program-prefix-after-env).
44602         ($(objpfx)tst-gettext2.out): Likewise.
44603         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
44604         run_program_env and test_program_prefix_after_env arguments.
44605         * intl/tst-gettext2.sh: Likewise.
44606         * intl/tst-gettext4.sh: Do not set environment variables
44607         explicitly.
44608         * intl/tst-gettext6.sh: Likewise.
44609         * intl/tst-translit.sh: Likewise.
44610         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
44611         $(test-program-prefix-before-env), $(run-program-env) and
44612         $(test-program-prefix-after-env).
44613         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
44614         run_program_env and test_program_prefix_after_env arguments.
44615         * math/Makefile (run-regen-ulps): Use $(run-program-env).
44616         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
44617         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
44618         explicitly with each use of ${test_wrapper_env}.
44619         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
44620         $(test-program-prefix-before-env), $(run-program-env) and
44621         $(test-program-prefix-after-env).
44622         * posix/tst-getconf.sh: Do not set environment variables
44623         explicitly.
44624         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
44625         run_program_env and test_program_prefix_after_env arguments.
44626         * stdio-common/tst-printf.sh: Do not set environment variables
44627         explicitly.
44628         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
44629         $(test-program-prefix-before-env), $(run-program-env) and
44630         $(test-program-prefix-after-env).
44631         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
44632         run_program_env and test_program_prefix_after_env arguments.
44633         Split $test calls into $test_pre and $test.
44634         * timezone/Makefile (build-testdata): Use
44635         $(built-program-cmd-before-env), $(run-program-env) and
44636         $(built-program-cmd-after-env).
44638 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44640         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
44641         strlen for non SHARED builds.
44643 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44645         * nptl/allocatestack.c (check_list): Inlined function...
44646         (__reclaim_stacks): ... here.
44648 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44650         [BZ #15698]
44651         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
44652         memory overrun.
44654 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
44656         * Rules (make-test-out): Include
44657         LOCPATH=$(common-objpfx)localedata in default environment.
44658         * debug/Makefile (tst-chk1-ENV): Remove variable.
44659         (tst-chk2-ENV): Likewise.
44660         (tst-chk3-ENV): Likewise.
44661         (tst-chk4-ENV): Likewise.
44662         (tst-chk5-ENV): Likewise.
44663         (tst-chk6-ENV): Likewise.
44664         (tst-lfschk1-ENV): Likewise.
44665         (tst-lfschk2-ENV): Likewise.
44666         (tst-lfschk3-ENV): Likewise.
44667         (tst-lfschk4-ENV): Likewise.
44668         (tst-lfschk5-ENV): Likewise.
44669         (tst-lfschk6-ENV): Likewise.
44670         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
44671         (tst-iconv7-ENV): Likewise.
44672         * intl/Makefile (LOCPATH-ENV): Likewise.
44673         (tst-codeset-ENV): Likewise.
44674         (tst-gettext3-ENV): Likewise.
44675         (tst-gettext5-ENV): Likewise.
44676         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
44677         (tst-fopenloc-ENV): Likewise.
44678         (tst-fgetws-ENV): Remove variable.
44679         (tst-ungetwc1-ENV): Likewise.
44680         (tst-ungetwc2-ENV): Likewise.
44681         (bug-ungetwc2-ENV): Likewise.
44682         (tst-swscanf-ENV): Likewise.
44683         (bug-ftell-ENV): Likewise.
44684         (tst-fgetwc-ENV): Likewise.
44685         (tst-fseek-ENV): Likewise.
44686         (tst-ftell-partial-wide-ENV): Likewise.
44687         (tst-ftell-active-handler-ENV): Likewise.
44688         (tst-ftell-append-ENV): Likewise.
44689         * posix/Makefile (tst-fnmatch-ENV): Likewise.
44690         (tst-regexloc-ENV): Likewise.
44691         (bug-regex1-ENV): Likewise.
44692         (tst-regex-ENV): Likewise.
44693         (tst-regex2-ENV): Likewise.
44694         (bug-regex5-ENV): Likewise.
44695         (bug-regex6-ENV): Likewise.
44696         (bug-regex17-ENV): Likewise.
44697         (bug-regex18-ENV): Likewise.
44698         (bug-regex19-ENV): Likewise.
44699         (bug-regex20-ENV): Likewise.
44700         (bug-regex22-ENV): Likewise.
44701         (bug-regex23-ENV): Likewise.
44702         (bug-regex25-ENV): Likewise.
44703         (bug-regex26-ENV): Likewise.
44704         (bug-regex30-ENV): Likewise.
44705         (bug-regex32-ENV): Likewise.
44706         (bug-regex33-ENV): Likewise.
44707         (bug-regex34-ENV): Likewise.
44708         (bug-regex35-ENV): Likewise.
44709         (tst-rxspencer-ENV): Likewise.
44710         (tst-rxspencer-no-utf8-ENV): Likewise.
44711         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
44712         (tst-sscanf-ENV): Likewise.
44713         (tst-swprintf-ENV): Likewise.
44714         (tst-swscanf-ENV): Likewise.
44715         (test-vfprintf-ENV): Likewise.
44716         (scanf13-ENV): Likewise.
44717         (bug14-ENV): Likewise.
44718         (tst-grouping-ENV): Likewise.
44719         * stdlib/Makefile (tst-strtod-ENV): Likewise.
44720         (tst-strtod3-ENV): Likewise.
44721         (tst-strtod4-ENV): Likewise.
44722         (tst-strtod5-ENV): Likewise.
44723         (testmb2-ENV): Likewise./
44724         * string/Makefile (tst-strxfrm-ENV): Likewise.
44725         (tst-strxfrm2-ENV): Likewise.
44726         (bug-strcoll1-ENV): Likewise.
44727         (test-strcasecmp-ENV): Likewise.
44728         (test-strncasecmp-ENV): Likewise.
44729         * time/Makefile (tst-strptime-ENV): Likewise.
44730         (tst-ftime_l-ENV): Likewise.
44731         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
44732         (tst-mbrtowc-ENV): Likewise.
44733         (tst-wcrtomb-ENV): Likewise.
44734         (tst-mbrtowc2-ENV): Likewise.
44735         (tst-c16c32-1-ENV): Likewise.
44736         (tst-mbsnrtowcs-ENV): Likewise.
44738 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
44740         * manual/resource.texi (How to get information about the memory
44741         subsystem?): Fix typo.
44742         Reported by Peon de la Parra Ivan <peon@keba.com>
44744 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
44746         [BZ #16882]
44747         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
44748         (pthread_spin_lock): Branch out of spin loop to proper location.
44749         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
44750         (pthread_spin_lock): Likewise.
44752         * nptl/tst-spin4.c: New test.
44753         * nptl/Makefile (tests): Add tst-spin4.
44755 2014-06-03  Andreas Schwab  <schwab@suse.de>
44757         [BZ #15946]
44758         * resolv/res_send.c (send_dg): Reload file descriptor after
44759         calling reopen.
44761 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
44763         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44765 2014-06-03  Richard Henderson  <rth@redhat.com>
44767         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
44768         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
44769         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
44770         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
44771         in the SAVE_PID block.
44772         (__libc_vfork): New alias.
44773         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
44775         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
44776         child in registers, not on the stack.  Remove RESET_PID conditionals.
44777         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
44779 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44781         * sysdeps/aarch64/libm-test-ulps: Regenerate.
44783 2014-06-03  Wilco  <wdijkstr@arm.com>
44785         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
44786         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
44787         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44788         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
44789         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
44790         Likewise.
44792 2014-06-03  Wilco  <wdijkstr@arm.com>
44794         * sysdeps/aarch64/fpu/math_private.h
44795         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
44796         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
44797         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
44798         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
44799         Fix declarations.
44801 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44803         * crypt/crypt-private.h: Include ufc-crypt.h.
44804         (__b64_from_24bit): Declare extern.
44805         * crypt/crypt_util.c(__b64_from_24bit): New function.
44806         (b64t): New static const variable.
44807         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
44808         (b64t): Remove variable.
44809         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
44810         * crypt/sha256-crypt.c: Include crypt-private.h.
44811         (b64t): Remove variable.
44812         (__sha256_crypt_r): Remove b64_from_24bit and replace
44813         with __b64_from_24bit.
44814         * crypt/sha512-crypt.c: Likewise.
44816 2014-06-02  Roland McGrath  <roland@hack.frob.com>
44818         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
44819         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
44820         Label the code __libc_vfork rather than __vfork.
44821         [!NOT_IN_libc] (vfork): Define as weak alias.
44822         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
44823         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
44824         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
44826 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44828         * malloc/malloc.c (malloc_info): Fix format specifier for
44829         n_mmaps.
44831 2014-06-02  Wilco  <wdijkstr@arm.com>
44833         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
44834         FPCR write.
44836 2014-06-02  Wilco  <wdijkstr@arm.com>
44838         [BZ #17009]
44839         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
44840         Rewrite to reduce FPCR/FPSR accesses.
44842 2014-06-01  David S. Miller  <davem@davemloft.net>
44844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44846 2014-05-31  David S. Miller  <davem@davemloft.net>
44848         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
44849         to occur in round to nearest mode when |x| >= 2.0
44851 2014-05-30  Richard Henderson  <rth@twiddle.net>
44853         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
44854         (PSEUDO_RET_NOERRNO): Remove.
44855         (ret): Don't redefine.
44856         (ret_NOERRNO): Define in terms of ret.
44857         (ret_ERRVAL): Likewise.
44859         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
44860         use of PSEUDO_RET; perform the error check directly.
44862 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
44864         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
44865         with __int128_t.
44867 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44869         * malloc/malloc (malloc_info): Fix formatting.
44871 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44872             Roland McGrath  <roland@hack.frob.com>
44874         * malloc/malloc (malloc_info): Also print mmapped statistics.
44876 2014-05-30  Roland McGrath  <roland@hack.frob.com>
44878         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
44879         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
44881 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
44883         * malloc/malloc.c (malloc_info): Inline mi_arena.
44885 2014-05-29  Richard Henderson  <rth@twiddle.net>
44887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
44888         Remove comma before expanding ASM_ARGS_##nr.
44889         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
44890         Make _x0 a strict output; make _x8 a strict input; adjust expansion
44891         of ASM_ARGS_##nr.
44892         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
44893         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
44894         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
44895         (ASM_ARGS_1): Add leading comma.
44897         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
44898         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
44899         to __errno_location.
44900         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
44901         Remove the expected plt for __errno_location.
44903         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44904         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
44905         call to __read_tp.
44907         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44908         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
44909         it and break it down.
44910         (DOCARGS_0, DOCARGS_1): Do nothing.
44911         (DOCARGS_2): Update to store into the new stack frame.
44912         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
44913         (UNDOCARGS_1): Update to restore from the new stack frame.
44914         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
44915         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
44917         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44918         (SINGLE_THREAD_P): New parameter for result regno.
44919         (PSEUDO): Update to match; use cbz instead of beq.
44921         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44922         Use ENTRY to define the _nocancel entry point.  Share the syscall
44923         and syscall error check paths with the cancel path.
44924         (PSEUDO_END): New.
44926         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
44927         whitespace; tabs before and after asm mnemonics.
44929 2014-05-29  Eric Wong  <normalperson@yhbt.net>
44931         [BZ #15132]
44932         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44933         Call fstat64 or stat64 internally, depending on arguments passed.
44934         Replace stat buffer argument with file descriptor argument.
44935         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
44936         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
44937         Pass fd to __internal_statvfs instead of calling fstat64.
44938         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
44939         Pass fd to __internal_statvfs64 instead of calling fstat64.
44940         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
44941         Pass -1 to __internal_statvfs instead of calling stat64.
44942         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
44943         Pass -1 to __internal_statvfs64 instead of calling stat64.
44945 2014-05-28  Roland McGrath  <roland@hack.frob.com>
44947         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44948         that was previously under [RESET_PID].
44949         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44951         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44952         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44954 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44956         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44958         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44959         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44961 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44963         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44965 2014-05-27  Andreas Schwab  <schwab@suse.de>
44967         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44968         TLS_INIT_TP macro.
44969         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44970         * elf/rtld.c (init_tls, dl_main): Likewise.
44971         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44972         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44973         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44974         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44975         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44976         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44977         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44978         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44979         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44980         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44981         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44982         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44983         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44984         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44985         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44986         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44987         * sysdeps/generic/tls.h: Update description.
44989 2014-05-27  Will Newton  <will.newton@linaro.org>
44991         [BZ #16990]
44992         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44993         and restore r2 rather than just restoring.
44995 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44997         [BZ #16724]
44998         * libio/tst-ftell-append.c: New test case.
44999         * libio/Makefile (tests): Add test case.
45000         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45001         append mode.
45002         * libio/wfileops.c (do_ftell_wide): Likewise.
45004 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45008         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45009         ...
45010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45012         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45013         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45014         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45015         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45016         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45017         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45019         Moved ...
45020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45022         Moved ...
45023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45024         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45025         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45026         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45027         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45028         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45029         ...
45030         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45031         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45032         Moved ...
45033         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45034         here.
45035         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45036         ...
45037         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45038         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45039         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45041         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45042         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45043         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45044         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45047         merge into ...
45048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45050         ...
45051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45053         ...
45054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45055         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45056         Moved ...
45057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45058         here.
45059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45060         Moved ...
45061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45063         Moved ...
45064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45067         conditional [RESET_PID].
45068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45070         removed.
45071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45072         removed.
45074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45075         <tcb-offsets.h>.
45076         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45077         (__libc_vfork): New strong alias.
45078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45079         removed.
45080         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45081         Removed.
45083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45084         <tcb-offsets.h>.
45085         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45086         (__libc_vfork): New strong alias.
45087         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45088         removed.
45089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45090         removed.
45092 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45094         * malloc/malloc.c (mi_arena): New function.
45095         (malloc_info): Remove nested function mi_arena. Call non-nosted
45096         function mi_arena.
45098 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45100         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45101         by insrwi.
45102         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45103         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45104         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45105         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45106         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45107         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45108         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45110 2014-05-26  Andreas Schwab  <schwab@suse.de>
45112         [BZ #16984]
45113         * locale/programs/repertoire.c (repertoire_read): Add slash
45114         between I18NPATH element and file name.
45115         * locale/programs/locfile.c (locfile_read): Likewise.
45117 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45119         * nptl/pthread_mutexattr_settype.c
45120         (__pthread_mutexattr_settype):
45121         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45123 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45125         * nptl/tst-mutex5 (do_test):
45126         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45128 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45130         * benchtests/README: Document 'init' directive.
45131         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45132         BENCH_INIT.
45133         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45134         (parse_file): Recognize 'init' directive.
45136 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45138         [BZ #16796]
45139         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45140         alignment of struct pthread.
45142 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45144         [BZ #16878]
45145         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45146         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45147         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45148         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45150 2014-05-25  Richard Henderson  <rth@twiddle.net>
45152         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45153         (SINGLE_THREAD_P_PIC): Remove.
45154         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45155         (SINGLE_THREAD_P_PIC): Remove.
45157         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45158         branch to syscall error ...
45159         (PSEUDO): ... here.
45160         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45161         from __local_syscall_error to .Lsyscall_error.
45162         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45163         (SYSCALL_ERROR): Update label name.
45165         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45166         Do not use DOARGS/UNDOARGS.
45167         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45168         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45169         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45170         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45171         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45173         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45174         block comment.
45176         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45177         define if !NOT_IN_libc.
45178         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45179         define with non-default symbol versions.
45181 2014-05-23  Richard Henderson  <rth@twiddle.net>
45183         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45184         (vfork, __vfork): Define via compat_symbol.
45186         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45187         [!HAVE_IFUNC] (vfork_compat): Remove.
45188         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45190 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45192         [BZ #16978]
45193         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45194         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45195         variable.
45197 2014-05-23  Richard Henderson  <rth@twiddle.net>
45199         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45200         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45201         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45202         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45204         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45205         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45206         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45207         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45208         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45209         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45210         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45211         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45212         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45213         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45214         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45215         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45216         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45217         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45218         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45219         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45220         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45221         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45222         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
45223         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
45224         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
45225         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
45226         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
45227         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
45228         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
45229         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
45230         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
45231         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
45232         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
45233         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
45234         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
45235         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
45236         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
45237         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
45238         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
45239         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
45240         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
45241         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
45242         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
45243         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
45244         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
45245         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
45246         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
45247         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
45248         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
45249         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
45250         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
45251         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
45252         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
45253         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
45254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
45255         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
45256         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
45257         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
45258         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
45259         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
45261         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
45262         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
45263         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
45264         before exiting on error.
45265         (__libc_vfork): New strong alias.
45266         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
45267         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
45269         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
45270         that was previously under [RESET_PID].
45271         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
45273         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
45275 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45277         [BZ #16977]
45278         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
45279         value when x - 1 is zero.
45280         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
45281         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
45282         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
45283         0.0L for an argument of 1.0L.
45284         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
45285         Likewise.
45286         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
45287         value when x - 1 is zero.
45288         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
45289         * sysdeps/i386/fpu/libm-test-ulps: Update.
45290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45292 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45294         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
45295         alphasort and versionsort.
45297 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45299         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
45300         macro.
45301         [copysignf]: Likewise.
45303 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45305         * crypt/md5-crypt.c: Fix formatting.
45307 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45309         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
45310         (b64_from_24bit): New function.
45312 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45314         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45315         libc_hidden_builtin_def to ifunc.
45316         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45317         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
45319 2014-05-21  Roland McGrath  <roland@hack.frob.com>
45321         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
45322         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
45324 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
45326         * nscd/Depend (linuxthreads): Remove.
45327         (nptl): Add.
45328         * resolv/Depend (linuxthreads): Remove.
45329         * rt/Depend (linuxthreads): Remove.
45331         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
45332         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
45333         $(common-objpfx)elf/.
45334         (link-libc-before-gnulib): Likewise.
45335         (elfobjdir): Remove variable.
45336         * Makefile (install): Use $(elf-objpfx) instead of
45337         $(common-objpfx)elf/.
45338         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
45339         $(elfobjdir)/.
45340         (link-libc-deps): Likewise.
45341         ($(common-objpfx)libc.so): Likewise.
45342         ($(common-objpfx)linkobj/libc.so): Likewise.
45343         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
45344         instead of $(common-objpfx)elf/.
45345         (symbolic-link-list): Likewise.
45346         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45347         [$(cross-compiling) = no]: Likewise.
45348         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
45349         $(elfobjdir)/.
45350         (static-gnulib-arch): Likewise.
45351         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45352         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
45353         $(common-objpfx)elf/.
45355 2014-05-21  Richard Henderson  <rth@redhat.com>
45357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45358         (SINGLE_THREAD_P): Use the correct width load.  Fold
45359         into the ldr offset.
45361         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
45362         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
45364 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
45366         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
45367         (libgcc_s_resume): Use __attribute_used__.
45368         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
45369         Likewise.
45371 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45373         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
45374         optimization when used with float constants.
45376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45378 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
45380         [BZ #16915]
45381         * locale/nl_langinfo_l.c: Make direct reference to every
45382         _nl_current_CATEGORY symbol.
45383         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
45384         (tests-static): Add tst-langinfo-static.
45385         (tests-special): Add tst-langinfo-static.out.
45386         ($(objpfx)tst-langinfo.out): Redirect output.
45387         ($(objpfx)tst-langinfo-static.out): New.
45388         * localedata/tst-langinfo.sh: Send output to stdout.
45389         * localedata/tst-langinfo-static.c: New file.
45391         [BZ #16965]
45392         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
45393         when the shift amount is modulo the limb size.
45395 2014-05-20  Richard Henderson  <rth@redhat.com>
45397         [BZ #16967]
45398         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
45399         Change type of sa_flags from unsigned int to int.
45401         [BZ #16966]
45402         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
45404         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
45406 2014-05-20  Will Newton  <will.newton@linaro.org>
45408         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45409         Test the return value of the system call in the nocancel case.
45411 2014-05-20  Will Newton  <will.newton@linaro.org>
45412             Yvan Roux  <yvan.roux@linaro.org>
45414         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
45415         #include of asm/ptrace.h.
45416         (PTRACE_GET_THREAD_AREA): Remove #undef.
45417         (PTRACE_GETHBPREGS): Likewise.
45418         (PTRACE_SETHBPREGS): Likewise.
45419         (struct user_regs_struct): New structure.
45420         (struct user_fpsimd_struct): New structure.
45421         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
45422         #include of asm/ptrace.h and second #include of sys/user.h.
45423         (PTRACE_GET_THREAD_AREA): Remove #undef.
45424         (PTRACE_GETHBPREGS): Likewise.
45425         (PTRACE_SETHBPREGS): Likewise.
45426         (ELF_NGREG): Use new struct user_regs_struct.
45427         (elf_fpregset_t): Use new struct user_fpsimd_struct.
45429 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45431         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
45432         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
45434 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
45436         [BZ #16958]
45437         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
45438         membar to avoid block loads/stores to overlap previous stores.
45440 2014-05-17  Richard Henderson  <rth@redhat.com>
45442         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45443         Create the __##syscall_name##_nocancel entry point.
45444         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
45445         Remove; let the sysdep-cancel.h code create it.
45447 2014-05-17  David S. Miller  <davem@davemloft.net>
45449         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
45450         Protect with __USE_GNU.
45451         (TIOCSET_TEMPT): Likewise.
45452         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
45453         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
45454         these are already provided in bits/ioctl-types.h
45456 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45458         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
45459         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
45461         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
45462         Use wait4 regardless of [__NR_waitpid].
45464 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
45466         PR libgcc/60166
45467         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45468         (_FP_NANSIGN_Q): Set the quiet bit.
45470 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
45472         * benchtests/Makefile
45473         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
45474         not $(common-objpfx)math/libm.so.
45475         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
45476         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
45477         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
45478         $(common-objpfx)dlfcn/libdl.so.
45479         ($(objpfx)tst-audit8): Depend on $(libm), not
45480         $(common-objpfx)math/libm.so.
45481         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
45482         not $(common-objpfx)dlfcn/libdl.so.
45483         * math/Makefile
45484         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45485         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
45486         [$(build-shared) = yes].
45487         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
45488         $(common-objpfx)nptl/libpthread.so.
45489         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
45490         $(common-objpfx)math/libm.so$(libm.so-version) or
45491         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
45492         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
45493         $(common-objpfx)dlfcn/libdl.so.
45494         * setjmp/Makefile (link-libm): Remove variable.
45495         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
45496         * stdio-common/Makefile (link-libm): Remove variable.
45497         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
45498         * stdlib/Makefile (link-libm): Remove variable.
45499         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
45500         ($(objpfx)tst-strtod-round): Likewise.
45501         ($(objpfx)tst-tininess): Likewise.
45502         ($(objpfx)tst-strtod-underflow): Likewise.
45503         ($(objpfx)tst-strtod6): Likewise.
45504         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
45505         $(libdl), not $(common-objpfx)nptl/libpthread.so and
45506         $(common-objpfx)dlfcn/libdl.so.
45508 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45510         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
45511         BSD terminal modes definitions.
45513 2014-05-16  Roland McGrath  <roland@hack.frob.com>
45515         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
45516         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
45518         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
45519         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
45520         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
45521         Don't do #include_next.
45522         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
45523         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
45524         Don't do #include_next.
45525         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
45526         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
45527         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
45528         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
45530 2014-05-16  Allan McRae  <allan@archlinux.org>
45532         * po/sv.po: Update Swedish translation from translation project.
45534         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
45535         in sed expression.
45537 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
45539         [BZ #16917]
45540         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
45541         errno if the TIOCGPTN ioctl fails with an error different than
45542         EINVAL.
45543         * login/tst-ptsname.c: New file.
45544         * login/Makefile (tests): Add tst-ptsname.
45546         [BZ #16943]
45547         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
45548         and prlimit64.
45550 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45552         [BZ #16849]
45553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
45554         herrno to return EAI_AGAIN.
45556 2014-05-14  Roland McGrath  <roland@hack.frob.com>
45558         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
45559         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
45560         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
45561         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
45562         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
45563         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
45564         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
45565         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
45566         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
45567         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
45568         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
45569         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
45570         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
45571         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
45572         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
45573         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
45574         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
45575         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
45576         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
45577         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
45578         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
45579         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
45580         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
45581         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
45582         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
45583         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
45584         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
45585         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
45586         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
45587         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
45588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
45589         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
45590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
45591         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
45592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45593         Moved ...
45594         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
45595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
45596         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
45597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
45598         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
45599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
45600         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
45601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
45602         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
45603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
45604         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
45605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
45606         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
45607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
45608         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
45609         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
45610         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
45611         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
45612         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
45613         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
45614         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
45615         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
45616         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
45617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
45618         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
45619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
45620         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
45621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45622         Moved ...
45623         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
45624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
45625         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
45626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
45627         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
45628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
45629         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
45630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
45631         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
45632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
45633         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
45634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
45635         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
45636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
45637         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
45638         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
45639         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
45640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
45641         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
45642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45643         Moved ...
45644         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
45645         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
45646         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
45648         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
45649         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
45650         (libpthread-sysdep_routines): Add elision-related stuff here instead.
45651         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
45652         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
45653         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
45654         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
45655         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
45656         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
45657         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
45658         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
45659         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
45660         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
45661         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
45662         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
45663         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
45664         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
45665         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
45666         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
45667         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
45668         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
45669         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
45670         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
45671         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
45672         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
45673         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
45674         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
45675         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
45676         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
45677         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
45678         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
45680         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
45681         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
45683         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
45684         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
45685         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
45686         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
45687         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
45688         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
45689         Moved ...
45690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
45691         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
45692         Moved ...
45693         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
45694         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
45695         Moved ...
45696         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
45697         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
45698         Moved ...
45699         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
45700         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
45701         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
45702         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
45703         Moved ...
45704         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
45705         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
45706         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
45707         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
45708         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
45709         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
45710         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
45711         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
45712         Moved ...
45713         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
45714         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45715         Moved ...
45716         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
45717         ... here.
45718         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
45719         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
45720         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
45721         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
45722         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45723         Moved ...
45724         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
45725         ... here.
45726         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
45727         Moved ...
45728         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
45729         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
45730         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
45731         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
45732         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
45733         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
45734         Moved ...
45735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
45736         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
45737         Moved ...
45738         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
45739         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
45740         Moved ...
45741         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
45742         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
45743         Moved ...
45744         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
45745         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
45746         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
45747         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
45748         Moved ...
45749         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
45750         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
45751         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
45752         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
45753         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
45754         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
45755         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
45756         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
45757         Moved ...
45758         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
45759         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45760         Moved ...
45761         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
45762         ... here.
45763         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
45764         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
45765         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
45766         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
45767         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45768         Moved ...
45769         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
45770         ... here.
45771         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
45772         Moved ...
45773         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
45774         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
45775         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
45776         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
45777         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
45778         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
45779         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
45780         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
45781         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
45782         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
45783         Moved ...
45784         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
45785         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
45786         Moved ...
45787         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
45788         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
45789         Moved ...
45790         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
45791         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
45792         Moved ...
45793         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
45794         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
45795         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
45796         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
45797         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
45798         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
45799         Moved ...
45800         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
45801         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
45802         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
45803         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
45804         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
45805         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
45806         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
45807         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
45808         Moved ...
45809         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
45810         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45811         Moved ...
45812         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
45813         ... here.
45814         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
45815         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
45816         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
45817         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
45818         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45819         Moved ...
45820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
45821         ... here.
45822         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
45823         Moved ...
45824         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
45825         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
45826         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
45827         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
45828         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
45829         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
45830         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
45831         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
45832         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
45833         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
45834         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
45836         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
45837         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
45839         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
45840         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
45842         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
45843         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
45844         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
45845         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
45846         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
45847         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
45848         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
45849         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
45850         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
45851         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
45852         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
45853         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
45854         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
45855         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
45856         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
45857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
45858         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
45859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
45860         Moved ...
45861         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
45862         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
45863         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
45864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
45865         Moved ...
45866         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
45867         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
45868         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
45869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
45870         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
45871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
45872         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
45873         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
45874         Moved ...
45875         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
45876         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
45877         Moved ...
45878         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
45879         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
45880         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
45881         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
45882         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
45883         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
45884         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
45885         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
45886         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
45887         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
45888         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
45889         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
45890         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
45891         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
45892         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
45893         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
45894         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
45896         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
45897         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
45898         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
45899         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
45900         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
45902         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
45903         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
45904         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
45905         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
45906         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
45907         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
45908         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
45909         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
45910         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
45911         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
45913         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
45914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
45916         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
45917         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
45918         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
45919         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
45920         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
45921         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
45922         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
45923         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
45924         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
45925         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
45926         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
45927         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
45928         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
45929         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
45930         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
45931         Update #include.
45932         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
45933         Likewise.
45934         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45935         Likewise.
45936         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45937         Likewise.
45938         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45939         Likewise.
45940         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
45941         Likewise.
45942         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
45943         Likewise.
45944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45945         Likewise.
45946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45947         Likewise.
45948         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45949         Likewise.
45950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45959         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45960         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45962         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45964         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45966         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45967         that was previously under [RESET_PID].
45968         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45969         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45970         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45972         * sysdeps/i386/nptl/Implies: New file.
45973         * sysdeps/x86_64/nptl/Implies: New file.
45974         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45975         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45976         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45977         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45979         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45980         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45981         (__libc_vfork): New strong alias.
45982         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45983         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45985         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45986         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45987         (__libc_vfork): New strong alias.
45988         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45989         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45991         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45992         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45993         (__libc_vfork): New strong alias.
45994         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45995         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45996         * nptl/pt-vfork.c: New file.
45997         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45998         (libpthread: GLIBC_2.20): New version set (empty).
46000 2014-05-14  Will Newton  <will.newton@linaro.org>
46002         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46003         rather than #if.
46005 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46007         [BZ #16564]
46008         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46009         arguments with exponent 65 or above.
46010         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46011         arguments 0x1p113L or above.
46012         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46013         to arguments 0x1p107L or above.
46014         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46015         positive arguments with exponent 65 or above.
46016         * math/auto-libm-test-in: Add more tests of log1p.
46017         * math/auto-libm-test-out: Regenerated.
46019         [BZ #16928]
46020         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46021         non-finite arguments is +0.
46022         * math/s_cacosf.c (__cacosf): Likewise.
46023         * math/s_cacosl.c (__cacosl): Likewise.
46024         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46025         * sysdeps/i386/fpu/libm-test-ulps: Update.
46026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46028         [BZ #16927]
46029         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46030         value.
46031         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46032         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46033         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46034         for explicit high bit of mantissa when testing for argument equal
46035         to 1.
46036         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46037         * sysdeps/i386/fpu/libm-test-ulps: Update.
46038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46040         [BZ #16516]
46041         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46042         (__erf): Scale by 16 instead of 8 in potentially underflowing
46043         case.  Ensure exception if result actually underflows.
46044         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46045         (__erff): Scale by 16 instead of 8 in potentially underflowing
46046         case.  Ensure exception if result actually underflows.
46047         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46048         (efx8): Remove variable.
46049         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46050         case.  Ensure exception if result actually underflows.
46051         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46052         (efx8): Remove variable.
46053         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46054         case.  Ensure exception if result actually underflows.
46055         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46056         (efx8): Remove variable.
46057         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46058         case.  Ensure exception if result actually underflows.
46059         * math/auto-libm-test-in: Add more tests of erf.
46060         * math/auto-libm-test-out: Regenerated.
46062 2014-05-14  Andreas Schwab  <schwab@suse.de>
46064         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46065         Remove code conditionalized on USE___THREAD.
46067         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46068         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46069         not definedness.
46071 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46073         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46074         Define unconditionally.
46075         (__ASSUME_O_CLOEXEC): Likewise.
46076         (__ASSUME_SOCK_CLOEXEC): Likewise.
46077         (__ASSUME_IN_NONBLOCK): Likewise.
46078         (__ASSUME_PIPE2): Likewise.
46079         (__ASSUME_EVENTFD2): Likewise.
46080         (__ASSUME_SIGNALFD4): Likewise.
46081         (__ASSUME_DUP3): Likewise.
46082         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46083         (__ASSUME_DUP3): Do not define.
46084         (__ASSUME_EVENTFD2): Likewise.
46085         (__ASSUME_IN_NONBLOCK): Likewise.
46086         (__ASSUME_O_CLOEXEC): Likewise.
46087         (__ASSUME_PIPE2): Likewise.
46088         (__ASSUME_SIGNALFD4): Likewise.
46089         (__ASSUME_SOCK_CLOEXEC): Likewise.
46090         (__ASSUME_UTIMES): Undefine.
46091         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46092         (__ASSUME_UTIMES): Do not define.
46093         (__ASSUME_O_CLOEXEC): Likewise.
46094         (__ASSUME_SOCK_CLOEXEC): Likewise.
46095         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46096         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46097         0x020621].
46098         (__ASSUME_PIPE2): Likewise.
46099         (__ASSUME_EVENTFD2): Likewise.
46100         (__ASSUME_SIGNALFD4): Likewise.
46101         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46102         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46103         Do not define.
46104         (__ASSUME_EVENTFD2): Likewise.
46105         (__ASSUME_SIGNALFD4): Likewise.
46106         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46107         (__ASSUME_32BITUIDS): Likewise.
46108         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46109         (__ASSUME_IPC64): Likewise.
46110         (__ASSUME_ST_INO_64_BIT): Likewise.
46111         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46112         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46113         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46114         (__ASSUME_UTIMES): Do not define.
46115         (__ASSUME_PSELECT): Likewise.
46116         (__ASSUME_PPOLL): Likewise.
46117         (__ASSUME_O_CLOEXEC): Likewise.
46118         (__ASSUME_SOCK_CLOEXEC): Likewise.
46119         (__ASSUME_IN_NONBLOCK): Likewise.
46120         (__ASSUME_PIPE2): Likewise.
46121         (__ASSUME_EVENTFD2): Likewise.
46122         (__ASSUME_SIGNALFD4): Likewise.
46123         (__ASSUME_DUP3): Likewise.
46124         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46125         (__ASSUME_UTIMES): Likewise.
46126         (__ASSUME_O_CLOEXEC): Likewise.
46127         (__ASSUME_SOCK_CLOEXEC): Likewise.
46128         (__ASSUME_IN_NONBLOCK): Likewise.
46129         (__ASSUME_PIPE2): Likewise.
46130         (__ASSUME_EVENTFD2): Likewise.
46131         (__ASSUME_SIGNALFD4): Likewise.
46132         (__ASSUME_DUP3): Likewise.
46133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46134         (__ASSUME_UTIMES): Likewise.
46135         (__ASSUME_O_CLOEXEC): Likewise.
46136         (__ASSUME_SOCK_CLOEXEC): Likewise.
46137         (__ASSUME_IN_NONBLOCK): Likewise.
46138         (__ASSUME_PIPE2): Likewise.
46139         (__ASSUME_EVENTFD2): Likewise.
46140         (__ASSUME_SIGNALFD4): Likewise.
46141         (__ASSUME_DUP3): Likewise.
46142         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46143         Likewise.
46144         (__ASSUME_UTIMES): Likewise.
46145         (__ASSUME_EVENTFD2): Likewise.
46146         (__ASSUME_SIGNALFD4): Likewise.
46147         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46148         (__ASSUME_O_CLOEXEC): Likewise.
46149         (__ASSUME_SOCK_CLOEXEC): Likewise.
46150         (__ASSUME_IN_NONBLOCK): Likewise.
46151         (__ASSUME_PIPE2): Likewise.
46152         (__ASSUME_EVENTFD2): Likewise.
46153         (__ASSUME_SIGNALFD4): Likewise.
46154         (__ASSUME_DUP3): Likewise.
46155         (__ASSUME_UTIMES): Undefine.
46157         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46158         feclearexcept.  Remove symbol versioning code.
46159         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46160         symbol versioning code.
46161         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46162         symbol versioning code.
46163         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46164         feupdateenv.  Remove symbol versioning code.
46165         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46166         fegetexceptflag.  Remove symbol versioning code.
46167         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46168         fesetexceptflag.  Remove symbol versioning code.
46169         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46170         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46171         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46172         (__posix_fadvise64_l32): Remove prototype.
46173         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46174         code.
46176 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46178         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46179         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46180         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46181         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46183 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46185         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46186         current working directory
46188 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46190         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46191         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46192         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46193         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46194         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46195         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46196         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46197         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46198         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46199         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46200         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46201         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46202         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46203         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46204         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46205         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46206         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46207         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46208         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46209         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46210         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46211         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46212         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46213         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46214         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46215         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46216         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46217         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46218         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46219         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46220         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46221         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46222         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
46223         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
46224         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
46225         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
46226         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
46227         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
46228         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
46229         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
46230         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
46231         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
46233         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
46234         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
46236         * sysdeps/unix/sysv/linux/arm/Makefile
46237         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
46238         Add rt-aeabi_unwind_cpp_pr1.
46239         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
46240         Add nptl-aeabi_unwind_cpp_pr1.
46241         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
46242         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
46243         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
46244         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
46245         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
46246         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
46248         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
46249         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
46250         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
46251         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
46253         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
46254         Deconditionalize the code that was previously under [RESET_PID].
46255         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
46257         * sysdeps/generic/exit-thread.h: New file.
46258         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
46259         * include/unistd.h (__exit_thread): Remove declaration.
46260         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
46261         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
46262         * csu/libc-start.c: Include <exit-thread.h>.
46263         (LIBC_START_MAIN): Pass no argument to __exit_thread.
46264         * nptl/pthread_create.c: Include <exit-thread.h>.
46265         (start_thread): Call __exit_thread in place of __exit_thread_inline.
46266         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
46267         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
46268         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
46269         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
46270         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
46271         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
46272         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
46273         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
46274         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
46275         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
46276         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
46277         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
46278         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
46279         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
46280         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
46281         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
46283 2014-05-13  Andreas Schwab  <schwab@suse.de>
46285         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
46287 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
46289         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46290         (__ASSUME_UTIMES): Do not condition on kernel version.
46291         (__ASSUME_PSELECT): Define unconditionally.
46292         (__ASSUME_PPOLL): Likewise.
46293         (__ASSUME_ATFCTS): Likewise.
46294         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
46295         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
46296         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
46297         (__ASSUME_UTIMENSAT): Define unconditionally.
46298         (__ASSUME_PRIVATE_FUTEX): Likewise.
46299         (__ASSUME_FALLOCATE): Likewise.
46300         (__ASSUME_O_CLOEXEC): Likewise.
46301         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
46302         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
46303         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
46304         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
46305         (__ASSUME_IN_NONBLOCK): Likewise.
46306         (__ASSUME_PIPE2): Likewise.
46307         (__ASSUME_EVENTFD2): Likewise.
46308         (__ASSUME_SIGNALFD4): Likewise.
46309         (__ASSUME_DUP3): Likewise.
46310         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46311         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
46312         (__ASSUME_AT_RANDOM): Likewise.
46313         (__ASSUME_PREADV): Likewise.
46314         (__ASSUME_PWRITEV): Likewise.
46315         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
46316         (__ASSUME_F_GETOWN_EX): Define unconditionally.
46317         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
46318         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
46319         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
46320         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46321         (__ASSUME_O_CLOEXEC): Define unconditionally.
46322         (__ASSUME_PSELECT): Do not undefine conditionally.
46323         (__ASSUME_PPOLL): Likewise.
46324         (__ASSUME_ATFCTS): Likewise.
46325         (__ASSUME_SET_ROBUST_LIST): Likewise.
46326         (__ASSUME_UTIMENSAT): Likewise.
46327         (__ASSUME_FDATASYNC): Define unconditionally.
46328         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46329         (__ASSUME_SIGFRAME_V2): Likewise.
46330         )__ASSUME_EVENTFD2): Likewise.
46331         (__ASSUME_SIGNALFD4): Likewise.
46332         (__ASSUME_PSELECT): Do not undefine conditionally.
46333         (__ASSUME_PPOLL): Likewise.
46334         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46335         (__ASSUME_PSELECT): Define unconditionally.
46336         (__ASSUME_PPOLL): Likewise.
46337         (__ASSUME_O_CLOEXEC): Likewise.
46338         (__ASSUME_SOCK_CLOEXEC): Likewise.
46339         (__ASSUME_IN_NONBLOCK): Likewise.
46340         (__ASSUME_PIPE2): Likewise.
46341         (__ASSUME_EVENTFD2): Likewise.
46342         (__ASSUME_SIGNALFD4): Likewise.
46343         (__ASSUME_DUP3): Likewise.
46344         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46345         (__ASSUME_O_CLOEXEC): Likewise.
46346         (__ASSUME_SOCK_CLOEXEC): Likewise.
46347         (__ASSUME_IN_NONBLOCK): Likewise.
46348         (__ASSUME_PIPE2): Likewise.
46349         (__ASSUME_EVENTFD2): Likewise.
46350         (__ASSUME_SIGNALFD4): Likewise.
46351         (__ASSUME_DUP3): Likewise.
46352         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46353         (__ASSUME_EVENTFD2): Likewise.
46354         (__ASSUME_SIGNALFD4): Likewise.
46355         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46357 2014-05-12  Andreas Schwab  <schwab@suse.de>
46359         [BZ #16932]
46360         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
46361         (_nss_nis_gethostbyname4_r): Return error if item length is larger
46362         than maximum RPC packet size.
46363         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
46364         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
46365         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
46366         (_nss_nis_getservbyport_r): Likewise.
46368 2014-05-12  Will Newton  <will.newton@linaro.org>
46370         * malloc/Makefile (tests): Add tst-mallopt.
46371         * malloc/tst-mallopt.c: New file.
46373 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46375         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
46376         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
46378 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46380         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
46381         (tst-tlsmod6.so): Likewise.
46383 2014-05-09  Roland McGrath  <roland@hack.frob.com>
46385         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
46387 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
46389         [BZ #16064]
46390         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
46391         and <dl-procinfo.h>.
46392         (__fegetenv): Save SSE state in envp->__eip if supported.
46393         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
46394         envp->__eip if supported.
46395         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
46396         and <dl-procinfo.h>.
46397         (__fesetenv): Always set __eip, __cs_selector, __opcode,
46398         __data_offset and __data_selector in environment to 0.  Set SSE
46399         state if supported.
46400         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
46401         test-fenv-sse.
46402         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
46403         -mfpmath=sse.
46404         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
46406 2014-05-09  Will Newton  <will.newton@linaro.org>
46408         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
46409         and libc_relro_required for ARM.
46410         * sysdeps/arm/preconfigure: Regenerate.
46412 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
46413             Stefan Liebler  <stli@linux.vnet.ibm.com>
46415         * config.make.in (enable-lock-elision): New Makefile variable.
46416         * configure.ac: Likewise.
46417         * configure: Regenerate.
46418         * sysdeps/s390/configure.ac:
46419         Add check for gcc transactions support.
46420         * sysdeps/s390/configure: Regenerate.
46421         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
46422         Build elision files if enabled.
46423         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
46424         Add lock elision support for s390.
46425         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
46426         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
46427         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
46428         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
46429         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
46430         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
46431         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
46432         Likewise.
46433         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
46434         Likewise.
46435         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
46436         Likewise.
46437         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
46438         Likewise.
46439         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
46440         (__lll_timedlock_elision, __lll_lock_elision)
46441         (__lll_unlock_elision, __lll_trylock_elision)
46442         (lll_timedlock_elision, lll_lock_elision)
46443         (lll_unlock_elision, lll_trylock_elision): Add.
46444         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46445         (pthread_mutex_t): Add lock elision support for s390.
46447 2014-05-14  Wilco  <wdijkstr@arm.com>
46449         * sysdeps/arm/fclrexcpt.c: Cleanup.
46450         * sysdeps/arm/fedisblxcpt.c: Cleanup.
46451         * sysdeps/arm/feenablxcpt.c: Cleanup.
46452         * sysdeps/arm/fegetenv.c: Cleanup.
46453         * sysdeps/arm/fegetexcept.c: Cleanup.
46454         * sysdeps/arm/fegetround.c: Cleanup.
46455         * sysdeps/arm/feholdexcpt.c: Cleanup.
46456         * sysdeps/arm/fesetenv.c: Cleanup.
46457         * sysdeps/arm/fesetround.c: Cleanup.
46458         * sysdeps/arm/feupdateenv.c: Cleanup.
46459         * sysdeps/arm/fgetexcptflg.c: Cleanup.
46460         * sysdeps/arm/fraiseexcpt.c: Cleanup.
46461         * sysdeps/arm/fsetexcptflg.c: Cleanup.
46462         * sysdeps/arm/ftestexcept.c: Cleanup.
46463         * sysdeps/arm/get-rounding-mode.h: Cleanup.
46464         * sysdeps/arm/setfpucw.c: Cleanup.
46466 2014-05-09  Will Newton  <will.newton@linaro.org>
46468         * sysdeps/arm/armv7/strcmp.S: New file.
46469         * NEWS: Mention addition of ARMv7 optimized strcmp.
46471 2014-05-08  Roland McGrath  <roland@hack.frob.com>
46473         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
46474         look for %.ac rather than %.in.
46476         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
46477         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
46478         * sysdeps/mach/hurd/configure: Regenerated.
46479         * sysdeps/unix/sysv/linux/configure: Regenerated.
46481         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
46483 2014-05-07  Steve Ellcey  <sellcey@mips.com>
46485         [BZ #16922]
46486         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
46487         (LONG_SUB): Ditto.
46488         (PTR_SUB): Ditto.
46490 2014-05-07  Andreas Schwab  <schwab@suse.de>
46492         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
46493         when skipping over non-matching result from nscd.
46495 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
46497         [BZ #16876]
46498         * nptl/sockperf.c (client): Check socket return value.
46500         [BZ #16877]
46501         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
46502         nscd security class.
46504 2014-05-06  Roland McGrath  <roland@hack.frob.com>
46506         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
46507         * sysdeps/arm/unwind.h: ... here.
46509 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
46511         [BZ #16916]
46512         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
46513         Define.
46515 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46517         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
46518         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
46519         multiarch strncpy for PPC64.
46520         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
46521         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
46522         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
46523         multiarch optimizations.
46524         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46525         (__libc_ifunc_impl_list): Likewise.
46526         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
46527         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
46528         multiarch stpncpy for PPC64.
46529         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
46530         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
46532 2014-05-06  Andreas Schwab  <schwab@suse.de>
46534         [BZ #16912]
46535         * gmon/mcount.c (_MCOUNT_DECL): Use
46536         atomic_compare_and_exchange_bool_acq instead of
46537         catomic_compare_and_exchange_bool_acq.
46539 2014-05-05  Roland McGrath  <roland@hack.frob.com>
46541         * elf/Makefile (others, install-bin): Remove pldd.
46542         (pldd-modules): Variable removed.
46543         ($(objpfx)pldd): Target removed.
46544         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
46545         (others, install-bin): Append pldd here.
46546         ($(objpfx)pldd): New target.
46548         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
46549         to 0, so the first #if test emitted later doesn't see it undefined.
46550         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
46551         * sysdeps/gnu/errlist.c: Regenerated.
46553 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46555         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46556         [libc_hidden_builtin_def]: Define to empty value.
46557         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
46558         [libc_hidden_builtin_def]: Likewise.
46559         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
46560         [libc_hidden_builtin_def]: Likewise.
46561         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
46562         [libc_hidden_builtin_def]: Likewise.
46563         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
46564         __redirect_memcpy and define ifunc as default hidden symbol.
46565         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
46566         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
46568 2014-05-04  Adam Conrad  <adconrad@0c3.net>
46570         * locale/iso-4217.def: Reintroduce XDR currency.
46572 2014-05-04  Allan McRae  <allan@archlinux.org>
46574         * po/eo.po: Update Esperanto translation from translation project.
46576 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
46578         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
46579         and FEATURE_INDEX_MAX to 1.
46580         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
46582 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46584         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
46585         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
46586         * iconvdata/big5.c (ONE_DIRECTION): Define.
46587         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
46588         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
46589         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
46590         * iconvdata/cp932.c (ONE_DIRECTION): Define.
46591         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
46592         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
46593         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
46594         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
46595         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
46596         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
46597         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
46598         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
46599         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
46600         * iconvdata/gbk.c (ONE_DIRECTION): Define.
46601         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
46602         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
46603         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
46604         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
46605         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
46606         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
46607         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
46608         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
46609         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
46610         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
46611         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
46612         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
46613         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
46614         * iconvdata/iso646.c (ONE_DIRECTION): Define.
46615         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
46616         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
46617         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
46618         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
46619         * iconvdata/johab.c (ONE_DIRECTION): Define.
46620         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
46621         * iconvdata/sjis.c (ONE_DIRECTION): Define.
46622         * iconvdata/t.61.c (ONE_DIRECTION): Define.
46623         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
46624         * iconvdata/tscii.c (ONE_DIRECTION): Define.
46625         * iconvdata/uhc.c (ONE_DIRECTION): Define.
46626         * iconvdata/unicode.c (ONE_DIRECTION): Define.
46627         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
46628         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
46629         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
46631 2014-05-01  Roland McGrath  <roland@hack.frob.com>
46633         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
46634         (_IO_JUMPS_OFFSET): Define to 0.
46636         * nptl/sysdeps/pthread/bits/libc-lock.h
46637         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
46638         (__libc_lock_define_initialized_recursive): Always define using
46639         initializer.  Modern compilers treat uninitialized (implicit zero) and
46640         explicit zero initializers the same (i.e. put the datum in bss).
46642 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46644         * nscd/nscd-client.h: Include <string.h>.
46646 2014-05-01  David S. Miller  <davem@davemloft.net>
46648         [BZ #16885]
46649         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
46650         multiple zero bytes exist at the end of a string.
46651         Reported by Aurelien Jarno <aurelien@aurel32.net>
46653         * string/test-strcmp.c (check): Add explicit test for situations where
46654         there are multiple zero bytes after the first.
46656 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
46658         [BZ #16890]
46659         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
46660         when compiling wprintf.
46661         * stdio-common/tstdiomisc.c (t3): New function.
46662         (main): Call it.
46664 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46666         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
46667         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
46668         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
46669         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
46671 2014-05-01  Steve Ellcey  <sellcey@mips.com>
46673         * stdlib/longlong.h: Updated from GCC.
46675 2014-05-01  Will Newton  <will.newton@linaro.org>
46676             Bernard Ogden  <bernie.ogden@linaro.org>
46678         * NEWS: Update fixed bug list.
46680         [BZ #15119]
46681         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
46683 2014-04-30  David S. Miller  <davem@davemloft.net>
46685         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
46686         (libc_feholdexcept_setround_sparc_ctx): New function.
46687         (libc_fesetenv_sparc_ctx): Likewise.
46688         (libc_feupdateenv_sparc_ctx): Likewise.
46689         (libc_feholdsetround_sparc_ctx): Likewise.
46690         (libc_feholdexcept_setround_ctx): Define.
46691         (libc_feholdexcept_setroundf_ctx): Likewise.
46692         (libc_feholdexcept_setroundl_ctx): Likewise.
46693         (libc_fesetenv_ctx): Likewise.
46694         (libc_fesetenvf_ctx): Likewise.
46695         (libc_fesetenvl_ctx): Likewise.
46696         (libc_feupdateenv_ctx): Likewise.
46697         (libc_feupdateenvf_ctx): Likewise.
46698         (libc_feupdateenvl_ctx): Likewise.
46699         (libc_feresetround_ctx): Likewise.
46700         (libc_feresetroundf_ctx): Likewise.
46701         (libc_feresetroundl_ctx): Likewise.
46702         (libc_feholdsetround_ctx): Likewise.
46703         (libc_feholdsetroundf_ctx): Likewise.
46704         (libc_feholdsetroundl_ctx): Likewise.
46706         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46707         with __USE_GNU instead of XOPEN cpp guards.
46709         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
46710         0.
46712         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
46713         with XOPEN cpp guards.
46715 2014-04-30  Julian Brown  <julian@codesourcery.com>
46717         [BZ #16888]
46718         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
46719         handling.
46721 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
46723         [BZ #9894]
46724         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
46725         Change to 2.6.32.
46726         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
46727         * sysdeps/unix/sysv/linux/configure: Regenerated.
46728         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
46729         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
46730         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
46731         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
46732         * README: Update reference to required Linux kernel version.
46733         * manual/install.texi (Linux): Update reference to required Linux
46734         kernel headers version.
46735         * INSTALL: Regenerated.
46737         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
46738         header inclusion.
46739         [POSIX] (limits.h): Likewise.
46740         [POSIX] (math.h): Likewise.
46741         [POSIX] (sys/wait.h): Likewise.
46742         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
46743         function.
46744         [POSIX] (stddef.h): Do not allow header inclusion.
46746 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46748         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
46750 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
46752         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
46753         Return immediately after lll_futex_wake.
46755 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46757         [BZ #16791]
46758         * nscd/nscd-client.h (datahead_init_common): Initialize entire
46759         structure.
46760         (datahead_init_pos): Call datahead_init_common early.
46761         (datahead_init_neg): Likewise.
46763         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
46764         datahead_init_neg): New functions.
46765         * nscd/aicache.c (addhstaiX): Use them.
46766         * nscd/grpcache.c (cache_addgr): Likewise.
46767         * nscd/hstcache.c (cache_addhst): Likewise.
46768         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46769         * nscd/netgroupcache.c (do_notfound): Likewise.
46770         (addgetnetgrentX): Likewise.
46771         (addinnetgrX): Likewise.
46772         * nscd/pwdcache.c (cache_addpw): Likewise.
46773         * nscd/servicescache.c (cache_addserv): Likewise.
46775 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46776             Atsushi Onoe  <atsushi@onoe.org>
46778         [BZ #14308]
46779         [BZ #12994]
46780         [BZ #13651]
46781         * resolv/res_query.c (__libc_res_nsearch): Return if at least
46782         one response is valid.
46783         * resolv/res_send.c (send_dg): Check for validity of other
46784         response if the current response is a referral.
46786 2014-04-29  Steve Ellcey  <sellcey@mips.com>
46788         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
46790 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
46792         [BZ #16823]
46793         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
46794         Always divide by positive zero when computing -Inf result.
46795         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46796         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
46798 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46800         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
46801         FPSCR if value do not change.
46802         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46803         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
46804         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
46805         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46806         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
46807         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
46808         function.
46810 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
46812         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
46813         * sysdeps/unix/sysv/linux/hppa: Move directory from
46814         ports/systeps/unix/sysv/linux/hppa.
46815         * README: Update listing for hppa-*-linux-gnu.
46817 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
46819         [BZ #16754]
46820         * manual/stdio.texi (Hook functions): Fix types of stream hook
46821         functions.
46822         [BZ #16854]
46823         * socket/sys/socket.h: Fix typo in comment.
46825 2014-04-28  Wilco  <wdijkstr@arm.com>
46827         * sysdeps/arm/fenv_private.h: New file.
46828         * sysdeps/arm/math_private.h: New file.
46829         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
46831 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
46833         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
46834         with __int128_t.
46835         (La_x86_64_retval): Likewise.
46837 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
46839         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
46840         fpsr if value didn't change.
46841         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
46842         to fpcr if value didn't change.
46843         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
46844         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
46845         fpsr or fpcr if value didn't change.
46846         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
46847         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
46848         fpcr if value didn't change.
46849         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
46850         to fpsr if value didn't change.
46852 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46854         * nptl/tst-sem3.c: Use test-skeleton.c
46855         (main): Rename to do_test.  Use return instead of
46856         exit.
46857         * nptl/tst-sem4.c: Use test-skeleton.c
46858         (main): Rename to do_test.
46860 2014-04-22  David S. Miller  <davem@davemloft.net>
46862         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
46863         (struct sigaction): New struct member __glibc_reserved0, change
46864         type of sa_flags to int.
46866 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
46868         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
46869         (COUNT_LEADING_ZEROS_0): Define for AArch64.
46871 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46873         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
46874         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
46876 2014-04-22  Will Newton  <will.newton@linaro.org>
46877             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
46879         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
46880         (__longjmp): Add longjmp and longjmp_target SystemTap
46881         probes.
46882         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
46883         (__sigsetjmp): Add setjmp SystemTap probe.
46885 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
46887         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
46888         match manual order.
46890 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46892         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
46894         * sysdeps/powerpc/fpu/fenv_private.h
46895         (libc_feholdexcept_setroundl_ctx): Define to
46896         libc_feholdexcept_setround_ppc_ctx.
46897         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
46898         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
46899         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
46900         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
46902 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46904         * sysdeps/aarch64/math-tests.h: New file.
46906 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
46908         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
46909         New.
46910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46911         Check and set bit_AVX2_Usable.
46912         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
46913         macro.
46914         (bit_AVX2): Likewise.
46915         (index_AVX2_Usable): Likewise.
46916         (CPUID_AVX2): Likewise.
46917         (HAS_AVX2): Likewise.
46919 2014-04-17  Will Newton  <will.newton@linaro.org>
46921         * manual/setjmp.texi (System V contexts): Add note that
46922         calling setcontext on a context created by a call to a
46923         signal handler is undefined.  Update text to note that
46924         setcontext from a signal handler is possible but not
46925         recommended.
46927         [BZ #16629]
46928         * stdlib/tst-setcontext.c: Include signal.h.
46929         (main): Check that the signal stack before and
46930         after swapcontext is the same.
46932         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
46933         Re-implement to restore registers in user code and avoid
46934         rt_sigreturn system call.
46936 2014-04-17  Wilco  <wdijkstr@arm.com>
46938         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
46939         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
46940         * math/test-fenv.c: Skip exception trap tests on targets which only
46941         support non-stop mode.
46943 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
46944             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46946         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46947         (libc_feholdsetround_aarch64_ctx)
46948         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46949         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46950         (libc_feresetround_ctx, libc_feresetroundf_ctx)
46951         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46952         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46953         (libc_feresetround_noexl_ctx): Define.
46955 2014-04-16  Richard Henderson  <rth@redhat.com>
46957         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46959         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46960         unwind tables.
46962         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46963         const from the non-libc, non-ldso copy.
46965         * sysdeps/alpha/libm-test-ulps: Regenerate.
46967 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46968             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46970         * sysdeps/aarch64/fpu/math_private.h: New file.
46972 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46974         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46976 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46978         [BZ #16275]
46979         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46980         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46982         Intel MPX bound registers before _dl_profile_fixup.
46983         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46984         registers after _dl_profile_fixup.  Save and restore bound
46985         registers bnd0/bnd1 when calling _dl_call_pltexit.
46986         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46987         (LR_BND_OFFSET): Likewise.
46988         (LRV_BND0_OFFSET): Likewise.
46989         (LRV_BND1_OFFSET): Likewise.
46991 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46993         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46994         to...
46995         * sysdeps/mach/hurd/i386/tls.h: ... here.
46996         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46997         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46998         fields.
47000 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47002         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47004 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47006         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47008 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47010         [BZ #14770]
47011         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47012         * sysdeps/s390/configure: Regenerate.
47014         [BZ #16824]
47015         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47016         Set round-to-nearest internally to reduce error accumulation.
47018 2014-04-16  Alan Modra  <amodra@gmail.com>
47020         [BZ #16740]
47021         [BZ #16619]
47022         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47023         * math/libm-test.inc (frexp_test_data): Add tests.
47024         * NEWS: Update fixed bug list.
47026 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47028         * benchtests/Makefile: Depend on libraries in build directory.
47029         (bench-math): Separate out math tests.
47030         (bench-pthread): Separate out pthread tests.
47031         (bench): Include math and pthread tests.
47033 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47035         [BZ #16831]
47036         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47037         _dl_debug_initialize.
47039         * configure.ac: Remove SELinux header check.
47040         * configure: Regenerate.
47041         * nscd/selinux.c (perms): Array of const char* to permission names.
47042         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47043         default policy. Call string_to_security_class and string_to_av_perm to
47044         translate strings. Enforce default policy and call avs_has_perm with
47045         results of translated strings.
47047 2014-04-13  David S. Miller  <davem@davemloft.net>
47049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47051 2014-04-12  Allan McRae  <allan@archlinux.org>
47053         [BZ #16838]
47054         * manual/string.texi (Collation Functions): Fix qsort argument
47055         order in example.
47056         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47058 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47060         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47061         Make the test a no-op if there are no exceptions defined.
47063 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47065         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47066         enable-hardcoded-path-in-tests
47068 2014-04-11  Will Newton  <will.newton@linaro.org>
47070         * benchtests/Makefile (extra-objs): Add json-lib.o.
47071         (bench-func): Tidy up JSON output.
47072         * benchtests/bench-skeleton.c: Include json-lib.h.
47073         (main): Use JSON library functions to do output of
47074         benchmark results.
47075         * benchtests/bench-timing-type.c (main): Output the
47076         timing type simply, leaving formatting to the user.
47077         * benchtests/json-lib.c: New file.
47078         * benchtests/json-lib.h: Likewise.
47080 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47082         [BZ #15215]
47083         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47084         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47085         memory barriers.  Add comments.
47086         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47087         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47088         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47089         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47090         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47091         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47093 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47095         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47096         * sysdeps/s390/s390-64/configure.ac: ... this ...
47097         * sysdeps/s390/configure.ac: ... to here.
47098         * sysdeps/s390/s390-32/configure: Delete file.
47099         * sysdeps/s390/s390-64/configure: Delete file.
47100         * sysdeps/s390/configure: Regenerate.
47102 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47104         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47106 2014-04-11  Will Newton  <will.newton@linaro.org>
47108         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47109         to zero if it is not defined elsewhere.  (mtrim): Test
47110         the value of MALLOC_DEBUG with #if rather than #ifdef.
47112 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47114         * benchtests/pthread_once-inputs: New file.
47115         * benchtests/pthread_once-source.c: New file.
47116         * benchtests/README: Update documentation.
47118 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47119             H.J. Lu  <hongjiu.lu@intel.com>
47121         [BZ #16275]
47122         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47123         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47124         * sysdeps/x86_64/configure: Regenerated.
47125         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47126         macro.
47127         (REGISTER_SAVE_RAX): Likewise.
47128         (REGISTER_SAVE_RCX): Likewise.
47129         (REGISTER_SAVE_RDX): Likewise.
47130         (REGISTER_SAVE_RSI): Likewise.
47131         (REGISTER_SAVE_RDI): Likewise.
47132         (REGISTER_SAVE_R8): Likewise.
47133         (REGISTER_SAVE_R9): Likewise.
47134         (REGISTER_SAVE_BND0): Likewise.
47135         (REGISTER_SAVE_BND1): Likewise.
47136         (REGISTER_SAVE_BND2): Likewise.
47137         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47138         bound registers when calling _dl_fixup.
47140 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47142         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47143         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47144         of its definition.
47145         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47146         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47147         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47148         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47149         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47150         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47151         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47153 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47155         [BZ #15514]
47156         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47157         pathconf(_PC_NAME_MAX).
47159 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47161         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47162         Remove macro usage.
47163         (__PTHREAD_SPINS): Move definition to ...
47164         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47165         (__PTHREAD_SPINS): ... here.
47166         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47167         (__PTHREAD_SPIN): Likewise.
47168         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47169         (__PTHREAD_SPIN): Likewise.
47170         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47171         (__PTHREAD_SPIN): Likewise.
47172         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47173         (__PTHREAD_SPIN): Likewise.
47174         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47175         (__PTHREAD_SPIN): Likewise.
47176         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47177         (__PTHREAD_SPIN): Likewise.
47178         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47179         (__PTHREAD_SPIN): Likewise.
47180         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47181         (__PTHREAD_SPIN): Likewise.
47182         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47183         (__PTHREAD_SPIN): Likewise.
47184         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47185         (__PTHREAD_SPIN): Likewise.
47186         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47187         (__PTHREAD_SPIN): Likewise.
47188         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47189         (__PTHREAD_SPIN): Likewise.
47191         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47192         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47193         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47194         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47195         imply folder.
47196         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47197         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47198         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47199         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47200         correct imply path.
47201         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47202         strlen symbol for non multi-arch builds.
47203         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47204         missing hidden_def and weak_alias.
47206 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47208         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47210 2014-04-07  Will Newton  <will.newton@linaro.org>
47212         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47213         and contents.  [!_LIBC] Remove #ifndef and contents.
47214         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47215         * string/memccpy.c (__memccpy): Use ANSI prototype.
47216         * string/memfrob.c (memfrob): Likewise.
47217         * string/strcoll.c (STRCOLL): Likewise.
47218         * string/strlen.c (strlen): Likewise.
47219         * string/strtok.c (STRTOK): Likewise.
47220         * string/strcat.c: Remove unused #include of memcopy.h.
47221         (strcat): Use ANSI prototype.
47222         * string/strchr.c: Remove unused #include of memcopy.h.
47223         (strchr): Use ANSI prototype.
47224         * string/strcmp.c: Remove unused #include of memcopy.h.
47225         (strcmp): Use ANSI prototype.
47226         * string/strcpy.c: Remove unused #include of memcopy.h.
47227         (strcpy): Use ANSI prototype.
47229 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47231         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
47232         * config.make.in (config-extra-cppflags): Set it from
47233         libc_extra_cppflags.
47234         * configure.ac (libc_extra_cflags): Make it accumulate over
47235         configure fragments.
47236         (libc_extra_cppflags): New flag.
47237         * configure. Regenerate.
47238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
47239         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
47240         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
47241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
47243         [BZ #16815]
47244         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
47245         result for FE_DOWNWARD rounding mode.
47246         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
47247         Likewise.
47248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47250 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
47252         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
47253         in function argument name.
47255 2014-04-03  David Svoboda  <svoboda@cert.org>
47257         [BZ #5666]
47258         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
47259         explicitly.
47261 2014-04-03  Roland McGrath  <roland@hack.frob.com>
47263         * elf/dl-unmap-segments.h: New file.
47264         * sysdeps/generic/ldsodefs.h
47265         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
47266         * elf/dl-close.c: Include <dl-unmap-segments.h>.
47267         * elf/dl-fptr.c: Likewise.
47268         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
47269         * sysdeps/aarch64/tlsdesc.c: Likewise.
47270         * sysdeps/arm/tlsdesc.c: Likewise.
47271         * sysdeps/i386/tlsdesc.c: Likewise.
47272         * sysdeps/tile/dl-runtime.c: Likewise.
47273         * sysdeps/x86_64/tlsdesc.c: Likewise.
47274         * elf/dl-load.h: New file.
47275         * elf/dl-load.c: Include it.
47276         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
47277         Macros moved to dl-load.h.
47278         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
47279         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
47280         Use _dl_unmap_segments in place of __munmap.
47281         Break out segment-mapping loop into ...
47282         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
47284 2014-04-03  Will Newton  <will.newton@linaro.org>
47286         * elf/dl-lookup.c (do_lookup_x): Remove comment
47287         referring to nested function and move variable
47288         declarations down to before first use.
47290 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
47292         [BZ #16799]
47293         [BZ #16800]
47294         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
47295         with 0 numerator.
47296         * math/s_catanf.c (__catanf): Likewise.
47297         * math/s_catanh.c (__catanh): Likewise.
47298         * math/s_catanhf.c (__catanhf): Likewise.
47299         * math/s_catanhl.c (__catanhl): Likewise.
47300         * math/s_catanl.c (__catanl): Likewise.
47301         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
47302         by positive zero when computing -Inf result.
47303         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
47304         (catanh_test): Likewise.
47305         * sysdeps/i386/fpu/libm-test-ulps: Update.
47306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47308         [BZ #16789]
47309         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
47310         instead of using underflowing value in computing result.
47311         * math/s_clog10.c (__clog10): Likewise.
47312         * math/s_clog10f.c (__clog10f): Likewise.
47313         * math/s_clog10l.c (__clog10l): Likewise.
47314         * math/s_clogf.c (__clogf): Likewise.
47315         * math/s_clogl.c (__clogl): Likewise.
47316         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
47317         (clog10_test): Likewise.
47318         * sysdeps/i386/fpu/libm-test-ulps: Update.
47319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47321 2014-04-02  Alan Modra  <amodra@gmail.com>
47323         [BZ #16739]
47324         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
47325         output when value is near a power of two.  Use int64_t for lx and
47326         remove casts.  Use decimal rather than hex exponent constants.
47327         Don't use long double multiplication when double will suffice.
47328         * math/libm-test.inc (nextafter_test_data): Add tests.
47329         * NEWS: Add 16739 and 16786 to bug list.
47331         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
47333         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
47335 2014-04-01  Will Newton  <will.newton@linaro.org>
47337         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
47338         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
47340 2014-04-01  Florian Weimer  <fweimer@redhat.com>
47342         [BZ #13347]
47343         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
47344         * nptl/tst-setuid2.c: New file.
47345         * nptl/Makefile (xtests): Add tst-setuid2.
47347 2014-04-01  Alan Modra  <amodra@gmail.com>
47349         [BZ #16786]
47350         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
47352 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47354         [BZ #6803]
47355         [BZ #6804]
47356         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
47357         set errno as appropriate.
47358         * math/w_scalbf.c (__scalbf): Likewise.
47359         * math/w_scalbl.c (__scalbl): Likewise.
47360         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
47361         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
47362         * math/libm-test.inc (scalb_test_data): Add errno expectations.
47363         Add more NaN tests.
47365         [BZ #16349]
47366         * math/w_atan2.c: Include <errno.h>.
47367         (__atan2): Set errno for result underflowing to zero.
47368         * math/w_atan2f.c: Include <errno.h>.
47369         (__atan2f): Set errno for result underflowing to zero.
47370         * math/w_atan2l.c: Include <errno.h>.
47371         (__atan2l): Set errno for result underflowing to zero.
47372         * math/auto-libm-test-in: Don't allow missing errno for some atan2
47373         tests.
47374         * math/auto-libm-test-out: Regenerated.
47376 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47378         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
47379         Encode instruction correctly in little endian.
47380         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
47381         Likewise.
47382         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
47383         Likewise.
47384         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
47385         Likewise.
47386         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
47387         Likewise.
47389 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
47391         [BZ #9894]
47392         * sysdeps/unix/sysv/linux/kernel-features.h
47393         [__sparc__ && !__arch64__ && !__sparc_v9__]
47394         (__ASSUME_SET_ROBUST_LIST): Do not define.
47395         [__sparc__ && !__arch64__ && !__sparc_v9__]
47396         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47397         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
47398         Likewise.
47399         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47400         (__ASSUME_FUTEX_LOCK_PI): Undefine.
47401         (__ASSUME_REQUEUE_PI): Likewise.
47402         (__ASSUME_SET_ROBUST_LIST): Likewise.
47403         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47404         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
47405         Undefine.
47406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47407         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
47408         Likewise.
47409         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
47410         Likewise.
47411         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
47412         Likewise.
47413         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47414         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
47415         Undefine.
47416         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
47417         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
47418         Likewise.
47420         [BZ #16648]
47421         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47422         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
47423         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
47425 2014-03-31  Will Newton  <will.newton@linaro.org>
47427         * benchtests/Makefile (bench): Add ffs and ffsll to list
47428         of tests.
47429         * benchtests/ffs-inputs: New file.
47430         * benchtests/ffsll-inputs: Likewise.
47432 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
47434         [BZ #16770]
47435         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
47436         too large before casting to int.
47437         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
47438         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
47439         * math/libm-test.inc (scalb_test_data): Add more tests.
47441 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47443         * benchtests/Makefile (DETAILED_OPT): New make option.
47444         (bench-func): Run benchmark program with -d if DETAILED_OPT is
47445         set.
47446         * benchtests/bench-skeleton.c: Include stdbool.h.
47447         (main): Store and print timings per input.
47448         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
47449         member to each argument value.
47450         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
47451         (_print_arg_data): Initialize per-input timing to 0.
47453         * benchtests/Makefile (timing-type): New binary.
47454         (bench-clean): Also remove bench-timing-type.
47455         (bench): New target for timing-type.
47456         (bench-func): Print output in JSON format.
47457         * benchtests/bench-skeleton.c (main): Print output in JSON
47458         format.
47459         * benchtests/bench-timing-type.c: New file.
47460         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
47461         (TIMING_PRINT_STATS): Remove.
47462         * benchtests/scripts/bench.py (_print_arg_data): Store variant
47463         name separately.
47465         * benchtests/bench-modf.c: Remove.
47466         * benchtests/modf-inputs: New inputs file.
47468 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
47470         [BZ #16362]
47471         * math/s_clog10.c (M_PI_LOG10E): New macro.
47472         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
47473         imaginary parts are 0.
47474         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
47475         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
47476         imaginary parts are 0.
47477         * math/s_clog10l.c (M_PI_LOG10El): New macro.
47478         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
47479         imaginary parts are 0.
47480         * math/libm-test.inc (clog10_test_data): Update expected results
47481         for when real and imaginary parts are 0.
47483 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
47485         * elf/dl-load.c: Finish conversion of __builtin_expect into
47486         __glibc_{un}likely.
47488 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
47490         [BZ #16348]
47491         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
47492         1+x for argument with exponent below -67.
47493         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
47494         Likewise.
47495         * math/auto-libm-test-in: Add more tests of exp.
47496         * math/auto-libm-test-out: Regenerated.
47498 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47500         [BZ #16759]
47501         * inet/getnetgrent_r.c (get_nonempty_val): New function.
47502         (nscd_getnetgrent): Use it.
47504         [BZ #16760]
47505         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
47506         of stpcpy.
47508 2014-03-27  Andi Kleen  <ak@linux.intel.com>
47510         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
47511         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47512         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47513         (lll_robust_unlock): Remove out of line section. Use cfi
47514         intrinsics.
47515         (LLL_STUB_UNWIND_INFO*): Remove.
47516         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
47517         (lll_robust_lock, lll_cond_lock, lll_timedlock)
47518         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
47519         (lll_robust_unlock): Remove out of line section. Use cfi
47520         intrinsics.
47521         (LLL_STUB_UNWIND_INFO*): Remove.
47523 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47525         [BZ #16758]
47526         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
47527         blank values.
47529 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
47531         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
47533 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
47535         [BZ #16198]
47536         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
47537         fnstenv.
47538         * math/test-fenv-preserve.c: New file.
47539         * math/Makefile (tests): Add test-fenv-preserve.
47541 2014-03-26  Will Newton <will.newton@linaro.org>
47543         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
47545 2014-03-25  Roland McGrath  <roland@hack.frob.com>
47547         * scripts/versionlist.awk: Partition the version sets and emit all
47548         GLIBC_* (sorted) before all others (sorted).
47550 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47552         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
47553         GLIBC_2.2.5 version.
47555 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47557         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
47558         calls.
47560         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
47561         previous change.
47563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47565 2014-03-25  Andreas Schwab  <schwab@suse.de>
47567         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
47568         label to be used after in6ailist is initialized.
47570 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47572         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47573         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47575 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
47577         [BZ #16357]
47578         [BZ #16599]
47579         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
47580         min_plus_half.
47581         (fp_formats): Update initializers.
47582         (init_fp_formats): Initialize new field.
47583         (output_for_one_input_case): Allow underflow for results up to
47584         min_plus_half.
47585         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
47586         * math/auto-libm-test-in: Don't mark some underflows from asin and
47587         atanh as spurious.
47588         * math/auto-libm-test-out: Regenerated.
47589         * sysdeps/i386/fpu/libm-test-ulps: Update.
47590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47592 2014-03-25  Andreas Schwab  <schwab@suse.de>
47594         * libio/Makefile (tst-ftell-partial-wide-ENV)
47595         (tst-ftell-active-handler-ENV): Define.
47597 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
47599         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
47601 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47603         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
47605 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47607         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
47608         * sysdeps/x86_64/fpu/multiarch/e_exp.c
47609         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
47611 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
47613         [BZ #16634]
47614         * elf/dl-load.c (open_verify): Add mode parameter.
47615         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
47616         (open_path): Change from boolean 'secure' to complete flag 'mode'
47617         (_dl_map_object): Adjust.
47618         * elf/Makefile (tests): Add tst-dlopen-aout.
47619         * elf/tst-dlopen-aout.c: New test.
47621 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
47623         [BZ #16714]
47624         * sysdeps/unix/sysv/linux/s390/bits/stat.h
47625         (struct stat): Rename member pad0 to __glibc_reserved0.
47627         [BZ #16712]
47628         * sysdeps/s390/s390-32/bits/wordsize.h
47629         (__WORDSIZE32_SIZE_ULONG): New define.
47630         * sysdeps/s390/s390-64/bits/wordsize.h
47631         (__WORDSIZE32_SIZE_ULONG): Likewise.
47632         * sysdeps/generic/stdint.h (SIZE_MAX):
47633         Define as UL if __WORDSIZE32_SIZE_ULONG.
47635         [BZ #16713]
47636         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
47637         (__glibc_reserved0): New variable.
47638         (sa_flags): Change type to int.
47640         * posix/Makefile (before-compile): Use += before-compile instead
47641         of a :=.
47643         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47644         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
47646 2014-03-20  Andreas Schwab  <schwab@suse.de>
47648         [BZ #16743]
47649         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
47650         non-matching result from nscd.
47652 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47654         * scripts/bench.py: Moved to ...
47655         * benchtests/scripts/bench.py: ... here.
47656         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
47658 2014-03-24  Andreas Schwab  <schwab@suse.de>
47660         [BZ #16002]
47661         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
47662         alloca_account and account alloca use for struct in6ailist.
47664 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
47666         [BZ #16284]
47667         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
47668         rounding mode to recompute results that overflow to infinity or
47669         underflow to zero.
47670         * math/auto-libm-test-in: Don't mark tests as expected to fail for
47671         bug 16284.
47672         * math/auto-libm-test-out: Regenerated.
47673         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
47674         (ccosh_test): Likewise.
47675         (csin_test_data): Use plus_oflow.
47676         (csin_test): Use ALL_RM_TEST.
47677         (csinh_test_data): Use plus_oflow.
47678         (csinh_test): Use ALL_RM_TEST.
47679         * sysdeps/i386/fpu/libm-test-ulps: Update.
47680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47682 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
47684         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
47685         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
47686         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
47688         [BZ #16731]
47689         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
47690         when x - 1 is zero.
47691         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
47692         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
47693         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47694         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
47695         argument is 1.
47696         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
47697         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
47698         zero.
47699         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
47700         * sysdeps/i386/fpu/libm-test-ulps: Update.
47701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47703 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47705         * scripts/bench.pl: Remove file.
47706         * scripts/bench.py: New benchmark script.
47707         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
47708         * benchtests/README: Mention python dependency.
47709         * scripts/pylintrc: New file.
47710         * scripts/pylint: New file.
47712         * bits/mathdef.h: Use #ifdef instead of #if.
47713         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
47714         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47715         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
47716         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47717         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
47718         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
47720 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47721             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47723         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
47724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
47725         and strpbrk-ppc64 objects.
47726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47727         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
47728         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
47729         multiarch strpbrk for POWER7.
47730         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
47731         multiarch strpbrk for PPC64.
47732         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
47733         ifunc selector.
47734         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
47735         strpbrk for POWER7.
47737 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47739         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
47740         (atan_test): Likewise.
47741         (atanh_test_data): Use NO_TEST_INLINE for two tests.
47742         (atanh_test): Use ALL_RM_TEST.
47743         (atan2_test_data): Likewise.
47744         (cabs_test): Likewise.
47745         (cacosh_test): Likewise.
47746         (carg_test): Likewise.
47747         (casin_test): Likewise.
47748         (casinh_test): Likewise.
47749         (cbrt_test): Likewise.
47750         (csqrt_test): Likewise.
47751         (erf_test): Likewise.
47752         (erfc_test): Likewise.
47753         (pow10_test): Likewise.
47754         (exp2_test): Likewise.
47755         (hypot_test): Likewise.
47756         (j0_test): Likewise.
47757         (j1_test): Likewise.
47758         (lgamma_test): Likewise.
47759         (gamma_test): Likewise.
47760         (sincos_test): Likewise.
47761         (tanh_test): Likewise.
47762         (y0_test): Likewise.
47763         (y1_test): Likewise.
47764         * sysdeps/i386/fpu/libm-test-ulps: Update.
47765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47767 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47769         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
47770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
47771         and strcspn-ppc64 objects.
47772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
47773         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
47774         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
47775         multiarch strcspn for POWER7.
47776         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
47777         multiarch strcspn for PPC64.
47778         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
47779         ifunc selector.
47780         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
47781         strcspn for POWER7.
47783 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
47785         * math/gen-libm-test.pl (generate_testfile): Expect only function
47786         name as argument to AUTO_TESTS_* and pass results for all rounding
47787         modes to parse_args.
47788         (parse_auto_input): Separate inputs of automatic tests from
47789         outputs before storing in %auto_tests.
47790         * math/libm-test.inc (acos_test_data): Update call to
47791         AUTO_TESTS_f_f.
47792         (acos_test): Use ALL_RM_TEST.
47793         (acos_tonearest_test_data): Remove.
47794         (acos_test_tonearest): Likewise.
47795         (acos_towardzero_test_data): Likewise.
47796         (acos_test_towardzero): Likewise.
47797         (acos_downward_test_data): Likewise.
47798         (acos_test_downward): Likewise.
47799         (acos_upward_test_data): Likewise.
47800         (acos_test_upward): Likewise.
47801         (acosh_test_data): Update call to AUTO_TESTS_f_f.
47802         (asin_test_data): Likewise.
47803         (asin_test): Use ALL_RM_TEST.
47804         (asin_tonearest_test_data): Remove.
47805         (asin_test_tonearest): Likewise.
47806         (asin_towardzero_test_data): Likewise.
47807         (asin_test_towardzero): Likewise.
47808         (asin_downward_test_data): Likewise.
47809         (asin_test_downward): Likewise.
47810         (asin_upward_test_data): Likewise.
47811         (asin_test_upward): Likewise.
47812         (asinh_test_data): Update call to AUTO_TESTS_f_f.
47813         (atan_test_data): Likewise.
47814         (atanh_test_data): Likewise.
47815         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
47816         (cabs_test_data): Update call to AUTO_TESTS_c_f.
47817         (carg_test_data): Likewise.
47818         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
47819         (ccos_test_data): Update call to AUTO_TESTS_c_c.
47820         (ccosh_test_data): Likewise.
47821         (cexp_test_data): Likewise.
47822         (clog_test_data): Likewise.
47823         (clog10_test_data): Likewise.
47824         (cos_test_data): Update call to AUTO_TESTS_f_f.
47825         (cos_test): Use ALL_RM_TEST.
47826         (cos_tonearest_test_data): Remove.
47827         (cos_test_tonearest): Likewise.
47828         (cos_towardzero_test_data): Likewise.
47829         (cos_test_towardzero): Likewise.
47830         (cos_downward_test_data): Likewise.
47831         (cos_test_downward): Likewise.
47832         (cos_upward_test_data): Likewise.
47833         (cos_test_upward): Likewise.
47834         (cosh_test_data): Update call to AUTO_TESTS_f_f.
47835         (cosh_test): Use ALL_RM_TEST.
47836         (cosh_tonearest_test_data): Remove.
47837         (cosh_test_tonearest): Likewise.
47838         (cosh_towardzero_test_data): Likewise.
47839         (cosh_test_towardzero): Likewise.
47840         (cosh_downward_test_data): Likewise.
47841         (cosh_test_downward): Likewise.
47842         (cosh_upward_test_data): Likewise.
47843         (cosh_test_upward): Likewise.
47844         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
47845         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
47846         (ctan_test_data): Likewise.
47847         (ctan_test): Use ALL_RM_TEST.
47848         (ctan_tonearest_test_data): Remove.
47849         (ctan_test_tonearest): Likewise.
47850         (ctan_towardzero_test_data): Likewise.
47851         (ctan_test_towardzero): Likewise.
47852         (ctan_downward_test_data): Likewise.
47853         (ctan_test_downward): Likewise.
47854         (ctan_upward_test_data): Likewise.
47855         (ctan_test_upward): Likewise.
47856         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
47857         (ctanh_test): Use ALL_RM_TEST.
47858         (ctanh_tonearest_test_data): Remove.
47859         (ctanh_test_tonearest): Likewise.
47860         (ctanh_towardzero_test_data): Likewise.
47861         (ctanh_test_towardzero): Likewise.
47862         (ctanh_downward_test_data): Likewise.
47863         (ctanh_test_downward): Likewise.
47864         (ctanh_upward_test_data): Likewise.
47865         (ctanh_test_upward): Likewise.
47866         (erf_test_data): Update call to AUTO_TESTS_f_f.
47867         (erfc_test_data): Likewise.
47868         (exp_test_data): Likewise.
47869         (exp_test): Use ALL_RM_TEST.
47870         (exp_tonearest_test_data): Remove.
47871         (exp_test_tonearest): Likewise.
47872         (exp_towardzero_test_data): Likewise.
47873         (exp_test_towardzero): Likewise.
47874         (exp_downward_test_data): Likewise.
47875         (exp_test_downward): Likewise.
47876         (exp_upward_test_data): Likewise.
47877         (exp_test_upward): Likewise.
47878         (exp10_test_data): Update call to AUTO_TESTS_f_f.
47879         (exp10_test): Use ALL_RM_TEST.
47880         (exp10_tonearest_test_data): Remove.
47881         (exp10_test_tonearest): Likewise.
47882         (exp10_towardzero_test_data): Likewise.
47883         (exp10_test_towardzero): Likewise.
47884         (exp10_downward_test_data): Likewise.
47885         (exp10_test_downward): Likewise.
47886         (exp10_upward_test_data): Likewise.
47887         (exp10_test_upward): Likewise.
47888         (exp2_test_data): Update call to AUTO_TESTS_f_f.
47889         (expm1_test_data): Likewise.
47890         (expm1_test): Use ALL_RM_TEST.
47891         (expm1_tonearest_test_data): Remove.
47892         (expm1_test_tonearest): Likewise.
47893         (expm1_towardzero_test_data): Likewise.
47894         (expm1_test_towardzero): Likewise.
47895         (expm1_downward_test_data): Likewise.
47896         (expm1_test_downward): Likewise.
47897         (expm1_upward_test_data): Likewise.
47898         (expm1_test_upward): Likewise.
47899         (fma_test_data): Update call to AUTO_TESTS_fff_f.
47900         (fma_test): Use ALL_RM_TEST.
47901         (fma_towardzero_test_data): Remove.
47902         (fma_test_towardzero): Likewise.
47903         (fma_downward_test_data): Likewise.
47904         (fma_test_downward): Likewise.
47905         (fma_upward_test_data): Likewise.
47906         (fma_test_upward): Likewise.
47907         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
47908         (j0_test_data): Update call to AUTO_TESTS_f_f.
47909         (j1_test_data): Likewise.
47910         (jn_test_data): Update call to AUTO_TESTS_if_f.
47911         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
47912         (log_test_data): Update call to AUTO_TESTS_f_f.
47913         (log10_test_data): Likewise.
47914         (log1p_test_data): Likewise.
47915         (log2_test_data): Likewise.
47916         (pow_test_data): Update call to AUTO_TESTS_ff_f.
47917         (pow_tonearest_test_data): Likewise.
47918         (sin_test_data): Update call to AUTO_TESTS_f_f.
47919         (sin_test): Use ALL_RM_TEST.
47920         (sin_tonearest_test_data): Remove.
47921         (sin_test_tonearest): Likewise.
47922         (sin_towardzero_test_data): Likewise.
47923         (sin_test_towardzero): Likewise.
47924         (sin_downward_test_data): Likewise.
47925         (sin_test_downward): Likewise.
47926         (sin_upward_test_data): Likewise.
47927         (sin_test_upward): Likewise.
47928         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
47929         (sinh_test_data): Update call to AUTO_TESTS_f_f.
47930         (sinh_test): Use ALL_RM_TEST.
47931         (sinh_tonearest_test_data): Remove.
47932         (sinh_test_tonearest): Likewise.
47933         (sinh_towardzero_test_data): Likewise.
47934         (sinh_test_towardzero): Likewise.
47935         (sinh_downward_test_data): Likewise.
47936         (sinh_test_downward): Likewise.
47937         (sinh_upward_test_data): Likewise.
47938         (sinh_test_upward): Likewise.
47939         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
47940         (sqrt_test): Use ALL_RM_TEST.
47941         (sqrt_tonearest_test_data): Remove.
47942         (sqrt_test_tonearest): Likewise.
47943         (sqrt_towardzero_test_data): Likewise.
47944         (sqrt_test_towardzero): Likewise.
47945         (sqrt_downward_test_data): Likewise.
47946         (sqrt_test_downward): Likewise.
47947         (sqrt_upward_test_data): Likewise.
47948         (sqrt_test_upward): Likewise.
47949         (tan_test_data): Update call to AUTO_TESTS_f_f.
47950         (tan_test): Use ALL_RM_TEST.
47951         (tan_tonearest_test_data): Remove.
47952         (tan_test_tonearest): Likewise.
47953         (tan_towardzero_test_data): Likewise.
47954         (tan_test_towardzero): Likewise.
47955         (tan_downward_test_data): Likewise.
47956         (tan_test_downward): Likewise.
47957         (tan_upward_test_data): Likewise.
47958         (tan_test_upward): Likewise.
47959         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47960         (tgamma_test_data): Likewise.
47961         (y0_test_data): Likewise.
47962         (y1_test_data): Likewise.
47963         (yn_test_data): Update call to AUTO_TESTS_if_f.
47964         (main): Do not call removed functions.
47966 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47968         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47969         (ldexp_test_data): Remove.
47970         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47971         scalbn_test_data.
47972         (scalb_test): Use ALL_RM_TEST.
47974 2014-03-19  Andreas Schwab  <schwab@suse.de>
47976         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47978 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47980         [BZ #16649]
47981         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47982         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47983         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47984         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47985         (__ASSUME_PREADV): Undefine.
47986         (__ASSUME_PWRITEV): Likewise.
47988 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47990         * bits/mman-linux.h: Add comment about non-Linux use.
47991         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47992         bits/mman-linux.h resting place.
47994         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47995         * bits/mman-linux.h: ... here.
47997 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47999         * conform/conformtest.pl: Add standard definition when calling C
48000         preprocessor on data files.
48001         (checknamespace): Remove unused variable.
48003 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48005         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48006         minus_oflow, plus_uflow and minus_uflow in expected results.
48007         * math/libm-test.inc (scalbn_test_data): Add more tests of
48008         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48009         minus_uflow.
48010         (scalbn_test): Use ALL_RM_TEST.
48011         (scalbln_test_data): Add more tests of negative arguments.  Use
48012         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48013         (scalbln_test): Use ALL_RM_TEST.
48015 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48017         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48019 2014-03-18  Will Newton  <will.newton@linaro.org>
48021         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48022         inaccurate comment.
48024 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48026         * Makerules [!subdir] (check-abi): Exit with error status if a
48027         test failed.
48029 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48031         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48032         for rint.  Include results for all rounding modes.
48033         (nearbyint_test): Use ALL_RM_TEST.
48034         (rint_test_data): Include all tests used for nearbyint.
48036 2014-03-17  Will Newton  <will.newton@linaro.org>
48038         * nptl/sysdeps/pthread/pthread.h: Revert previous
48039         change.
48041         * sysdeps/generic/ldsodefs.h: Revert previous
48042         change.
48044         * libio/genops.c: Revert previous change.
48045         * libio/libioP.h: Likewise.
48046         * stdio-common/vfprintf.c: Likewise.
48048         * sysdeps/generic/math_private.h: Revert previous
48049         change.
48051         * sysdeps/generic/math_private.h: Check whether
48052         HAVE_RM_CTX is defined with #ifdef rather
48053         than #if.
48055         * argp/argp-fmtstream.h: Check whether
48056         __STRICT_ANSI__ is defined with #ifdef rather
48057         than #if.
48058         * argp/argp.h: Likewise.
48060         * libio/genops.c: Check whether
48061         _IO_JUMPS_OFFSET is defined with #ifdef rather
48062         than #if.
48063         * libio/libioP.h: Likewise.
48064         * stdio-common/vfprintf.c: Likewise.
48066         * sysdeps/generic/ldsodefs.h: Check whether
48067         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48068         than #if.
48070         * nptl/sysdeps/pthread/pthread.h: Check
48071         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48072         its value.
48074 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48076         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48077         setting O_APPEND.
48078         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48079         test case.
48081         [BZ #16680]
48082         * libio/fileops.c (_IO_file_open): Seek to end of file but
48083         don't cache the offset.
48084         (get_file_offset): Remove function.
48085         (do_ftell): Use cached offset when available.
48086         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48087         don't cache the offset.
48088         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48089         case.
48090         (do_one_test): Call it.
48091         (do_ftell_test): Fix up expected old offset for a+ mode.
48092         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48093         available.
48095         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48096         up test status with function return status.
48097         (do_write_test): Likewise.
48098         (do_append_test): Likewise.
48100         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48101         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48102         Remove.
48104 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48106         * math/gen-libm-test.pl (parse_args): Handle results specified for
48107         each rounding mode separately.
48108         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48109         tests and results from lrint_tonearest_test_data,
48110         lrint_towardzero_test_data, lrint_downward_test_data and
48111         lrint_upward_test_data.
48112         (lrint_test): Use ALL_RM_TEST.
48113         (lrint_tonearest_test_data): Remove.
48114         (lrint_test_tonearest): Likewise.
48115         (lrint_towardzero_test_data): Likewise.
48116         (lrint_test_towardzero): Likewise.
48117         (lrint_downward_test_data): Likewise.
48118         (lrint_test_downward): Likewise.
48119         (lrint_upward_test_data): Likewise.
48120         (lrint_test_upward): Likewise.
48121         (llrint_test_data): Merge in per-rounding-mode tests and results
48122         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48123         llrint_downward_test_data and llrint_upward_test_data.
48124         (llrint_test): Use ALL_RM_TEST.
48125         (llrint_tonearest_test_data): Remove.
48126         (llrint_test_tonearest): Likewise.
48127         (llrint_towardzero_test_data): Likewise.
48128         (llrint_test_towardzero): Likewise.
48129         (llrint_downward_test_data): Likewise.
48130         (llrint_test_downward): Likewise.
48131         (llrint_upward_test_data): Likewise.
48132         (llrint_test_upward): Likewise.
48133         (rint_test_data): Merge in per-rounding-mode tests and results
48134         from rint_tonearest_test_data, rint_towardzero_test_data,
48135         rint_downward_test_data and rint_upward_test_data.  Add
48136         per-rounding-mode results for tests not in those arrays.
48137         (rint_test): Use ALL_RM_TEST.
48138         (rint_tonearest_test_data): Remove.
48139         (rint_test_tonearest): Likewise.
48140         (rint_towardzero_test_data): Likewise.
48141         (rint_test_towardzero): Likewise.
48142         (rint_downward_test_data): Likewise.
48143         (rint_test_downward): Likewise.
48144         (rint_upward_test_data): Likewise.
48145         (rint_test_upward): Likewise.
48146         (main): Don't call removed functions.
48148 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48150         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48151         "Compiled on ..." crapola.  It is anti-useful.
48153 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48155         * scripts/evaluate-test.sh: Handle fourth argument to determine
48156         whether test run should stop on failure.
48157         * Makeconfig (stop-on-test-failure): New variable.
48158         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48159         $(stop-on-test-failure).
48160         * Makefile (tests): Give a summary of results from testing and
48161         exit with failure status if they include an ERROR or FAIL.
48162         (xtests): Likewise.
48163         * manual/install.texi (Configuring and compiling): Mention
48164         stop-on-test-failure=y.
48165         * INSTALL: Regenerated.
48167 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48169         * scripts/versionlist.awk: New file.
48170         * Makerules [$(build-shared) = yes]
48171         (postclean-generated): Add Versions.def, not Versions.def.v and
48172         Versions.def.v.i.
48173         ($(common-objpfx)Versions.def.v.i): Target removed.
48174         ($(common-objpfx)Versions.def): New target.
48175         ($(common-objpfx)Versions.all): Depend on that rather that
48176         $(common-objpfx)Versions.def.v.
48177         * Versions.def: File removed.
48179         * Makeconfig (+gccwarn): Add -Wundef.
48180         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48181         a dl-sysdep.h breaking its contract.
48182         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48183         * include/stackinfo.h: New file.
48184         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48185         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48186         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48187         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48188         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48189         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48190         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48191         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48192         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48193         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48194         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48195         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48196         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48197         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48198         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48200 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48202         [BZ #16707]
48203         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48204         implementation.
48205         * math/libm-test.inc (round_test_data): Add more tests.
48207         [BZ #16706]
48208         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48209         implementation.
48210         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48212         [BZ #16701]
48213         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48214         implementation.
48215         * math/libm-test.inc (ceil_test_data): Add more tests.
48217         * math/libm-test.inc (trunc_test_data): Add more tests related to
48218         BZ#16414.
48220 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48222         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
48223         with #if rather than #ifdef.
48224         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
48226 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
48228         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
48229         first.  Disable AVX-512 GCC support if assembler doesn't support
48230         it.
48231         * sysdeps/x86_64/configure: Regenerated.
48233 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
48235         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
48236         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
48237         (__old_pthread_attr_setstack): Likewise.
48238         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
48239         [!_STACK_GROWS_DOWN]: Likewise.
48241 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
48243         * config.make.in (have-bash2): Delete.
48244         * configure.ac (libc_cv_have_bash2): Delete.
48245         * configure: Regenerate.
48246         * elf/Makefile (common-ldd-rewrite): Rename to ...
48247         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
48248         (sh-ldd-rewrite): Delete.
48249         (bash-ldd-rewrite): Delete.
48250         (have-bash2): Delete checks.
48251         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
48252         ldd-rewrite.
48254         * config.make.in (have-ksh): Delete.
48255         (KSH): Delete.
48256         * configure.ac (libc_cv_have_ksh): Delete.
48257         * configure: Regenerate.
48259         * elf/Makefile: Delete $(have-ksh) check.
48260         ($(objpfx)sotruss): Change KSH to BASH.
48261         * elf/sotruss.ksh: Rename to ...
48262         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
48263         function style to match POSIX.  Drop ksh vim mode setting.
48265         * manual/time.texi (Specifying the Time Zone with TZ): Change
48266         Tuesday to Thursday.
48268         * debug/tst-longjmp_chk2.c: Update header comment.
48269         (stackoverflow_handler): Add comment.  Call assert on pass value.
48271 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
48273         [BZ #16194]
48274         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
48275         (HAVE_AVX512_ASM_SUPPORT): Likewise.
48276         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
48277         (La_x86_64_vector): Add zmm.
48278         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
48279         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
48280         ($(objpfx)tst-audit10): New target.
48281         ($(objpfx)tst-audit10.out): Likewise.
48282         (tst-audit10-ENV): New.
48283         (AVX512-CFLAGS): Likewise.
48284         (CFLAGS-tst-audit10.c): Likewise.
48285         (CFLAGS-tst-auditmod10a.c): Likewise.
48286         (CFLAGS-tst-auditmod10b.c): Likewise.
48287         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
48288         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
48289         * sysdeps/x86_64/configure: Regenerated.
48290         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
48291         AVX-512 zmm register support.
48292         (_dl_x86_64_save_sse): Likewise.
48293         (_dl_x86_64_restore_sse): Likewise.
48294         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
48295         size vector registers.
48296         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
48297         (ZMM_SIZE): Likewise.
48298         * sysdeps/x86_64/tst-audit10.c: New file.
48299         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
48300         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
48302 2014-03-13  Roland McGrath  <roland@hack.frob.com>
48304         * configure.ac (HAVE_EHDR_START): New check.
48305         * configure: Regenerated.
48306         * config.h.in (HAVE_EHDR_START): New #undef.
48307         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
48308         assuming the lowest-addressed segment maps the start of the file.
48310 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
48312         * INSTALL: Regenerated.
48314 2014-03-13  Will Newton  <will.newton@linaro.org>
48316         * manual/setjmp.texi (System V contexts): Improve
48317         clarity and grammar of documentation.
48319 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
48321         [BZ #16381]
48322         * elf/Makefile (tests): Add tst-pie2.
48323         (tests-pie): Add tst-pie2.
48324         * elf/tst-pie2.c: New file.
48325         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
48326         for ET_EXEC.
48327         * elf/rtld.c (map_doit): Load executable as lt_executable.
48328         (dl_main): Likewise.
48330 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
48332         [BZ #16642]
48333         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48334         (__ASSUME_PSELECT): Undefine.
48336 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48338         [BZ #16689]
48339         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
48340         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
48341         static build.
48342         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
48343         selector for static builds.
48345 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48347         [BZ #16695]
48348         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
48349         key in the buffer.
48351 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48353         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
48354         IFUNC selector for static builds.
48356 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
48358         * sysdeps/mips/math_private.h [__mips_hard_float]
48359         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
48360         libc_feresetround_mips_ctx.
48361         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
48362         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
48363         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
48365         [BZ #16677]
48366         * math/s_nextafter.c (__nextafter): Do not return value from
48367         overflowing computation.
48368         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
48369         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
48370         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
48371         Likewise.
48372         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
48373         Likewise.
48374         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
48375         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
48377 2014-03-11  Roland McGrath  <roland@hack.frob.com>
48379         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
48380         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
48381         Move sfi_sp use from the load-multiple (that no longer sets sp) to
48382         the new mov targetting sp.
48384 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48386         [BZ #16683]
48387         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
48388         Define it for static builds as well.
48389         (NO_BZERO_IMPL): Likewise.
48391 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48393         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
48394         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
48395         multiarch strspn for PPC64.
48396         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
48397         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
48398         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48399         (__libc_ifunc_impl_list): Likewise.
48400         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
48401         multiarch optimizations
48402         * string/strspn.c (strspn): Using macro to redefine symbol name.
48404 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48405             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48407         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
48408         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
48409         multiarch strncat for PPC64.
48410         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
48411         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
48412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48413         (__libc_ifunc_impl_list): Likewise.
48414         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
48415         multiarch optimizations
48417 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48419         [BZ #16639]
48420         * nscd/nscd.service: Make service type forking.
48422 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48424         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
48425         sign in non default rounding modes.
48426         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
48428 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
48430         * math/libm-test.inc (ALL_RM_TEST): New macro.
48431         (ceil_test): Use ALL_RM_TEST.
48432         (cimag_test): Likewise.
48433         (conj_test): Likewise.
48434         (copysign_test): Likewise.
48435         (cproj_test): Likewise.
48436         (creal_test): Likewise.
48437         (fabs_test): Likewise.
48438         (floor_test): Likewise.
48439         (fmax_test): Likewise.
48440         (fmin_test): Likewise.
48441         (fmod_test): Likewise.
48442         (fpclassify_test): Likewise.
48443         (frexp_test): Likewise.
48444         (ilogb_test): Likewise.
48445         (isfinite_test): Likewise.
48446         (finite_test): Likewise.
48447         (isgreater_test): Likewise.
48448         (isgreaterequal_test): Likewise.
48449         (isinf_test): Likewise.
48450         (isless_test): Likewise.
48451         (islessequal_test): Likewise.
48452         (islessgreater_test): Likewise.
48453         (isnan_test): Likewise.
48454         (isnormal_test): Likewise.
48455         (issignaling_test): Likewise.
48456         (isunordered_test): Likewise.
48457         (logb_test): Likewise.
48458         (logb_downward_test_data): Remove.
48459         (logb_test_downward): Likewise.
48460         (lround_test): Use ALL_RM_TEST.
48461         (llround_test): Likewise.
48462         (modf_test): Likewise.
48463         (nexttoward_test): Likewise.
48464         (remainder_test): Likewise.
48465         (drem_test): Likewise.
48466         (remainder_tonearest_test_data): Likewise.
48467         (remainder_test_tonearest): Likewise.
48468         (drem_test_tonearest): Likewise.
48469         (remainder_towardzero_test_data): Likewise.
48470         (remainder_test_towardzero): Likewise.
48471         (drem_test_towardzero): Likewise.
48472         (remainder_downward_test_data): Likewise.
48473         (remainder_test_downward): Likewise.
48474         (drem_test_downward): Likewise.
48475         (remainder_upward_test_data): Likewise.
48476         (remainder_test_upward): Likewise.
48477         (drem_test_upward): Likewise.
48478         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
48479         (round_test): Use ALL_RM_TEST.
48480         (signbit_test): Likewise.
48481         (trunc_test): Likewise.
48482         (significand_test): Likewise.
48483         (main): Don't call removed functions.
48485 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48487         [BZ #16674]
48488         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
48489         || __USE_XOPEN2K8].
48490         (ILL_ILLOPN): Likewise.
48491         (ILL_ILLADR): Likewise.
48492         (ILL_ILLTRP): Likewise.
48493         (ILL_PRVOPC): Likewise.
48494         (ILL_PRVREG): Likewise.
48495         (ILL_COPROC): Likewise.
48496         (ILL_BADSTK): Likewise.
48497         (FPE_INTDIV): Likewise.
48498         (FPE_INTOVF): Likewise.
48499         (FPE_FLTDIV): Likewise.
48500         (FPE_FLTOVF): Likewise.
48501         (FPE_FLTUND): Likewise.
48502         (FPE_FLTRES): Likewise.
48503         (FPE_FLTINV): Likewise.
48504         (FPE_FLTSUB): Likewise.
48505         (SEGV_MAPERR): Likewise.
48506         (SEGV_ACCERR): Likewise.
48507         (BUS_ADRALN): Likewise.
48508         (BUS_ADRERR): Likewise.
48509         (BUS_OBJERR): Likewise.
48510         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48511         (TRAP_TRACE): Likewise.
48512         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48513         __USE_XOPEN2K8].
48514         (CLD_KILLED): Likewise.
48515         (CLD_DUMPED): Likewise.
48516         (CLD_TRAPPED): Likewise.
48517         (CLD_STOPPED): Likewise.
48518         (CLD_CONTINUED): Likewise.
48519         (POLL_IN): Likewise.
48520         (POLL_OUT): Likewise.
48521         (POLL_MSG): Likewise.
48522         (POLL_ERR): Likewise.
48523         (POLL_PRI): Likewise.
48524         (POLL_HUP): Likewise.
48525         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
48526         Likewise.
48527         (ILL_ILLOPN): Likewise.
48528         (ILL_ILLADR): Likewise.
48529         (ILL_ILLTRP): Likewise.
48530         (ILL_PRVOPC): Likewise.
48531         (ILL_PRVREG): Likewise.
48532         (ILL_COPROC): Likewise.
48533         (ILL_BADSTK): Likewise.
48534         (FPE_INTDIV): Likewise.
48535         (FPE_INTOVF): Likewise.
48536         (FPE_FLTDIV): Likewise.
48537         (FPE_FLTOVF): Likewise.
48538         (FPE_FLTUND): Likewise.
48539         (FPE_FLTRES): Likewise.
48540         (FPE_FLTINV): Likewise.
48541         (FPE_FLTSUB): Likewise.
48542         (SEGV_MAPERR): Likewise.
48543         (SEGV_ACCERR): Likewise.
48544         (BUS_ADRALN): Likewise.
48545         (BUS_ADRERR): Likewise.
48546         (BUS_OBJERR): Likewise.
48547         (BUS_MCEERR_AR): Likewise.
48548         (BUS_MCEERR_AO): Likewise.
48549         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48550         (TRAP_TRACE): Likewise.
48551         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48552         __USE_XOPEN2K8].
48553         (CLD_KILLED): Likewise.
48554         (CLD_DUMPED): Likewise.
48555         (CLD_TRAPPED): Likewise.
48556         (CLD_STOPPED): Likewise.
48557         (CLD_CONTINUED): Likewise.
48558         (POLL_IN): Likewise.
48559         (POLL_OUT): Likewise.
48560         (POLL_MSG): Likewise.
48561         (POLL_ERR): Likewise.
48562         (POLL_PRI): Likewise.
48563         (POLL_HUP): Likewise.
48564         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
48565         (ILL_ILLOPN): Likewise.
48566         (ILL_ILLADR): Likewise.
48567         (ILL_ILLTRP): Likewise.
48568         (ILL_PRVOPC): Likewise.
48569         (ILL_PRVREG): Likewise.
48570         (ILL_COPROC): Likewise.
48571         (ILL_BADSTK): Likewise.
48572         (FPE_INTDIV): Likewise.
48573         (FPE_INTOVF): Likewise.
48574         (FPE_FLTDIV): Likewise.
48575         (FPE_FLTOVF): Likewise.
48576         (FPE_FLTUND): Likewise.
48577         (FPE_FLTRES): Likewise.
48578         (FPE_FLTINV): Likewise.
48579         (FPE_FLTSUB): Likewise.
48580         (SEGV_MAPERR): Likewise.
48581         (SEGV_ACCERR): Likewise.
48582         (BUS_ADRALN): Likewise.
48583         (BUS_ADRERR): Likewise.
48584         (BUS_OBJERR): Likewise.
48585         (BUS_MCEERR_AR): Likewise.
48586         (BUS_MCEERR_AO): Likewise.
48587         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48588         (TRAP_TRACE): Likewise.
48589         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48590         __USE_XOPEN2K8].
48591         (CLD_KILLED): Likewise.
48592         (CLD_DUMPED): Likewise.
48593         (CLD_TRAPPED): Likewise.
48594         (CLD_STOPPED): Likewise.
48595         (CLD_CONTINUED): Likewise.
48596         (POLL_IN): Likewise.
48597         (POLL_OUT): Likewise.
48598         (POLL_MSG): Likewise.
48599         (POLL_ERR): Likewise.
48600         (POLL_PRI): Likewise.
48601         (POLL_HUP): Likewise.
48602         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
48603         Likewise.
48604         (ILL_ILLOPN): Likewise.
48605         (ILL_ILLADR): Likewise.
48606         (ILL_ILLTRP): Likewise.
48607         (ILL_PRVOPC): Likewise.
48608         (ILL_PRVREG): Likewise.
48609         (ILL_COPROC): Likewise.
48610         (ILL_BADSTK): Likewise.
48611         (ILL_BADIADDR): Likewise.
48612         (ILL_BREAK): Likewise.
48613         (FPE_INTDIV): Likewise.
48614         (FPE_INTOVF): Likewise.
48615         (FPE_FLTDIV): Likewise.
48616         (FPE_FLTOVF): Likewise.
48617         (FPE_FLTUND): Likewise.
48618         (FPE_FLTRES): Likewise.
48619         (FPE_FLTINV): Likewise.
48620         (FPE_FLTSUB): Likewise.
48621         (FPE_DECOVF): Likewise.
48622         (FPE_DECDIV): Likewise.
48623         (FPE_DECERR): Likewise.
48624         (FPE_INVASC): Likewise.
48625         (FPE_INVDEC): Likewise.
48626         (SEGV_MAPERR): Likewise.
48627         (SEGV_ACCERR): Likewise.
48628         (SEGV_PSTKOVF): Likewise.
48629         (BUS_ADRALN): Likewise.
48630         (BUS_ADRERR): Likewise.
48631         (BUS_OBJERR): Likewise.
48632         (BUS_MCEERR_AR): Likewise.
48633         (BUS_MCEERR_AO): Likewise.
48634         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48635         (TRAP_TRACE): Likewise.
48636         (TRAP_BRANCH): Likewise.
48637         (TRAP_HWBKPT): Likewise.
48638         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48639         __USE_XOPEN2K8].
48640         (CLD_KILLED): Likewise.
48641         (CLD_DUMPED): Likewise.
48642         (CLD_TRAPPED): Likewise.
48643         (CLD_STOPPED): Likewise.
48644         (CLD_CONTINUED): Likewise.
48645         (POLL_IN): Likewise.
48646         (POLL_OUT): Likewise.
48647         (POLL_MSG): Likewise.
48648         (POLL_ERR): Likewise.
48649         (POLL_PRI): Likewise.
48650         (POLL_HUP): Likewise.
48651         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
48652         (ILL_ILLOPN): Likewise.
48653         (ILL_ILLADR): Likewise.
48654         (ILL_ILLTRP): Likewise.
48655         (ILL_PRVOPC): Likewise.
48656         (ILL_PRVREG): Likewise.
48657         (ILL_COPROC): Likewise.
48658         (ILL_BADSTK): Likewise.
48659         (FPE_INTDIV): Likewise.
48660         (FPE_INTOVF): Likewise.
48661         (FPE_FLTDIV): Likewise.
48662         (FPE_FLTOVF): Likewise.
48663         (FPE_FLTUND): Likewise.
48664         (FPE_FLTRES): Likewise.
48665         (FPE_FLTINV): Likewise.
48666         (FPE_FLTSUB): Likewise.
48667         (SEGV_MAPERR): Likewise.
48668         (SEGV_ACCERR): Likewise.
48669         (BUS_ADRALN): Likewise.
48670         (BUS_ADRERR): Likewise.
48671         (BUS_OBJERR): Likewise.
48672         (BUS_MCEERR_AR): Likewise.
48673         (BUS_MCEERR_AO): Likewise.
48674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48675         (TRAP_TRACE): Likewise.
48676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48677         __USE_XOPEN2K8].
48678         (CLD_KILLED): Likewise.
48679         (CLD_DUMPED): Likewise.
48680         (CLD_TRAPPED): Likewise.
48681         (CLD_STOPPED): Likewise.
48682         (CLD_CONTINUED): Likewise.
48683         (POLL_IN): Likewise.
48684         (POLL_OUT): Likewise.
48685         (POLL_MSG): Likewise.
48686         (POLL_ERR): Likewise.
48687         (POLL_PRI): Likewise.
48688         (POLL_HUP): Likewise.
48689         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
48690         (ILL_ILLOPN): Likewise.
48691         (ILL_ILLADR): Likewise.
48692         (ILL_ILLTRP): Likewise.
48693         (ILL_PRVOPC): Likewise.
48694         (ILL_PRVREG): Likewise.
48695         (ILL_COPROC): Likewise.
48696         (ILL_BADSTK): Likewise.
48697         (FPE_INTDIV): Likewise.
48698         (FPE_INTOVF): Likewise.
48699         (FPE_FLTDIV): Likewise.
48700         (FPE_FLTOVF): Likewise.
48701         (FPE_FLTUND): Likewise.
48702         (FPE_FLTRES): Likewise.
48703         (FPE_FLTINV): Likewise.
48704         (FPE_FLTSUB): Likewise.
48705         (SEGV_MAPERR): Likewise.
48706         (SEGV_ACCERR): Likewise.
48707         (BUS_ADRALN): Likewise.
48708         (BUS_ADRERR): Likewise.
48709         (BUS_OBJERR): Likewise.
48710         (BUS_MCEERR_AR): Likewise.
48711         (BUS_MCEERR_AO): Likewise.
48712         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48713         (TRAP_TRACE): Likewise.
48714         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48715         __USE_XOPEN2K8].
48716         (CLD_KILLED): Likewise.
48717         (CLD_DUMPED): Likewise.
48718         (CLD_TRAPPED): Likewise.
48719         (CLD_STOPPED): Likewise.
48720         (CLD_CONTINUED): Likewise.
48721         (POLL_IN): Likewise.
48722         (POLL_OUT): Likewise.
48723         (POLL_MSG): Likewise.
48724         (POLL_ERR): Likewise.
48725         (POLL_PRI): Likewise.
48726         (POLL_HUP): Likewise.
48727         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
48728         (ILL_ILLOPN): Likewise.
48729         (ILL_ILLADR): Likewise.
48730         (ILL_ILLTRP): Likewise.
48731         (ILL_PRVOPC): Likewise.
48732         (ILL_PRVREG): Likewise.
48733         (ILL_COPROC): Likewise.
48734         (ILL_BADSTK): Likewise.
48735         (FPE_INTDIV): Likewise.
48736         (FPE_INTOVF): Likewise.
48737         (FPE_FLTDIV): Likewise.
48738         (FPE_FLTOVF): Likewise.
48739         (FPE_FLTUND): Likewise.
48740         (FPE_FLTRES): Likewise.
48741         (FPE_FLTINV): Likewise.
48742         (FPE_FLTSUB): Likewise.
48743         (SEGV_MAPERR): Likewise.
48744         (SEGV_ACCERR): Likewise.
48745         (BUS_ADRALN): Likewise.
48746         (BUS_ADRERR): Likewise.
48747         (BUS_OBJERR): Likewise.
48748         (BUS_MCEERR_AR): Likewise.
48749         (BUS_MCEERR_AO): Likewise.
48750         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48751         (TRAP_TRACE): Likewise.
48752         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48753         __USE_XOPEN2K8].
48754         (CLD_KILLED): Likewise.
48755         (CLD_DUMPED): Likewise.
48756         (CLD_TRAPPED): Likewise.
48757         (CLD_STOPPED): Likewise.
48758         (CLD_CONTINUED): Likewise.
48759         (POLL_IN): Likewise.
48760         (POLL_OUT): Likewise.
48761         (POLL_MSG): Likewise.
48762         (POLL_ERR): Likewise.
48763         (POLL_PRI): Likewise.
48764         (POLL_HUP): Likewise.
48765         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
48766         (ILL_ILLOPN): Likewise.
48767         (ILL_ILLADR): Likewise.
48768         (ILL_ILLTRP): Likewise.
48769         (ILL_PRVOPC): Likewise.
48770         (ILL_PRVREG): Likewise.
48771         (ILL_COPROC): Likewise.
48772         (ILL_BADSTK): Likewise.
48773         (ILL_DBLFLT): Likewise.
48774         (ILL_HARDWALL): Likewise.
48775         (FPE_INTDIV): Likewise.
48776         (FPE_INTOVF): Likewise.
48777         (FPE_FLTDIV): Likewise.
48778         (FPE_FLTOVF): Likewise.
48779         (FPE_FLTUND): Likewise.
48780         (FPE_FLTRES): Likewise.
48781         (FPE_FLTINV): Likewise.
48782         (FPE_FLTSUB): Likewise.
48783         (SEGV_MAPERR): Likewise.
48784         (SEGV_ACCERR): Likewise.
48785         (BUS_ADRALN): Likewise.
48786         (BUS_ADRERR): Likewise.
48787         (BUS_OBJERR): Likewise.
48788         (BUS_MCEERR_AR): Likewise.
48789         (BUS_MCEERR_AO): Likewise.
48790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48791         (TRAP_TRACE): Likewise.
48792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48793         __USE_XOPEN2K8].
48794         (CLD_KILLED): Likewise.
48795         (CLD_DUMPED): Likewise.
48796         (CLD_TRAPPED): Likewise.
48797         (CLD_STOPPED): Likewise.
48798         (CLD_CONTINUED): Likewise.
48799         (POLL_IN): Likewise.
48800         (POLL_OUT): Likewise.
48801         (POLL_MSG): Likewise.
48802         (POLL_ERR): Likewise.
48803         (POLL_PRI): Likewise.
48804         (POLL_HUP): Likewise.
48805         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
48806         (ILL_ILLOPN): Likewise.
48807         (ILL_ILLADR): Likewise.
48808         (ILL_ILLTRP): Likewise.
48809         (ILL_PRVOPC): Likewise.
48810         (ILL_PRVREG): Likewise.
48811         (ILL_COPROC): Likewise.
48812         (ILL_BADSTK): Likewise.
48813         (FPE_INTDIV): Likewise.
48814         (FPE_INTOVF): Likewise.
48815         (FPE_FLTDIV): Likewise.
48816         (FPE_FLTOVF): Likewise.
48817         (FPE_FLTUND): Likewise.
48818         (FPE_FLTRES): Likewise.
48819         (FPE_FLTINV): Likewise.
48820         (FPE_FLTSUB): Likewise.
48821         (SEGV_MAPERR): Likewise.
48822         (SEGV_ACCERR): Likewise.
48823         (BUS_ADRALN): Likewise.
48824         (BUS_ADRERR): Likewise.
48825         (BUS_OBJERR): Likewise.
48826         (BUS_MCEERR_AR): Likewise.
48827         (BUS_MCEERR_AO): Likewise.
48828         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
48829         (TRAP_TRACE): Likewise.
48830         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
48831         __USE_XOPEN2K8].
48832         (CLD_KILLED): Likewise.
48833         (CLD_DUMPED): Likewise.
48834         (CLD_TRAPPED): Likewise.
48835         (CLD_STOPPED): Likewise.
48836         (CLD_CONTINUED): Likewise.
48837         (POLL_IN): Likewise.
48838         (POLL_OUT): Likewise.
48839         (POLL_MSG): Likewise.
48840         (POLL_ERR): Likewise.
48841         (POLL_PRI): Likewise.
48842         (POLL_HUP): Likewise.
48843         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
48844         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48846         [BZ #16670]
48847         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
48848         before #include of <time.h>.
48849         [!__USE_XOPEN2K] (__need_timespec): Likewise.
48850         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
48851         (test-xfail-UNIX98/sched.h/conform): Likewise.
48853 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48855         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
48856         error absence of trapping exception support.
48857         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
48859 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
48861         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
48862         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
48863         * timezone/Makefile (testdata): Move definition above include of
48864         Rules.
48865         (test-zones): New variable.
48866         (tests-special): Add zone files.
48867         (build-testdata): Use $(evaluate-test).
48869         * elf/Makefile (tests-special): Rename tests to end with .out.
48870         ($(objpfx)noload-mem): Likewise.
48871         ($(objpfx)tst-leaks1-mem): Likewise.
48872         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
48873         * iconv/Makefile (xtests-special): Change test-iconvconfig to
48874         $(objpfx)test-iconvconfig.out.
48875         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
48876         set -e inside subshell and redirect output to file.
48877         * iconvdata/Makefile (generated): Rename tests to end with .out.
48878         Correct type.
48879         (tests-special): Rename tests to end with .out.
48880         ($(objpfx)mtrace-tst-loading): Likewise.
48881         * intl/Makefile (generated): Likewise.
48882         (tests-special): Likewise.
48883         ($(objpfx)mtrace-tst-gettext): Likewise.
48884         * misc/Makefile (generated): Likewise.
48885         (tests-special): Likewise.
48886         ($(objpfx)tst-error1-mem): Likewise.
48887         * nptl/Makefile (tests-special): Likewise.
48888         ($(objpfx)tst-stack3-mem): Likewise.
48889         (generated): Likewise.
48890         * posix/Makefile (generated): Likewise.
48891         (tests-special): Likewise.
48892         (xtests-special): Likewise.
48893         ($(objpfx)tst-fnmatch-mem): Likewise.
48894         ($(objpfx)bug-regex2-mem): Likewise.
48895         ($(objpfx)bug-regex14-mem): Likewise.
48896         ($(objpfx)bug-regex21-mem): Likewise.
48897         ($(objpfx)bug-regex31-mem): Likewise.
48898         ($(objpfx)tst-vfork3-mem): Likewise.
48899         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
48900         ($(objpfx)tst-pcre-mem): Likewise.
48901         ($(objpfx)tst-boost-mem): Likewise.
48902         ($(objpfx)bug-ga2-mem): Likewise.
48903         ($(objpfx)bug-glob2-mem): Likewise.
48904         * resolv/Makefile (generate): Likewise.
48905         (tests-special): Likewise.
48906         (xtests-special): Likewise.
48907         (generated): Likewise.
48908         ($(objpfx)mtrace-tst-leaks): Likewise.
48909         ($(objpfx)mtrace-tst-leaks2): Likewise.
48911         * scripts/merge-test-results.sh: New file.
48912         * Makefile (tests-special-notdir): New variable.
48913         (tests): Run merge-test-results.sh.
48914         (xtests): Likewise.
48915         * Rules (tests-special-notdir): New variable.
48916         (xtests-special-notdir): Likewise.
48917         (tests): Run merge-test-results.sh
48918         (xtests): Likewise.
48920         * Makeconfig (test-xfail-name): New variable.
48921         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
48922         compute variable name for expected failures.
48923         * conform/Makefile (conformtest-headers-data): New variable.
48924         (conformtest-standards): Likewise.
48925         (conformtest-headers-ISO): Likewise.
48926         (conformtest-headers-ISO99): Likewise.
48927         (conformtest-headers-ISO11): Likewise.
48928         (conformtest-headers-POSIX): Likewise.
48929         (conformtest-headers-XPG3): Likewise.
48930         (conformtest-headers-XPG4): Likewise.
48931         (conformtest-headers-UNIX98): Likewise.
48932         (conformtest-headers-XOPEN2K): Likewise.
48933         (conformtest-headers-POSIX2008): Likewise.
48934         (conformtest-headers-XOPEN2K8): Likewise.
48935         (conformtest-header-list-base): Likewise.
48936         (conformtest-header-list-tests): Likewise.
48937         (conformtest-header-base): Likewise.
48938         (conformtest-header-tests): Likewise.
48939         (tests-special): Add $(conformtest-header-list-tests).  If
48940         [$(fast-check) && !$(cross-compiling)], add
48941         $(conformtest-header-tests) instead of
48942         $(objpfx)run-conformtest.out.
48943         (generated): Add $(conformtest-header-list-base).  If
48944         [$(fast-check) && !$(cross-compiling)], add
48945         $(conformtest-header-base).  Remove previous setting.
48946         ($(conformtest-header-list-tests)): New target.
48947         (test-xfail-run-conformtest): Remove variable.
48948         ($(objpfx)run-conformtest.out): Remove target.
48949         (test-xfail-ISO11/complex.h/conform): New variable.
48950         (test-xfail-ISO11/stdalign.h/conform): Likewise.
48951         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48952         (test-xfail-XPG3/varargs.h/conform): Likewise.
48953         (test-xfail-XPG4/varargs.h/conform): Likewise.
48954         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48955         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48956         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48957         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48958         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48959         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48960         (test-xfail-XPG3/ftw.h/conform): Likewise.
48961         (test-xfail-XPG3/grp.h/conform): Likewise.
48962         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48963         (test-xfail-XPG3/limits.h/conform): Likewise.
48964         (test-xfail-XPG3/pwd.h/conform): Likewise.
48965         (test-xfail-XPG3/search.h/conform): Likewise.
48966         (test-xfail-XPG3/signal.h/conform): Likewise.
48967         (test-xfail-XPG3/stdio.h/conform): Likewise.
48968         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48969         (test-xfail-XPG3/string.h/conform): Likewise.
48970         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48971         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48972         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48973         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48974         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48975         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48976         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48977         (test-xfail-XPG3/termios.h/conform): Likewise.
48978         (test-xfail-XPG3/time.h/conform): Likewise.
48979         (test-xfail-XPG3/unistd.h/conform): Likewise.
48980         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48981         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48982         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48983         (test-xfail-XPG4/netdb.h/conform): Likewise.
48984         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48985         (test-xfail-XPG4/signal.h/conform): Likewise.
48986         (test-xfail-XPG4/stdio.h/conform): Likewise.
48987         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48988         (test-xfail-XPG4/stropts.h/conform): Likewise.
48989         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48990         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48991         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48992         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48993         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48994         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48995         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48996         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48997         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48998         (test-xfail-XPG4/termios.h/conform): Likewise.
48999         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49000         (test-xfail-XPG4/unistd.h/conform): Likewise.
49001         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49002         (test-xfail-POSIX/sched.h/conform): Likewise.
49003         (test-xfail-POSIX/signal.h/conform): Likewise.
49004         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49005         (test-xfail-POSIX/tar.h/conform): Likewise.
49006         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49007         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49008         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49009         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49010         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49011         (test-xfail-UNIX98/sched.h/conform): Likewise.
49012         (test-xfail-UNIX98/signal.h/conform): Likewise.
49013         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49014         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49015         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49016         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49017         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49018         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49019         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49020         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49021         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49022         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49023         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49024         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49025         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49026         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49027         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49028         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49029         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49030         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49031         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49032         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49033         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49034         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49035         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49036         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49037         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49038         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49039         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49040         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49041         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49042         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49043         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49044         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49045         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49046         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49047         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49048         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49049         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49050         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49051         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49052         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49053         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49054         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49055         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49056         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49057         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49058         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49059         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49060         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49061         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49062         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49063         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49064         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49065         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49066         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49067         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49068         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49069         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49070         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49071         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49072         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49073         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49074         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49075         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49076         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49077         (conformtest-cc-flags): Likewise.
49078         ($(conformtest-header-tests): New target.
49079         * conform/check-header-lists.sh: New file.
49080         * conform/run-conformtest.sh: Remove.
49082         * conform/conformtest.pl: Allow ' and \ in values given for
49083         constants.
49084         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49085         inclusion.
49086         [POSIX] (sys/types.h): Likewise.
49087         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49088         inclusion.
49089         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49090         inclusion.
49091         * conform/data/signal.h-data (SIGIO): Remove expectation.
49092         [XPG3] (SIGBUS): Do not expect.
49093         [POSIX || XPG3] (SIGPOLL): Likewise.
49094         [POSIX || XPG3] (SIGPROF): Likewise.
49095         [POSIX || XPG3] (SIGSYS): Likewise.
49096         [XPG3] (SIGTRAP): Likewise.
49097         [POSIX || XPG3] (SIGURG): Likewise.
49098         [POSIX || XPG3] (SIGVTALRM): Likewise.
49099         [POSIX || XPG3] (SIGXCPU): Likewise.
49100         [POSIX || XPG3] (SIGXFSZ): Likewise.
49101         [POSIX] (SA_SIGINFO): Expect.
49102         [XPG3] (siginfo_t): Do not expect type or contents.
49103         [POSIX] (si_pid): Do not expect element.
49104         [POSIX] (si_uid): Likewise.
49105         [POSIX] (si_addr): Likewise.
49106         [POSIX] (si_status): Likewise.
49107         [POSIX] (si_band): Likewise.
49108         [XPG4] (si_value): Likewise.
49109         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49110         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49111         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49112         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49113         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49114         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49115         [POSIX || XPG3] (ILL_COPROC): Likewise.
49116         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49117         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49118         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49119         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49120         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49121         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49122         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49123         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49124         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49125         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49126         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49127         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49128         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49129         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49130         [POSIX || XPG3] (CLD_EXITED): Likewise.
49131         [POSIX || XPG3] (CLD_KILLED): Likewise.
49132         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49133         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49134         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49135         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49136         [POSIX || XPG3] (POLL_IN): Likewise.
49137         [POSIX || XPG3] (POLL_OUT): Likewise.
49138         [POSIX || XPG3] (POLL_MSG): Likewise.
49139         [POSIX || XPG3] (POLL_ERR): Likewise.
49140         [POSIX || XPG3] (POLL_PRI): Likewise.
49141         [POSIX || XPG3] (POLL_HUP): Likewise.
49142         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49143         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49144         (SIG*): Do not allow.
49145         [XPG3] (si_*): Likewise.
49146         [XPG3] (SI_*): Likewise.
49147         [XPG3 || XPG4] (sigev_*): Likewise.
49148         [XPG3 || XPG4] (SIGEV_*): Likewise.
49149         [XPG3 || XPG4] (sival_*): Likewise.
49150         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49151         [POSIX || XPG3] (BUS_*): Likewise.
49152         [POSIX || XPG3] (CLD_*): Likewise.
49153         [POSIX || XPG3] (FPE_*): Likewise.
49154         [POSIX || XPG3] (ILL_*): Likewise.
49155         [POSIX || XPG3] (POLL_*): Likewise.
49156         [POSIX || XPG3] (SEGV_*): Likewise.
49157         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49158         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49159         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49160         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49161         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49162         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49163         Specify type and value.
49164         (TVERSLEN): Likewise.
49165         (REGTYPE): Likewise.
49166         (AREGTYPE): Likewise.
49167         (LNKTYPE): Likewise.
49168         (SYMTYPE): Likewise.
49169         (CHRTYPE): Likewise.
49170         (BLKTYPE): Likewise.
49171         (DIRTYPE): Likewise.
49172         (FIFOTYPE): Likewise.
49173         (CONTTYPE): Likewise.
49174         (TSUID): Likewise.
49175         (TSGID): Likewise.
49176         (TSVTX): Likewise.
49177         (TUREAD): Likewise.
49178         (TUWRITE): Likewise.
49179         (TUEXEC): Likewise.
49180         (TGREAD): Likewise.
49181         (TGWRITE): Likewise.
49182         (TGEXEC): Likewise.
49183         (TOREAD): Likewise.
49184         (TOWRITE): Likewise.
49185         (TOEXEC): Likewise.
49186         [POSIX] (TSVTX): Expect constant.
49188 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49190         * Makefile (tests): Change dependencies to ....
49191         (tests-special): ... additions to this variable.
49192         (tests): Depend on $(tests-special).
49193         * Makerules (check-abi-list): New variable.
49194         (check-abi): Depend on $(check-abi-list).
49195         [$(subdir) = elf] (tests-special): Add
49196         $(objpfx)check-abi-libc.out.
49197         [$(build-shared) = yes && subdir] (tests-special): Add
49198         $(check-abi-list).
49199         [$(build-shared) = yes && subdir] (tests): Do not depend on
49200         check-abi.
49201         * Rules (tests): Depend on $(tests-special).
49202         (xtests): Depend on $(xtests-special).
49203         * catgets/Makefile (tests): Change dependencies to ....
49204         (tests-special): ... additions to this variable.
49205         * conform/Makefile (tests): Change dependencies to ....
49206         (tests-special): ... additions to this variable.
49207         * elf/Makefile (tests): Change dependencies to ....
49208         (tests-special): ... additions to this variable.
49209         * grp/Makefile (tests): Change dependencies to ....
49210         (tests-special): ... additions to this variable.
49211         * iconv/Makefile (xtests): Change dependencies to ....
49212         (xtests-special): ... additions to this variable.
49213         * iconvdata/Makefile (tests): Change dependencies to ....
49214         (tests-special): ... additions to this variable.
49215         * intl/Makefile (tests): Change dependencies to ....
49216         (tests-special): ... additions to this variable.  Also add
49217         $(objpfx)tst-gettext.out.
49218         * io/Makefile (tests): Change dependencies to ....
49219         (tests-special): ... additions to this variable.
49220         * libio/Makefile (tests): Change dependencies to ....
49221         (tests-special): ... additions to this variable.
49222         * malloc/Makefile (tests): Change dependencies to ....
49223         (tests-special): ... additions to this variable.
49224         * misc/Makefile (tests): Change dependencies to ....
49225         (tests-special): ... additions to this variable.
49226         * nptl/Makefile (tests): Change dependencies to ....
49227         (tests-special): ... additions to this variable.
49228         * nptl_db/Makefile (tests): Change dependencies to ....
49229         (tests-special): ... additions to this variable.
49230         * posix/Makefile (tests): Change dependencies to ....
49231         (tests-special): ... additions to this variable.
49232         (xtests): Change dependencies to ....
49233         (xtests-special): ... additions to this variable.
49234         * resolv/Makefile (tests): Change dependencies to ....
49235         (tests-special): ... additions to this variable.
49236         (xtests): Change dependencies to ....
49237         (xtests-special): ... additions to this variable.
49238         * stdio-common/Makefile (tests): Change dependencies to ....
49239         (tests-special): ... additions to this variable.
49240         (do-tst-unbputc): Remove target.
49241         (do-tst-printf): Likewise.
49242         * stdlib/Makefile (tests): Change dependencies to ....
49243         (tests-special): ... additions to this variable.
49244         * string/Makefile (tests): Change dependencies to ....
49245         (tests-special): ... additions to this variable.
49246         * sysdeps/x86/Makefile (tests): Change dependencies to ....
49247         (tests-special): ... additions to this variable.
49249         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
49250         whole file.
49251         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
49252         whole file.
49253         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
49254         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
49256         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
49257         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
49258         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
49259         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
49260         * conform/data/libgen.h-data [XPG3]: Likewise.
49261         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
49262         * conform/data/ndbm.h-data [XPG3]: Likewise.
49263         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49264         * conform/data/netdb.h-data [XPG3]: Likewise.
49265         * conform/data/netinet/in.h-data [XPG3]: Likewise.
49266         * conform/data/poll.h-data [XPG3]: Likewise.
49267         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
49268         * conform/data/strings.h-data [XPG3]: Likewise.
49269         * conform/data/stropts.h-data [XPG3]: Likewise.
49270         * conform/data/sys/mman.h-data [XPG3]: Likewise.
49271         * conform/data/sys/resource.h-data [XPG3]: Likewise.
49272         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
49273         Likewise.
49274         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
49275         * conform/data/sys/time.h-data [XPG3]: Likewise.
49276         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
49277         * conform/data/sys/uio.h-data [XPG3]: Likewise.
49278         * conform/data/sys/un.h-data [XPG3]: Likewise.
49279         * conform/data/syslog.h-data [XPG3]: Likewise.
49280         * conform/data/ucontext.h-data [XPG3]: Likewise.
49281         * conform/data/utmpx.h-data [XPG3]: Likewise.
49282         * conform/data/varargs.h-data [UNIX98]: Enable file.
49284         * manual/Makefile (INSTALL_INFO): Remove variable setting.
49286         * math/libm-test.inc (struct test_f_f_data): Move expected results
49287         into structure for each rounding mode.
49288         (struct test_ff_f_data): Likewise.
49289         (struct test_ff_f_data_nexttoward): Likewise.
49290         (struct test_fi_f_data): Likewise.
49291         (struct test_fl_f_data): Likewise.
49292         (struct test_if_f_data): Likewise.
49293         (struct test_fff_f_data): Likewise.
49294         (struct test_c_f_data): Likewise.
49295         (struct test_f_f1_data): Likewise.
49296         (struct test_fF_f1_data): Likewise.
49297         (struct test_ffI_f1_data): Likewise.
49298         (struct test_c_c_data): Likewise.
49299         (struct test_cc_c_data): Likewise.
49300         (struct test_f_i_data): Likewise.
49301         (struct test_ff_i_data): Likewise.
49302         (struct test_f_l_data): Likewise.
49303         (struct test_f_L_data): Likewise.
49304         (struct test_fFF_11_data): Likewise.
49305         (RM_): New macro.
49306         (RM_FE_DOWNWARD): Likewise.
49307         (RM_FE_TONEAREST): Likewise.
49308         (RM_FE_TOWARDZERO): Likewise.
49309         (RM_FE_UPWARD): Likewise.
49310         (RUN_TEST_LOOP_f_f): Update references to expected results.
49311         (RUN_TEST_LOOP_2_f): Likewise.
49312         (RUN_TEST_LOOP_fff_f): Likewise.
49313         (RUN_TEST_LOOP_c_f): Likewise.
49314         (RUN_TEST_LOOP_f_f1): Likewise.
49315         (RUN_TEST_LOOP_fF_f1): Likewise.
49316         (RUN_TEST_LOOP_fI_f1): Likewise.
49317         (RUN_TEST_LOOP_ffI_f1): Likewise.
49318         (RUN_TEST_LOOP_c_c): Likewise.
49319         (RUN_TEST_LOOP_cc_c): Likewise.
49320         (RUN_TEST_LOOP_f_i): Likewise.
49321         (RUN_TEST_LOOP_f_i_tg): Likewise.
49322         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49323         (RUN_TEST_LOOP_f_b): Likewise.
49324         (RUN_TEST_LOOP_f_b_tg): Likewise.
49325         (RUN_TEST_LOOP_f_l): Likewise.
49326         (RUN_TEST_LOOP_f_L): Likewise.
49327         (RUN_TEST_LOOP_fFF_11): Likewise.
49328         * math/gen-libm-test.pl (parse_args): Output four copies of
49329         expected results for each test.
49331         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49332         (__ASSUME_UTIMES): Remove.
49333         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49334         (__ASSUME_UTIMES): Likewise.
49336         * math/gen-auto-libm-tests.c: Update comment on output format.
49337         (output_for_one_input_case): Generate before-rounding and
49338         after-rounding information as conditions on output flags not
49339         floating-point format.
49340         * math/auto-libm-test-out: Regenerated.
49341         * math/gen-libm-test.pl (cond_value): New function.
49342         (or_cond_value): Use cond_value.
49343         (generate_testfile): Handle conditional exceptions.
49345 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
49347         * math/libm-test.inc (max_valid_error): New variable.
49348         (init_max_error): Take new argument specifying whether function
49349         results are exactly determined.  Set max_valid_error and bound
49350         other variables for errors based on this argument.
49351         (set_max_error): Do not record results above max_valid_error.
49352         (check_float_internal): Only accept errors of up to 0.5ulps if
49353         also at most max_valid_error.
49354         (START): Take new argument EXACT and pass it to init_max_error.
49355         (acos_test): Update call to START.
49356         (acos_test_tonearest): Likewise.
49357         (acos_test_towardzero): Likewise.
49358         (acos_test_downward): Likewise.
49359         (acos_test_upward): Likewise.
49360         (acosh_test): Likewise.
49361         (asin_test): Likewise.
49362         (asin_test_tonearest): Likewise.
49363         (asin_test_towardzero): Likewise.
49364         (asin_test_downward): Likewise.
49365         (asin_test_upward): Likewise.
49366         (asinh_test): Likewise.
49367         (atan_test): Likewise.
49368         (atanh_test): Likewise.
49369         (atan2_test): Likewise.
49370         (cabs_test): Likewise.
49371         (cacos_test): Likewise.
49372         (cacosh_test): Likewise.
49373         (carg_test): Likewise.
49374         (casin_test): Likewise.
49375         (casinh_test): Likewise.
49376         (catan_test): Likewise.
49377         (catanh_test): Likewise.
49378         (cbrt_test): Likewise.
49379         (ccos_test): Likewise.
49380         (ccosh_test): Likewise.
49381         (ceil_test): Likewise.
49382         (cexp_test): Likewise.
49383         (cimag_test): Likewise.
49384         (clog_test): Likewise.
49385         (clog10_test): Likewise.
49386         (conj_test): Likewise.
49387         (copysign_test): Likewise.
49388         (cos_test): Likewise.
49389         (cos_test_tonearest): Likewise.
49390         (cos_test_towardzero): Likewise.
49391         (cos_test_downward): Likewise.
49392         (cos_test_upward): Likewise.
49393         (cosh_test): Likewise.
49394         (cosh_test_tonearest): Likewise.
49395         (cosh_test_towardzero): Likewise.
49396         (cosh_test_downward): Likewise.
49397         (cosh_test_upward): Likewise.
49398         (cpow_test): Likewise.
49399         (cproj_test): Likewise.
49400         (creal_test): Likewise.
49401         (csin_test): Likewise.
49402         (csinh_test): Likewise.
49403         (csqrt_test): Likewise.
49404         (ctan_test): Likewise.
49405         (ctan_test_tonearest): Likewise.
49406         (ctan_test_towardzero): Likewise.
49407         (ctan_test_downward): Likewise.
49408         (ctan_test_upward): Likewise.
49409         (ctanh_test): Likewise.
49410         (ctanh_test_tonearest): Likewise.
49411         (ctanh_test_towardzero): Likewise.
49412         (ctanh_test_downward): Likewise.
49413         (ctanh_test_upward): Likewise.
49414         (erf_test): Likewise.
49415         (erfc_test): Likewise.
49416         (exp_test): Likewise.
49417         (exp_test_tonearest): Likewise.
49418         (exp_test_towardzero): Likewise.
49419         (exp_test_downward): Likewise.
49420         (exp_test_upward): Likewise.
49421         (exp10_test): Likewise.
49422         (exp10_test_tonearest): Likewise.
49423         (exp10_test_towardzero): Likewise.
49424         (exp10_test_downward): Likewise.
49425         (exp10_test_upward): Likewise.
49426         (pow10_test): Likewise.
49427         (exp2_test): Likewise.
49428         (expm1_test): Likewise.
49429         (expm1_test_tonearest): Likewise.
49430         (expm1_test_towardzero): Likewise.
49431         (expm1_test_downward): Likewise.
49432         (expm1_test_upward): Likewise.
49433         (fabs_test): Likewise.
49434         (fdim_test): Likewise.
49435         (floor_test): Likewise.
49436         (fma_test): Likewise.
49437         (fma_test_towardzero): Likewise.
49438         (fma_test_downward): Likewise.
49439         (fma_test_upward): Likewise.
49440         (fmax_test): Likewise.
49441         (fmin_test): Likewise.
49442         (fmod_test): Likewise.
49443         (fpclassify_test): Likewise.
49444         (frexp_test): Likewise.
49445         (hypot_test): Likewise.
49446         (ilogb_test): Likewise.
49447         (isfinite_test): Likewise.
49448         (finite_test): Likewise.
49449         (isgreater_test): Likewise.
49450         (isgreaterequal_test): Likewise.
49451         (isinf_test): Likewise.
49452         (isless_test): Likewise.
49453         (islessequal_test): Likewise.
49454         (islessgreater_test): Likewise.
49455         (isnan_test): Likewise.
49456         (isnormal_test): Likewise.
49457         (issignaling_test): Likewise.
49458         (isunordered_test): Likewise.
49459         (j0_test): Likewise.
49460         (j1_test): Likewise.
49461         (jn_test): Likewise.
49462         (ldexp_test): Likewise.
49463         (lgamma_test): Likewise.
49464         (gamma_test): Likewise.
49465         (lrint_test): Likewise.
49466         (lrint_test_tonearest): Likewise.
49467         (lrint_test_towardzero): Likewise.
49468         (lrint_test_downward): Likewise.
49469         (lrint_test_upward): Likewise.
49470         (llrint_test): Likewise.
49471         (llrint_test_tonearest): Likewise.
49472         (llrint_test_towardzero): Likewise.
49473         (llrint_test_downward): Likewise.
49474         (llrint_test_upward): Likewise.
49475         (log_test): Likewise.
49476         (log10_test): Likewise.
49477         (log1p_test): Likewise.
49478         (log2_test): Likewise.
49479         (logb_test): Likewise.
49480         (logb_test_downward): Likewise.
49481         (lround_test): Likewise.
49482         (llround_test): Likewise.
49483         (modf_test): Likewise.
49484         (nearbyint_test): Likewise.
49485         (nextafter_test): Likewise.
49486         (nexttoward_test): Likewise.
49487         (pow_test): Likewise.
49488         (pow_test_tonearest): Likewise.
49489         (pow_test_towardzero): Likewise.
49490         (pow_test_downward): Likewise.
49491         (pow_test_upward): Likewise.
49492         (remainder_test): Likewise.
49493         (drem_test): Likewise.
49494         (remainder_test_tonearest): Likewise.
49495         (drem_test_tonearest): Likewise.
49496         (remainder_test_towardzero): Likewise.
49497         (drem_test_towardzero): Likewise.
49498         (remainder_test_downward): Likewise.
49499         (drem_test_downward): Likewise.
49500         (remainder_test_upward): Likewise.
49501         (drem_test_upward): Likewise.
49502         (remquo_test): Likewise.
49503         (rint_test): Likewise.
49504         (rint_test_tonearest): Likewise.
49505         (rint_test_towardzero): Likewise.
49506         (rint_test_downward): Likewise.
49507         (rint_test_upward): Likewise.
49508         (round_test): Likewise.
49509         (scalb_test): Likewise.
49510         (scalbn_test): Likewise.
49511         (scalbln_test): Likewise.
49512         (signbit_test): Likewise.
49513         (sin_test): Likewise.
49514         (sin_test_tonearest): Likewise.
49515         (sin_test_towardzero): Likewise.
49516         (sin_test_downward): Likewise.
49517         (sin_test_upward): Likewise.
49518         (sincos_test): Likewise.
49519         (sinh_test): Likewise.
49520         (sinh_test_tonearest): Likewise.
49521         (sinh_test_towardzero): Likewise.
49522         (sinh_test_downward): Likewise.
49523         (sinh_test_upward): Likewise.
49524         (sqrt_test): Likewise.
49525         (sqrt_test_tonearest): Likewise.
49526         (sqrt_test_towardzero): Likewise.
49527         (sqrt_test_downward): Likewise.
49528         (sqrt_test_upward): Likewise.
49529         (tan_test): Likewise.
49530         (tan_test_tonearest): Likewise.
49531         (tan_test_towardzero): Likewise.
49532         (tan_test_downward): Likewise.
49533         (tan_test_upward): Likewise.
49534         (tanh_test): Likewise.
49535         (tgamma_test): Likewise.
49536         (trunc_test): Likewise.
49537         (y0_test): Likewise.
49538         (y1_test): Likewise.
49539         (yn_test): Likewise.
49540         (significand_test): Likewise.
49542         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
49543         individual tests in comment.
49544         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
49545         (prev_max_error): New variable.
49546         (prev_real_max_error): Likewise.
49547         (prev_imag_max_error): Likewise.
49548         (compare_ulp_data): Don't refer to test names in comment.
49549         (find_test_ulps): Remove function.
49550         (find_function_ulps): Likewise.
49551         (find_complex_function_ulps): Likewise.
49552         (init_max_error): Take function name as argument.  Look up ulps
49553         for that function.
49554         (print_ulps): Remove function.
49555         (print_max_error): Use prev_max_error instead of calling
49556         find_function_ulps.
49557         (print_complex_max_error): Use prev_real_max_error and
49558         prev_imag_max_error instead of calling find_complex_function_ulps.
49559         (check_float_internal): Take max_ulp parameter instead of calling
49560         find_test_ulps.  Don't call print_ulps.
49561         (check_float): Update call to check_float_internal.
49562         (check_complex): Update calls to check_float_internal.
49563         (START): Pass argument to init_max_error.
49564         * math/gen-libm-test.pl (%results): Don't include "kind"
49565         information.
49566         (parse_ulps): Don't handle ulps of individual tests.
49567         (print_ulps_file): Likewise.
49568         (output_ulps): Likewise.
49569         * math/README.libm-test: Update.
49570         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
49571         individual tests.
49572         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
49573         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
49574         * sysdeps/arm/libm-test-ulps: Likewise.
49575         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
49576         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
49577         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
49578         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
49579         * sysdeps/microblaze/libm-test-ulps: Likewise.
49580         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
49581         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
49582         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49583         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
49584         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49585         * sysdeps/sh/libm-test-ulps: Likewise.
49586         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49587         * sysdeps/tile/libm-test-ulps: Likewise.
49588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49590 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
49592         * math/libm-test.inc (print_complex_max_error): Check separately
49593         whether real and imaginary errors are within allowed range and
49594         pass 0 to print_complex_function_ulps instead of value within
49595         allowed range.
49597 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49599         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
49600         formatting.
49601         (get_handles_fopen): Likewise.
49602         (do_write_test): Likewise.
49604         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
49606         * libio/fileops.c (do_ftell): Use cached offset when
49607         available.
49608         * libio/iofwide.c (do_ftell_wide): Likewise.
49609         * libio/iofdopen.c (_IO_new_fdopen): Don't use
49610         _IO_file_attach.
49611         * libio/wfileops.c (_IO_fwide): Don't cache offset.
49613         [BZ #16532]
49614         * libio/libioP.h (get_file_offset): New function.
49615         * libio/fileops.c (get_file_offset): Likewise.
49616         (do_ftell): Likewise.
49617         (_IO_new_file_seekoff): Split out ftell logic.
49618         * libio/wfileops.c (do_ftell_wide): Likewise.
49619         (_IO_wfile_seekoff): Split out ftell logic.
49620         * libio/tst-ftell-active-handler.c: New test case.
49621         * libio/Makefile (tests): Add it.
49623 2014-03-03  Roland McGrath  <roland@hack.frob.com>
49625         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
49626         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
49628 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49630         [BZ #16639]
49631         * nscd/connections.c (nscd_init): Call do_exit.
49632         (start_threads): Call do_exit and notify_parent.
49633         (begin_drop_privileges): Call do_exit.
49634         (finish_drop_privileges): Likewise.
49635         * nscd/selinux.c (preserve_capabilities): Likewise.
49636         (install_real_capabilities): Likewise.
49637         (nscd_selinux_enabled): Likewise.
49638         (avc_create_thread): Likewise.
49639         (avc_alloc_lock): Likewise.
49640         (nscd_avc_init): Likewise.
49641         * nscd/nscd.c (parent_fd): New static variable.
49642         (main): Create a pipe between parent and child processes.
49643         Skip closing parent_fd.
49644         (monitor_child): New function.
49645         (do_exit): Likewise.
49646         (notify_parent): Likewise.
49647         * nscd/nscd.h (notify_parent): Likewise.
49648         (do_exit): Likewise.
49650 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
49652         * malloc/malloc.c (__libc_calloc): Revert last change.
49654 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49658 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49660         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
49661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
49662         implementation.
49663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49664         (__libc_ifunc_impl_list): Likewise.
49665         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
49666         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
49667         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
49668         * string/strrchr.c: Define STRRCHR.
49670 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
49672         * benchtest/bench-strtok.c (simple_strtok): Delete.
49673         (strtok_string): Use as benchmark.
49674         * string/strtok (STRTOK): New macro.
49676 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
49678         * manual/threads.texi: Add header and standard comments to all
49679         functions.
49681         * elf/dl-lookup.c (check_match): New function.
49682         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
49683         (do_lookup_x): Remove nested function check_match. Use non-nested
49684         function check_match.
49686 2014-02-28  Roland McGrath  <roland@hack.frob.com>
49688         * csu/Makefile (generated, before-compile): Use += rather than =.
49689         * catgets/Makefile (generated, generated-dirs): Likewise.
49690         * debug/Makefile (generated): Likewise.
49691         * dlfcn/Makefile (generated): Likewise.
49692         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
49693         * iconvdata/Makefile (before-compile, generated): Likewise.
49694         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
49695         * libio/Makefile (generated): Likewise.
49696         * malloc/Makefile (generated): Likewise.
49697         * manual/Makefile (generated, generated-dirs): Likewise.
49698         * misc/Makefile (generated): Likewise.
49699         * posix/Makefile (generated): Likewise.
49700         * resolv/Makefile (generated): Likewise.
49701         * sunrpc/Makefile (generated, generated-dirs): Likewise.
49702         * timezone/Makefile (generated, generated-dirs): Likewise.
49704         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
49706 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49709         power8 implementation.
49710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
49711         file: POWER8 llround ifunc implementation.
49712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
49713         (__lllround): Add POWER8 implementation.
49714         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
49715         POWER8 llround implementation.
49717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
49718         power8 implementation.
49719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
49720         file: POWER8 llrint ifunc implementation.
49721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
49722         Add POWER8 implementation.
49723         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
49724         POWER8 llrint implementation.
49726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
49727         power8 implementation.
49728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
49729         file: POWER8 finite ifunc implementation.
49730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
49731         Add POWER8 implementation.
49732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
49733         Likewise.
49734         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
49735         POWER8 finite implementation.
49736         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
49738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
49739         power8 implementation.
49740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
49741         file: POWER8 isinf ifunc implementation.
49742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
49743         POWER8 implementation.
49744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
49745         Likewise.
49746         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
49747         isinf implementation.
49748         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
49750         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
49751         (INIT_ARCH): Add hwcap2 initialization.
49752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49753         power8 implementation.
49754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
49755         file: POWER8 isnan ifunc implementation.
49756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
49757         POWER8 implementation.
49758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
49759         Likewise.
49760         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
49761         isnan implementation.
49762         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
49764 2014-02-27  Joey Ye  <joey.ye@arm.com>
49766         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
49767         (_FP_NANFRAC_Q): Set to zero.
49769 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49771         [BZ #16623]
49772         * math/auto-libm-test-in: New test inputs.
49773         * math/auto-libm-test-out: Regenerate.
49774         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
49775         and DA.
49776         (__cos): Likewise.
49777         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
49779 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
49781         * scripts/evaluate-test.sh: Take new argument indicating whether
49782         failure is expected.
49783         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
49784         indicating whether failure is expected.
49785         * conform/Makefile (test-xfail-run-conformtest): New variable.
49786         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
49787         level.
49788         * posix/Makefile (test-xfail-annexc): New variable.
49789         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
49791 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
49793         * argp/Makefile: Include Makeconfig immediately after defining
49794         subdir.
49795         * assert/Makefile: Likewise.
49796         * benchtests/Makefile: Likewise.
49797         * catgets/Makefile: Likewise.
49798         * conform/Makefile: Likewise.
49799         * crypt/Makefile: Likewise.
49800         * csu/Makefile: Likewise.
49801         (all): Remove target.
49802         * ctype/Makefile: Include Makeconfig immediately after defining
49803         subdir.
49804         * debug/Makefile: Likewise.
49805         * dirent/Makefile: Likewise.
49806         * dlfcn/Makefile: Likewise.
49807         * gmon/Makefile: Likewise.
49808         * gnulib/Makefile: Likewise.
49809         * grp/Makefile: Likewise.
49810         * gshadow/Makefile: Likewise.
49811         * hesiod/Makefile: Likewise.
49812         * hurd/Makefile: Likewise.
49813         (all): Remove target.
49814         * iconvdata/Makefile: Include Makeconfig immediately after
49815         defining subdir.
49816         * inet/Makefile: Likewise.
49817         * intl/Makefile: Likewise.
49818         * io/Makefile: Likewise.
49819         * libio/Makefile: Likewise.
49820         (all): Remove target.
49821         * locale/Makefile: Include Makeconfig immediately after defining
49822         subdir.
49823         * login/Makefile: Likewise.
49824         * mach/Makefile: Likewise.
49825         (all): Remove target.
49826         * malloc/Makefile: Include Makeconfig immediately after defining
49827         subdir.
49828         (all): Remove target.
49829         * manual/Makefile: Include Makeconfig immediately after defining
49830         subdir.
49831         * math/Makefile: Likewise.
49832         * misc/Makefile: Likewise.
49833         * nis/Makefile: Likewise.
49834         * nss/Makefile: Likewise.
49835         * po/Makefile: Likewise.
49836         (all): Remove target.
49837         * posix/Makefile: Include Makeconfig immediately after defining
49838         subdir.
49839         * pwd/Makefile: Likewise.
49840         * resolv/Makefile: Likewise.
49841         * resource/Makefile: Likewise.
49842         * rt/Makefile: Likewise.
49843         * setjmp/Makefile: Likewise.
49844         * shadow/Makefile: Likewise.
49845         * signal/Makefile: Likewise.
49846         * socket/Makefile: Likewise.
49847         * soft-fp/Makefile: Likewise.
49848         * stdio-common/Makefile: Likewise.
49849         * stdlib/Makefile: Likewise.
49850         * streams/Makefile: Likewise.
49851         * string/Makefile: Likewise.
49852         * sunrpc/Makefile: Likewise.
49853         (all): Remove target.
49854         * sysvipc/Makefile: Include Makeconfig immediately after defining
49855         subdir.
49856         * termios/Makefile: Likewise.
49857         * time/Makefile: Likewise.
49858         * timezone/Makefile: Likewise.
49859         (all): Remove target.
49860         * wcsmbs/Makefile: Include Makeconfig immediately after defining
49861         subdir.
49862         * wctype/Makefile: Likewise.
49864 2014-02-26  Steve Ellcey  <sellcey@mips.com>
49866         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
49867         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
49868         (libc_feholdexcept_setround_mips): Ditto.
49869         (libc_feholdsetround): New.
49870         (libc_feholdsetroundf): New.
49871         (libc_feholdsetroundl): New.
49872         (libc_feupdateenv_test_mips): New.
49873         (libc_feupdateenv_test): New.
49874         (libc_feupdateenv_testf): New.
49875         (libc_feupdateenv_testl): New.
49876         (libc_feresetround): New.
49877         (libc_feresetroundf): New.
49878         (libc_feresetroundl): New.
49879         (libc_fetestexcept_mips): New.
49880         (libc_fetestexcept): New.
49881         (libc_fetestexceptf): New.
49882         (libc_fetestexceptl): New.
49883         (HAVE_RM_CTX): New.
49884         (libc_feholdexcept_setround_mips_ctx): New.
49885         (libc_feholdexcept_setround_ctx): New.
49886         (libc_feholdexcept_setroundf_ctx): New.
49887         (libc_feholdexcept_setroundl_ctx): New.
49888         (libc_fesetenv_mips_ctx): New.
49889         (libc_fesetenv_ctx): New.
49890         (libc_fesetenv_ctxf): New.
49891         (libc_fesetenv_ctxl): New.
49892         (libc_feupdateenv_mips_ctx): New.
49893         (libc_feupdateenv_ctx): New.
49894         (libc_feupdateenvf_ctx): New.
49895         (libc_feupdateenvl_ctx): New.
49896         (libc_feholdsetround_mips_ctx): New.
49897         (libc_feholdsetround_ctx): New.
49898         (libc_feholdsetroundf_ctx): New.
49899         (libc_feholdsetroundl_ctx): New.
49900         (libc_feresetround_mips_ctx): New.
49901         (libc_feresetround_ctx): New.
49902         (libc_feresetroundf_ctx): New.
49903         (libc_feresetroundl_ctx): New.
49905 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
49907         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
49909         * manual/ipc.texi: New file.
49910         * manual/Makefile (chapters): Add ipc.
49911         * manual/job.texi: Add "Inter-Process Communication" to next.
49912         * manual/process.texi: Add "Inter-Process Communication" to prev.
49914 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49918 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
49920         * malloc/malloc.c (__libc_calloc): Simplify implementation.
49922         * manual/arith.texi: Fix spaces after sentences.
49923         * manual/charset.texi: Likewise.
49924         * manual/errno.texi: Likewise.
49925         * manual/install.texi: Likewise.
49926         * manual/llio.texi: Likewise.
49927         * manual/locale.texi: Likewise.
49928         * manual/maint.texi: Likewise.
49929         * manual/math.texi: Likewise.
49930         * manual/memory.texi: Likewise.
49931         * manual/message.texi: Likewise.
49932         * manual/probes.texi: Likewise.
49933         * manual/resource.texi: Likewise.
49934         * manual/signal.texi: Likewise.
49935         * manual/socket.texi: Likewise.
49936         * manual/stdio.texi: Likewise.
49937         * manual/string.texi: Likewise.
49938         * manual/time.texi: Likewise.
49939         * manual/users.texi: Likewise.
49941 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
49943         [BZ #16632]
49944         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49945         _DEFAULT_SOURCE is defined.
49947 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
49948             Carlos O'Donell  <carlos@redhat.com>
49950         [BZ #16613]
49951         * elf/dl-tls.c (_dl_count_modids): New function.
49952         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49953         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49954         audit library and increment generation counter.
49955         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49956         * elf/tst-audit9.c: New file.
49957         * elf/tst-auditmod9a.c: New file.
49958         * elf/tst-auditmod9b.c: New file.
49959         * elf/Makefile: Add rules to build and run tst-audit9.
49961 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49963         [BZ #15347]
49964         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49966 2014-02-25  Will Newton  <will.newton@linaro.org>
49968         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49969         (__longjmp): Restore sp and lr before restoring callee
49970         saved registers.  Add longjmp and longjmp_target
49971         SystemTap probe point.
49972         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49973         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49974         Define to zero to match jmpbuf layout.
49975         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49976         (__sigsetjmp): Save sp and lr before saving callee
49977         saved registers.  Add setjmp SystemTap probe point.
49979 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49981         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49983 2014-02-24  Andreas Schwab  <schwab@suse.de>
49985         [BZ #15804]
49986         * elf/pldd.c (wait_for_ptrace_stop): New function.
49987         (main): Call it after attaching.
49989 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49991         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49992         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49993         Versions files is now verboten.
49994         * hurd/Versions (libc: GLIBC_2.0):
49995         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49996         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49997         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49998         * mach/Versions: Likewise.
50000         * csu/Versions: Remove unused %include.
50001         * resolv/Versions: Likewise.
50003 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50005         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50006         ($(objpfx)check-local-headers.out): Likewise.
50007         ($(objpfx)begin-end-check.out): Likewise.
50008         * Makerules (check-abi-%.out): Likewise.
50009         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50010         ($(objpfx)test2.cat): Likewise.
50011         ($(objpfx)de/libc.cat): Likewise.
50012         ($(objpfx)test-gencat.out): Likewise.
50013         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50014         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50015         ($(objpfx)noload-mem): Likewise.
50016         ($(objpfx)tst-pathopt.out): Likewise.
50017         ($(objpfx)tst-rtld-load-self.out): Likewise.
50018         ($(objpfx)tst-array1-cmp.out): Likewise.
50019         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50020         ($(objpfx)tst-array2-cmp.out): Likewise.
50021         ($(objpfx)tst-array3-cmp.out): Likewise.
50022         ($(objpfx)tst-array4-cmp.out): Likewise.
50023         ($(objpfx)tst-array5-cmp.out): Likewise.
50024         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50025         ($(objpfx)check-textrel.out): Likewise.
50026         ($(objpfx)check-execstack.out): Likewise.
50027         ($(objpfx)check-localplt.out): Likewise.
50028         ($(objpfx)order2-cmp.out): Likewise.
50029         ($(objpfx)tst-leaks1-mem): Likewise.
50030         ($(objpfx)tst-leaks1-static-mem): Likewise.
50031         ($(objpfx)tst-initorder-cmp.out): Likewise.
50032         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50033         ($(objpfx)tst-unused-dep.out): Likewise.
50034         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50035         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50036         * iconv/Makefile (test-iconvconfig): Likewise.
50037         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50038         ($(objpfx)iconv-test.out): Likewise.
50039         ($(objpfx)tst-tables.out): Likewise.
50040         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50041         ($(objpfx)tst-gettext.out): Likewise.
50042         ($(objpfx)tst-translit.out): Likewise.
50043         ($(objpfx)tst-gettext2.out): Likewise.
50044         ($(objpfx)tst-gettext4.out): Likewise.
50045         ($(objpfx)tst-gettext6.out): Likewise.
50046         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50047         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50048         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50049         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50050         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50051         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50052         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50053         ($(objpfx)wordexp-tst.out): Likewise.
50054         ($(objpfx)annexc.out): Likewise.
50055         ($(objpfx)tst-fnmatch-mem): Likewise.
50056         ($(objpfx)bug-regex2-mem): Likewise.
50057         ($(objpfx)bug-regex14-mem): Likewise.
50058         ($(objpfx)bug-regex21-mem): Likewise.
50059         ($(objpfx)bug-regex31-mem): Likewise.
50060         ($(objpfx)tst-vfork3-mem): Likewise.
50061         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50062         ($(objpfx)tst-pcre-mem): Likewise.
50063         ($(objpfx)tst-boost-mem): Likewise.
50064         ($(objpfx)tst-getconf.out): Likewise.
50065         ($(objpfx)bug-ga2-mem): Likewise.
50066         ($(objpfx)bug-glob2-mem): Likewise.
50067         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50068         ($(objpfx)mtrace-tst-leaks2): Likewise.
50069         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50070         ($(objpfx)tst-printf.out): Likewise.
50071         ($(objpfx)tst-setvbuf1.out): Likewise.
50072         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50073         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50074         ($(objpfx)tst-fmtmsg.out): Likewise.
50075         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50076         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50078         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50079         * bits/sigaction.h [__USE_MISC]: Likewise.
50080         * bits/waitstatus.h: Update #endif comments.
50081         * ctype/ctype.h: Likewise.
50082         * dirent/dirent.h: Likewise.
50083         [__USE_MISC]: Remove redundant conditionals.
50084         * grp/grp.h: Update #endif comments.
50085         [__USE_GNU]: Remove redundant conditionals.
50086         [__USE_MISC]: Likewise.
50087         * inet/netinet/in.h [__USE_GNU]: Likewise.
50088         * io/sys/stat.h [__USE_MISC]: Likewise.
50089         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50090         * libio/bits/stdio.h: Update #endif comments.
50091         [__USE_MISC]: Remove redundant conditionals.
50092         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50093         * libio/stdio.h: Update #endif comments.
50094         [__USE_MISC]: Remove redundant conditionals.
50095         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50096         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50097         * math/math.h: Update #else and #endif comments.
50098         [__USE_MISC]: Remove redundant conditionals.
50099         * misc/sys/uio.h: Update #endif comments.
50100         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50101         * posix/glob.h [__USE_MISC]: Likewise.
50102         * posix/sys/types.h: Update #endif comments.
50103         [__USE_MISC]: Remove redundant conditionals.
50104         * posix/sys/wait.h: Update #endif comments.
50105         [__USE_MISC]: Remove redundant conditionals.
50106         * posix/unistd.h: Update #endif comments.
50107         [__USE_MISC]: Remove redundant conditionals.
50108         * pwd/pwd.h [__USE_GNU]: Likewise.
50109         [__USE_MISC]: Likewise.
50110         * resolv/netdb.h [__USE_GNU]: Likewise.
50111         * signal/signal.h: Update #endif comments.
50112         [__USE_MISC]: Remove redundant conditionals.
50113         * stdlib/stdlib.h: Update #else and #endif comments.
50114         [__USE_MISC]: Remove redundant conditionals.
50115         [__USE_GNU]: Likewise.
50116         * string/bits/string2.h [__USE_MISC]: Likewise.
50117         * string/string.h: Update #endif comments.
50118         [__USE_MISC]: Remove redundant conditionals.
50119         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50120         Likewise.
50121         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50122         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50123         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50124         Likewise.
50125         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50126         Likewise.
50127         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50128         comments.
50129         [__USE_MISC]: Remove redundant conditionals.
50130         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50131         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50132         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50133         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50134         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50135         Likewise.
50136         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50137         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50138         Likewise.
50139         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50140         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50141         Likewise.
50142         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50143         Likewise.
50144         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50145         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50146         Likewise.
50147         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50148         Likewise.
50149         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50150         * sysdeps/x86/bits/string.h: Update #endif comments.
50151         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50152         conditionals.
50153         * time/sys/time.h: Update #endif comments.
50154         * time/time.h: Likewise.
50155         [__USE_MISC]: Remove redundant conditionals.
50157 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50159         [BZ #16600]
50160         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50162 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50164         * Versions.def (librt): Add GLIBC_2.17.
50166 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50168         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50169         synonym for _SYS_AUXV_H to allow direct inclusion.
50170         * sysdeps/sparc/bits/hwcap.h: Likewise.
50171         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50172         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50173         * sysdeps/sparc/sysdep.h: Likewise.
50175 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50177         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50179 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50181         * benchtests/bench-strrchr.c: Print length instead of position.
50183 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50185         [BZ #16611]
50186         * sysdeps/unix/sysv/linux/kernel-features.h
50187         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50188         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50189         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50190         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50191         Likewise.
50192         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50193         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50194         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50195         (__ASSUME_SENDMMSG): Define instead of using previous
50196         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50197         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50198         (__ASSUME_SENDMMSG_SYSCALL): Define.
50199         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50200         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50201         Likewise.
50202         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50203         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50204         Likewise.
50205         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50206         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50207         Likewise.
50208         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50209         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50210         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50211         [__ASSUME_SENDMMSG]: Change conditionals to
50212         [__ASSUME_SENDMMSG_SOCKETCALL].
50213         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50214         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50215         Define.
50216         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50217         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50218         Likewise.
50219         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50220         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50221         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50222         [!__ASSUME_SENDMMSG]: Change conditional to
50223         [!__ASSUME_SENDMMSG_SOCKETCALL].
50224         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50225         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50226         Define.
50228         [BZ #16610]
50229         * sysdeps/unix/sysv/linux/kernel-features.h
50230         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
50231         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
50232         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
50233         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
50234         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
50235         [__i386__ || __sparc__]
50236         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50237         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
50238         (__ASSUME_RECVMMSG): Define instead of using previous
50239         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
50240         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50241         (__ASSUME_RECVMMSG_SYSCALL): Define.
50242         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50243         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50244         Likewise.
50245         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50246         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50247         Likewise.
50248         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50249         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50250         Likewise.
50251         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
50252         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50253         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50254         [__ASSUME_RECVMMSG]: Change condition to
50255         [__ASSUME_RECVMMSG_SOCKETCALL].
50256         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50257         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50258         Define.
50259         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50260         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50261         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
50262         Likewise.
50263         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
50264         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
50265         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
50266         [!__ASSUME_RECVMMSG]: Change condition to
50267         [!__ASSUME_RECVMMSG_SOCKETCALL].
50268         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50269         (__ASSUME_RECVMMSG_SYSCALL): Define.
50271         [BZ #16609]
50272         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
50273         __powerpc__ || __s390__ || __sh__ || __sparc__]
50274         (__ASSUME_SOCKETCALL): Define.
50275         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
50276         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
50277         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
50278         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
50279         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
50280         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
50281         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
50282         (__ASSUME_ACCEPT4): Define instead of using previous
50283         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
50284         __powerpc__ || __sparc__ || __s390__)] condition.
50285         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50286         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50287         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
50288         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50289         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50290         [!__ASSUME_ACCEPT4]: Change condition to
50291         [!__ASSUME_ACCEPT4_SOCKETCALL].
50292         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50293         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
50294         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
50295         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50296         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
50297         __ASSUME_ACCEPT4_SYSCALL.
50298         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
50299         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
50300         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50301         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
50302         __ASSUME_ACCEPT4_SYSCALL.
50303         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
50304         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
50305         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
50306         [__ASSUME_ACCEPT4]: Change condition to
50307         [__ASSUME_ACCEPT4_SOCKETCALL].
50308         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50309         (__ASSUME_SOCKETCALL): Define.
50310         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
50311         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50312         (__ASSUME_SOCKETCALL): Define.
50313         (__ASSUME_ACCEPT4): Remove.
50314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
50315         Define.
50316         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50317         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
50318         Likewise.
50319         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50320         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
50322         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
50323         macro.
50324         (HWCAP_ARM_LPAE): Likewise.
50325         (HWCAP_ARM_EVTSTRM): Likewise.
50326         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
50327         Add vpfd32, lpae and evtstrm.
50328         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
50329         Increase to 22.
50331 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
50333         * math/auto-libm-test-in: Add tests of clog10.
50334         * math/auto-libm-test-out: Regenerated.
50335         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
50336         * sysdeps/i386/fpu/libm-test-ulps: Update.
50337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50339 2014-02-18  Andreas Schwab  <schwab@suse.de>
50341         [BZ #16574]
50342         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
50343         Store non-zero if the second buffer was newly allocated.
50344         (send_dg): Likewise.
50345         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
50346         to send_vc and send_dg.
50347         (res_nsend): Pass NULL for ansp2_malloced.
50348         * resolv/res_query.c (__libc_res_nquery): Add parameter
50349         answerp2_malloced and pass it down to __libc_res_nsend.
50350         (res_nquery): Pass additional NULL to __libc_res_nquery.
50351         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
50352         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
50353         second answer buffer if answerp2_malloced was set.
50354         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
50355         (__libc_res_nquerydomain): Add parameter
50356         answerp2_malloced and pass it down to __libc_res_nquery.
50357         (res_nquerydomain): Pass additional NULL to
50358         __libc_res_nquerydomain.
50359         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
50360         additional NULL to __libc_res_nsend and __libc_res_nquery.
50361         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
50362         additional NULL to __libc_res_nsearch.
50363         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
50364         parameter of __libc_res_nsearch to check for separately allocated
50365         second buffer.
50366         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
50367         __libc_res_nquery.
50368         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
50369         additional NULL to __libc_res_nquery.
50370         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
50371         __libc_res_nsearch.
50372         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
50373         * include/resolv.h: Update prototypes of __libc_res_nquery,
50374         __libc_res_nsearch, __libc_res_nsend.
50376 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
50378         * math/auto-libm-test-in: Add tests of fma.
50379         * math/auto-libm-test-out: Regenerated.
50380         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
50381         (fma_towardzero_test_data): Likewise.
50382         (fma_downward_test_data): Likewise.
50383         (fma_upward_test_data): Likewise.
50384         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
50385         mpc_mode.
50386         (rounding_modes): Add values for new field.
50387         (func_calc_method): Add value mpfr_fff_f.
50388         (func_calc_desc): Add mpfr_fff_f union field.
50389         (test_function): Add field exact_args.
50390         (FUNC): Add macro argument EXACT_ARGS.
50391         (FUNC_mpfr_f_f): Update call to FUNC.
50392         (FUNC_mpfr_f_f): Likewise.
50393         (FUNC_mpfr_ff_f): Likewise.
50394         (FUNC_mpfr_if_f): Likewise.
50395         (FUNC_mpc_c_f): Likewise.
50396         (FUNC_mpc_c_c): Likewise.
50397         (test_functions): Add fma.  Update calls to FUNC.
50398         (handle_input_arg): Add argument exact_args.
50399         (add_test): Update call to handle_input_arg.
50400         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
50401         (output_for_one_input_case): Update call to calc_generic_results.
50402         Recalculate exact zero results in each rounding mode.
50404         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
50405         non-negative before setting low bit.
50406         * math/auto-libm-test-in: Mark one asin test possibly having
50407         spurious underflow.
50408         * math/auto-libm-test-out: Regenerated.
50409         * sysdeps/i386/fpu/libm-test-ulps: Update.
50410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50412 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
50414         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
50415         * sysdeps/unix/sysv/linux/microblaze: Move directory from
50416         ports/sysdeps/unix/sysv/linux/microblaze.
50417         * README: Add missing listing for microblaze*-*-linux-gnu.
50419 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
50421         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
50422         duplicate code
50424 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
50426         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
50427         * sysdeps/unix/sysv/linux/ia64: Move directory from
50428         ports/sysdeps/unix/sysv/linux/ia64.
50429         * README: Update listing for ia64-*-linux-gnu.
50431 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
50432             Joseph Myers  <joseph@codesourcery.com>
50434         * Makeconfig (test-name): New variable.
50435         (evaluate-test): Likewise.
50436         * Makerules (do-test-clean): Remove .test-result files.
50437         (common-mostlyclean): Likewise.
50438         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
50439         * scripts/evaluate-test.sh: New file.
50441 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
50443         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
50444         separate $(objpfx)tst-fopenloc-cmp.out and
50445         $(objpfx)tst-fopenloc-mem.out targets.
50446         (tests): Update dependencies.
50447         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
50448         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
50449         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
50450         (tst-rxspencer-no-utf8-ARGS): New variable.
50451         (tst-rxspencer-no-utf8-ENV): Likewise.
50452         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
50453         instead of $(objpfx)tst-rxspencer-mem.
50454         ($(objpfx)tst-rxspencer-mem): Change target to
50455         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
50456         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
50457         * posix/tst-rxspencer-no-utf8.c: New file.
50459         * elf/Makefile ($(objpfx)order.out): Remove rule.
50460         [$(run-built-tests) = yes] (tests): Depend on
50461         $(objpfx)order-cmp.out.
50462         ($(objpfx)order-cmp.out): New rule.
50463         [$(run-built-tests) = yes] (tests): Depend on
50464         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
50465         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
50466         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
50467         $(objpfx)tst-array5-static-cmp.out.
50468         ($(objpfx)tst-array1.out): Remove rule.
50469         ($(objpfx)tst-array1-cmp.out): New rule.
50470         ($(objpfx)tst-array1-static.out): Remove rule.
50471         ($(objpfx)tst-array1-static-cmp.out): New rule.
50472         ($(objpfx)tst-array2.out): Remove rule.
50473         ($(objpfx)tst-array2-cmp.out): New rule.
50474         ($(objpfx)tst-array3.out): Remove rule.
50475         ($(objpfx)tst-array3-cmp.out): New rule.
50476         ($(objpfx)tst-array4.out): Remove rule.
50477         ($(objpfx)tst-array4-cmp.out): New rule.
50478         ($(objpfx)tst-array5.out): Remove rule.
50479         ($(objpfx)tst-array5-cmp.out): New rule.
50480         ($(objpfx)tst-array5-static.out): Remove rule.
50481         ($(objpfx)tst-array5-static-cmp.out): New rule.
50482         [$(run-built-tests) = yes] (tests): Depend on
50483         $(objpfx)order2-cmp.out.
50484         ($(objpfx)order2.out): Remove rule.
50485         ($(objpfx)order2-cmp.out): New rule.
50486         ($(objpfx)tst-initorder.out): Remove rule.
50487         [$(run-built-tests) = yes] (tests): Depend on
50488         $(objpfx)tst-initorder-cmp.out.
50489         ($(objpfx)tst-initorder-cmp.out): New rule.
50490         ($(objpfx)tst-initorder2.out): Remove rule.
50491         [$(run-built-tests) = yes] (tests): Depend on
50492         $(objpfx)tst-initorder2-cmp.out.
50493         ($(objpfx)tst-initorder2-cmp.out): New rule.
50494         [$(run-built-tests) = yes] (tests): Depend on
50495         $(objpfx)tst-unused-dep-cmp.out.
50496         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
50497         ($(objpfx)tst-unused-dep-cmp.out): New rule.
50498         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
50499         on $(objpfx)tst-setvbuf1-cmp.out.
50500         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
50501         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
50502         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
50503         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
50504         ($(objpfx)tst-svc.out): Remove rule.
50505         ($(objpfx)tst-svc-cmp.out): New rule.
50507 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
50509         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
50510         * ctype/ctype.h [__USE_MISC]: Likewise.
50511         * dirent/dirent.h [__USE_MISC]: Likewise.
50512         * grp/grp.h [__USE_MISC]: Likewise.
50513         * io/fcntl.h [__USE_MISC]: Likewise.
50514         * io/sys/stat.h [__USE_MISC]: Likewise.
50515         * libio/stdio.h [__USE_MISC]: Likewise.
50516         * posix/unistd.h [__USE_MISC]: Likewise.
50517         * pwd/pwd.h [__USE_MISC]: Likewise.
50518         * stdlib.h [__USE_MISC]: Likewise.
50519         * string/bits/string2.h [__USE_MISC]: Likewise.
50520         * string/string.h [__USE_MISC]: Likewise.
50521         * time/time.h [__USE_MISC]: Likewise.
50523 2014-02-13  Andreas Schwab  <schwab@suse.de>
50525         [BZ #16574]
50526         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
50527         second answer buffer if it was separately allocated.
50529 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
50531         * sysdeps/mips/math-tests.h: Include <features.h>.
50532         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50533         (ROUNDING_TESTS_long_double): Do not define.
50534         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
50535         (EXCEPTION_TESTS_long_double): Likewise.
50536         * sysdeps/mips/mips64/libm-test-ulps: Update.
50538         * include/features.h (__USE_BSD): Remove macro definitions.
50539         (__USE_SVID): Likewise.
50540         (_BSD_SOURCE): Likewise.
50541         (_SVID_SOURCE): Likewise.
50542         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
50543         from definition of _DEFAULT_SOURCE.
50544         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
50545         [_DEFAULT_SOURCE].
50546         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
50547         * bits/mman.h [__USE_BSD]: Likewise.
50548         * bits/termios.h [__USE_BSD]: Likewise.
50549         * bits/waitstatus.h [__USE_BSD]: Likewise.
50550         * ctype/ctype.h [__USE_SVID]: Likewise.
50551         * dirent/dirent.h [__USE_BSD]: Likewise.
50552         * grp/grp.h [__USE_SVID]: Likewise.
50553         [__USE_BSD]: Likewise.
50554         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
50555         * io/fcntl.h [__USE_BSD]: Likewise.
50556         * io/ftw.h [__USE_BSD]: Likewise.
50557         * io/sys/stat.h [__USE_BSD]: Likewise.
50558         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
50559         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
50560         * libio/stdio.h [__USE_SVID]: Likewise.
50561         [__USE_BSD]: Likewise.
50562         * math/math.h [__USE_SVID]: Likewise.
50563         [__USE_BSD]: Likewise.
50564         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
50565         * misc/bits/syslog.h [__USE_BSD]: Likewise.
50566         * misc/search.h [__USE_SVID]: Likewise.
50567         * misc/sys/mman.h [__USE_BSD]: Likewise.
50568         * misc/sys/syslog.h [__USE_BSD]: Likewise.
50569         * misc/sys/uio.h [__USE_BSD]: Likewise.
50570         * posix/bits/unistd.h [__USE_BSD]: Likewise.
50571         * posix/glob.h [__USE_BSD]: Likewise.
50572         * posix/regex.h [__USE_BSD]: Likewise.
50573         * posix/sys/types.h [__USE_BSD]: Likewise.
50574         [__USE_SVID]: Likewise.
50575         * posix/sys/utsname.h [__USE_SVID]: Likewise.
50576         * posix/sys/wait.h [__USE_BSD]: Likewise.
50577         [__USE_SVID]: Likewise.
50578         * posix/unistd.h [__USE_BSD]: Likewise.
50579         [__USE_SVID]: Likewise.
50580         * pwd/pwd.h [__USE_SVID]: Likewise.
50581         * resolv/netdb.h [__USE_BSD]: Likewise.
50582         * setjmp/setjmp.h [__USE_BSD]: Likewise.
50583         * signal/signal.h [__USE_BSD]: Likewise.
50584         [__USE_SVID]: Likewise.
50585         * socket/sys/socket.h [__USE_BSD]: Likewise.
50586         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
50587         * stdlib/stdlib.h [__USE_BSD]: Likewise.
50588         [__USE_SVID]: Likewise.
50589         * string/bits/string2.h [__USE_BSD]: Likewise.
50590         [__USE_SVID]: Likewise.
50591         * string/bits/string3.h [__USE_BSD]: Likewise.
50592         * string/endian.h [__USE_BSD]: Likewise.
50593         * string/string.h [__USE_SVID]: Likewise.
50594         [__USE_BSD]: Likewise.
50595         * string/strings.h [__USE_BSD]: Likewise.
50596         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
50597         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
50598         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
50599         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
50600         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
50601         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
50602         Likewise.
50603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
50604         Likewise.
50605         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
50606         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
50607         Likewise.
50608         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
50609         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
50610         Likewise.
50611         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
50612         Likewise.
50613         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
50614         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
50615         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
50616         Likewise.
50617         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
50618         Likewise.
50619         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
50620         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
50621         * termios/termios.h [__USE_BSD]: Likewise.
50622         * time/sys/time.h [__USE_BSD]: Likewise.
50623         * time/time.h [__USE_BSD]: Likewise.
50624         [__USE_SVID]: Likewise.
50626         * Makefile (subdir_targets): Remove subdir_lint.out.
50628         * stdio-common/Makefile (do-tst-unbputc): Remove target.
50629         (do-tst-printf): Likewise.
50630         (tests): Depend directly on $(objpfx)tst-unbputc.out and
50631         $(objpfx)tst-printf.out.
50633         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
50635         * Makerules (check-abi-%): Change target to
50636         $(objpfx)check-abi-%.out.
50637         (check-abi target): Update dependencies.
50638         (check-abi-pattern variable): Redirect output of diff to $@.
50639         (check-abi variable): Likewise.
50640         * elf/Makefile (check-abi): Update dependencies.
50642         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
50643         unused.
50644         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
50645         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
50646         subnormal range.
50647         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
50648         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
50649         value has largest subnormal exponent.
50650         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
50651         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
50652         * sysdeps/aarch64/soft-fp/sfp-machine.h
50653         (_FP_TININESS_AFTER_ROUNDING): New macro.
50654         * sysdeps/alpha/soft-fp/sfp-machine.h
50655         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50656         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50657         Likewise.
50658         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
50659         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50660         * sysdeps/mips/soft-fp/sfp-machine.h
50661         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50662         * sysdeps/powerpc/soft-fp/sfp-machine.h
50663         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50664         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50665         Likewise.
50666         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
50667         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50668         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
50669         (_FP_TININESS_AFTER_ROUNDING): Likewise.
50670         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
50671         Likewise.
50673 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
50675         [BZ #16545]
50676         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
50677         model 1.
50679 2014-02-12  Richard Henderson  <rth@redhat.com>
50681         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
50682         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
50683         * sysdeps/unix/sysv/linux/alpha: Move directory from
50684         ports/sysdeps/unix/sysv/linux/alpha.
50685         * README: Update listing for alpha-*-linux-gnu.
50687 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
50689         * include/features.h: Update comment documenting feature test
50690         macros.
50691         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
50692         _DEFAULT_SOURCE.
50693         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
50694         (_SVID_SOURCE): Likewise.
50695         (_DEFAULT_SOURCE): Update description of default features.
50696         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
50697         with _GNU_SOURCE.
50698         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
50699         (S_ISVTX): Likewise.
50700         * manual/math.texi (Mathematical Constants): Likewise.
50701         * manual/signal.texi (Interrupted Primitives): Likewise.
50702         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
50703         * math/test-matherr.c (_SVID_SOURCE): Do not define.
50704         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
50705         Don't refer to _SVID_SOURCE in warning text.
50707         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50709         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
50710         already defined.
50711         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
50712         * sysdeps/mips/dl-lookup.c: Remove.
50713         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
50715 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50717         [BZ #16447]
50718         * math/auto-libm-test-in: Add testcase for expl.
50719         * math/auto-libm-test-out: Regenerate.
50720         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
50721         calculation of unsafe.
50722         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
50724 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50726         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
50727         * sysdeps/unix/sysv/linux/aarch64: Move directory from
50728         ports/sysdeps/unix/sysv/linux/aarch64.
50729         * README: Update listing for aarch64*-*-linux-gnu.
50731 2014-02-11  Will Newton  <will.newton@linaro.org>
50733         * manual/probes.texi (Mathematical Function Probes): Use
50734         "triggered" instead of "hit".
50736         * manual/probes.texi (Internal Probes): Add documentation
50737         of setjmp, longjmp and longjmp_target probes.
50739         * include/stap-probe.h: Add comment about probe argument
50740         format.
50742         * malloc/mtrace.c (attribute_hidden): Remove unused macro
50743         definition.  (tr_where, tr_freehook, tr_mallochook,
50744         tr_reallochook, tr_memalignhook): Use ANSI protoype.
50746 2014-02-11  David S. Miller  <davem@davemloft.net>
50748         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
50749         processing int_tests.
50751 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
50753         * sysdeps/mips: Move directory from ports/sysdeps/mips.
50754         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
50755         * sysdeps/unix/sysv/linux/mips: Move directory from
50756         ports/sysdeps/unix/sysv/linux/mips.
50757         * README: Update listing for mips-*-linux-gnu and
50758         mips64-*-linux-gnu.
50760 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
50762         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
50763         * sysdeps/unix/sysv/linux/m68k: Move directory from
50764         ports/sysdeps/unix/sysv/linux/m68k.
50765         * README: Update listing for m68k-*-linux-gnu.
50767 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
50769         * sysdeps/tile: Move directory from ports/sysdeps/tile.
50770         * sysdeps/unix/sysv/linux/generic: Move directory from
50771         ports/sysdeps/unix/sysv/linux/generic.
50772         * sysdeps/unix/sysv/linux/tile: Move directory from
50773         ports/sysdeps/unix/sysv/linux/tile.
50774         * README: Update listing for tile*-*-linux-gnu.
50776 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
50778         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
50779         __builtin_expect.
50780         * benchtests/bench-memmem.c (simple_memmem): Likewise.
50781         * catgets/open_catalog.c (__open_catalog): Likewise.
50782         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
50783         * debug/confstr_chk.c: Likewise.
50784         * debug/fread_chk.c (__fread_chk): Likewise.
50785         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
50786         * debug/getgroups_chk.c: Likewise.
50787         * debug/mbsnrtowcs_chk.c: Likewise.
50788         * debug/mbsrtowcs_chk.c: Likewise.
50789         * debug/mbstowcs_chk.c: Likewise.
50790         * debug/memcpy_chk.c: Likewise.
50791         * debug/memmove_chk.c: Likewise.
50792         * debug/mempcpy_chk.c: Likewise.
50793         * debug/memset_chk.c: Likewise.
50794         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50795         * debug/strcat_chk.c (__strcat_chk): Likewise.
50796         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
50797         * debug/strncat_chk.c (__strncat_chk): Likewise.
50798         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
50799         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
50800         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
50801         * debug/wcpncpy_chk.c: Likewise.
50802         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50803         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
50804         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
50805         * debug/wcsncpy_chk.c: Likewise.
50806         * debug/wcsnrtombs_chk.c: Likewise.
50807         * debug/wcsrtombs_chk.c: Likewise.
50808         * debug/wcstombs_chk.c: Likewise.
50809         * debug/wmemcpy_chk.c: Likewise.
50810         * debug/wmemmove_chk.c: Likewise.
50811         * debug/wmempcpy_chk.c: Likewise.
50812         * debug/wmemset_chk.c: Likewise.
50813         * dirent/scandirat.c (SCANDIRAT): Likewise.
50814         * dlfcn/dladdr1.c (dladdr1): Likewise.
50815         * dlfcn/dladdr.c (dladdr): Likewise.
50816         * dlfcn/dlclose.c (dlclose_doit): Likewise.
50817         * dlfcn/dlerror.c (__dlerror): Likewise.
50818         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
50819         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
50820         * dlfcn/dlopen.c (dlopen_doit): Likewise.
50821         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
50822         * dlfcn/dlsym.c (dlsym_doit): Likewise.
50823         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
50824         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
50825         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
50826         Likewise.
50827         * elf/dl-conflict.c: Likewise.
50828         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
50829         * elf/dl-dst.h: Likewise.
50830         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
50831         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
50832         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
50833         * elf/dl-init.c (call_init, _dl_init): Likewise.
50834         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
50835         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
50836         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
50837         Likewise.
50838         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
50839         Likewise.
50840         * elf/dl-minimal.c (__libc_memalign): Likewise.
50841         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
50842         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50843         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
50844         * elf/dl-sym.c (do_sym): Likewise.
50845         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
50846         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
50847         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
50848         * elf/dl-writev.h (_dl_writev): Likewise.
50849         * elf/ldconfig.c (search_dir): Likewise.
50850         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
50851         (dl_main): Likewise.
50852         * elf/setup-vdso.h (setup_vdso): Likewise.
50853         * grp/compat-initgroups.c (compat_call): Likewise.
50854         * grp/fgetgrent.c (fgetgrent): Likewise.
50855         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
50856         * grp/putgrent.c (putgrent): Likewise.
50857         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
50858         Likewise.
50859         * hurd/hurdinit.c: Likewise.
50860         * iconvdata/8bit-gap.c (struct): Likewise.
50861         * iconvdata/ansi_x3.110.c : Likewise.
50862         * iconvdata/big5.c : Likewise.
50863         * iconvdata/big5hkscs.c : Likewise.
50864         * iconvdata/cp1255.c: Likewise.
50865         * iconvdata/cp1258.c : Likewise.
50866         * iconvdata/cp932.c : Likewise.
50867         * iconvdata/euc-cn.c: Likewise.
50868         * iconvdata/euc-jisx0213.c : Likewise.
50869         * iconvdata/euc-jp.c: Likewise.
50870         * iconvdata/euc-jp-ms.c : Likewise.
50871         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
50872         * iconvdata/gb18030.c : Likewise.
50873         * iconvdata/gbbig5.c (const): Likewise.
50874         * iconvdata/gbgbk.c: Likewise.
50875         * iconvdata/gbk.c : Likewise.
50876         * iconvdata/ibm1364.c : Likewise.
50877         * iconvdata/ibm930.c : Likewise.
50878         * iconvdata/ibm932.c: Likewise.
50879         * iconvdata/ibm933.c : Likewise.
50880         * iconvdata/ibm935.c : Likewise.
50881         * iconvdata/ibm937.c : Likewise.
50882         * iconvdata/ibm939.c : Likewise.
50883         * iconvdata/ibm943.c: Likewise.
50884         * iconvdata/iso_11548-1.c: Likewise.
50885         * iconvdata/iso-2022-cn.c : Likewise.
50886         * iconvdata/iso-2022-cn-ext.c : Likewise.
50887         * iconvdata/iso-2022-jp-3.c: Likewise.
50888         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
50889         * iconvdata/iso-2022-kr.c : Likewise.
50890         * iconvdata/iso646.c (gconv_end): Likewise.
50891         * iconvdata/iso_6937-2.c : Likewise.
50892         * iconvdata/iso_6937.c : Likewise.
50893         * iconvdata/iso8859-1.c: Likewise.
50894         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
50895         * iconvdata/shift_jisx0213.c : Likewise.
50896         * iconvdata/sjis.c : Likewise.
50897         * iconvdata/t.61.c : Likewise.
50898         * iconvdata/tcvn5712-1.c : Likewise.
50899         * iconvdata/tscii.c: Likewise.
50900         * iconvdata/uhc.c : Likewise.
50901         * iconvdata/unicode.c (gconv_end): Likewise.
50902         * iconvdata/utf-16.c (gconv_end): Likewise.
50903         * iconvdata/utf-32.c (gconv_end): Likewise.
50904         * iconvdata/utf-7.c (base64): Likewise.
50905         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
50906         * iconv/gconv_close.c (__gconv_close): Likewise.
50907         * iconv/gconv_open.c (__gconv_open): Likewise.
50908         * iconv/gconv_simple.c (internal_ucs4_loop_single)
50909         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
50910         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
50911         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
50912         (ucs4le_internal_loop_single): Likewise.
50913         * iconv/iconv.c (iconv): Likewise.
50914         * iconv/iconv_close.c: Likewise.
50915         * iconv/loop.c (SINGLE): Likewise.
50916         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
50917         * include/atomic.h: Likewise.
50918         * inet/inet6_option.c (option_alloc): Likewise.
50919         * intl/bindtextdom.c (set_binding_values): Likewise.
50920         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
50921         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
50922         * intl/localealias.c (read_alias_file): Likewise.
50923         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
50924         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
50925         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
50926         * libio/fmemopen.c (fmemopen): Likewise.
50927         * libio/iofgets.c (_IO_fgets): Likewise.
50928         * libio/iofgets_u.c (fgets_unlocked): Likewise.
50929         * libio/iofgetws.c (fgetws): Likewise.
50930         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
50931         * libio/iogetdelim.c (_IO_getdelim): Likewise.
50932         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
50933         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
50934         * locale/findlocale.c (_nl_find_locale): Likewise.
50935         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
50936         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
50937         Likewise.
50938         * locale/setlocale.c (setlocale): Likewise.
50939         * login/programs/pt_chown.c (main): Likewise.
50940         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
50941         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
50942         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
50943         (mmap, mmap64, mremap, munmap): Likewise.
50944         * math/e_exp2l.c: Likewise.
50945         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50946         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50947         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50948         * math/s_catan.c (__catan): Likewise.
50949         * math/s_catanf.c (__catanf): Likewise.
50950         * math/s_catanh.c (__catanh): Likewise.
50951         * math/s_catanhf.c (__catanhf): Likewise.
50952         * math/s_catanhl.c (__catanhl): Likewise.
50953         * math/s_catanl.c (__catanl): Likewise.
50954         * math/s_ccosh.c (__ccosh): Likewise.
50955         * math/s_ccoshf.c (__ccoshf): Likewise.
50956         * math/s_ccoshl.c (__ccoshl): Likewise.
50957         * math/s_cexp.c (__cexp): Likewise.
50958         * math/s_cexpf.c (__cexpf): Likewise.
50959         * math/s_cexpl.c (__cexpl): Likewise.
50960         * math/s_clog10.c (__clog10): Likewise.
50961         * math/s_clog10f.c (__clog10f): Likewise.
50962         * math/s_clog10l.c (__clog10l): Likewise.
50963         * math/s_clog.c (__clog): Likewise.
50964         * math/s_clogf.c (__clogf): Likewise.
50965         * math/s_clogl.c (__clogl): Likewise.
50966         * math/s_csin.c (__csin): Likewise.
50967         * math/s_csinf.c (__csinf): Likewise.
50968         * math/s_csinh.c (__csinh): Likewise.
50969         * math/s_csinhf.c (__csinhf): Likewise.
50970         * math/s_csinhl.c (__csinhl): Likewise.
50971         * math/s_csinl.c (__csinl): Likewise.
50972         * math/s_csqrt.c (__csqrt): Likewise.
50973         * math/s_csqrtf.c (__csqrtf): Likewise.
50974         * math/s_csqrtl.c (__csqrtl): Likewise.
50975         * math/s_ctan.c (__ctan): Likewise.
50976         * math/s_ctanf.c (__ctanf): Likewise.
50977         * math/s_ctanh.c (__ctanh): Likewise.
50978         * math/s_ctanhf.c (__ctanhf): Likewise.
50979         * math/s_ctanhl.c (__ctanhl): Likewise.
50980         * math/s_ctanl.c (__ctanl): Likewise.
50981         * math/w_pow.c: Likewise.
50982         * math/w_powf.c: Likewise.
50983         * math/w_powl.c: Likewise.
50984         * math/w_scalb.c (sysv_scalb): Likewise.
50985         * math/w_scalbf.c (sysv_scalbf): Likewise.
50986         * math/w_scalbl.c (sysv_scalbl): Likewise.
50987         * misc/error.c (error_tail): Likewise.
50988         * misc/pselect.c (__pselect): Likewise.
50989         * nis/nis_callback.c (__nis_create_callback): Likewise.
50990         * nis/nis_call.c (__nisfind_server): Likewise.
50991         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50992         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50993         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50994         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50995         * nis/nis_lookup.c (nis_lookup): Likewise.
50996         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50997         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50998         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50999         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51000         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51001         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51002         * nis/nss_compat/compat-initgroups.c (add_group)
51003         (internal_getgrent_r): Likewise.
51004         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51005         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51006         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51007         (internal_getspnam_r): Likewise.
51008         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51009         (_nss_nis_getaliasbyname_r): Likewise.
51010         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51011         (_nss_nis_getntohost_r): Likewise.
51012         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51013         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51014         (_nss_nis_getgrgid_r): Likewise.
51015         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51016         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51017         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51018         (_nss_nis_gethostbyname4_r): Likewise.
51019         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51020         (initgroups_netid): Likewise.
51021         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51022         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51023         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51024         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51025         (_nss_nis_getprotobynumber_r): Likewise.
51026         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51027         (_nss_nis_getsecretkey): Likewise.
51028         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51029         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51030         (_nss_nis_getpwuid_r): Likewise.
51031         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51032         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51033         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51034         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51035         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51036         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51037         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51038         Likewise.
51039         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51040         (_nss_nisplus_getntohost_r): Likewise.
51041         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51042         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51043         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51044         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51045         Likewise.
51046         * nis/nss_nisplus/nisplus-initgroups.c
51047         (_nss_nisplus_initgroups_dyn): Likewise.
51048         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51049         (_nss_nisplus_getnetbyaddr_r): Likewise.
51050         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51051         (_nss_nisplus_getprotobynumber_r): Likewise.
51052         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51053         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51054         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51055         Likewise.
51056         * nis/nss_nisplus/nisplus-service.c
51057         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51058         (_nss_nisplus_getservbyport_r): Likewise.
51059         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51060         (_nss_nisplus_getspnam_r): Likewise.
51061         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51062         Likewise.
51063         * nscd/aicache.c (addhstaiX): Likewise.
51064         * nscd/cache.c (cache_search, prune_cache): Likewise.
51065         * nscd/connections.c (register_traced_file, send_ro_fd)
51066         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51067         (main_loop_epoll): Likewise.
51068         * nscd/grpcache.c (addgrbyX): Likewise.
51069         * nscd/hstcache.c (addhstbyX): Likewise.
51070         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51071         * nscd/mem.c (gc, mempool_alloc): Likewise.
51072         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51073         (addinnetgrX): Likewise.
51074         * nscd/nscd-client.h (__nscd_acquire_maplock)
51075         (__nscd_drop_map_ref): Likewise.
51076         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51077         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51078         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51079         Likewise.
51080         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51081         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51082         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51083         (__nscd_get_map_ref): Likewise.
51084         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51085         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51086         Likewise.
51087         * nscd/pwdcache.c (addpwbyX): Likewise.
51088         * nscd/selinux.c (preserve_capabilities): Likewise.
51089         * nscd/servicescache.c (addservbyX): Likewise.
51090         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51091         * posix/fnmatch.c (fnmatch): Likewise.
51092         * posix/getopt.c (_getopt_internal_r): Likewise.
51093         * posix/glob.c (glob, glob_in_dir): Likewise.
51094         * posix/wordexp.c (exec_comm_child): Likewise.
51095         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51096         (getanswer_r, gaih_getanswer_slice): Likewise.
51097         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51098         * resolv/res_init.c: Likewise.
51099         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51100         * resolv/res_query.c (__libc_res_nquery): Likewise.
51101         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51102         Likewise.
51103         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51104         * stdio-common/perror.c (perror): Likewise.
51105         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51106         * stdio-common/tmpnam.c (tmpnam): Likewise.
51107         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51108         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51109         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51110         Likewise.
51111         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51112         * stdlib/putenv.c (putenv): Likewise.
51113         * stdlib/setenv.c (__add_to_environ): Likewise.
51114         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51115         * stdlib/strtol_l.c (INTERNAL): Likewise.
51116         * string/memmem.c (memmem): Likewise.
51117         * string/strerror.c (strerror): Likewise.
51118         * string/strnlen.c (__strnlen): Likewise.
51119         * string/test-memmem.c (simple_memmem): Likewise.
51120         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51121         * sunrpc/pm_getport.c (__get_socket): Likewise.
51122         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51123         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51124         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51125         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51126         Likewise.
51127         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51128         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51129         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51130         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51131         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51132         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51133         Likewise.
51134         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51135         Likewise.
51136         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51137         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51138         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51139         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51140         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51141         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51142         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51143         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51144         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51145         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51146         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51147         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51148         Likewise.
51149         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51150         Likewise.
51151         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51152         Likewise.
51153         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51154         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51155         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51156         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51157         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51158         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51159         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51160         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51161         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51162         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51163         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51164         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51165         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51166         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51167         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51168         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51169         Likewise.
51170         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51171         Likewise.
51172         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51173         Likewise.
51174         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51175         Likewise.
51176         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51178         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51179         Likewise.
51180         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51181         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51182         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51183         * sysdeps/posix/sleep.c: Likewise.
51184         * sysdeps/posix/tempname.c: Likewise.
51185         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51186         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51187         Likewise.
51188         * sysdeps/powerpc/powerpc32/dl-machine.h
51189         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51190         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51191         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51192         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51193         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51194         Likewise.
51195         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51196         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51197         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51198         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51199         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51200         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51201         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51202         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51203         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51204         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51205         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51206         (elf_machine_lazy_rel): Likewise.
51207         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51208         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51209         (elf_machine_lazy_rel): Likewise.
51210         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51211         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51212         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51213         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51214         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51215         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51216         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51217         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51218         Likewise.
51219         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51220         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51221         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51222         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
51223         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
51224         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
51225         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
51226         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
51227         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
51228         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
51229         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
51230         Likewise.
51231         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
51232         (__posix_fallocate64_l64): Likewise.
51233         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
51234         (posix_fallocate): Likewise.
51235         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
51236         Likewise.
51237         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51238         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
51239         (getifaddrs_internal): Likewise.
51240         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
51241         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
51242         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
51243         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
51244         * sysdeps/unix/sysv/linux/posix_fallocate64.c
51245         (__posix_fallocate64_l64): Likewise.
51246         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
51247         Likewise.
51248         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
51249         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
51250         (__get_clockfreq): Likewise.
51251         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
51252         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
51253         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
51254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51255         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51256         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
51257         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
51258         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
51259         Likewise.
51260         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
51261         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
51262         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
51263         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
51264         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51265         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
51266         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
51267         Likewise.
51268         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51269         (posix_fallocate): Likewise.
51270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51271         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
51272         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
51273         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
51274         (elf_machine_rela, elf_machine_rela_relative)
51275         (elf_machine_lazy_rel): Likewise.
51276         * time/asctime.c (asctime_internal): Likewise.
51277         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
51278         * time/tzset.c (__tzset_parse_tz): Likewise.
51279         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
51280         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
51281         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
51282         * wcsmbs/wcsmbsload.h: Likewise.
51284         [BZ #15894]
51285         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
51287         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
51288         (arena_get2): Remove THREAD_STATS conditionals.
51289         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
51290         (__malloc_stats, int): Likewise.
51292 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
51294         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
51295         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
51297         * manual/setjmp.texi: Fix typos/grammar errors.
51299         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
51300         Only return early when n is <= 0.  Delete unused return statement.
51302         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
51303         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
51304         * debug/tst-longjmp_chk3.c: New file.
51306         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
51307         (test_main): Replace code with set_fortify_handler call.
51308         * debug/test-strcpy_chk.c: Likewise.
51309         * debug/tst-chk1.c: Likewise.
51310         * debug/tst-longjmp_chk.c: Likewise.
51311         * test-skeleton.c: Include fcntl.h & paths.h
51312         (set_fortify_handler): Define.
51314         * debug/tst-longjmp_chk.c: Add header comment and include
51315         ../test-skeleton.c.
51316         (do_test): Mark static.
51317         (TEST_FUNCTION): Define.
51319         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
51320         (IP_PMTUDISC_INTERFACE): Likewise.
51321         (IP_MULTICAST_IF): Likewise.
51322         (IP_MULTICAST_TTL): Likewise.
51323         (IP_MULTICAST_LOOP): Likewise.
51324         (IP_ADD_MEMBERSHIP): Likewise.
51325         (IP_DROP_MEMBERSHIP): Likewise.
51326         (IP_UNBLOCK_SOURCE): Likewise.
51327         (IP_BLOCK_SOURCE): Likewise.
51328         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
51329         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
51330         (IP_MSFILTER): Likewise.
51331         (MCAST_JOIN_GROUP): Likewise.
51332         (MCAST_BLOCK_SOURCE): Likewise.
51333         (MCAST_UNBLOCK_SOURCE): Likewise.
51334         (MCAST_LEAVE_GROUP): Likewise.
51335         (MCAST_JOIN_SOURCE_GROUP): Likewise.
51336         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
51337         (MCAST_MSFILTER): Likewise.
51338         (IP_MULTICAST_ALL): Likewise.
51339         (IP_UNICAST_IF): Likewise.
51341         * timezone/Makefile: Delete $(have-ksh) check.
51342         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
51343         * timezone/tzselect.ksh: Add +x mode bits.
51345         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
51346         (ANON_INODE_FS_MAGIC): Likewise.
51347         (BDEVFS_MAGIC): Likewise.
51348         (BINFMTFS_MAGIC): Likewise.
51349         (BTRFS_TEST_MAGIC): Likewise.
51350         (CRAMFS_MAGIC_WEND): Likewise.
51351         (DEBUGFS_MAGIC): Likewise.
51352         (ECRYPTFS_SUPER_MAGIC): Likewise.
51353         (EXT3_SUPER_MAGIC): Likewise.
51354         (EXT4_SUPER_MAGIC): Likewise.
51355         (FUTEXFS_SUPER_MAGIC): Likewise.
51356         (HOSTFS_SUPER_MAGIC): Likewise.
51357         (HUGETLBFS_MAGIC): Likewise.
51358         (MINIX3_SUPER_MAGIC): Likewise.
51359         (MTD_INODE_FS_MAGIC): Likewise.
51360         (NILFS_SUPER_MAGIC): Likewise.
51361         (OPENPROM_SUPER_MAGIC): Likewise.
51362         (PIPEFS_MAGIC): Likewise.
51363         (PSTOREFS_MAGIC): Likewise.
51364         (QNX6_SUPER_MAGIC): Likewise.
51365         (RAMFS_MAGIC): Likewise.
51366         (REISERFS_SUPER_MAGIC_STRING): Likewise.
51367         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
51368         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
51369         (SECURITYFS_MAGIC): Likewise.
51370         (SELINUX_MAGIC): Likewise.
51371         (SMACK_MAGIC): Likewise.
51372         (SOCKFS_MAGIC): Likewise.
51373         (SQUASHFS_MAGIC): Likewise.
51374         (STACK_END_MAGIC): Likewise.
51375         (TMPFS_MAGIC): Likewise.
51376         (USBDEVICE_SUPER_MAGIC): Likewise.
51377         (V9FS_MAGIC): Likewise.
51378         (XENFS_SUPER_MAGIC): Likewise.
51379         (CRAMFS_MAGIC): Fix typo in comment.
51380         (EXT2_SUPER_MAGIC): Update comment.
51381         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
51383 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
51385         * sysdeps/arm: Move directory from ports/sysdeps/arm.
51386         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
51387         * sysdeps/unix/sysv/linux/arm: Move directory from
51388         ports/sysdeps/unix/sysv/linux/arm.
51389         * README: Update listing for arm-*-linux-gnueabi.
51391         * README: Remove mention of am33.
51393 2014-02-07  Roland McGrath  <roland@hack.frob.com>
51395         * bits/sigset.h (__sigemptyset): Use a statement expression rather
51396         than the comma operator, to avoid "rhs of comma has no effect"
51397         compiler warnings.
51398         (__sigfillset, __sigandset, __sigorset): Likewise.
51399         * include/signal.h (__sigemptyset): Likewise.
51400         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
51402 2014-02-07  Allan McRae  <allan@archlinux.org>
51404         * version.h (RELEASE): Set to "development".
51405         (VERSION): Set to "2.19.90"
51406         * NEWS: Add 2.20 section.
51408 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
51410         [BZ #16529]
51411         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
51413 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
51415         * manual/contrib.texi: Update entry for Carlos O'Donell,
51416         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
51418 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
51420         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
51422         * sysdeps/unix/sysv/linux/kernel-features.h
51423         [__LINUX_KERNEL_VERSION >= 0x020621]
51424         (__ASSUME_PROC_PID_TASK_COMM): Define.
51426 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51428         [BZ #16398]
51429         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
51430         conversion when destination buffer does not have enough space.
51431         * libio/tst-ftell-partial-wide.c: New test case.
51432         * libio/Makefile (tests): Add tst-ftell-partial-wide.
51434         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
51435         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
51436         Leonard and Allan McRae.
51438 2014-02-04  David S. Miller  <davem@davemloft.net>
51440         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
51441         32-bit.
51443 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
51446         New file
51447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
51448         New file
51449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
51450         New file.
51451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
51452         New file.
51453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
51454         New file.
51455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
51456         New file.
51457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
51458         New file.
51459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
51460         New file.
51461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
51462         New file.
51463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
51464         New file.
51465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
51466         New file.
51467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
51468         New file.
51469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
51470         New file.
51472 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51474         * nptl/shlib-versions: Change powerpc*le start to 2.17.
51475         * shlib-versions: Likewise.
51477 2014-02-04  Roland McGrath  <roland@hack.frob.com>
51478             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51480         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
51481         (abilist-pattern): New variable, set to %-le.abilist.
51483         * Makerules (abilist-pattern): New variable.
51484         (vpath): Use $(abilist-pattern) in place of %.abilist.
51485         (check-abi-% pattern rule): Likewise.
51486         (check-abi, update-abi): Likewise.
51488 2014-02-04  Eric Wong  <normalperson@yhbt.net>
51490         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51492 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
51494         * manual/startup.texi: Add next, previous, and top entries for
51495         the `Program Arguments' and `Environment Variables' nodes.
51497 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
51499         * manual/macros.texi: Add comments before MTASC-safety macros.
51501         * manual/users.texi: Document MTASC-safety properties.
51503         * manual/threads.texi (pthread_key_create, pthread_key_delete)
51504         (pthread_getspecific, pthread_setspecific): Format with
51505         @deftypefun, and add @safety note.
51506         * manual/signal.texi: Move comments that analyze the above
51507         functions to their home place.
51509 2014-02-03  Allan McRae  <allan@archlinux.org>
51511         * po/sl.po: Update Slovenian translation from translation project.
51513 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
51515         * manual/time.texi (timegm): Add missing blank after @c.
51516         Reported by Joseph Myers <joseph@codesourcery.com>.
51518 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
51520         * manual/check-safety.sh: New.
51521         * manual/Makefile ($(objpfx)stamp-summary): Run it.
51523         * manual/terminal.texi: Document MTASC-safety properties.
51525         * manual/filesys.texi: Document MTASC-safety properties.
51527         * manual/errno.texi: Document MTASC-safety properties.
51529         * manual/intro.texi: Document safety identifiers and
51530         conditionals.
51532         * manual/string.texi (wcstok): Fix prototype.
51533         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
51535         * manual/time.texi: Document MTASC-safety properties.
51537         * manual/string.texi: Document MTASC-safety properties.
51539         * manual/threads.texi: Document MTASC-safety properties.
51541         * manual/stdio.texi: Document MTASC-safety properties.
51543         * manual/syslog.texi: Document MTASC-safety properties.
51545         * manual/sysinfo.texi: Document MTASC-safety properties.
51547         * manual/startup.texi: Document MTASC-safety properties.
51549         * manual/socket.texi: Document MTASC-safety properties.
51551         * manual/signal.texi: Document MTASC-safety properties.
51553 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
51555         * manual/setjmp.texi: Document MTASC-safety properties.
51557         * manual/search.texi: Document MTASC-safety properties.
51559         * manual/resource.texi: Document MTASC-safety properties.
51561         * manual/process.texi: Document MTASC-safety properties.
51563         * manual/platform.texi: Document MTASC-safety properties.
51565         * manual/pipe.texi: Document MTASC-safety properties.
51567         * manual/pattern.texi: Document MTASC-safety properties.
51569         * manual/message.texi: Document MTASC-safety properties.
51571         [BZ #12751]
51572         * manual/memory.texi: Document MTASC-safety properties.
51574         * manual/math.texi: Document MTASC-safety properties.
51576         * manual/locale.texi: Document MTASC-safety properties.
51578         * manual/llio.texi: Document MTASC-safety properties.
51580         * manual/libdl.texi: New.
51582         * manual/lang.texi: Document MTASC-safety properties.
51584         * manual/job.texi: Document MTASC-safety properties.
51586         * manual/getopt.texi: Document MTASC-safety properties.
51588         * manual/ctype.texi: Document MTASC-safety properties.
51590 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
51592         [BZ #16046]
51593         * csu/libc-tls.c (static_map): Remove variable.
51594         (__libc_setup_tls): Use main executable's link map for TLS data.
51595         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
51596         casing for LM_ID_BASE and GL(dl_nns).
51597         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
51598         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
51599         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
51600         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
51601         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
51602         member.
51603         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
51604         l_phnum members.
51606 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
51608         * manual/debug.texi: Document MTASC-safety properties.
51610 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
51612         [BZ #16510]
51613         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
51614         of __x86_64__ when disabling x87 inline functions.
51616 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
51618         * manual/charset.texi: Document MTASC-safety properties.
51620         * manual/crypt.texi: Document MTASC-safety properties.
51622         * manual/conf.texi: Document MTASC-safety properties.
51624         * manual/arith.texi: Document MTASC-safety properties.
51626         * manual/argp.texi: Document MTASC-safety properties.
51628         * manual/macros.texi: Introduce macros to document multi
51629         thread, asynchronous signal and asynchronous cancellation
51630         safety properties.
51631         * manual/intro.texi: Introduce the properties themselves.
51633 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51635         * sysdeps/sh/sh4/Makefile: New file.
51637 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
51639         * math/gen-libm-test.pl ($srcdir): New variable.
51640         ($auto_input): Use it.
51642 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51644         [BZ #16506]
51645         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
51646         access beyond array bounds when parsing netgroups file.
51648         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
51649         the old buffer before realloc.
51651 2014-01-27  Allan McRae  <allan@archlinux.org>
51653         * po/fr.po: Update French translation from translation project.
51655 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51657         * sysdeps/sh/libm-test-ulps: Regenerate.
51659 2014-01-24  David S. Miller  <davem@davemloft.net>
51661         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
51663 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51665         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
51666         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
51668 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51670         [BZ #16474]
51671         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
51672         string pointers after reallocation.
51674 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51676         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
51677         __SH4A__ instead of __SH_FPU_ANY__.
51679 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51681         * sysdeps/sh/fpu_control.h: New file.
51682         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
51683         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
51684         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
51685         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
51686         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
51687         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
51688         * sysdeps/sh/sys/ucontext.h: Remove.
51689         * sysdeps/sh/sys: Remove directory.
51691 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51693         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
51694         s390/sys/ucontext.h.
51695         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
51696         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
51698 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
51700         [BZ #15605]
51701         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
51703 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51705         [BZ #16431]
51706         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51707         Adjust the vDSO correctly for internal calls.
51708         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
51710 2014-01-20  Allan McRae  <allan@archlinux.org>
51712         * po/ca.po: Update Catalan translation from translation project.
51714 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
51716         * sysdeps/s390/sotruss-lib.c: New file.
51718 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51720         [BZ #16430]
51721         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
51722         (__GI___gettimeofday): Alias for a different internal symbol to avoid
51723         local calls issues by not having a PLT stub required for IFUNC calls.
51724         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
51726 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
51728         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
51729         * math/test-fpucw-static.c: Likewise.
51731 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51733         [BZ #16453]
51734         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
51736 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51738         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
51739         implementation for powerpc.
51741 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
51743         [BZ #14782]
51744         * sysdeps/posix/system.c (__libc_system): Do not enable
51745         asynchronous cancellation.
51747 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51749         [BZ #16427]
51750         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
51751         handling only for numbers special also in the IEEE case.
51753 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51755         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51757 2014-01-11  Allan McRae  <allan@archlinux.org>
51759         * po/bg.po: Update Bulgarian translation from translation project.
51761         * po/de.po: Update German translation from translation project.
51763 2014-01-10  Roland McGrath  <roland@hack.frob.com>
51765         * sysdeps/generic/gcc-compat.h: New file.
51767 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51769         * benchtests/asin-inputs: Correct slow inputs.
51770         * benchtests/acos-inputs: Likewise.
51772 2014-01-10  Allan McRae  <allan@archlinux.org>
51774         * po:sv.po: Update Swedish translation from translation project.
51776         * po/vi.po: Update Vietnamese translation from translation project.
51778         * po/eo.po: Update Esperanto translation from translation project.
51780         * po/cs.po: Update Czech translation from translation project.
51782         * po/nl.po: Update Dutch translation from translation project.
51784         * po/pl.po: Update Polish translation from translation project.
51786         * po/ru.po: Update Russian translation from translation project.
51788         * po/uk.po: Update Ukrainian translation from translation project.
51790 2014-01-08  Brooks Moses  <bmoses@google.com>
51792         * elf/dl-load.c: Fix comment typo.
51794 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
51796         * po/header.pot: Rename to...
51797         * po/pot.header: ... this.
51798         * po/Makefile: Use pot.header.
51800 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
51801             Maxim Kuvyrkov  <maxim@kugelworks.com>
51803         [BZ #16394]
51804         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
51805         SRC and DEST against LEN.
51807 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51809         [BZ #16414]
51810         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
51811         implementation.
51812         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
51814 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51818 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
51820         [BZ #16408]
51821         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
51822         for large positive arguments.
51824 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
51826         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51828         * math/auto-libm-test-in: Mark various tests with
51829         xfail-rounding:ldbl-128ibm.
51830         * math/auto-libm-test-out: Regenerated.
51832         [BZ #16407]
51833         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
51834         Increase overflow threshold.
51836 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
51838         [BZ #14286]
51839         * stdio-common/vfprintf.c: Check for integer overflow.
51841 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51843         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
51844         the first argument and return value of __tls_get_addr_internal.
51846 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51848         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
51849         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
51851 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51853         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
51854         * sysdeps/s390/rtld-global-offsets.sym: New file.
51855         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
51856         GLIBC_2.19 symbol.
51857         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
51858         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
51859         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
51860         ... this.
51861         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
51862         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
51863         ... this.
51864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51865         Regenerate.
51866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51867         Regenerate.
51868         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
51869         halfs of GPRs for high_gprs contexts.
51870         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
51871         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
51872         field.
51873         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
51874         uc_flags field.
51875         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
51876         64 bit versions:
51877         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
51878         for high GPRs (uc_high_gprs) and for future extensions
51879         (__reserved).
51880         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
51881         for future extensions (__reserved).
51882         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
51883         64 bit versions:
51884         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
51885         SC_HIGHGPRS offset definition.
51886         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
51887         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
51889         * Versions.def: Add GLIBC_2.19 for libpthread.
51890         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
51891         siglongjmp for libpthread with GLIBC_2.19 symver.
51892         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
51893         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
51894         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
51895         * sysdeps/s390/__longjmp.c: New file.
51896         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
51897         * sysdeps/s390/longjmp.c: New file.
51898         * sysdeps/s390/setjmp.S: New file.
51899         * sysdeps/s390/sigjmp.S: New file.
51900         * sysdeps/s390/v1-longjmp.c: New file.
51901         * sysdeps/s390/v1-setjmp.h: New file.
51902         * sysdeps/s390/v1-sigjmp.c: New file.
51903         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
51904         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
51905         GLIBC_2.19 version.
51906         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
51907         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
51908         versioned symbols for ____longjmp_chk.
51909         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
51910         Likewise.
51911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
51912         Regenerate.
51913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51914         Regenerate.
51915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
51916         Regenerate.
51917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51918         Regenerate.
51919         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
51920         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
51921         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
51922         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
51923         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
51924         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
51925         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
51926         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
51927         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
51928         * sysdeps/s390/rtld-__longjmp.c: New file.
51929         * sysdeps/s390/rtld-setjmp.S: New file.
51931 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
51933         [BZ #16400]
51934         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51935         Return -__logl (x) for small positive arguments without evaluating
51936         a polynomial.
51938 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
51940         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
51941         Rename to ...
51942         (__ptrace_peeksiginfo_args): ... this.
51943         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51944         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51945         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51947 2014-01-06  Allan McRae  <allan@archlinux.org>
51949         * inet/netinet/in.h: Fix typo in comment.
51951 2014-01-05  Andreas Jaeger  <aj@suse.de>
51953         * sysdeps/i386/fpu/libm-test-ulps: Update.
51955 2014-01-05  Allan McRae  <allan@archlinux.org>
51957         * po/libc.pot: Regenerated.
51959         * malloc/memusagestat.c: Fix gettext call formatting.
51961 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51963         * nscd/nscd.c: Improve usage() output.
51965 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51967         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51968         * sysdeps/unix/sysv/linux/configure: Regenerated.
51969         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51970         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51972 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51974         [BZ #16390]
51975         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51976         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51978 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51980         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51981         extra tokens at end of #undef directive.
51982         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51983         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51984         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51986 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51988         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51990         * math/auto-libm-test-in: Mark various tests with
51991         xfail-rounding:ldbl-128ibm.
51992         * math/auto-libm-test-out: Regenerated.
51994 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51996         [BZ #16386]
51997         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51998         numbers with subnormal high part when calculating exponent.
52000         [BZ #16385]
52001         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52002         fabs.
52004         [BZ #16384]
52005         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52006         M_LN2l.
52007         (__ieee754_acoshl): Use __log1pl not __log1p.
52009 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52011         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52012         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52013         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52014         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52015         (reused_arena, arena_get2): Convert to GNU style.
52016         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52017         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52018         (memalign_check, __malloc_set_state): Likewise.
52019         * malloc/mallocbug.c (main): Likewise.
52020         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52021         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52022         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52023         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52024         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52025         (__posix_memalign, malloc_info): Likewise.
52026         * malloc/malloc.h: Likewise.
52027         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52028         (mallochook, memalignhook, reallochook, mabort): Likewise.
52029         * malloc/mcheck.h: Likewise.
52030         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52031         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52032         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52033         * malloc/morecore.c (__default_morecore): Likewise.
52034         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52035         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52036         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52037         (print_and_abort): Likewise.
52038         * malloc/obstack.h: Likewise.
52039         * malloc/set-freeres.c (__libc_freeres): Likewise.
52040         * malloc/tst-mallocstate.c (main): Likewise.
52041         * malloc/tst-mtrace.c (main): Likewise.
52042         * malloc/tst-realloc.c (do_test): Likewise.
52044 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52046         [BZ #16366]
52047         * nscd/netgroupcache.c (do_notfound): New function.
52048         (addgetnetgrentX): Use it.
52050         [BZ # 16365]
52051         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52052         NSS_STATUS_NOTFOUND.
52054 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52056         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52059 2014-01-01  Allan McRae  <allan@archlinux.org>
52061         * scripts/update-copyrights: Update configure input file suffix.
52063         * NEWS: Update copyright year.
52064         * catgets/gencat.c: Likewise.
52065         * csu/version.c: Likewise.
52066         * debug/catchsegv.sh: Likewise.
52067         * debug/pcprofiledump.c: Likewise.
52068         * debug/xtrace.sh: Likewise.
52069         * elf/ldconfig.c: Likewise.
52070         * elf/ldd.bash.in: Likewise.
52071         * elf/pldd.c: Likewise.
52072         * elf/sotruss.ksh: Likewise.
52073         * elf/sprof.c: Likewise.
52074         * iconv/iconv_prog.c: Likewise.
52075         * iconv/iconvconfig.c: Likewise.
52076         * locale/programs/locale.c: Likewise.
52077         * locale/programs/localedef.c: Likewise.
52078         * login/programs/pt_chown.c: Likewise.
52079         * malloc/memusage.sh: Likewise.
52080         * malloc/memusagestat.c: Likewise.
52081         * malloc/mtrace.pl: Likewise.
52082         * manual/libc.texinfo: Likewise.
52083         * nscd/nscd.c: Likewise.
52084         * nss/getent.c: Likewise.
52085         * nss/makedb.c: Likewise.
52086         * posix/getconf.c: Likewise.
52087         * scripts/test-installation.pl: Likewise.
52089         * All files with FSF copyright notices: Update copyright dates
52090         using scripts/update-copyrights.
52091         * intl/plural.c: Regenerated.
52092         * locale/programs/charmap-kw.h: Likewise.
52093         * locale/programs/locfile-kw.h: Likewise.
52095 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52097         * sysdeps/unix/sysv/linux/configure: Regenerated.
52098         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52099         the linux/fanotify.h header.
52100         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52101         HAVE_LINUX_FANOTIFY_H is defined.
52103 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52105         * benchtests/cos-inputs: New inputs.
52106         * benchtests/sin-inputs: Likewise.
52108         * benchtests/atan-inputs: New inputs. Fix name of multiple
52109         precision fallback inputs.
52111         * benchtests/atanh-inputs: New inputs.
52112         * benchtests/tanh-inputs: Likewise.
52114         * benchtests/acosh-inputs: New inputs.
52115         * benchtests/asinh-inputs: Likewise.
52117         * benchtests/cosh-inputs: New inputs.
52118         * benchtests/sinh-inputs: Likewise.
52120         * benchtests/acos-inputs: Add more inputs.
52121         * benchtests/asin-inputs: Likewise.
52123 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52125         [BZ #16375]
52126         * manual/arith.texi: Fix spelling.
52127         * manual/charset.texi: Likewise.
52128         * manual/errno.texi: Likewise.
52129         * manual/filesys.texi: Likewise.
52130         * manual/lang.texi: Likewise.
52131         * manual/llio.texi: Likewise.
52132         * manual/locale.texi: Likewise.
52133         * manual/message.texi: Likewise.
52134         * manual/resource.texi: Likewise.
52135         * manual/search.texi: Likewise.
52136         * manual/setjmp.texi: Likewise.
52137         * manual/stdio.texi: Likewise.
52138         * manual/string.texi: Likewise.
52139         * manual/sysinfo.texi: Likewise.
52140         * manual/time.texi: Likewise.
52142 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52144         * po/sl.po: New file.
52146 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52148         * .gitignore: Add core/.gdbinit/.gdb_history.
52150 2013-12-27  Allan McRae  <allan@archlinux.org>
52152         [BZ #16369]
52153         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52154         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52156 2013-12-24  Brooks Moses  <bmoses@google.com>
52158         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52159         all compilers that claim C++98 compliance, not just GCC.
52160         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52161         Likewise.
52163 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52165         * NEWS: Restore accidentally deleted bug-fix entries.
52167 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52168             Ondřej Bílka  <neleai@seznam.cz>
52170         [BZ #15073]
52171         * malloc/malloc.c (_int_free): Perform sanity check only if we
52172         have_lock.
52174 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52176         [BZ #12986]
52177         * manual/stdio.texi (String Input Conversions): Clarify that character
52178         classes are not supported.
52180 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52184 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52186         [BZ #16337]
52187         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52188         Calculate results for small negative arguments directly rather
52189         than using reflection formula with special underflow handling.
52191         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52192         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52193         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52194         (fchflags): Likewise.
52195         (revoke): Likewise.
52196         (setlogin): Likewise.
52197         (sigaltstack): Likewise.
52198         (wait4): Likewise.
52199         (sigblock): Remove.
52200         (sigsetmask): Likewise.
52201         (wait3): Likewise.
52202         (waitpid): Likewise.
52203         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52204         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52205         file.
52206         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52207         * sysdeps/unix/bsd/Makefile: ... here.
52208         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52209         * sysdeps/unix/bsd/Versions: ... here.
52210         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52211         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52212         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52213         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52214         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52215         * sysdeps/unix/bsd/sigblock.c: ... here.
52216         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52217         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52218         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52219         * sysdeps/unix/bsd/sigvec.c: ... here.
52220         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52221         * sysdeps/unix/bsd/tcdrain.c: ... here.
52222         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
52223         * sysdeps/unix/bsd/tcgetattr.c: ... here.
52224         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
52225         * sysdeps/unix/bsd/tcsetattr.c: ... here.
52226         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
52227         * sysdeps/unix/bsd/wait.c: ... here.
52228         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
52229         * sysdeps/unix/bsd/wait3.c: ... here.
52230         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
52231         * sysdeps/unix/bsd/waitpid.c: ... here.
52233 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
52235         [BZ #16356]
52236         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
52237         round-to-nearest for [!USE_AS_EXPM1L].
52238         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
52239         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
52240         more tests of exp and exp10.  Expect some exp10 tests to miss
52241         exceptions or fail in directed rounding modes.
52242         * math/auto-libm-test-out: Regenerated.
52243         * math/libm-test.inc (exp10_tonearest_test_data): New array.
52244         (exp10_test_tonearest): New function.
52245         (exp10_towardzero_test_data): New array.
52246         (exp10_test_towardzero): New function.
52247         (exp10_downward_test_data): New array.
52248         (exp10_test_downward): New function.
52249         (exp10_upward_test_data): New array.
52250         (exp10_test_upward): New function.
52251         (main): Call the new functions.
52252         * sysdeps/i386/fpu/libm-test-ulps: Update.
52253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52255 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
52257         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
52258         asinh, atan, atan2, atanh, cbrt, cos and cosh.
52259         * math/auto-libm-test-out: Regenerated.
52260         * math/libm-test.inc (acosh_test_data): Add more tests.
52261         (atanh_test_data): Likewise.
52262         (ceil_test_data): Likewise.
52263         (copysign_test_data): Likewise.
52264         * sysdeps/i386/fpu/libm-test-ulps: Update.
52265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52267         * timezone/checktab.awk: Update from tzcode 2013i.
52268         * timezone/private.h: Likewise.
52269         * timezone/scheck.c: Likewise.
52270         * timezone/tzfile.h: Likewise.
52271         * timezone/tzselect.ksh: Likewise.
52272         * timezone/zdump.c: Likewise.
52273         * timezone/zic.c: Likewise.
52275         * math/auto-libm-test-in: Add tests of cpow.
52276         * math/auto-libm-test-out: Regenerated.
52277         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
52278         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52279         mpc_cc_c.
52280         (func_calc_desc): Add mpc_cc_c union field.
52281         (test_functions): Add cpow.
52282         (special_fill_2pi): New function.
52283         (special_real_inputs): Add 2pi.
52284         (calc_generic_results): Handle mpc_cc_c.
52285         * sysdeps/i386/fpu/libm-test-ulps: Update.
52286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52288         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
52289         csqrt, ctan and ctanh.
52290         * math/auto-libm-test-out: Regenerated.
52291         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52292         (TEST_COND_x86): Likewise.
52293         (ccos_test_data): Use AUTO_TESTS_c_c.
52294         (ccosh_test_data): Likewise.
52295         (cexp_test_data): Likewise.
52296         (clog_test_data): Likewise.
52297         (csqrt_test_data): Likewise.
52298         (ctan_test_data): Likewise.
52299         (ctan_tonearest_test_data): Likewise.
52300         (ctan_towardzero_test_data): Likewise.
52301         (ctan_downward_test_data): Likewise.
52302         (ctan_upward_test_data): Likewise.
52303         (ctanh_test_data): Likewise.
52304         (ctanh_tonearest_test_data): Likewise.
52305         (ctanh_towardzero_test_data): Likewise.
52306         (ctanh_downward_test_data): Likewise.
52307         (ctanh_upward_test_data): Likewise.
52308         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52309         mpc_c_c.
52310         (func_calc_desc): Add mpc_c_c union field.
52311         (FUNC_mpc_c_c): New macro.
52312         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
52313         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
52314         ctanh.
52315         (special_fill_min_subnorm_p120): New function.
52316         (special_real_inputs): Add min_subnorm_p120.
52317         (calc_generic_results): Handle mpc_c_c.
52318         * sysdeps/i386/fpu/libm-test-ulps: Update.
52319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52321 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52323         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
52324         (do_sin_slow): New functions.
52325         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
52326         (cslow2, csloww1, csloww2): Use the new functions.
52328         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
52329         Use M to change sign of result instead of X.  Assume X is
52330         positive.
52331         (csloww1): Likewise.
52332         (__sin): Adjust.
52333         (__cos): Adjust.
52335         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
52336         arguments A and DA.
52337         (__sin): Adjust.
52338         (__cos): Likewise.
52340         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
52341         (__cos): Likewise.
52342         (sloww1): Don't adjust sign of DX.
52343         (csloww1): Likewise.
52344         (sloww2): Use X directly and don't adjust sign of DX.
52345         (csloww2): Likewise.
52347 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52349         * math/auto-libm-test-in: Add tests of cabs and carg.
52350         * math/auto-libm-test-out: Regenerated.
52351         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
52352         (carg_test_data): Likewise.
52353         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52354         mpc_c_f.
52355         (func_calc_desc): Add mpc_c_f union field.
52356         (test_functions): Add cabs and carg.
52357         (calc_generic_results): Handle mpc_c_f.
52359         * sysdeps/powerpc/powerpc32/libgcc-compat.S
52360         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
52361         as a macro and a compat symbol.
52362         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
52363         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
52364         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
52365         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
52366         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
52367         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
52368         not use .hidden.
52369         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
52370         Likewise.
52371         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
52372         Likewise.
52373         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
52374         Likewise.
52375         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
52376         Likewise.
52377         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
52378         Likewise.
52379         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
52380         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
52381         from GLIBC_2.3.2.
52383 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52387 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52389         * manual/texinfo.tex: Update to version 2013-11-26.10 with
52390         trailing whitespace removed.
52391         * scripts/config.guess: Update to version 2013-11-29.
52392         * scripts/config.sub: Update to version 2013-10-01.
52394         * math/auto-libm-test-in: Add tests of sincos.
52395         * math/auto-libm-test-out: Regenerated.
52396         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
52397         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52398         mpfr_f_11.
52399         (func_calc_desc): Add mpfr_f_11 union field.
52400         (test_functions): Add sincos.
52401         (calc_generic_results): Handle mpfr_f_11.
52402         * sysdeps/i386/fpu/libm-test-ulps: Update.
52403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52405 2013-12-19  Andreas Schwab  <schwab@suse.de>
52407         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
52408         CALL_MCOUNT.
52409         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
52410         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
52411         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
52413 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
52415         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
52416         * sysdeps/i386/fpu/libm-test-ulps: Update.
52417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52419         [BZ #16293]
52420         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
52421         round-to-nearest mode when using frndint.
52422         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
52423         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
52424         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
52425         Likewise.
52426         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
52427         sinh test to fail.
52428         * math/auto-libm-test-out: Regenerated.
52429         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
52430         (TEST_COND_x86): Likewise.
52431         (expm1_tonearest_test_data): New array.
52432         (expm1_test_tonearest): New function.
52433         (expm1_towardzero_test_data): New array.
52434         (expm1_test_towardzero): New function.
52435         (expm1_downward_test_data): New array.
52436         (expm1_test_downward): New function.
52437         (expm1_upward_test_data): New array.
52438         (expm1_test_upward): New function.
52439         (main): Run the new test functions.
52440         * sysdeps/i386/fpu/libm-test-ulps: Update.
52441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52443         * include/features.h: Update comment documenting feature test
52444         macros.  Mention _DEFAULT_SOURCE in comment.
52445         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
52446         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
52447         _BSD_SOURCE and _SVID_SOURCE.
52448         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
52449         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
52450         !_SVID_SOURCE]: Likewise.
52451         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52452         (__USE_POSIX_IMPLICITLY): Define.
52453         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52454         (_POSIX_SOURCE): Undefine and redefine.
52455         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
52456         (_POSIX_C_SOURCE): Likewise.
52457         * manual/creature.texi (_DEFAULT_SOURCE): Document.
52458         (Feature Test Macros): Update documentation of default features.
52460 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
52462         * benchtests/Makefile: Add bench-strtok.
52463         * benchtests/bench-strtok.c: New file: strtok benchtest.
52465 2013-12-19  Allan McRae  <allan@archlinux.org>
52467         * manual/install.texi: Suppress menu for plain text output.
52468         * INSTALL: Regenerated.
52470 2013-12-18  Brooks Moses  <bmoses@google.com>
52472         [BZ #15846]
52473         * misc/getauxval.c: Include errno.h.
52474         (__getauxval): Set errno to ENOENT if the requested type is not
52475         found.
52476         * misc/sys/auxv.h (getauxval): Document that it may set errno;
52477         don't declare with __attribute_const__.
52478         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
52479         * manual/startup.texi: Document that getauxval sets errno.
52481 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52483         * math/auto-libm-test-in: Add tests of jn and yn.
52484         * math/auto-libm-test-out: Regenerated.
52485         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
52486         (yn_test_data): Likewise.
52487         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52488         mpfr_if_f.
52489         (func_calc_desc): Add mpfr_if_f union field.
52490         (FUNC_mpfr_if_f): New macro.
52491         (test_functions): Add jn and yn.
52492         (calc_generic_results): Assert type of second input for
52493         mpfr_ff_f.  Handle mpfr_if_f.
52494         (output_for_one_input_case): Disable all checking for arguments
52495         fitting floating-point types in case of an integer argument.
52496         * sysdeps/i386/fpu/libm-test-ulps: Update.
52497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
52500         Don't expect fegetround reference in libm.so.
52502 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52504         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
52505         $(config-cflags-nofma).
52507 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
52509         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
52510         * math/auto-libm-test-out: Regenerated.
52512         [BZ #16338]
52513         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
52514         to determine exponent and adjust argument to have exponent of -1.
52515         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
52516         log2.
52517         * math/auto-libm-test-out: Regenerated.
52518         * sysdeps/i386/fpu/libm-test-ulps: Update.
52519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52521 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
52523         * manual/probes.texi: Remove cases when per-thread arenas are
52524         disabled.
52526 2013-12-18  Andreas Schwab  <schwab@suse.de>
52528         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
52529         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
52530         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
52531         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
52532         * sysdeps/i386/i686/multiarch/Makefile: Update.
52533         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
52535 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52537         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
52538         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
52540 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
52542         [BZ #15968]
52543         Support TZ transition times < 00:00:00.
52544         This is needed for version-3 tz-format files; it supports time
52545         stamps past 2037 for America/Godthab (the only entry in the tz
52546         database for which this change is relevant).
52547         * manual/time.texi (TZ Variable): Document transition times
52548         from -167:59:59 through -00:00:01.
52549         * time/tzset.c (tz_rule): Time of day is now signed.
52550         (__tzset_parse_tz): Parse negative time of day.
52552         Document TZ transition times >= 25:00:00.
52553         * manual/time.texi (TZ Variable): Document transition times from
52554         25:00:00 through 167:59:59.  These are already supported, and this
52555         support will help with version-3 tz-format files.
52557         * manual/time.texi (TZ Variable): Modernize North America example
52558         to reflect current (i.e., 2007-and-later) daylight saving rules.
52560         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
52562 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52564         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
52565         * sysdeps/unix/bsd/bits/stat.h: Likewise.
52566         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
52567         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52568         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
52569         * sysdeps/unix/bsd/bsdstat.h: Likewise.
52570         * sysdeps/unix/bsd/clock.c: Likewise.
52571         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
52572         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
52573         * sysdeps/unix/bsd/init-posix.c: Likewise.
52574         * sysdeps/unix/bsd/poll.c: Likewise.
52575         * sysdeps/unix/bsd/ptsname.c: Likewise.
52576         * sysdeps/unix/bsd/seekdir.c: Likewise.
52577         * sysdeps/unix/bsd/setegid.c: Likewise.
52578         * sysdeps/unix/bsd/seteuid.c: Likewise.
52579         * sysdeps/unix/bsd/setgid.c: Likewise.
52580         * sysdeps/unix/bsd/setrgid.c: Likewise.
52581         * sysdeps/unix/bsd/setruid.c: Likewise.
52582         * sysdeps/unix/bsd/setsid.c: Likewise.
52583         * sysdeps/unix/bsd/setuid.c: Likewise.
52584         * sysdeps/unix/bsd/sigaction.c: Likewise.
52585         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
52586         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
52587         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
52588         * sysdeps/unix/bsd/telldir.c: Likewise.
52589         * sysdeps/unix/bsd/times.c: Likewise.
52590         * sysdeps/unix/bsd/usleep.c: Likewise.
52592         * misc/Makefile (install-lib): Remove libbsd-compat.a.
52593         ($(objpfx)libbsd-compat.a): Remove rule.
52595         * include/features.h (__FAVOR_BSD): Do not define.
52596         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
52597         features conflicting with POSIX.
52598         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
52599         (_BSD_SOURCE): Remove description of not being a subset of other
52600         feature test macros.
52601         * manual/job.texi (getpgrp): Do not document BSD version.
52602         (getpgid): Do not document by reference to BSD getpgrp.
52603         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
52604         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
52605         * signal/signal.h [__FAVOR_BSD]: Likewise.
52606         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
52607         instead of making contents conditional on [__FAVOR_BSD].
52608         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
52610 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52614 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
52616         [BZ #16314]
52617         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
52618         values below 2**-450, not 2**-500.
52619         * math/auto-libm-test-in: Don't allow spurious underflow from
52620         hypot.
52621         * math/auto-libm-test-out: Regenerated.
52623         [BZ #16316]
52624         [BZ #16330]
52625         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
52626         values of ha and hb and sort them after adjusting subnormal
52627         arguments.
52628         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
52629         Likewise.
52630         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
52631         values of ea and eb and sort them after adjusting subnormal
52632         arguments.
52633         * math/auto-libm-test-in: Do not expect some hypot tests of
52634         subnormals to fail.  Add more hypot tests.
52635         * math/auto-libm-test-out: Regenerated.
52637 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52639         [BZ #13304]
52640         * sysdeps/sh/s_fma.c: New file.
52641         * sysdeps/sh/s_fmaf.c: New file.
52642         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
52643         version.
52644         * sysdeps/sh/Implies: Add sh/soft-fp.
52646 2013-12-16  Roland McGrath  <roland@hack.frob.com>
52648         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
52649         level of indirection to members `objname', `errstring', `malloced'.
52650         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
52651         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
52652         it as the __longjmp argument (just pass 1 instead).
52653         (_dl_catch_error): Initialize C with argument pointers and address of
52654         volatile local ERRCODE rather than copying values out of C at return.
52656 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
52658         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
52659         * math/auto-libm-test-out: Regenerated.
52660         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
52661         (hypot_test_data): Likewise.
52662         (pow_test_data): Likewise.
52663         (pow_tonearest_test_data): Likewise.
52664         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52665         mpfr_ff_f.
52666         (func_calc_desc): Add mpfr_ff_f union field.
52667         (FUNC_mpfr_ff_f): New macro.
52668         (test_functions): Add atan2, hypot and pow.
52669         (special_fill_min): New function.
52670         (special_fill_minus_min): Likewise.
52671         (special_fill_min_subnorm): Likewise.
52672         (special_fill_minus_min_subnorm): Likewise.
52673         (special_real_inputs): Add min, -min, min_subnorm and
52674         -min_subnorm.
52675         (calc_generic_results): Handle mpfr_ff_f.
52676         * sysdeps/i386/fpu/libm-test-ulps: Update.
52677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52679 2013-12-16  Will Newton  <will.newton@linaro.org>
52681         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
52682         (Aligned Memory Blocks): Add documentation for aligned_alloc
52683         and suggest it as an alternative to posix_memalign.
52684         (Hooks for Malloc): Document __memalign_hook is also called
52685         for aligned_alloc.  (Summary of Malloc): Add summary for
52686         aligned alloc.  Document __memalign_hook is also called
52687         for aligned_alloc.
52689 2013-12-16  Will Newton  <will.newton@linaro.org>
52691         * manual/memory.texi (Malloc Examples): Clarify default
52692         alignment documentation.  Suggest posix_memalign rather
52693         than memalign or valloc.
52694         (Aligned Memory Blocks): Remove suggestion to use memalign
52695         or valloc.  Remove obsolete comment about BSD.
52696         Document memalign errno values and mark the function obsolete.
52697         Document posix_memalign returned error codes.  Mark valloc
52698         as obsolete.  (Hooks for Malloc): __memalign_hook is also
52699         called for posix_memalign and valloc.
52700         (Summary of Malloc): Add posix_memalign to function summary.
52701         __memalign_hook is also called for posix_memalign and valloc.
52703 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52705         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
52706         TAYLOR_SIN.
52707         (__sin): Adjust.
52708         (__cos): Likewise.
52709         (sloww): Use mynumber union.  Expand ternary operator into
52710         if-else statements.
52711         (cslow): use mynumber union.
52713 2013-12-16  Allan McRae  <allan@archlinux.org>
52715         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
52716         * configure: Regenerated.
52718         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
52720         [BZ #14120]
52721         * configure.ac: Added --enable-maintainer-mode. Check for
52722         autoconf when enabled.
52723         * configure: Regenerated.
52725         * nscd/nscd.service: New file.
52726         * nscd/nscd.tmpfiles: New file.
52728 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
52730         [BZ #12100]
52731         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
52732         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
52733         * sysdeps/x86_64/multiarch/strstr.c: ... here.
52734         (strstr): Add __strstr_sse2_unaligned ifunc.
52735         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
52736         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
52737         (strcasestr): Remove __strcasestr_sse42 ifunc.
52738         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
52739         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52740         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52742 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52744         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
52745         * sysdeps/sh/bits/fenv.h: ... here.
52746         * sysdeps/sh/sh4/fpu/bits: Remove directory.
52748 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52750         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
52752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
52753         hypotf multiarch implementations.
52754         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
52755         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
52756         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
52757         multiarch hypot for PPC64.
52758         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
52759         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
52760         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
52761         multiarch hypotf for PPC64.
52763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
52764         modff multiarch implementations.
52765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
52766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
52767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
52768         multiarch modf for PPC64.
52769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
52770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
52771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
52772         multiarch modff for PPC64.
52774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
52775         and logl multiarch implementations.
52776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
52777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
52778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
52779         multiarch logb for PPC64.
52780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
52781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
52782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
52783         multiarch logb for PPC64.
52784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
52785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
52786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
52787         multiarch logb for PPC64.
52789         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
52790         isinff multiarch implementation.
52791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
52792         file.
52793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
52794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
52795         multiarch isinf for PPC64.
52796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
52797         file.
52798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
52799         multiarch isinff for PPC64.
52801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
52802         finitef multiarch implementation.
52803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
52804         file.
52805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
52806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
52807         multiarch finite for PPC64.
52808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
52809         file.
52810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
52811         multiarch finitef for PPC64.
52813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
52814         lrint multiarch implementation.
52815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
52816         file.
52817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
52818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
52819         multiarch llrint for PPC64.
52820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
52821         multiarch lrint for PPC64.
52823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
52824         copysignf multiarch implementation.
52825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
52826         file.
52827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
52828         file.
52829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
52830         multiarch copysign for PPC64.
52831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
52832         multiarch copysignf for PPC64.
52834         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
52835         multiarch implementation.
52836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
52837         file.
52838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
52839         file.
52840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
52841         file.
52842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
52843         file.
52844         multiarch llround for PPC64.
52845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
52846         multiarch trunc for PPC64.
52847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
52848         multiarch truncf for PPC64.
52850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
52851         multiarch implementation.
52852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
52853         file.
52854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
52855         file.
52856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
52857         file.
52858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
52859         file.
52860         multiarch llround for PPC64.
52861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
52862         multiarch round for PPC64.
52863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
52864         multiarch roundf for PPC64.
52866         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
52867         multiarch implementation.
52868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
52869         file.
52870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
52871         file.
52872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
52873         file.
52874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
52875         file.
52876         multiarch llround for PPC64.
52877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
52878         multiarch floor for PPC64.
52879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
52880         multiarch floorf for PPC64.
52882         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
52883         multiarch implementation.
52884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
52885         file.
52886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
52887         file.
52888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
52889         file.
52890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
52891         file.
52892         multiarch llround for PPC64.
52893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
52894         multiarch ceil for PPC64.
52895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
52896         multiarch ceilf for PPC64.
52898         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
52899         multiarch implementation.
52900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
52901         file.
52902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
52903         file.
52904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
52905         file.
52906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
52907         multiarch llround for PPC64.
52908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
52909         multiarch lround for PPC64.
52911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
52912         multiarch implementation.
52913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
52914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
52915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
52916         file.
52917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
52918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
52919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
52920         multiarch isnan for PPC64.
52921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
52922         multiarch isnanf for PPC64.
52924         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
52925         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
52926         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
52927         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
52928         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
52929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
52931         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
52932         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52933         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52934         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
52937         multiarch implementations.
52938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52939         (__libc_ifunc_impl_list): Likewise.
52940         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
52941         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
52942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
52943         multiarch stpcpy for PPC64.
52945         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52946         multiarch implementations.
52947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52948         (__libc_ifunc_impl_list): Likewise.
52949         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52950         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52951         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52952         multiarch strcpy for PPC64.
52954         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52955         redefine function name.
52956         (_wordcopy_fwd_dest_aligned): Likewise.
52957         (_wordcopy_bwd_aligned): Likewise.
52958         (_wordcopy_bwd_dest_aligned): Likewise.
52959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52960         multiarch implementations.
52961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52962         (__libc_ifunc_impl_list): Likewise.
52963         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52964         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52966         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52967         multiarch wcscpy for PPC64.
52969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52970         multiarch implementations.
52971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52972         (__libc_ifunc_impl_list): Likewise.
52973         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52974         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52975         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52976         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52977         multiarch wcscpy for PPC64.
52979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52980         multiarch implementations.
52981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52982         (__libc_ifunc_impl_list): Likewise.
52983         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52984         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52985         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52986         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52987         multiarch wcsrchr for PPC64.
52989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52990         multiarch implementations.
52991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52992         (__libc_ifunc_impl_list): Likewise.
52993         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52994         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52995         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52996         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52997         multiarch wcschr for PPC64.
52999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53000         multiarch implementations.
53001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53002         (__libc_ifunc_impl_list): Likewise.
53003         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53004         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53005         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53006         multiarch strchrnul for PPC64.
53008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53009         implementations.
53010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53011         (__libc_ifunc_impl_list): Likewise.
53012         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53013         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53014         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53015         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53016         strchr for PPC64.
53018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53019         implementations.
53020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53021         (__libc_ifunc_impl_list): Likewise.
53022         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53023         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53025         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53026         strncmp for PPC64.
53028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53029         multiarch implementations.
53030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53031         (__libc_ifunc_impl_list): Likewise.
53032         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53033         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53034         strncasecmp for PPC64.
53035         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53036         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53037         multiarch strncasecmp_l for PPC64.
53039         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53040         multiarch implementations.
53041         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53042         (__libc_ifunc_impl_list): Likewise.
53043         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53044         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53045         multiarch strcasecmp for PPC64.
53046         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53047         file.
53048         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53049         multiarch strcasecmp_l for PPC64.
53051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53052         implementations.
53053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53054         (__libc_ifunc_impl_list): Likewise.
53055         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53056         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53057         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53058         strnlen for PPC64.
53060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53061         implementations.
53062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53063         (__libc_ifunc_impl_list): Likewise.
53064         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53065         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53066         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53067         strlen for PPC64.
53069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53070         implementations.
53071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53072         (__libc_ifunc_impl_list): Likewise.
53073         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53074         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53075         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53076         rawmemrchr for PPC64.
53078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53079         implementation.
53080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53081         (__libc_ifunc_impl_list): Likewise.
53082         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53083         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53084         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53085         memrchr for PPC64.
53087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53088         implementation.
53089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53090         (__libc_ifunc_impl_list): Likewise.
53091         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53092         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53093         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53094         memchr for PPC64.
53096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53097         implementation.
53098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53099         (__libc_ifunc_impl_list): Likewise.
53100         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53101         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53102         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53103         mempcpy for PPC64.
53105         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53106         avoid cretion of __bzero symbol.
53107         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53108         Likewise.
53109         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53110         Likewise.
53111         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53112         Likewise.
53113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53114         multiarch implementations.
53115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53116         (__libc_ifunc_impl_list): Likewise.
53117         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53118         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53119         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53120         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53121         bzero for PPC32.
53122         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53123         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53124         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53125         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53126         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53127         memset for PPC64.
53128         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53130         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53132         implementations.
53133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53134         (__libc_ifunc_impl_list): Likewise.
53135         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53136         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53137         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53138         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53139         memcmp for PPC64.
53141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53142         multiarch for POWER/PPC64.
53143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53144         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53145         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53146         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53147         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53148         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53149         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53151         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53152         memcpy for PPC64.
53154         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53155         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53156         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53157         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53158         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53159         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53160         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53161         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53162         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53163         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53164         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53165         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53166         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53167         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53168         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53177 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53179         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53181 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53183         * benchtests/Makefile (bench): Add exp2 and log2.
53184         (LDLIBS-bench-exp2): Add -lm.
53185         (LDLIBS-bench-log2): Likewise.
53186         * benchtests/exp2-inputs: New inputs file.
53187         * benchtests/log2-inputs: New inputs file.
53188         * benchtests/log-inputs: Add new inputs.
53189         * benchtests/tan-inputs: Likewise.
53191 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53193         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53194         definition...
53195         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53196         (csloww2): ... from here.
53198         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53199         instead of structures.
53200         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53201         (POLYNOMIAL): Likewise.
53202         (TAYLOR_SLOW): Likewise.
53203         (__sin): Likewise.
53204         (__cos): Likewise.
53205         (slow1): Likewise.
53206         (slow2): Likewise.
53207         (sloww): Likewise.
53208         (sloww1); Likewise.
53209         (sloww2): Likewise.
53210         (bsloww1): Likewise.
53211         (bsloww2): Likewise.
53212         (cslow2): Likewise.
53213         (csloww): Likewise.
53214         (csloww1): Likewise.
53215         (csloww2): Likewise.
53217 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53219         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53220         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53221         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53222         * malloc/hooks.c (realloc_check): Likewise.
53224         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
53225         * malloc/arena.c: Remove PER_THREAD conditional.
53226         [!PER_THREAD]: Remove code.
53227         (ptmalloc_unlock_all2): Likewise.
53228         (ptmalloc_init): Likewise.
53229         (_int_new_arena): Likewise.
53230         (arena_get2): Likewise.
53231         * malloc/hooks.c (__malloc_get_state): Likewise.
53232         (__malloc_set_state): Likewise.
53233         * malloc/malloc.c: Likewise.
53234         (struct malloc_state): Likewise.
53235         (struct malloc_par): Likewise.
53236         (__libc_realloc): Likewise.
53237         (__libc_mallopt): Likewise.
53239 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53241         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
53243 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
53245         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
53246         macro to a function.  Check for zero perturb_byte.
53247         (_int_malloc, _int_free): Remove zero perturb_byte checks.
53249         * malloc/malloc.c: (force_reg): Remove.
53250         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
53251         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
53252         force_reg by atomic_forced_read.
53253         * malloc/arena.c (ptmalloc_init): Likewise.
53254         * malloc/hooks.c (top_check): Likewise.
53256 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53260 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
53262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53264 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
53266         * math/auto-libm-test-in: Add tests of lgamma.
53267         * math/auto-libm-test-out: Regenerated.
53268         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
53269         (M_LOG_2_SQRT_PIl): Likewise.
53270         (lgamma_test_data): Use AUTO_TESTS_f_f1.
53271         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53272         mpfr_f_f1.
53273         (func_calc_desc): Add mpfr_f_f1 union field.
53274         (ARGS1): New macro.
53275         (ARGS2): Likewise.
53276         (ARGS3): Likewise.
53277         (ARGS4): Likewise.
53278         (RET1): Likewise.
53279         (RET2): Likewise.
53280         (CALC): Likewise.
53281         (FUNC): Likewise.
53282         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
53283         (test_functions): Add lgamma.
53284         (calc_generic_results): Handle mpfr_f_f1.
53285         * sysdeps/i386/fpu/libm-test-ulps: Update.
53286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53288 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53290         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
53291         __mpn_add_n for PowerPC64/POWER7.
53292         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
53293         __mpn_sub_n for PowerPC64/POWER7.
53295         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
53296         __mpn_addmul_1 for PowerPC64.
53297         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
53298         __mpn_submul_1 for PowerPC64.
53299         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
53300         for PowerPC64.
53301         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
53302         for PowerPC64.
53304 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
53306         [BZ #15089]
53307         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
53309 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53311         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
53313         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
53314         add multiarch folders.
53315         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
53316         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
53317         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
53318         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
53319         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
53320         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
53321         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
53322         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
53323         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
53324         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
53325         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
53326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
53327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
53328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
53329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
53330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
53331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
53333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53334         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
53335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
53336         New file.
53337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
53338         New file.
53339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
53340         multiarch __ieee754_hypot for PowerPC32.
53341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
53342         New file.
53343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
53344         New file.
53345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
53346         multiarch __ieee754_hypotf for PowerPC32.
53348         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
53349         long_double_symbol only if __logbl is defined.
53350         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
53351         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
53352         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
53353         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
53354         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
53355         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
53356         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
53357         path for implementation.
53358         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
53359         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
53360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
53361         logb, and logbl multiarch implementations for PowerPC32.
53362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
53363         file.
53364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
53365         file.
53366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
53367         multiarch logb for PowerPC32.
53368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
53369         file.
53370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
53371         file.
53372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
53373         multiarch logbf for PowerPC32.
53374         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
53375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
53376         file.
53377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
53378         multiarch logbl implementation for PowerPC32.
53380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
53381         and modff multiarch implementations.
53382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
53383         New file.
53384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
53385         New file.
53386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
53387         multiarch modf for PowerPC32.
53388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
53389         New file.
53390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
53391         New file.
53392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
53393         multiarch modff for PowerPC32.
53395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
53396         and lrintf multiarch implementations.
53397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
53398         New file.
53399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
53400         New file.
53401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
53402         multiarch lrint for PowerPC32.
53403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
53404         file: multiarch lrintf for PowerPC32.
53406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
53407         and lroundf multiarch implementations.
53408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
53409         New file.
53410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
53411         New file.
53412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
53413         New file.
53414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
53415         multiarch lround for PowerPC32.
53416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
53417         file: multiarch lroundf for PowerPC32.
53419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
53420         copysign and copysignf multiarch implementations.
53421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
53422         New file.
53423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
53424         New file.
53425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
53426         file: multiarch copysign for PowerPC32.
53427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
53428         file: multiarch copysignf for PowerPC32.
53430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
53431         and truncf multiarch implementations.
53432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
53433         New file.
53434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
53435         file.
53436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
53437         multiarch trunc for PowerPC32.
53438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
53439         New file.
53440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
53441         New file.
53442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
53443         multiarch truncf for PowerPC32.
53445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
53446         and roundf multiarch implementations.
53447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
53448         New file.
53449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
53450         file.
53451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
53452         multiarch round for PowerPC32.
53453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
53454         New file.
53455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
53456         New file.
53457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
53458         multiarch roundf for PowerPC32.
53460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
53461         and floorf multiarch implementations.
53462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
53463         New file.
53464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
53465         file.
53466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
53467         multiarch floor for PowerPC32.
53468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
53469         New file.
53470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
53471         New file.
53472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
53473         multiarch floorf for PowerPC32.
53475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
53476         and ceilf multiarch implementations.
53477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
53478         New file.
53479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
53480         file.
53481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
53482         multiarch ceil for PowerPC32.
53483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
53484         New file.
53485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
53486         file.
53487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
53488         multiarch ceilf for PowerPC32.
53490         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
53491         is defined.
53492         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
53493         FINITEF is defined.
53494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
53495         and finitef multiarch implementations.
53496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
53497         New file.
53498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
53499         file.
53500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
53501         multiarch finite for PowerPC32.
53502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
53503         New file.
53504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
53505         file: multiarch finitef for PowerPC32.
53507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
53508         and isinff multiarch implementations.
53509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
53510         file.
53511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
53512         file.
53513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
53514         multiarch isinf for PowerPC32.
53515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
53516         New file.
53517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
53518         multiarch isinff for PowerPC32.
53520         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
53521         alias when __isnan is defined.
53522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
53523         and isnanf multiarch implementations.
53524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
53525         file.
53526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
53527         file.
53528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
53529         file.
53530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
53531         file.
53532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
53533         multiarch isnan for PowerPC32.
53534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
53535         New file.
53536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
53537         New file.
53538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
53539         multiarch isnanf for PowerPC32.
53541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
53542         and sqrtf multiarch implementations.
53543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
53544         file.
53545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
53546         file.
53547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
53548         multiarch sqrt for PowerPC32.
53549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
53550         file.
53551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
53552         file.
53553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
53554         multiarch sqrtf for PowerPC32.
53556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
53557         and llroundf multiarch implementations.
53558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
53559         New file.
53560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
53561         New file.
53562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
53563         New file.
53564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
53565         file: multiarch llround for PowerPC32.
53566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
53567         file: multiarch llroundf for PowerPC32.
53569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
53570         multiarch PowerPC32 fpu implementations.
53571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
53572         New file.
53573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
53574         New file.
53575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
53576         multiarch llrint for PowerPC32.
53577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
53578         New file.
53579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
53580         New file.
53581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
53582         file.
53584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
53586         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
53587         file.
53588         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
53589         file.
53590         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
53591         file.
53592         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
53593         multiarch wordcopy for PPC32.
53594         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53595         wordcopy objects.
53596         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53597         (__libc_ifunc_impl_list): Likewise.
53598         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
53599         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
53600         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
53601         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
53602         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
53603         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
53605         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
53606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
53607         file.
53608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
53609         file.
53610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
53611         file.
53612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
53613         multiarch wcscpy for PPC32.
53614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
53615         multiarch objects.
53616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53617         (__libc_ifunc_impl_list): Likewise.
53618         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53619         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53620         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
53621         sysdeps/powerpc/power6/wcscpy.c.
53623         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
53624         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
53625         file.
53626         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
53627         file.
53628         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
53629         file.
53630         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
53631         multiarch wcsrchr for PPC32.
53632         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53633         multiarch objects.
53634         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53635         (__libc_ifunc_impl_list): Likewise.
53636         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
53637         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
53638         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
53639         sysdeps/powerpc/power6/wcsrchr.c.
53641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
53642         file.
53643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
53644         file.
53645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
53646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
53647         multiarch wcschr for PPc32.
53648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
53649         multiarch objects.
53650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53651         (__libc_ifunc_impl_list): Likewise.
53652         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
53653         * sysdeps/powerpc/power6/wcschr.c: ... to here.
53654         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
53655         sysdeps/powerpc/power6/wcschr.c.
53657         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
53658         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
53659         file.
53660         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
53661         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
53662         file: multiarch strchr for PPC32.
53663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
53664         multiarch objects.
53665         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53666         (__libc_ifunc_impl_list): Likewise.
53668         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
53669         name.
53670         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
53671         file.
53672         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
53673         file.
53674         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
53675         multiarch strchrnul for PPC32.
53676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
53677         multiarch objects.
53678         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53679         (__libc_ifunc_impl_list): Likewise.
53681         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
53682         file.
53683         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
53684         multiarch strncasecmp for PPC32.
53685         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
53686         file.
53687         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
53688         multiarch strncasecmp_l for PPC32.
53689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
53690         strncasecmp multiarch objects.
53691         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53692         (__libc_ifunc_impl_list): Likewise.
53694         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
53695         file.
53696         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
53697         multiarch strncasecmp for PPC32.
53698         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
53699         New file.
53700         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
53701         multiarch strcasecmp_l for PPC32.
53702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
53703         multiarch objects.
53704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53705         (__libc_ifunc_impl_list): Likewise.
53707         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
53708         file.
53709         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
53710         file.
53711         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
53712         multiarch strncmp for PPC32.
53713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
53714         multiarch objects.
53715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53716         (__libc_ifunc_impl_list): Likewise.
53718         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
53719         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
53720         file.
53721         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
53722         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
53723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
53724         multiarch objects.
53725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53726         (__libc_ifunc_impl_list): Likewise.
53728         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
53729         file.
53730         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
53731         file.
53732         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
53733         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
53734         multiarch objects.
53735         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53736         (__libc_ifunc_impl_list): Likewise.
53738         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
53739         file.
53740         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
53741         file.
53742         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
53743         multiarch rawmemchr for PPC32.
53744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
53745         multiarch objects.
53746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53747         (__libc_ifunc_impl_list): Likewise.
53749         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
53750         file.
53751         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
53752         file.
53753         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
53754         file: memrchr multiarch for PPC32.
53755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
53756         multiarch objects.
53757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
53758         (__libc_ifunc_impl_list): Likewise.
53760         * string/memchr.c (__memchr): Using macro to redefine symbol name.
53761         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
53762         file.
53763         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
53764         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
53765         multiarch memchr for PPC32.
53766         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
53767         multiarch objects.
53768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53769         (__libc_ifunc_impl_list): Likewise.
53771         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
53772         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
53773         file.
53774         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
53775         file.
53776         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
53777         file: multiarch mempcpy for PPC32.
53778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
53779         multiarch objects.
53780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53781         (__libc_ifunc_impl_list): Likewise.
53783         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
53784         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
53785         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
53786         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
53787         multiarch bzero for PPC32.
53788         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
53789         file.
53790         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
53791         file.
53792         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
53793         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
53794         file: multiarch memset for PPC32.
53795         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
53796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
53797         memset multiarch objects.
53798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53799         (__libc_ifunc_impl_list): Likewise.
53801         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
53802         file.
53803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
53804         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
53805         memcmp for PPC32.
53806         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
53807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
53808         multiarch objects.
53809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53810         (__libc_ifunc_impl_list): Likewise.
53812         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
53813         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
53814         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
53815         file.
53816         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
53817         file.
53818         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
53819         file.
53820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
53821         multiarch memcpy for PPC32.
53822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
53823         multiarch objects.
53824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
53825         (__libc_ifunc_impl_list): Likewise.
53827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
53828         support multiarch for POWER/PPC32.
53829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
53830         Likewise.
53831         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
53832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
53833         Implies file to make multiarch folder appers before the fpu and
53834         default folder for power4 configuration.
53836 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
53838         * scripts/bench.pl: Append volatile keyword to type.
53840 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53842         * sysdeps/sh/sotruss-lib.c: New file.
53843         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
53845 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53849 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
53851         [BZ #6810]
53852         * math/w_tgamma.c: Include <errno.h>.
53853         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
53854         * math/w_tgammaf.c: Include <errno.h>.
53855         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
53856         * math/w_tgammal.c: Include <errno.h>.
53857         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
53858         * math/auto-libm-test-in: Do not allow missing errno on tgamma
53859         underflow.  Add more tgamma tests.
53860         * math/auto-libm-test-out: Regenerated.
53861         * sysdeps/i386/fpu/libm-test-ulps: Update.
53862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53864         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
53865         sin, sinh, tan, tanh, tgamma, y0 and y1.
53866         * math/auto-libm-test-out: Regenerated.
53867         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53868         (TEST_COND_x86): Likewise.
53869         (M_E2l): Remove macro.
53870         (M_E3l): Likewise.
53871         (M_2_SQRT_PIl): Likewise.
53872         (M_SQRT_PIl): Likewise.
53873         (M_1_DIV_El): Likewise.
53874         (log_test_data): Use AUTO_TESTS_f_f.
53875         (log10_test_data): Likewise.
53876         (log1p_test_data): Likewise.
53877         (log2_test_data): Likewise.
53878         (sin_test_data): Likewise.
53879         (sin_tonearest_test_data): Likewise.
53880         (sin_towardzero_test_data): Likewise.
53881         (sin_downward_test_data): Likewise.
53882         (sin_upward_test_data): Likewise.
53883         (sinh_test_data): Likewise.
53884         (sinh_tonearest_test_data): Likewise.
53885         (sinh_towardzero_test_data): Likewise.
53886         (sinh_downward_test_data): Likewise.
53887         (sinh_upward_test_data): Likewise.
53888         (tan_test_data): Likewise.
53889         (tan_tonearest_test_data): Likewise.
53890         (tan_towardzero_test_data): Likewise.
53891         (tan_downward_test_data): Likewise.
53892         (tan_upward_test_data): Likewise.
53893         (tanh_test_data): Likewise.
53894         (tgamma_test_data): Likewise.
53895         (y0_test_data): Likewise.
53896         (y1_test_data): Likewise.
53897         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
53898         (special_real_inputs): Add pi/4.
53899         * sysdeps/i386/fpu/libm-test-ulps: Update.
53900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53902 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53904         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
53905         "longjmp_target" static probes.
53906         (__longjmp): Rename to __longjmp_symbol.
53907         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53908         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
53909         on which longjmp to generate.
53910         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
53911         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
53912         probe.
53913         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53914         (__sigjmp_save): Rename to __sigjmp_save_symbol.
53915         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
53916         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
53917         and __sigjmp_save_symbol based on which sigsetjmp to generated.
53918         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
53920         __longjmp_symbol based on which __longjmp to generate.
53921         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
53922         probe.
53923         (setjmp): Rename to setjmp_symbol.
53924         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53925         (_setjmp): Rename to _setjmp_symbol.
53926         (__sigsetjmp): Rename to __sigsetjmp_symbol.
53927         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
53928         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
53929         which setjmp to generate.
53930         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
53931         "longjmp_target" static probes.
53933 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
53935         * benchtests/README: Add note about output arguments.
53936         * benchtests/bench-sincos.c: Remove file.
53937         * benchtests/sincos-inputs: New file.
53938         * scripts/bench.pl: Identify output arguments and define
53939         static variables for them.
53941         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
53943         [BZ #15941]
53944         * Makefile (INSTALL): Add install-plain.texi as the primary
53945         dependency.
53946         * manual/install-plain.texi: New file.
53947         * manual/install.texi: Include node directive only for
53948         non-plaintext output.
53950 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53952         * stdlib/longlong.h: Update from GCC.
53954         [BZ #6807]
53955         [BZ #15901]
53956         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53957         * math/w_j0f.c (y0f): Likewise.
53958         * math/w_j0l.c (__y0l): Likewise.
53959         * math/w_j1.c (y1): Likewise.
53960         * math/w_j1f.c (y1f): Likewise.
53961         * math/w_j1l.c (__y1l): Likewise.
53962         * math/w_jn.c (yn): Likewise.
53963         * math/w_jnf.c (ynf): Likewise.
53964         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53965         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53966         value for Bessel function domain errors outside _SVID_ mode.
53967         Adjust sign of return value for yn (negative integer, 0).
53968         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53969         by zero in return for negative x and set sign appropriately for
53970         negative n.
53971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53972         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53973         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53974         expectations in error cases.
53975         (y1_test_data): Likewise.
53976         (yn_test_data): Likewise.
53977         * sysdeps/i386/fpu/libm-test-ulps: Update.
53978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53980 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53982         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53983         "64" to "64-v1".  Add "64-v2".
53984         (abi-64-options): Rename to ...
53985         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53986         (abi-64-condition): Rename to ...
53987         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53988         (abi-64-ld-soname): Rename to ...
53989         (abi-64-v1-ld-soname): ... this.
53990         (abi-64-v2-options): Define.
53991         (abi-64-v2-condition): Likewise.
53992         (abi-64-v2-ld-soname): Likewise.
53993         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53994         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53999 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54000             Alan Modra  <amodra@gmail.com>
54002         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54003         New versions for use with the ELFv2 ABI.
54004         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54005         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54006         declaration.
54007         (struct La_ppc64v2_retval): Likewise.
54008         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54009         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54010         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54011         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54012         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54013         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54014         Do not save or restore CR.
54015         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54016         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54017         return values for ELFv2 ABI.  Fix location of FPR return registers.
54018         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54019         updated values for _CALL_ELF == 2.
54020         (La_regs, La_retval, int_retval): Likewise.
54022 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54024         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54025         (FRAME_MIN_SIZE_PARM): Likewise.
54026         (FRAME_BACKCHAIN): Likewise.
54027         (FRAME_CR_SAVE): Likewise.
54028         (FRAME_LR_SAVE): Likewise.
54029         (FRAME_TOC_SAVE): Likewise.
54030         (FRAME_PARM_SAVE): Likewise.
54031         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54032         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54033         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54034         (call_mcount_parm_offset): New macro.
54035         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54036         (PROF): Use symbolic stack frame offsets.
54037         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54038         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54039         Redefine in terms of FRAME_MIN_SIZE.
54040         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54041         (_dl_profile_resolve): Likewise.  Update comment.
54042         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54043         symbols stack frame offsets.
54044         (__sigsetjmp): Likewise.
54045         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54046         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54047         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54048         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54051         (FRAME_BACKCHAIN): Remove.
54052         (FRAME_CR_SAVE): Likewise.
54053         (FRAME_LR_SAVE): Likewise.
54054         (FRAME_COMPILER_DW): Likewise.
54055         (FRAME_LINKER_DW): Likewise.
54056         (FRAME_TOC_SAVE): Likewise.
54057         (FRAME_PARM_SAVE): Likewise.
54058         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54059         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54060         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54062         (CHECK_SP): Use symbolic stack frame offsets.
54063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54064         zone" instead of caller's parameter save area for temp storage.
54065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54066         Likewise.  Also, use symbolic stack frame offsets.
54067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54068         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54069         our own stack frame instead of the caller's.
54070         (__socket): Use symbolic stack frame offsets.
54072 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54073             Alan Modra  <amodra@gmail.com>
54075         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54076         Define.
54077         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54078         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54079         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54080         New function.
54081         (elf_machine_fixup_plt): Call it.
54082         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54083         reloc arguments.
54084         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54085         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54086         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54087         r2 before calling target.
54089 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54090             Alan Modra  <amodra@gmail.com>
54092         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54093         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54094         versions of macros to support ELFv2 ABI.
54095         (LOCALENTRY): New macro.
54096         (ENTRY, EALIGN): Use it.
54097         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54098         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54099         fall through into ENTRY entry point.
54100         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54101         Only define if _CALL_ELF != 2.
54103         (elf_machine_matches_host): Verify ABI version matches.
54104         (RTLD_START): Use LOCALENTRY.
54105         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54106         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54107         (PLT_ENTRY_WORDS): New macro.
54108         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54109         (elf_machine_runtime_setup): Support ELFv2 ABI.
54110         (elf_machine_fixup_plt): Likewise.
54111         (elf_machine_plt_conflict): Likewise.
54112         (resolve_ifunc): Likewise.
54113         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54114         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54115         Likewise.
54116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54117         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54119         (makecontext): Support ELFv2 ABI.
54120         * elf/elf.h (EF_PPC64_ABI): Define.
54122 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54124         * sysdeps/powerpc/powerpc64/sysdep.h
54125         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54126         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54127         (ENTRY) [ASSEMBLER]: ... but instead here ...
54128         (EALIGN) [ASSEMBLER]: ... and here.
54129         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54130         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54131         (ENTRY_2) [!ASSEMBLER]: Use it.
54132         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54133         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54134         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54135         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54136         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54138         Use PPC64_LOAD_FUNCPTR.
54140         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54142 2013-12-04  Alan Modra  <amodra@gmail.com>
54144         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54145         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54146         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54147         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54149         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54150         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54151         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54152         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54153         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54154         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54156 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54159         (__makecontext): Fix incorrect CFI when backtracing out of
54160         context created via makecontext.
54161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54162         (__setcontext): Fix incorrect CFI during switch to new context.
54163         (__novec_setcontext): Likewise.
54165 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54167         [BZ #4772]
54168         * time/strptime_l.c (__strptime_internal): Allow modifiers
54169         in strptime.
54170         * time/tst-strptime.c (day_tests): Add testcase.
54172 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54174         * scripts/bench.pl: Skip over blank lines.
54176 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54178         [BZ #926]
54179         * manual/time.texi (Calendar Time): Clarify what timezone functions
54180         use.
54182 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54186 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54188         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54189         implementation.
54190         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54191         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54192         * debug/memset_chk.c (__memset_chk): Likewise.
54193         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54194         * debug/strncpy_chk.c: Likewise.
54196 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54198         [BZ #15268]
54199         [BZ #15425]
54200         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54201         (__ieee754_exp): For possibly underflowing results, check size of
54202         result and force underflow exception if required.
54203         * math/auto-libm-test-in: Add more tests of exp.
54204         * math/auto-libm-test-out: Regenerated.
54205         * sysdeps/i386/fpu/libm-test-ulps: Update.
54206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54208         [BZ #16283]
54209         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54210         * math/w_exp2f.c (__exp2f): Likewise.
54211         * math/w_exp2l.c (__exp2l): Likewise.
54212         * math/auto-libm-test-in: Do not allow missing errno on exp2
54213         underflow.
54214         * math/auto-libm-test-out: Regenerated.
54216 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54218         [BZ #16274]
54219         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54220         handle filename validation.
54221         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54222         (do_open): Delete.
54224 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54226         [BZ #6786]
54227         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
54228         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
54229         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
54230         <float.h>.
54231         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
54232         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
54233         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54234         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
54235         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54236         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
54237         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
54238         * math/auto-libm-test-in: Don't allow missing errno from erfc.
54239         Add more erfc tests.
54240         * math/auto-libm-test-out: Regenerated.
54241         * sysdeps/i386/fpu/libm-test-ulps: Update.
54242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54244         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
54245         exp2, expm1, j0 and j1.
54246         * math/auto-libm-test-out: Regenerated.
54247         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
54248         (erfc_test_data): Likewise.
54249         (exp_test_data): Likewise.
54250         (exp_tonearest_test_data): Likewise.
54251         (exp_towardzero_test_data): Likewise.
54252         (exp_downward_test_data): Likewise.
54253         (exp_upward_test_data): Likewise.
54254         (exp10_test_data): Likewise.
54255         (exp2_test_data): Likewise.
54256         (expm1_test_data): Likewise.
54257         (j0_test_data): Likewise.
54258         (j1_test_data): Likewise.
54259         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
54260         (input_flag_type): Add flag_xfail_rounding.
54261         (input_flags): Add xfail-rounding.
54262         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
54263         (output_for_one_input_case): Handle flag_xfail_rounding.
54264         * sysdeps/i386/fpu/libm-test-ulps: Update.
54265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54267 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
54269         [BZ #16289]
54270         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
54271         division by 0.
54273 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54275         [BZ #16195]
54276         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
54277         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
54278         (STAP_PROBE0): New macro.
54279         (STAP_PROBE1): Likewise.
54280         (STAP_PROBE2): Likewise.
54281         (STAP_PROBE3): Likewise.
54282         (STAP_PROBE4): Likewise.
54284 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
54286         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
54288 2013-12-02  Steve Ellcey  <sellcey@mips.com>
54290         * benchtests/Makefile (bench): Add sqrt.
54291         (LDLIBS-bench-sqrt): New.
54292         * benchtests/sqrt-input: New.
54294 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
54296         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
54297         (GAIH_EAI): Likewise.
54298         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
54299         (gaih_inet): Likewise.
54300         (getaddrinfo): Don't use GAIH_EAI.
54302         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
54303         (struct gaih): Remove definition.
54305 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54307         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
54308         Use HERRNOP directly.
54310 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54314 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
54316         * math/gen-auto-libm-tests.c (test_functions): Add more
54317         single-argument functions.
54318         (special_fill_pi_2): New function.
54319         (special_fill_minus_pi_2): Likewise.
54320         (special_fill_pi_6): Likewise.
54321         (special_fill_minus_pi_6): Likewise.
54322         (special_fill_pi_3): Likewise.
54323         (special_fill_2pi_3): Likewise.
54324         (special_fill_e): Likewise.
54325         (special_fill_1_e): Likewise.
54326         (special_fill_e_minus_1): Likewise.
54327         (special_real_inputs): Add more special inputs.
54328         (output_for_one_input_case): Do not require ERANGE on underflow to
54329         zero if round-to-nearest result does not underflow to zero, unless
54330         exact results required.
54331         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
54332         atan, atanh, cbrt, cos and cosh.
54333         * math/auto-libm-test-out: Regenerated.
54334         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
54335         (acos_tonearest_test_data): Likewise.
54336         (acos_towardzero_test_data): Likewise.
54337         (acos_downward_test_data): Likewise.
54338         (acos_upward_test_data): Likewise.
54339         (acosh_test_data): Likewise.
54340         (asin_test_data): Likewise.
54341         (asin_tonearest_test_data): Likewise.
54342         (asin_towardzero_test_data): Likewise.
54343         (asin_upward_test_data): Likewise.
54344         (asinh_test_data): Likewise.
54345         (atan_test_data): Likewise.
54346         (atanh_test_data): Likewise.
54347         (cbrt_test_data): Likewise.
54348         (cos_test_data): Likewise.
54349         (cos_tonearest_test_data): Likewise.
54350         (cos_towardzero_test_data): Likewise.
54351         (cos_downward_test_data): Likewise.
54352         (cos_upward_test_data): Likewise.
54353         (cosh_test_data): Likewise.
54354         (cosh_tonearest_test_data): Likewise.
54355         (cosh_towardzero_test_data): Likewise.
54356         (cosh_downward_test_data): Likewise.
54357         (cosh_upward_test_data): Likewise.
54358         * sysdeps/i386/fpu/libm-test-ulps: Update.
54359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54361 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
54363         [BZ #6787]
54364         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
54365         * math/w_exp10f.c (__exp10f): Likewise.
54366         * math/w_exp10l.c (__exp10l): Likewise.
54367         * math/libm-test.inc (exp10_test_data): Add more tests and expect
54368         errno settings in existing tests.
54370         [BZ #14032]
54371         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
54372         precision control set to double precision.
54373         * sysdeps/i386/fpu/w_sqrt.c: New file.
54374         * math/auto-libm-test-in: Add more tests.
54375         * math/auto-libm-test-out: Update.
54377         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
54378         (sqrt_test_tonearest): New function.
54379         (sqrt_towardzero_test_data): New variable.
54380         (sqrt_test_towardzero): New function.
54381         (sqrt_downward_test_data): New variable.
54382         (sqrt_test_downward): New function.
54383         (sqrt_upward_test_data): New variable.
54384         (sqrt_test_upward): New function.
54385         (main): Call the new functions.
54387         * math/gen-auto-libm-tests.c: New file.
54388         * math/auto-libm-test-in: Likewise.
54389         * math/auto-libm-test-out: New generated file.
54390         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
54391         variables.
54392         (%beautify): Add generated representations of zero.
54393         (top level): Set $auto_input and call parse_auto_input.
54394         (beautify): Remove trailing "f" from hex float constants.
54395         (parse_args): Handle XFAIL_TEST.
54396         (convert_condition): New function.
54397         (or_value): Likewise.
54398         (or_cond_value): Likewise.
54399         (generate_testfile): Handle AUTO_TESTS_* lines.
54400         (parse_auto_input): New function.
54401         * math/libm-test.inc (XFAIL_TEST): New macro.
54402         (ERRNO_UNCHANGED): Update value.
54403         (ERRNO_EDOM): Likewise.
54404         (ERRNO_ERANGE): Likewise.
54405         (IGNORE_RESULT): Likewise.
54406         (TEST_COND_flt_32): New macro.
54407         (TEST_COND_dbl_64): Likewise.
54408         (TEST_COND_ldbl_96_intel): Likewise.
54409         (TEST_COND_ldbl_96_m68k): Likewise.
54410         (TEST_COND_ldbl_128): Likewise.
54411         (TEST_COND_ldbl_128ibm): Likewise.
54412         (TEST_COND_long32): Likewise.
54413         (TEST_COND_long64): Likewise.
54414         (TEST_COND_before_rounding): Likewise.
54415         (TEST_COND_after_rounding): Likewise.
54416         (enable_test): Handle XFAIL_TEST flag.
54417         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
54418         with finite results.
54419         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
54420         auto-libm-test-out.
54422 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54423             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54425         [BZ #16214]
54426         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
54427         __tls_get_addr_internal instead of __tls_get_offset in order to
54428         avoid GOT pointer dependency.  Make rtld export
54429         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
54430         __tls_get_addr since we are a __tls_get_offset platform.
54431         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
54432         GOT pointer being set up before.
54433         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
54435 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
54437         * manual/math.texi (Errors in Math Functions): Document accuracy
54438         goals.
54440         [BZ #15004]
54441         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
54442         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
54443         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
54444         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54445         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54446         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54447         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54448         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
54449         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
54450         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54451         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54452         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54453         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54454         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54455         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54456         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
54458         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
54459         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
54460         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
54461         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
54462         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
54463         Likewise.
54464         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
54465         Likewise.
54466         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
54467         Likewise.
54468         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
54469         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
54470         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
54471         atomic-feupdateenv and flt-rounds.
54472         * sysdeps/powerpc/nofpu/Versions (libc): Add
54473         __atomic_feholdexcept, __atomic_feclearexcept,
54474         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
54475         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
54476         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
54477         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
54478         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
54479         here.
54480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
54481         Update.
54483         * manual/arith.texi (FP Exceptions): Document that exceptions may
54484         not be raised when matherr is used.
54485         (Math Error Reporting): Document overflow in directed rounding
54486         modes.  Document that errno may not be set when finite values are
54487         returned on overflow.  Document intent to set errno on underflow
54488         only for underflow to zero.
54490         [BZ #16271]
54491         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
54492         round-to-nearest then adjust result for other rounding modes.
54493         * include/fenv.h (fegetround): Use libm_hidden_proto.
54494         * math/fegetround.c (fegetround): Use libm_hidden_def.
54495         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
54496         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
54497         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54498         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
54499         Likewise.
54500         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
54501         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
54502         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
54503         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
54505 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54507         [BZ #16077]
54508         * nss/Versions (libnss_files): Add
54509         _nss_files_gethostbyname3_r.
54510         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
54511         New function.
54512         (HOST_DB_LOOKUP): Remove macro.
54513         (_nss_files_gethostbyname_r): Implement function without the
54514         HOST_DB_LOOKUP macro.
54515         (_nss_files_gethostbyname2_r): Likewise.
54517 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
54519         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
54521 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
54523         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
54524         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
54525         warning.
54527 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54529         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
54530         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
54531         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
54532         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
54533         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
54534         __fe_nomask_env_priv and attribute_hidden.
54535         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
54536         (libc_feupdateenv_test_ppc): Likewise.
54537         (libc_feresetround_ppc): Likewise.
54538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54539         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
54540         compat_symbol macro.
54541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54542         (__fe_nomask_env): Likewise.
54543         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
54545 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54547         * string/Makefile: Remove ifunc tests.
54548         * string/test-string.h: Define TEST_IFUNC.
54549         * string/test-bcopy-ifunc.c: Remove.
54550         * string/test-bzero-ifunc.c: Likewise.
54551         * string/test-memccpy-ifunc.c: Likewise.
54552         * string/test-memchr-ifunc.c: Likewise.
54553         * string/test-memcmp-ifunc.c: Likewise.
54554         * string/test-memcpy-ifunc.c: Likewise.
54555         * string/test-memmem-ifunc.c: Likewise.
54556         * string/test-memmove-ifunc.c: Likewise.
54557         * string/test-mempcpy-ifunc.c: Likewise.
54558         * string/test-memrchr-ifunc.c: Likewise.
54559         * string/test-memset-ifunc.c: Likewise.
54560         * string/test-rawmemchr-ifunc.c: Likewise.
54561         * string/test-stpcpy-ifunc.c: Likewise.
54562         * string/test-stpncpy-ifunc.c: Likewise.
54563         * string/test-strcasecmp-ifunc.c: Likewise.
54564         * string/test-strcasestr-ifunc.c: Likewise.
54565         * string/test-strcat-ifunc.c: Likewise.
54566         * string/test-strchr-ifunc.c: Likewise.
54567         * string/test-strchrnul-ifunc.c: Likewise.
54568         * string/test-strcmp-ifunc.c: Likewise.
54569         * string/test-strcpy-ifunc.c: Likewise.
54570         * string/test-strcspn-ifunc.c: Likewise.
54571         * string/test-strlen-ifunc.c: Likewise.
54572         * string/test-strncasecmp-ifunc.c: Likewise.
54573         * string/test-strncat-ifunc.c: Likewise.
54574         * string/test-strncmp-ifunc.c: Likewise.
54575         * string/test-strncpy-ifunc.c: Likewise.
54576         * string/test-strnlen-ifunc.c: Likewise.
54577         * string/test-strpbrk-ifunc.c: Likewise.
54578         * string/test-strrchr-ifunc.c: Likewise.
54579         * string/test-strspn-ifunc.c: Likewise.
54580         * string/test-strstr-ifunc.c: Likewise.
54582 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54584         * benchtests/Makefile: Remove ifunc tests.
54585         * benchtests/bench-string.h: Define TEST_IFUNC.
54586         * benchtests/bench-bcopy-ifunc.c: Remove.
54587         * benchtests/bench-bzero-ifunc.c: Likewise.
54588         * benchtests/bench-memccpy-ifunc.c: Likewise.
54589         * benchtests/bench-memchr-ifunc.c: Likewise.
54590         * benchtests/bench-memcmp-ifunc.c: Likewise.
54591         * benchtests/bench-memcpy-ifunc.c: Likewise.
54592         * benchtests/bench-memmem-ifunc.c: Likewise.
54593         * benchtests/bench-memmove-ifunc.c: Likewise.
54594         * benchtests/bench-mempcpy-ifunc.c: Likewise.
54595         * benchtests/bench-memrchr-ifunc.c: Likewise.
54596         * benchtests/bench-memset-ifunc.c: Likewise.
54597         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
54598         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
54599         * benchtests/bench-stpcpy-ifunc.c: Likewise.
54600         * benchtests/bench-stpncpy-ifunc.c: Likewise.
54601         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
54602         * benchtests/bench-strcasestr-ifunc.c: Likewise.
54603         * benchtests/bench-strcat-ifunc.c: Likewise.
54604         * benchtests/bench-strchr-ifunc.c: Likewise.
54605         * benchtests/bench-strchrnul-ifunc.c: Likewise.
54606         * benchtests/bench-strcmp-ifunc.c: Likewise.
54607         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
54608         * benchtests/bench-strcpy-ifunc.c: Likewise.
54609         * benchtests/bench-strcspn-ifunc.c: Likewise.
54610         * benchtests/bench-strlen-ifunc.c: Likewise.
54611         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
54612         * benchtests/bench-strncat-ifunc.c: Likewise.
54613         * benchtests/bench-strncmp-ifunc.c: Likewise.
54614         * benchtests/bench-strncpy-ifunc.c: Likewise.
54615         * benchtests/bench-strnlen-ifunc.c: Likewise.
54616         * benchtests/bench-strpbrk-ifunc.c: Likewise.
54617         * benchtests/bench-strrchr-ifunc.c: Likewise.
54618         * benchtests/bench-strsep-ifunc.c: Likewise.
54619         * benchtests/bench-strspn-ifunc.c: Likewise.
54620         * benchtests/bench-strstr-ifunc.c: Likewise.
54622 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54624         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
54626 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
54628         * resolv/netdb.h: Use __glibc_reserved instead __unused.
54629         * rt/aio.h: Likewise.
54630         * sysdeps/gnu/bits/utmp.h: Likewise.
54631         * sysdeps/gnu/bits/utmpx.h: Likewise.
54632         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
54633         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
54634         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
54635         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
54636         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
54637         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
54638         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
54639         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
54640         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
54641         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
54642         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
54643         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
54644         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
54645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
54646         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54647         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
54648         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
54649         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
54650         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
54651         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
54652         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
54653         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
54654         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
54655         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54656         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
54657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54658         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
54659         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
54660         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
54661         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
54662         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
54663         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
54664         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
54665         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
54666         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
54667         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
54668         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
54669         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
54670         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
54671         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
54672         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
54673         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54675 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
54677         [BZ #16245]
54678         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
54679         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
54681 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
54683         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
54684         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
54685         Likewise.
54687 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54689         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
54690         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
54691         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
54692         (__fesetround): Remove define.
54693         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
54694         rounding and exceptions handling.
54695         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
54696         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
54697         (__fe_nomask_env): Likewise.
54698         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
54699         __fegetround instead of fegetround.
54700         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54701         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
54703 2013-11-21  Roland McGrath  <roland@hack.frob.com>
54705         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
54706         it's there.
54708         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
54710 2013-11-21  Meador Inge  <meadori@codesourcery.com>
54712         [BZ #11157]
54713         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
54714         (encrypt_r): Likewise.
54715         * malloc/obstack.h (obstack_free): Likewise.
54716         * posix/unistd.h (encrypt): Likewise.
54718 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
54720         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
54721         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
54722         DL_CALL_DT_FINI() that call the functions directly.
54723         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
54724         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
54725         * elf/dl-fini.c: Likewise.
54727 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
54729         * malloc/hooks.c (memalign_check): Add alignment rounding.
54730         * malloc/malloc.c (_mid_memalign): New function.
54731         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
54732         Implement by calling _mid_memalign.
54733         * manual/probes.texi (Memory Allocation Probes): Remove
54734         memory_valloc_retry and memory_pvalloc_retry.
54736 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54738         * locale/programs/locarchive.c (open_archive): Add const
54739         qualifier to ARCHIVEFNAME and copy default fname to
54740         DEFAULT_FNAME.
54742         [BZ #15601]
54743         * libio/tst-widetext.input: Rename Oriya to Odia.
54744         * locale/iso-639.def: Likewise.
54746         * manual/probes.texi (Mathematical Function Probes): Add
54747         documentation for sin, cos, asin and acos probes.
54748         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
54749         (__sin32): Add slowasin probe.
54750         (__cos32): Add slowacos probe.
54751         (__mpsin): Add slowsin probe.
54752         (__mpcos): Add slowcos probe.
54754 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
54756         [BZ #15483]
54757         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
54758         thread-local __sim_exceptions_thread and global
54759         __sim_exceptions_global.
54760         (__sim_disabled_exceptions): Change to thread-local
54761         __sim_disabled_exceptions_thread and global
54762         __sim_disabled_exceptions_global.
54763         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54764         and global __sim_round_mode_global.
54765         (__simulate_exceptions): Use thread-local floating-point state and
54766         set global state from it as needed.
54767         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
54768         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
54769         __sim_round_mode_thread.
54770         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
54771         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
54772         and global __sim_exceptions_global.
54773         (__sim_disabled_exceptions): Change to thread-local
54774         __sim_disabled_exceptions_thread and global
54775         __sim_disabled_exceptions_global.
54776         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
54777         and global __sim_round_mode_global.
54778         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
54779         (SIM_SET_GLOBAL): Likewise.
54780         * sysdeps/powerpc/soft-fp/sfp-machine.h
54781         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
54782         __sim_round_mode_thread.
54783         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
54784         __sim_disabled_exceptions_thread.
54785         (__sim_exceptions): Change to __sim_exceptions_thread.
54786         (__sim_disabled_exceptions): Change to
54787         __sim_disabled_exceptions_thread.
54788         (__sim_round_mode): Change to __sim_round_mode_thread.
54789         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
54790         thread-local floating-point state and set global state from it as
54791         needed.
54792         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
54793         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
54794         (__sim_disabled_exceptions): Remove extern declaration.
54795         (feenableexcept): Use thread-local floating-point state and set
54796         global state from it as needed.
54797         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
54798         extern declaration.
54799         (__sim_disabled_exceptions): Likewise.
54800         (__sim_round_mode): Likewise.
54801         (__fegetenv): Use thread-local floating-point state.
54802         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
54803         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
54804         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
54805         floating-point state and set global state from it as needed.
54806         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
54807         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
54808         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
54809         Likewise.
54810         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
54811         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
54812         Likewise.
54813         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
54814         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
54815         Use __sim_round_mode_thread.
54816         * math/test-fenv-tls.c: New file.
54817         * math/Makefile (tests): Add test-fenv-tls.
54818         ($(objpfx)test-fenv-tls): Depend on
54819         $(common-objpfx)nptl/libpthread.so.
54821 2013-11-19  Andreas Schwab  <schwab@suse.de>
54823         * locale/programs/locale.c (show_info): Decode wordarray elements.
54824         * locale/categories.def (LC_MONETARY): Add element for
54825         _NL_MONETARY_CRNCYSTR.
54826         * locale/C-monetary.c (conversion_rate): New variable.
54827         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
54828         element.
54830 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
54832         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
54833         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
54835 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
54837         * elf/Makefile (tst-auxv): New test.
54838         * elf/tst-auxv.c: New
54839         * elf/rtld.c (dl_main): Adjust AT_EXECFN
54841 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
54843         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
54844         (hidden_proto): Caller changed.
54845         (hidden_tls_proto): New macro.
54846         (libc_hidden_tls_proto): Likewise.
54847         (rtld_hidden_tls_proto): Likewise.
54848         (libm_hidden_tls_proto): Likewise.
54849         (libresolv_hidden_tls_proto): Likewise.
54850         (librt_hidden_tls_proto): Likewise.
54851         (libdl_hidden_tls_proto): Likewise.
54852         (libnss_files_hidden_tls_proto): Likewise.
54853         (libnsl_hidden_tls_proto): Likewise.
54854         (libnss_nisplus_hidden_tls_proto): Likewise.
54855         (libutil_hidden_tls_proto): Likewise.
54857 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
54859         [BZ #10253]
54860         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
54861         (decompose_rpath): Defer expansion to fillin_rpath.
54862         (_dl_init_paths): Pass linkmap to fillin_rpath.
54864 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
54866         * benchtests/Makefile: Add strsep.
54867         * benchtests/bench-strsep.c: New file: strsep benchtest.
54868         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
54870 2013-11-18  Andreas Schwab  <schwab@suse.de>
54872         * locale/programs/locale.c (show_info) [case byte]: Check for
54873         '\377' instead of '\177'.
54874         * locale/C-monetary.c (not_available): Always use "\377".
54875         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
54876         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
54877         detect unavailable sign_posn locale elements.
54878         * locale/localeconv.c (__localeconv): For grouping and
54879         mon_grouping handle "\177" and "\377" like no grouping.
54880         (INT_ELEM): New macro.  Use it to set all numeric members.
54881         * locale/programs/ld-monetary.c (monetary_read)
54882         <tok_mon_grouping>: Normalize single -1 to the empty string.
54883         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
54884         Likewise.
54886 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54888         [BZ #16055]
54889         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
54890         when we match (nil).
54891         * stdio-common/tst-sscanf.c (struct test): Add testcase.
54893 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
54895         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
54896         (NO_TEST_INLINE): Update value.
54897         (ERRNO_UNCHANGED): Likewise.
54898         (ERRNO_EDOM): Likewise.
54899         (ERRNO_ERANGE): Likewise.
54900         (IGNORE_RESULT): Likewise.
54901         (check_float_internal): Check signs of NaN results if
54902         TEST_NAN_SIGN used.
54903         (check_complex): Pass TEST_NAN_SIGN flag through to second
54904         check_float_internal call.
54905         (copysign_test_data): Add tests with quiet NaNs as second
54906         argument.  Use TEST_NAN_SIGN.
54907         (fabs_test_data): Add test of negative quiet NaN argument.  Use
54908         TEST_NAN_SIGN.
54909         (signbit_test_data): Add tests of quiet NaN argument.
54910         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
54912         * math/gen-libm-test.pl (show_exceptions): Take extra argument
54913         $ignore_result.
54914         (parse_args): Handle function results specified as IGNORE.
54915         * math/libm-test.inc (IGNORE_RESULT): New macro.
54916         (check_float_internal): Do not check numerical result if flag
54917         IGNORE_RESULT set.
54918         (check_complex): Pass through IGNORE_RESULT to second
54919         check_float_internal call.
54920         (check_int): Do not check numerical result if flag IGNORE_RESULT
54921         set.
54922         (check_long): Likewise.
54923         (check_bool): Likewise.
54924         (check_longlong): Likewise.
54925         (lrint_test_data): Add tests of infinite and NaN arguments.
54926         (lrint_tonearest_test_data): Likewise.
54927         (lrint_towardzero_test_data): Likewise.
54928         (lrint_downward_test_data): Likewise.
54929         (lrint_upward_test_data): Likewise.
54930         (llrint_test_data): Likewise.
54931         (llrint_tonearest_test_data): Likewise.
54932         (llrint_towardzero_test_data): Likewise.
54933         (llrint_downward_test_data): Likewise.
54934         (llrint_upward_test_data): Likewise.
54935         (lround_test_data): Likewise.
54936         (llround_test_data): Likewise.
54938         * math/libm-test.inc (NO_TEST_INLINE): New macro.
54939         (ERRNO_UNCHANGED): Update value.
54940         (ERRNO_EDOM): Likewise.
54941         (ERRNO_ERANGE): Likewise.
54942         (NO_TEST_INLINE_FLOAT): New macro.
54943         (NO_TEST_INLINE_DOUBLE): Likewise.
54944         (enable_test): New function.
54945         (RUN_TEST_f_f): Check enable_test before running test.
54946         (RUN_TEST_2_f): Likewise.
54947         (RUN_TEST_fff_f): Likewise.
54948         (RUN_TEST_c_f): Likewise.
54949         (RUN_TEST_f_f1): Likewise.
54950         (RUN_TEST_fF_f1): Likewise.
54951         (RUN_TEST_fI_f1): Likewise.
54952         (RUN_TEST_ffI_f1): Likewise.
54953         (RUN_TEST_c_c): Likewise.
54954         (RUN_TEST_cc_c): Likewise.
54955         (RUN_TEST_f_i): Likewise.
54956         (RUN_TEST_f_i_tg): Likewise.
54957         (RUN_TEST_ff_i_tg): Likewise.
54958         (RUN_TEST_f_b): Likewise.
54959         (RUN_TEST_f_b_tg): Likewise.
54960         (RUN_TEST_f_l): Likewise.
54961         (RUN_TEST_f_L): Likewise.
54962         (RUN_TEST_fFF_11): Likewise.
54963         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54964         conditionals.
54965         (cosh_test_data): Likewise.
54966         (exp_test_data): Likewise.
54967         (expm1_test_data): Likewise.
54968         (hypot_test_data): Likewise.
54969         (pow_test_data): Likewise.
54970         (sinh_test_data): Likewise.
54971         (tanh_test_data): Likewise.
54972         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54973         flags argument.
54975         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54976         tests with quiet NaN input and output.
54977         (acosh_test_data): Likewise.
54978         (asin_test_data): Likewise.
54979         (asinh_test_data): Likewise.
54980         (atan_test_data): Likewise.
54981         (atanh_test_data): Likewise.
54982         (atan2_test_data): Likewise.
54983         (cbrt_test_data): Likewise.
54984         (cos_test_data): Likewise.
54985         (cosh_test_data): Likewise.
54986         (erf_test_data): Likewise.
54987         (erfc_test_data): Likewise.
54988         (exp_test_data): Likewise.
54989         (exp10_test_data): Likewise.
54990         (exp2_test_data): Likewise.
54991         (expm1_test_data): Likewise.
54992         (hypot_test_data): Likewise.
54993         (j0_test_data): Likewise.
54994         (j1_test_data): Likewise.
54995         (jn_test_data): Likewise.
54996         (lgamma_test_data): Likewise.
54997         (log_test_data): Likewise.
54998         (log10_test_data): Likewise.
54999         (log1p_test_data): Likewise.
55000         (log2_test_data): Likewise.
55001         (pow_test_data): Likewise.
55002         (scalb_test_data): Likewise.
55003         (sin_test_data): Likewise.
55004         (sincos_test_data): Likewise.
55005         (sinh_test_data): Likewise.
55006         (tan_test_data): Likewise.
55007         (tanh_test_data): Likewise.
55008         (tgamma_test_data): Likewise.
55009         (y0_test_data): Likewise.
55010         (y1_test_data): Likewise.
55011         (yn_test_data): Likewise.
55013         [BZ #16167]
55014         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55015         argument being NaN and avoid computations with second argument in
55016         that case.
55017         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55018         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55019         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55021 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55023         * locale/iso-639.def: Add Chitwani Tharu (the).
55025 2013-11-14  Andreas Schwab  <schwab@suse.de>
55027         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55028         word instead of empty string.
55030 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55033         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55035         (__fe_nomask_env): Likewise.
55037 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55039         * benchtests/bench-timing.h: Include time.h.
55041 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55043         [BZ #15997]
55044         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55045         to 3.4.0 for x32.
55046         * sysdeps/unix/sysv/linux/configure: Regenerated.
55048 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55050         [BZ #16151]
55051         * stdlib/strtod_l.c (round_and_return): Do not consider
55052         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55053         exponent one less than half the least subnormal exponent.
55054         * stdlib/test-strtod-round-data: Add more tests.
55055         * stdlib/tst-strtod-round.c (tests): Regenerated.
55057 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55059         [BZ #14143]
55060         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55061         (__fe_mask_env): Likewise.
55062         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55063         libm_hidden_proto and add function prototype.
55064         (__fe_mask_env): Add function prototype.
55065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55066         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55068         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55070         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55072 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55074         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55075         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55077 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55079         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55080         of htab_find_slot().
55082 2013-11-11  David S. Miller  <davem@davemloft.net>
55084         [BZ #16150]
55085         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55086         symbol in the non-vis3 case in static builds.
55087         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55088         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55089         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55090         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55092 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55094         [BZ #387]
55095         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55096         it is empty.
55098 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55100         * benchtests/Makefile: Add bench-strtod.
55101         * benchtests/bench-strtod.c: New file: strtod benchtest
55103 2013-11-11  Andreas Schwab  <schwab@suse.de>
55105         [BZ #16153]
55106         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55107         terminating NUL in key length.
55109 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55111         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55112         Add artificial ODP entry for vDSO symbol for PPC64.
55113         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55114         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55116 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55118         [BZ #15374]
55119         * nss/getent.c (services_keys): Recognize services starting with digit.
55121 2013-11-06  David S. Miller  <davem@davemloft.net>
55123         [BZ #15985]
55124         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55125         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55127 2013-11-06  Will Newton  <will.newton@linaro.org>
55129         * manual/memory.texi (Malloc Examples): Remove register
55130         keyword from examples.
55132 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55134         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55136 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55138         [BZ #6981]
55139         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55140         depending on [__GCC_IEC_559 > 0].
55141         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55142         depending on [__GCC_IEC_559_COMPLEX > 0].
55144 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55146         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55147         to iso-639.def.
55149 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55151         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55153 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55155         [BZ #16112]
55156         * malloc/malloc (malloc_info): Do not handle first bin as
55157         special case.
55159 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55161         * locale/iso-639.def: Add Central Nahuatl (nhn).
55163 2013-11-01  Bruno Haible  <bruno@clisp.org>
55165         [BZ #7003]
55166         * manual/math.texi (BSD Random): Specify range upper bound as
55167         in POSIX.
55169 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55171         * locale/iso-639.def: Add Meadow Mari (mhr).
55173 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55175         [BZ #14752], [BZ #15763]
55176         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55177         Validate name.
55178         * rt/tst_shm.c: Add test for escaping directory.
55180 2013-10-31  Andreas Schwab  <schwab@suse.de>
55182         [BZ #15917]
55183         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55184         followed by 'x' as part of digit sequence.
55185         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55187 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55189         [BZ #16037]
55190         * configure.ac: allow GNU Make 4.0 and greater.
55191         * configure: Regenerated.
55193 2013-10-30  Will Newton  <will.newton@linaro.org>
55195         [BZ #16038]
55196         * malloc/hooks.c (memalign_check): Limit alignment to the
55197         maximum representable power of two.
55198         * malloc/malloc.c (__libc_memalign): Likewise.
55199         * malloc/tst-memalign.c (do_test): Add test for very
55200         large alignment values.
55201         * malloc/tst-posix_memalign.c (do_test): Likewise.
55203 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55205         [BZ #11087]
55206         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55207         (munmap_chunk): Likewise.
55208         (mremap_chunk): Likewise.
55210 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55212         [BZ #15799]
55213         * stdlib/div.c (div): Remove obsolete code.
55214         * stdlib/ldiv.c (ldiv): Likewise.
55215         * stdlib/lldiv.c (lldiv): Likewise.
55217 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55219         [BZ #16071]
55220         * nss/nss_files/files-XXX.c (get_contents_ret): New
55221         enumerator.
55222         (get_contents): New function.
55223         (internal_getent): Use it.  Expand size of LINEBUFLEN.
55225 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
55227         * configure.in: Moved to ...
55228         * configure.ac: ... here. Change reference to configure.in
55229         to configure.ac.
55230         * sysdeps/arm/preconfigure.ac: ... here.
55231         configure.in to configure.ac.
55232         * sysdeps/gnu/configure.in: Moved to ...
55233         * sysdeps/gnu/configure.ac: ... here.
55234         * sysdeps/i386/configure.in: Moved to ...
55235         * sysdeps/i386/configure.ac: ... here.
55236         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
55237         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
55238         * sysdeps/mach/configure.in: Moved to ...
55239         * sysdeps/mach/configure.ac: ... here.
55240         * sysdeps/mach/hurd/configure.in: Moved to ...
55241         * sysdeps/mach/hurd/configure.ac: ... here.
55242         * sysdeps/powerpc/configure.in: Moved to ...
55243         * sysdeps/powerpc/configure.ac: ... here.
55244         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
55245         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
55246         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
55247         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
55248         * sysdeps/s390/s390-32/configure.in: Moved to ...
55249         * sysdeps/s390/s390-32/configure.ac: ... here.
55250         * sysdeps/s390/s390-64/configure.in: Moved to ...
55251         * sysdeps/s390/s390-64/configure.ac: ... here.
55252         * sysdeps/sh/configure.in: Moved to ...
55253         * sysdeps/sh/configure.ac: ... here.
55254         * sysdeps/sparc/configure.in: Moved to ...
55255         * sysdeps/sparc/configure.ac: ... here.
55256         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
55257         * sysdeps/unix/sysv/linux/configure.ac: ... here.
55258         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
55259         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
55260         * sysdeps/x86_64/configure.in: Moved to ...
55261         * sysdeps/x86_64/configure.ac: ... here.
55262         * sysdeps/x86_64/preconfigure.in: Moved to ...
55263         * sysdeps/x86_64/preconfigure.ac: ... here.
55264         * aclocal.m4: Change reference to configure.in to configure.ac.
55265         * config.h.in: Likewise.
55266         * manual/install.texi: Likewise.
55267         * manual/maint.texi: Likewise.
55268         * Makefile: Likewise.
55269         * malloc/Makefile: Likewise.
55270         * nscd/Makefile: Likewise.
55271         * Makeconfig: Change reference to configure.in and
55272         preconfigure.in to configure.ac and preconfigure.ac
55273         respectively.
55274         * INSTALL: Regenerated.
55275         * configure: Likewise.
55276         * sysdeps/gnu/configure: Likewise.
55277         * sysdeps/i386/configure: Likewise.
55278         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
55279         * sysdeps/mach/configure: Likewise.
55280         * sysdeps/mach/hurd/configure: Likewise.
55281         * sysdeps/powerpc/configure: Likewise.
55282         * sysdeps/powerpc/powerpc32/configure: Likewise.
55283         * sysdeps/powerpc/powerpc64/configure: Likewise.
55284         * sysdeps/s390/s390-32/configure: Likewise.
55285         * sysdeps/s390/s390-64/configure: Likewise.
55286         * sysdeps/sh/configure: Likewise.
55287         * sysdeps/sparc/configure: Likewise.
55288         * sysdeps/unix/sysv/linux/configure: Likewise.
55289         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
55290         * sysdeps/x86_64/configure: Likewise.
55291         * sysdeps/x86_64/preconfigure: Likewise.
55293 2013-10-29  Andreas Schwab  <schwab@suse.de>
55295         * stdio-common/Makefile (tst-swscanf-ENV): Define.
55297 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55299         * benchtests/pow-inputs: Add new inputs.
55301         * benchtests/exp-inputs: Add new inputs.
55303         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
55304         conditional check for return value.
55305         (__cos32): Likewise.
55307 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55309         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
55310         to provide a boost for large inputs with word alignment.
55311         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
55312         implementation based on optimized PPC64 strcpy.
55313         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
55314         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
55315         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
55316         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
55318 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55320         [BZ #2801]
55321         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
55323 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55325         [BZ #14876]
55326         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
55327         * time/tst-strptime.c (day_tests): Add testcase.
55329 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
55331         [BZ #14029]
55332         * manual/pattern.texi: Acknowledge that fnmatch can fail.
55334 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
55336         [BZ #16074]
55337         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
55338         MAP_FAILED on error.
55340 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55342         [BZ #16072]
55343         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
55344         heap for large requests.
55346 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
55348         [BZ #9954]
55349         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
55350         result if the result has no associated interface.
55351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
55352         interface for all 127.X.Y.Z addresses.
55354 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
55356         * locale/iso-639.def: Add Ligurian (lij)
55358 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
55360         [BZ #15825]
55361         * sunrpc/rpc_main.c: Document rpcgen -5.
55363 2013-10-19  Michael Stahl  <mstahl@redhat.com>
55365         * elf/rtld.c (do_preload): Print the reason why preloading failed.
55367 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55369         [BZ #10278]
55370         * posix/glob.c: Match only directories when trailing slash is present.
55371         * posix/tst-gnuglob.c (my_opendir): Do not open files.
55372         (main): Add testcase.
55374 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
55376         [BZ #15670]
55377         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
55379 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
55381         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
55382         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
55383         AUTH_DES and cindex for FIPS 140-2.
55384         (DES Encryption): Add cindex FIPS 46-3.
55386         * locale/locarchive.h (struct locarhandle): Add fname.
55387         * locale/programs/localedef.c (main): Pass ARGV[remaining]
55388         if an optional argument was specified to --list-archive,
55389         otherwise NULL.
55390         * locale/programs/locarchive.c (show_archive_content): Take new
55391         argument fname and pass it via ah.fname to open_archive.
55392         * locale/programs/localedef.h: Update decl.
55393         (open_archive): If AH->fname is non-null, open that file
55394         rather than the default file name, and don't ignore ENOENT.
55395         (create_archive): Set AH.fname to NULL.
55396         (delete_locales_from_archive): Likewise.
55397         (add_locales_to_archive): Likewise.
55398         * locale/programs/locfile.c (write_all_categories): Likewise.
55400 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
55401             Aldy Hernandez  <aldyh@redhat.com>
55403         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
55404         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
55405         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
55406         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
55407         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
55408         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
55409         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
55410         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
55411         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
55412         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
55413         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
55414         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
55415         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
55416         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
55417         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
55418         Likewise.
55419         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
55420         Likewise.
55421         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
55422         Likewise.
55423         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
55424         Likewise.
55425         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
55426         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
55427         Likewise.
55428         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
55429         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
55430         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
55431         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
55432         Likewise.
55433         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
55434         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
55435         * sysdeps/powerpc/preconfigure: Likewise.
55436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
55437         Likewise.
55438         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
55439         Replace contents of file by #include of <fenv_libc.h>.
55440         * sysdeps/powerpc/soft-fp/sfp-machine.h
55441         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
55442         and <sys/prctl.h>.
55443         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
55444         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
55445         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
55446         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
55447         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
55448         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
55449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
55450         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
55451         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
55452         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
55453         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
55454         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
55455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55456         Allow copysignl PLT reference to be missing.
55458 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
55459             Joseph Myers  <joseph@codesourcery.com
55461         [BZ #15948]
55462         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
55463         single character.
55464         (add_to_tablewc): Assert sequence of wide characters is nonempty.
55466 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55468         * elf/tst-tls-dlinfo.c: Don't include tls.h.
55469         * elf/tst-tls1.c: Likewise.
55470         * elf/tst-tls10.h: Likewise.
55471         * elf/tst-tls14.c: Likewise.
55472         * elf/tst-tls2.c: Likewise.
55473         * elf/tst-tls3.c: Likewise.
55474         * elf/tst-tls4.c: Likewise.
55475         * elf/tst-tls5.c: Likewise.
55476         * elf/tst-tls6.c: Likewise.
55477         * elf/tst-tls7.c: Likewise.
55478         * elf/tst-tls8.c: Likewise.
55479         * elf/tst-tls9.c: Likewise.
55480         * elf/tst-tlsmod1.c: Likewise.
55481         * elf/tst-tlsmod13.c: Likewise.
55482         * elf/tst-tlsmod13a.c: Likewise.
55483         * elf/tst-tlsmod14a.c: Likewise.
55484         * elf/tst-tlsmod16a.c: Likewise.
55485         * elf/tst-tlsmod16b.c: Likewise.
55486         * elf/tst-tlsmod2.c: Likewise.
55487         * elf/tst-tlsmod3.c: Likewise.
55488         * elf/tst-tlsmod4.c: Likewise.
55489         * elf/tst-tlsmod5.c: Likewise.
55490         * elf/tst-tlsmod6.c: Likewise.
55492 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
55494         [BZ #12486]
55495         * malloc/malloc.c: remove checks for statistics.
55497 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55499         [BZ #15277]
55500         * inet/inet_net.c (inet_network): Detect additional invalid strings.
55501         * inet/tst-network.c: Add testcase.
55503 2013-10-17  Andreas Schwab  <schwab@suse.de>
55505         [BZ #15218]
55506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
55507         to determine canonical name.
55509 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
55511         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
55512         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
55513         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55514         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55515         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55516         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55517         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55518         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55519         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55520         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55521         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55522         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55523         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55524         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55525         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55526         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55527         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55528         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55529         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55530         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55531         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55532         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55533         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55534         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
55535         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
55536         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55537         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55538         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
55539         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55540         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
55541         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55542         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55543         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55544         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55545         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55546         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55547         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55548         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55549         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55550         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55551         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55552         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55553         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55554         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55555         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55556         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55557         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55558         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55559         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55560         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55561         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55562         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55563         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55564         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55565         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55566         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55567         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55568         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55570 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
55572         [BZ #16041]
55573         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
55574         make result into a quiet NaN.
55576 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
55578         * soft-fp/adddf3.c: Fix horizontal whitespace.
55579         * soft-fp/addsf3.c: Likewise.
55580         * soft-fp/addtf3.c: Likewise.
55581         * soft-fp/divdf3.c: Likewise.
55582         * soft-fp/divsf3.c: Likewise.
55583         * soft-fp/divtf3.c: Likewise.
55584         * soft-fp/double.h: Likewise.
55585         * soft-fp/eqdf2.c: Likewise.
55586         * soft-fp/eqsf2.c: Likewise.
55587         * soft-fp/eqtf2.c: Likewise.
55588         * soft-fp/extenddftf2.c: Likewise.
55589         * soft-fp/extended.h: Likewise.
55590         * soft-fp/extendsfdf2.c: Likewise.
55591         * soft-fp/extendsftf2.c: Likewise.
55592         * soft-fp/extendxftf2.c: Likewise.
55593         * soft-fp/fixdfdi.c: Likewise.
55594         * soft-fp/fixdfsi.c: Likewise.
55595         * soft-fp/fixdfti.c: Likewise.
55596         * soft-fp/fixsfdi.c: Likewise.
55597         * soft-fp/fixsfsi.c: Likewise.
55598         * soft-fp/fixsfti.c: Likewise.
55599         * soft-fp/fixtfdi.c: Likewise.
55600         * soft-fp/fixtfsi.c: Likewise.
55601         * soft-fp/fixtfti.c: Likewise.
55602         * soft-fp/fixunsdfdi.c: Likewise.
55603         * soft-fp/fixunsdfsi.c: Likewise.
55604         * soft-fp/fixunsdfti.c: Likewise.
55605         * soft-fp/fixunssfdi.c: Likewise.
55606         * soft-fp/fixunssfsi.c: Likewise.
55607         * soft-fp/fixunssfti.c: Likewise.
55608         * soft-fp/fixunstfdi.c: Likewise.
55609         * soft-fp/fixunstfsi.c: Likewise.
55610         * soft-fp/fixunstfti.c: Likewise.
55611         * soft-fp/floatdidf.c: Likewise.
55612         * soft-fp/floatdisf.c: Likewise.
55613         * soft-fp/floatditf.c: Likewise.
55614         * soft-fp/floatsidf.c: Likewise.
55615         * soft-fp/floatsisf.c: Likewise.
55616         * soft-fp/floatsitf.c: Likewise.
55617         * soft-fp/floattidf.c: Likewise.
55618         * soft-fp/floattisf.c: Likewise.
55619         * soft-fp/floattitf.c: Likewise.
55620         * soft-fp/floatundidf.c: Likewise.
55621         * soft-fp/floatundisf.c: Likewise.
55622         * soft-fp/floatunditf.c: Likewise.
55623         * soft-fp/floatunsidf.c: Likewise.
55624         * soft-fp/floatunsisf.c: Likewise.
55625         * soft-fp/floatunsitf.c: Likewise.
55626         * soft-fp/floatuntidf.c: Likewise.
55627         * soft-fp/floatuntisf.c: Likewise.
55628         * soft-fp/floatuntitf.c: Likewise.
55629         * soft-fp/fmadf4.c: Likewise.
55630         * soft-fp/fmasf4.c: Likewise.
55631         * soft-fp/fmatf4.c: Likewise.
55632         * soft-fp/gedf2.c: Likewise.
55633         * soft-fp/gesf2.c: Likewise.
55634         * soft-fp/getf2.c: Likewise.
55635         * soft-fp/ledf2.c: Likewise.
55636         * soft-fp/lesf2.c: Likewise.
55637         * soft-fp/letf2.c: Likewise.
55638         * soft-fp/muldf3.c: Likewise.
55639         * soft-fp/mulsf3.c: Likewise.
55640         * soft-fp/multf3.c: Likewise.
55641         * soft-fp/negdf2.c: Likewise.
55642         * soft-fp/negsf2.c: Likewise.
55643         * soft-fp/negtf2.c: Likewise.
55644         * soft-fp/op-1.h: Likewise.
55645         * soft-fp/op-2.h: Likewise.
55646         * soft-fp/op-4.h: Likewise.
55647         * soft-fp/op-8.h: Likewise.
55648         * soft-fp/op-common.h: Likewise.
55649         * soft-fp/quad.h: Likewise.
55650         * soft-fp/single.h: Likewise.
55651         * soft-fp/soft-fp.h: Likewise.
55652         * soft-fp/sqrtdf2.c: Likewise.
55653         * soft-fp/sqrtsf2.c: Likewise.
55654         * soft-fp/sqrttf2.c: Likewise.
55655         * soft-fp/subdf3.c: Likewise.
55656         * soft-fp/subsf3.c: Likewise.
55657         * soft-fp/subtf3.c: Likewise.
55658         * soft-fp/truncdfsf2.c: Likewise.
55659         * soft-fp/trunctfdf2.c: Likewise.
55660         * soft-fp/trunctfsf2.c: Likewise.
55661         * soft-fp/trunctfxf2.c: Likewise.
55662         * soft-fp/unorddf2.c: Likewise.
55663         * soft-fp/unordsf2.c: Likewise.
55664         * soft-fp/unordtf2.c: Likewise.
55666 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
55668         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
55669         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
55671 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
55673         * elf/dl-libc.c: Clear initfini list after freeing.
55675 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
55677         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
55678         * soft-fp/addsf3.c: Likewise.
55679         * soft-fp/addtf3.c: Likewise.
55680         * soft-fp/divdf3.c: Likewise.
55681         * soft-fp/divsf3.c: Likewise.
55682         * soft-fp/divtf3.c: Likewise.
55683         * soft-fp/double.h: Likewise.
55684         * soft-fp/eqdf2.c: Likewise.
55685         * soft-fp/eqsf2.c: Likewise.
55686         * soft-fp/eqtf2.c: Likewise.
55687         * soft-fp/extenddftf2.c: Likewise.
55688         * soft-fp/extended.h: Likewise.
55689         * soft-fp/extendsfdf2.c: Likewise.
55690         * soft-fp/extendsftf2.c: Likewise.
55691         * soft-fp/extendxftf2.c: Likewise.
55692         * soft-fp/fixdfdi.c: Likewise.
55693         * soft-fp/fixdfsi.c: Likewise.
55694         * soft-fp/fixdfti.c: Likewise.
55695         * soft-fp/fixsfdi.c: Likewise.
55696         * soft-fp/fixsfsi.c: Likewise.
55697         * soft-fp/fixsfti.c: Likewise.
55698         * soft-fp/fixtfdi.c: Likewise.
55699         * soft-fp/fixtfsi.c: Likewise.
55700         * soft-fp/fixtfti.c: Likewise.
55701         * soft-fp/fixunsdfdi.c: Likewise.
55702         * soft-fp/fixunsdfsi.c: Likewise.
55703         * soft-fp/fixunsdfti.c: Likewise.
55704         * soft-fp/fixunssfdi.c: Likewise.
55705         * soft-fp/fixunssfsi.c: Likewise.
55706         * soft-fp/fixunssfti.c: Likewise.
55707         * soft-fp/fixunstfdi.c: Likewise.
55708         * soft-fp/fixunstfsi.c: Likewise.
55709         * soft-fp/fixunstfti.c: Likewise.
55710         * soft-fp/floatdidf.c: Likewise.
55711         * soft-fp/floatdisf.c: Likewise.
55712         * soft-fp/floatditf.c: Likewise.
55713         * soft-fp/floatsidf.c: Likewise.
55714         * soft-fp/floatsisf.c: Likewise.
55715         * soft-fp/floatsitf.c: Likewise.
55716         * soft-fp/floattidf.c: Likewise.
55717         * soft-fp/floattisf.c: Likewise.
55718         * soft-fp/floattitf.c: Likewise.
55719         * soft-fp/floatundidf.c: Likewise.
55720         * soft-fp/floatundisf.c: Likewise.
55721         * soft-fp/floatunsidf.c: Likewise.
55722         * soft-fp/floatunsisf.c: Likewise.
55723         * soft-fp/floatuntidf.c: Likewise.
55724         * soft-fp/floatuntisf.c: Likewise.
55725         * soft-fp/floatuntitf.c: Likewise.
55726         * soft-fp/fmadf4.c: Likewise.
55727         * soft-fp/fmasf4.c: Likewise.
55728         * soft-fp/fmatf4.c: Likewise.
55729         * soft-fp/gedf2.c: Likewise.
55730         * soft-fp/gesf2.c: Likewise.
55731         * soft-fp/getf2.c: Likewise.
55732         * soft-fp/ledf2.c: Likewise.
55733         * soft-fp/lesf2.c: Likewise.
55734         * soft-fp/letf2.c: Likewise.
55735         * soft-fp/muldf3.c: Likewise.
55736         * soft-fp/mulsf3.c: Likewise.
55737         * soft-fp/multf3.c: Likewise.
55738         * soft-fp/negdf2.c: Likewise.
55739         * soft-fp/negsf2.c: Likewise.
55740         * soft-fp/negtf2.c: Likewise.
55741         * soft-fp/op-1.h: Likewise.
55742         * soft-fp/op-2.h: Likewise.
55743         * soft-fp/op-4.h: Likewise.
55744         * soft-fp/op-8.h: Likewise.
55745         * soft-fp/op-common.h: Likewise.
55746         * soft-fp/quad.h: Likewise.
55747         * soft-fp/single.h: Likewise.
55748         * soft-fp/soft-fp.h: Likewise.
55749         * soft-fp/sqrtdf2.c: Likewise.
55750         * soft-fp/sqrtsf2.c: Likewise.
55751         * soft-fp/sqrttf2.c: Likewise.
55752         * soft-fp/subdf3.c: Likewise.
55753         * soft-fp/subsf3.c: Likewise.
55754         * soft-fp/subtf3.c: Likewise.
55755         * soft-fp/truncdfsf2.c: Likewise.
55756         * soft-fp/trunctfdf2.c: Likewise.
55757         * soft-fp/trunctfsf2.c: Likewise.
55758         * soft-fp/trunctfxf2.c: Likewise.
55759         * soft-fp/unorddf2.c: Likewise.
55760         * soft-fp/unordsf2.c: Likewise.
55761         * soft-fp/unordtf2.c: Likewise.
55763 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
55765         [BZ #15672]
55766         * misc/error.c (error_tail): Fix possible buffer overflow.
55768 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
55770         [BZ #13028]
55771         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
55772         address.
55774 2013-10-14  P. J. McDermott  <pj@pehjota.net>
55776         [BZ #832]
55777         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
55778         testing pipefail option.
55780 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55782         * soft-fp/double.h: Indent preprocessor directives inside #if.
55783         * soft-fp/extended.h: Likewise.
55784         * soft-fp/op-2.h: Likewise.
55785         * soft-fp/op-4.h: Likewise.
55786         * soft-fp/op-common.h: Likewise.
55787         * soft-fp/quad.h: Likewise.
55788         * soft-fp/single.h: Likewise.
55789         * soft-fp/soft-fp.h: Likewise.
55791 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
55793         * iconv/iconv_prog.c: Fix typos.
55794         * stdio-common/psiginfo-data.h: Likewise.
55796 2013-10-12   Reuben Thomas <rrt@sc3d.org>
55798         [BZ #15764]
55799         * locale/setlocale.c: Fix typo.
55801 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
55803         [BZ #16036]
55804         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
55805         signaling NaN arguments.
55806         * soft-fp/unordsf2.c (__unordsf2): Likewise.
55807         * soft-fp/unordtf2.c (__unordtf2): Likewise.
55809         [BZ #14910]
55810         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
55811         unordered operands.
55812         * soft-fp/gesf2.c (__gesf2): Likewise.
55813         * soft-fp/getf2.c (__getf2): Likewise.
55814         * soft-fp/ledf2.c (__ledf2): Likewise.
55815         * soft-fp/lesf2.c (__lesf2): Likewise.
55816         * soft-fp/letf2.c (__letf2): Likewise.
55818         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
55819         * soft-fp/eqsf2.c (__eqsf2): Likewise.
55820         * soft-fp/eqtf2.c (__eqtf2): Likewise.
55821         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
55822         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
55823         * soft-fp/fixdfti.c (__fixdfti): Likewise.
55824         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
55825         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
55826         * soft-fp/fixsfti.c (__fixsfti): Likewise.
55827         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
55828         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
55829         * soft-fp/fixtfti.c (__fixtfti): Likewise.
55830         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
55831         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
55832         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
55833         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
55834         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
55835         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
55836         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
55837         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
55838         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
55839         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
55840         * soft-fp/floatdisf.c (__floatdisf): Likewise.
55841         * soft-fp/floatsisf.c (__floatsisf): Likewise.
55842         * soft-fp/floattidf.c (__floattidf): Likewise.
55843         * soft-fp/floattisf.c (__floattisf): Likewise.
55844         * soft-fp/floattitf.c (__floattitf): Likewise.
55845         * soft-fp/floatundidf.c (__floatundidf): Likewise.
55846         * soft-fp/floatundisf.c (__floatundisf): Likewise.
55847         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
55848         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
55849         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
55850         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
55851         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
55852         * soft-fp/gesf2.c (__gesf2): Likewise.
55853         * soft-fp/getf2.c (__getf2): Likewise.
55854         * soft-fp/ledf2.c (__ledf2): Likewise.
55855         * soft-fp/lesf2.c (__lesf2): Likewise.
55856         * soft-fp/letf2.c (__letf2): Likewise.
55858         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
55859         Undefine and redefine.
55860         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
55861         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
55862         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
55863         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
55864         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55865         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
55866         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55867         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
55868         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55869         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
55870         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55871         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
55872         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55873         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
55874         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
55876         [BZ #16032]
55877         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
55878         without decrementing exponent if mantissa >= that for the
55879         denominator, not >.
55880         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
55881         denominator, not >.  Decrement exponent in < case instead of
55882         incrementing in >= case.
55883         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
55884         without decrementing exponent if mantissa >= that for the
55885         denominator, not >.
55887         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
55888         computing saturated result for unsigned overflow.
55890 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55891             Jeff Law  <law@redhat.com>
55893         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
55894         (atan2Mp): Add systemtap probe marker.
55895         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
55896         (__ieee754_log): Add systemtap probe marker.
55897         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
55898         (atanMp): Add systemtap probe marker.
55899         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
55900         (tanMp): Add systemtap probe marker.
55901         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
55902         (__slowexp): Add systemtap probe marker.
55903         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
55904         (__slowpow): Add systemtap probe marker.
55905         * manual/probes.texi: Document probes.
55907 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
55909         [BZ #15362]
55910         * libio/fileops.c (_IO_new_file_write): Return count of bytes
55911         written.
55912         (_IO_new_file_xsputn): Don't return EOF if nothing has been
55913         written.
55914         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
55915         written to buffer but not flushed.
55916         * libio/iofwrite_u.c:  Likewise.
55917         * libio/iopadn.c:  Return bytes returned even if EOF was
55918         encountered.
55919         * libio/iowpadn.c:  Likewise.
55920         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
55921         if _IO_padn does not write the whole buffer.
55922         [!COMPILE_WPRINTF] (PAD): Likewise.
55924 2013-10-10  David S. Miller  <davem@davemloft.net>
55926         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
55927         directory block.
55929 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55931         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
55932         instead of FSF address.
55933         * soft-fp/fixdfti.c: Likewise.
55934         * soft-fp/fixsfti.c: Likewise.
55935         * soft-fp/fixtfti.c: Likewise.
55936         * soft-fp/fixunsdfti.c: Likewise.
55937         * soft-fp/fixunssfti.c: Likewise.
55938         * soft-fp/fixunstfti.c: Likewise.
55939         * soft-fp/floattidf.c: Likewise.
55940         * soft-fp/floattisf.c: Likewise.
55941         * soft-fp/floattitf.c: Likewise.
55942         * soft-fp/floatuntidf.c: Likewise.
55943         * soft-fp/floatuntisf.c: Likewise.
55944         * soft-fp/floatuntitf.c: Likewise.
55945         * soft-fp/trunctfxf2.c: Likewise.
55947         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
55948         * soft-fp/fixdfti.c: Likewise.
55949         * soft-fp/fixsfti.c: Likewise.
55950         * soft-fp/fixtfti.c: Likewise.
55951         * soft-fp/fixunsdfti.c: Likewise.
55952         * soft-fp/fixunssfti.c: Likewise.
55953         * soft-fp/fixunstfti.c: Likewise.
55954         * soft-fp/floattidf.c: Likewise.
55955         * soft-fp/floattisf.c: Likewise.
55956         * soft-fp/floattitf.c: Likewise.
55957         * soft-fp/floatuntidf.c: Likewise.
55958         * soft-fp/floatuntisf.c: Likewise.
55959         * soft-fp/floatuntitf.c: Likewise.
55960         * soft-fp/trunctfxf2.c: Likewise.
55962 2013-10-10  David S. Miller  <davem@davemloft.net>
55964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55966 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55968         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55969         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55970         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55971         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55972         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55973         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55974         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55976         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55977         for NaNs before doing comparisons on argument.
55978         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55979         Likewise.
55981 2013-10-10  Will Newton  <will.newton@linaro.org>
55983         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55984         passed to _int_memalign does not overflow.
55986 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55988         * scripts/bench.pl: Add include-sources directive.
55989         * benchtests/README: Update documentation.
55991 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55993         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55994         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55995         instead of FP_INIT_ROUNDMODE.
55996         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55997         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55999         [BZ #16034]
56000         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56001         copy class of input value.
56002         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56003         not handle exceptions.
56004         * soft-fp/negsf2.c (__negsf2): Likewise.
56005         * soft-fp/negtf2.c (__negtf2): Likewise.
56006         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56008 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56010         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56011         semicolon.  From Linux kernel.
56013 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56015         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56017 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56019         [BZ #156]
56020         * manual/socket.texi: Added statement about buffer
56021         for gethostbyname2_r.
56023 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56025         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56026         Use .p2align directive instead, throughout.
56027         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56028         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56029         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56030         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56031         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56032         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56033         * sysdeps/x86_64/strchr.S: Likewise.
56034         * sysdeps/x86_64/strrchr.S: Likewise.
56036 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56038         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56040         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56042         * sysdeps/generic/math_private.h (__mpsin1): Remove
56043         declaration.
56044         (__mpcos1): Likewise.
56045         (__mpsin): New argument __range_reduce.
56046         (__mpcos): Likewise.
56047         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56048         (slow): Use __mpsin and __mpcos.
56049         (slow1): Likewise.
56050         (slow2): Likewise.
56051         (sloww): Likewise.
56052         (sloww1): Likewise.
56053         (sloww2): Likewise.
56054         (bsloww): Likewise.
56055         (bsloww1): Likewise.
56056         (bsloww2): Likewise.
56057         (cslow2): Likewise.
56058         (csloww): Likewise.
56059         (csloww1): Likewise.
56060         (csloww2): Likewise.
56061         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56062         range_reduce.  Merge in __mpsin1.
56063         (__mpcos): Likewise.
56064         (__mpsin1): Remove.
56065         (__mpcos1): Likewise.
56067 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56069         * locale/loadlocale.c (_nl_intern_locale_data): Use
56070         LOCFILE_ALIGNED_P.
56071         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56072         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56073         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56074         obstack data is appropriately aligned.
56075         (obstack_int32_grow_fast): Likewise.
56076         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56077         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56078         (add_locale_uint32_array): Likewise.
56080 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56082         * benchtests/Makefile: Remove ARGLIST and RET variables.
56083         ($(objpfx)bench-%.c): Pass only function name to the script.
56084         * benchtests/README: Update documentation.
56085         * benchtests/acos-inputs: Add new directives.
56086         * benchtests/acosh-inputs: Likewise.
56087         * benchtests/asin-inputs: Likewise.
56088         * benchtests/asinh-inputs: Likewise.
56089         * benchtests/atan-inputs: Likewise.
56090         * benchtests/atanh-inputs: Likewise.
56091         * benchtests/cos-inputs: Likewise.
56092         * benchtests/cosh-inputs: Likewise.
56093         * benchtests/exp-inputs: Likewise.
56094         * benchtests/log-inputs: Likewise.
56095         * benchtests/pow-inputs: Likewise.
56096         * benchtests/rint-inputs: Likewise.
56097         * benchtests/sin-inputs: Likewise.
56098         * benchtests/sinh-inputs: Likewise.
56099         * benchtests/tan-inputs: Likewise.
56100         * benchtests/tanh-inputs: Likewise.
56101         * scripts/bench.pl: Add support for new directives.
56103 2013-10-07  Alan Modra  <amodra@gmail.com>
56105         * README: Fix careless merge.
56107 2013-10-05  Alan Modra  <amodra@gmail.com>
56109         * NEWS: Mention powerpc64le support and bugs fixed.
56110         * README: Both big-endian and little-endian powerpc64 supported.
56112 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56114         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56115         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56116         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56117         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56119 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56121         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56122         match prototype.
56124 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56126         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56127         Move -mhard-float appending from
56128         ports/sysdeps/powerpc/powerpc32/Makefile.
56129         [$(with-fp) = yes] (ASFLAGS): Likewise.
56130         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56131         * sysdeps/powerpc/nofpu: Move directory from
56132         ports/sysdeps/powerpc/nofpu.
56133         * sysdeps/powerpc/soft-fp: Move directory from
56134         ports/sysdeps/powerpc/soft-fp.
56135         * sysdeps/powerpc/powerpc32/405: Move directory from
56136         ports/sysdeps/powerpc/powerpc32/405.
56137         * sysdeps/powerpc/powerpc32/440: Move directory from
56138         ports/sysdeps/powerpc/powerpc32/440.
56139         * sysdeps/powerpc/powerpc32/464: Move directory from
56140         ports/sysdeps/powerpc/powerpc32/464.
56141         * sysdeps/powerpc/powerpc32/476: Move directory from
56142         ports/sysdeps/powerpc/powerpc32/476.
56143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56144         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56146         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56148         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56150         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56152         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56153         * README: Update for powerpc-*-linux-gnu software floating point
56154         support in libc.
56156         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56157         case to powerpc/powerpc32*.
56158         * sysdeps/unix/sysv/linux/configure: Regenerated.
56160         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56161         (_FPU_MASK_OM): Define as 0x04.
56162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56164         0x00c10080.
56165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56166         0x0000003c.
56167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56170         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56171         getcontext_e500.
56172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56173         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56174         setcontext_e500.
56175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56176         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56177         and setcontext_e500.
56179 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56181         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56183 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56185         * manual/threads.texi (Default Thread Attributes): Fix typo.
56187 2013-10-04  Will Newton  <will.newton@linaro.org>
56189         * malloc/Makefile: Add tst-memalign.
56190         * malloc/tst-memalign.c: New file.
56192         * malloc/tst-posix_memalign.c: Add comments.
56193         (do_test): Add comments and call free on all potentially
56194         allocated pointers. Add space after cast.
56196         * malloc/tst-pvalloc.c: Add comments.
56197         (do_test): Add comments and call free on all potentially
56198         allocated pointers. Remove duplicate check for NULL pointer.
56199         Add space after cast.
56201         * malloc/tst-valloc.c: Add comments.
56202         (do_test): Add comments and call free on all potentially
56203         allocated pointers. Remove duplicate check for NULL pointer.
56204         Add space after cast.
56206 2013-10-04  Alan Modra  <amodra@gmail.com>
56208         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56209         Use stdint types in rather than __attribute__((mode())).
56210         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56212 2013-10-04  Alan Modra  <amodra@gmail.com>
56214         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56215         Correct handling of unaligned relocs for little-endian.
56216         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56218 2013-10-04  Alan Modra  <amodra@gmail.com>
56220         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56221         * configure: Regenerate.
56222         * nptl/shlib-versions: Powerpc*le starts at 2.18.
56223         * shlib-versions: Likewise.
56225 2013-10-04  Alan Modra  <amodra@gmail.com>
56227         * string/tester.c (test_memrchr): Increment reported test cycle.
56229 2013-10-04  Alan Modra  <amodra@gmail.com>
56231         * string/test-memcpy.c (do_one_test): When reporting errors, print
56232         string address and don't overrun end of string.
56234 2013-10-04  Alan Modra  <amodra@gmail.com>
56236         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
56237         insrdi.  Make better use of reg selection to speed exit slightly.
56238         Schedule entry path a little better.  Remove useless "are we done"
56239         checks on entry to main loop.  Handle wrapping around zero address.
56240         Correct main loop count.  Handle single left-over word from main
56241         loop inline rather than by using loop_small.  Remove extra word
56242         case in loop_small caused by wrong loop count.  Add little-endian
56243         support.
56244         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
56245         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
56246         cache hint.
56247         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
56248         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
56249         support.  Avoid rlwimi.
56250         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
56252 2013-10-04  Alan Modra  <amodra@gmail.com>
56254         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
56255         insrdi.  Formatting.
56256         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
56257         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56258         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
56259         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
56260         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56261         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
56263 2013-10-04  Alan Modra  <amodra@gmail.com>
56265         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
56266         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56267         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
56268         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
56269         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
56270         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
56271         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56272         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56273         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
56274         use of regs.  Use power7 mtocrf.  Tidy function tails.
56276 2013-10-04  Alan Modra  <amodra@gmail.com>
56278         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
56279         Formatting.  Consistently use rXXX register defines or rN defines.
56280         Use early exit labels that avoid restoring unused non-volatile regs.
56281         Make cr field use more consistent with rWORDn compares.  Rename
56282         regs used as shift registers for unaligned loop, using rN defines
56283         for short lifetime/multiple use regs.
56284         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
56285         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
56286         addi 1,1,64 to pop stack frame.  Simplify return value code.
56287         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56289 2013-10-04  Alan Modra  <amodra@gmail.com>
56291         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
56292         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
56293         rather than rlwimi.
56294         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
56295         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
56296         little-endian support.  Correct typos.
56297         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
56298         rather than rlwimi.
56299         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
56300         in loop and entry code to keep "and." results.
56301         (strchr): Add little-endian support.  Comment.  Move cntlzd
56302         earlier in tail.
56303         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
56305 2013-10-04  Alan Modra  <amodra@gmail.com>
56307         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
56308         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
56309         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
56310         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
56312 2013-10-04  Alan Modra  <amodra@gmail.com>
56314         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
56315         (rTMP): Define as r11.
56316         (strcmp): Add little-endian support.  Optimise tail.
56317         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
56318         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
56319         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
56320         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56321         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
56322         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56323         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56325 2013-10-04  Alan Modra  <amodra@gmail.com>
56327         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
56328         little-endian support.  Remove unnecessary "are we done" tests.
56329         Handle "s" wrapping around zero and extremely large "size".
56330         Correct main loop count.  Handle single left-over word from main
56331         loop inline rather than by using small_loop.  Correct comments.
56332         Delete "zero" tail, use "end_max" instead.
56333         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
56335 2013-10-04  Alan Modra  <amodra@gmail.com>
56337         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
56338         support.  Don't branch over align.
56339         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
56340         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
56341         support.  Rearrange tmp reg use to suit.  Comment.
56342         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
56344 2013-10-04  Alan Modra  <amodra@gmail.com>
56346         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
56348 2013-10-04  Alan Modra  <amodra@gmail.com>
56350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
56351         conditional form of branch and link when obtaining pc.
56352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
56354 2013-10-04  Alan Modra  <amodra@gmail.com>
56356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
56357         HIWORD/LOWORD.
56358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
56359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
56361 2013-10-04  Alan Modra  <amodra@gmail.com>
56363         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
56364         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
56365         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
56366         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
56367         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
56368         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56369         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
56370         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56371         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
56372         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
56374 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56375             Alistair Popple <alistair@ozlabs.au.ibm.com>
56376             Alan Modra <amodra@gmail.com>
56378         [BZ #15723]
56379         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
56380         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
56381         _dl_hwcap access for little-endian.
56382         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
56383         destroy vmx regs when saving unaligned.
56384         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
56385         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
56386         destroy vmx regs when saving unaligned.
56388 2013-10-04  Alan Modra  <amodra@gmail.com>
56390         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
56391         Don't use a union to pack hi/low value.
56393 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56395         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
56396         for little-endian.
56397         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
56398         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
56399         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
56400         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
56401         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56403 2013-10-04  Alan Modra  <amodra@gmail.com>
56405         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
56406         constants to usual value for .cst8 section, and remove redundant
56407         high address load.
56408         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
56409         constant for 0x1p52.  Load little-endian words of double from
56410         correct stack offsets.
56412 2013-10-04  Alan Modra  <amodra@gmail.com>
56414         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
56415         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
56416         words of double from correct stack offsets.
56417         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
56418         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
56419         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
56420         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
56421         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
56422         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
56423         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
56424         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
56425         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
56426         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
56427         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
56428         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
56429         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
56430         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
56431         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
56432         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
56433         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
56435 2013-10-04  Alan Modra  <amodra@gmail.com>
56437         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
56438         64-bit int/double union.
56439         (_FPU_SETCW): Likewise.
56440         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
56441         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
56443 2013-10-04  Alan Modra  <amodra@gmail.com>
56445         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
56446         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
56448 2013-10-04  Alan Modra  <amodra@gmail.com>
56450         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
56451         use vector int constants.
56452         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
56454 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56456         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
56457         array with long long.
56458         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
56459         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
56460         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
56461         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
56462         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
56463         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
56464         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
56465         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
56466         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
56467         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
56468         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
56469         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
56470         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
56472 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
56474         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
56475         (__signbit): Likewise.  Correct for little-endian.
56476         (__signbitl): Call __signbit.
56477         (lrint): Correct for little-endian.
56478         (lrintf): Call lrint.
56480 2013-10-04  Alan Modra  <amodra@gmail.com>
56482         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
56483         union 32-bit int array member with 64-bit int array.
56484         (t515, tm256): Double rather than long double.
56485         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
56487 2013-10-04  Alan Modra  <amodra@gmail.com>
56489         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
56490         Delete.
56491         (IEEE854_LONG_DOUBLE_BIAS): Delete.
56492         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
56493         version of math_ldbl.h.
56495 2013-10-04  Alan Modra  <amodra@gmail.com>
56497         [BZ #15734], [BZ #15735]
56498         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
56499         all uses of ieee875 long double macros and unions.  Simplify test
56500         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
56501         ldbl_extract_mantissa value for ix,iy exponents.  Properly
56502         normalize after ldbl_extract_mantissa, and don't add hidden bit
56503         already handled.  Don't treat low word of ieee854 mantissa like
56504         low word of IBM long double and mask off bit when testing for
56505         zero.
56506         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
56507         all uses of ieee875 long double macros and unions.  Simplify tests
56508         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
56509         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
56510         two1022, instead use their values.  Recognise that tests for large
56511         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
56512         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
56513         Rewrite all uses of ieee875 long double macros and unions.  Simplify
56514         test for 0.0L and nan.  Correct negation.
56515         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
56516         ieee875 long double macros and unions.  Correct output for large
56517         magnitude x.  Correct absolute value calculation.
56518         (__erfcl): Likewise.
56519         * math/libm-test.inc: Add tests for errors discovered in IBM long
56520         double versions of fmodl, remainderl, erfl and erfcl.
56522 2013-10-04  Alan Modra  <amodra@gmail.com>
56524         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
56525         all uses of ieee854 long double macros and unions.  Simplify tests
56526         for long doubles that are fully specified by the high double.
56527         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
56528         Likewise.
56529         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
56530         Remove dead code too.
56531         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
56532         (__ieee754_ynl): Likewise.
56533         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
56534         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
56535         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
56536         Remove dead code too.
56537         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
56538         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
56539         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
56540         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
56541         Simplify.
56542         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
56543         Simplify.
56544         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
56545         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
56546         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
56547         Comment on variable precision.
56548         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
56549         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56550         Likewise.
56551         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
56552         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56553         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56554         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
56555         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
56557 2013-10-04  Alan Modra  <amodra@gmail.com>
56559         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
56560         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
56561         all uses of ieee854 long double macros and unions.
56562         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
56563         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
56564         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
56565         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
56566         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
56567         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56568         Likewise.
56569         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
56570         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56571         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
56572         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56573         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
56574         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
56575         Simplify sign and nan test too.
56576         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
56577         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
56578         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
56579         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
56580         Likewise.
56581         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56582         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
56583         Likewise.
56584         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56585         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
56586         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
56587         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
56588         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
56589         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
56591 2013-10-04  Alan Modra  <amodra@gmail.com>
56593         * stdio-common/printf_size.c (__printf_size): Don't use
56594         union ieee854_long_double in fpnum union.
56595         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
56596         signbit macro to retrieve sign from long double.
56597         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
56598         retrieve sign from long double.
56599         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
56600         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
56601         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
56602         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56603         * math/test-misc.c (main): Don't use union ieee854_long_double.
56605 2013-10-04  Alan Modra  <amodra@gmail.com>
56607         [BZ #15680]
56608         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
56609         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
56610         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
56611         calculation.  Remove unnecessary test for denormal exponent.
56612         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
56613         Correct handling of denormals.  Avoid undefined shift behaviour.
56614         Correct normalisation of low mantissa when low double is denormal.
56615         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
56616         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
56617         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
56618         Correct normalisation of low mantissa.  Test for overflow of high
56619         mantissa and normalise.
56620         (ldbl_nearbyint): Use more readable constant for two52.
56621         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
56622         (__mpn_construct_long_double): Fix test for overflow of high
56623         mantissa and correct normalisation.  Avoid undefined shift.
56625 2013-10-04  Alan Modra  <amodra@gmail.com>
56627         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56628         (union ibm_extended_long_double): Define as an array of ieee754_double.
56629         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
56630         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
56631         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
56632         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
56633         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56634         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
56635         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56636         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56637         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
56638         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
56639         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56641 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
56643         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
56644         page size instead of calling getpagesize.
56646         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
56647         (LOCFILE_ALIGN_MASK): Likewise.
56648         (LOCFILE_ALIGN_UP): Likewise.
56649         (LOCFILE_ALIGNED_P): Likewise.
56650         * locale/programs/ld-collate.c (collate_output): Use the new
56651         macros instead of __alignof__ (int32_t).
56652         * locale/weight.h (findidx): Likewise.
56654 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
56656         [BZ #431]
56657         * manual/string.texi: Fix strncat and wcsncat.
56659 2013-10-03  Brooks Moses  <bmoses@google.com>
56661         [BZ #15915]
56662         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
56663         * Makerules: ...here, and adjust associated comments.
56665 2013-10-02  Will Newton  <will.newton@linaro.org>
56667         * malloc/Makefile: Add tst-pvalloc.
56668         * malloc/tst-pvalloc.c: New file.
56670 2013-10-02  Will Newton  <will.newton@linaro.org>
56672         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
56673         improve test coverage.
56675 2013-10-02  Will Newton  <will.newton@linaro.org>
56677         * malloc/Makefile: Add tst-posix_memalign.
56678         * malloc/tst-posix_memalign.c: New file.
56680 2013-10-01  Eric Blake  <eblake@redhat.com>
56682         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
56683         Use __THROWNL rather than __THROW on static functions.
56685 2013-09-30  Petr Machata  <pmachata@redhat.com>
56687         * elf/elf.h (R_AARCH64_ABS16): New macro.
56688         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
56689         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
56690         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
56691         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
56692         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
56693         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
56694         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
56695         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
56696         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
56697         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
56698         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
56699         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
56700         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
56701         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
56702         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
56703         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
56704         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
56705         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
56706         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
56707         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
56708         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
56709         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
56710         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
56711         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
56712         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
56713         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
56714         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
56715         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
56716         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
56717         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
56718         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
56719         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
56720         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
56721         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
56722         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
56723         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
56724         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
56725         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
56726         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
56727         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
56728         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
56729         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
56730         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
56731         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
56732         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
56733         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
56734         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
56735         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
56736         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
56737         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
56738         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
56739         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
56740         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
56741         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
56742         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
56743         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
56744         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
56745         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
56746         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
56747         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
56748         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
56749         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
56750         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
56751         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
56752         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
56753         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
56754         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
56755         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
56756         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
56757         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
56758         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
56759         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
56760         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
56761         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
56762         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
56763         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
56764         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
56765         (R_AARCH64_TLSDESC_LDR): Likewise.
56766         (R_AARCH64_TLSDESC_ADD): Likewise.
56767         (R_AARCH64_TLSDESC_CALL): Likewise.
56769 2013-09-30  Andreas Schwab  <schwab@suse.de>
56771         [BZ #15048]
56772         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
56773         the nss database lookup.
56774         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56775         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56777 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
56779         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
56781 2013-09-28  P. J. McDermott  <pj@pehjota.net>
56783         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
56784         ${Bash-specific parameter/pattern/string} parameter expansion.
56785         * sysdeps/unix/make-syscalls.sh: Likewise.
56787 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56789         * sysdeps/sh/stackguard-macros.h: New file.
56791 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
56793         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
56795         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
56796         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
56797         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56798         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
56800 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56802         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
56803         Fix thread ID register.
56805 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
56807         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
56808         [POSIX || UNIX98]: Require rather than permitting all symbols from
56809         <time.h>.
56810         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
56811         element of struct sched_param.
56812         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
56813         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
56814         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
56815         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
56816         constant.
56818 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
56820         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
56821         argument calculation.
56823 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56825         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
56826         Expect macro.
56827         [POSIX] (pthread_attr_t): Do not require type.
56828         [POSIX] (pthread_cond_t): Likewise.
56829         [POSIX] (pthread_condattr_t): Likewise.
56830         [POSIX] (pthread_key_t): Likewise.
56831         [POSIX] (pthread_mutex_t): Likewise.
56832         [POSIX] (pthread_mutexattr_t): Likewise.
56833         [POSIX] (pthread_once_t): Likewise.
56834         [POSIX] (pthread_t): Likewise.
56835         [POSIX-based standards] (pthread_atfork): Expect function.
56837 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
56838             Richard Sandiford  <richard@codesourcery.com>
56840         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
56841         (swap_endianness_p): New extern variable.
56842         (set_big_endian): New inline function.
56843         (maybe_swap_uint32): Likewise.
56844         (maybe_swap_uint32_array): Likewise.
56845         (maybe_swap_uint32_obstack): Likewise.
56846         * locale/programs/locfile.c: Include <stdbool.h>.
56847         (swap_endianness_p): New variable.
56848         (add_locale_uint32): Call maybe_swap_uint32.
56849         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
56850         (write_locale_data): Call maybe_swap_uint32_array.
56851         * locale/programs/ld-collate.c (obstack_int32_grow): Call
56852         maybe_swap_uint32.
56853         (obstack_int32_grow_fast): Likewise.
56854         (output_weightwc): Call maybe_swap_uint32_obstack.
56855         (collate_output): Likewise.
56856         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
56857         (OPT_LITTLE_ENDIAN): Likewise.
56858         (options): Add --little-endian and --big-endian options.
56859         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
56860         * locale/programs/locarchive.c: Include "locfile.h".
56861         (GET): New macro.
56862         (SET): Likewise.
56863         (INC): Likewise.
56864         (create_archive): Use the new macros to access fields of
56865         structures directly mapped from or written to locale archives.
56866         (oldlocrecentcmp): Likewise.
56867         (enlarge_archive): Likewise.
56868         (insert_name): Likewise.
56869         (add_alias): Likewise.
56870         (add_locale): Likewise.
56871         (delete_locales_from_archive): Likewise.
56872         (show_archive_content): Likewise.
56873         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
56874         locale data.
56876 2013-09-24  Roland McGrath  <roland@hack.frob.com>
56878         * manual/freemanuals.texi: Updated from (newly) canonical copy at
56879         http://www.gnu.org/doc/freemanuals.texi.
56880         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
56882 2013-09-24  Will Newton  <will.newton@linaro.org>
56884         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
56885         macro.
56887 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
56889         * locale/hashval.h (compute_hashval): Interpret bytes of key as
56890         unsigned char.
56892 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
56894         * manual/threads.texi (POSIX Threads): Fix a typo.
56896 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
56898         [BZ #14547]
56899         * string/tst-strcoll-overflow.c: New test case.
56900         * string/Makefile (xtests): Add tst-strcoll-overflow.
56901         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
56902         cache if string sizes may cause integer overflow.
56904         [BZ #14547]
56905         * string/strcoll_l.c (coll_seq): New members rule, idx,
56906         save_idx and back_us.
56907         (get_next_seq_nocache): New function.
56908         (do_compare_nocache): New function.
56909         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
56910         when malloc fails.
56912 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
56914         [BZ #15754]
56915         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
56916         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
56917         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
56919         [BZ #15754]
56920         * elf/Makefile (tests): Add tst-ptrguard1.
56921         (tests-static): Add tst-ptrguard1-static.
56922         (tst-ptrguard1-ARGS): Define.
56923         (tst-ptrguard1-static-ARGS): Define.
56924         * elf/tst-ptrguard1.c: New file.
56925         * elf/tst-ptrguard1-static.c: New file.
56926         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
56927         * sysdeps/i386/stackguard-macros.h: Likewise.
56928         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
56929         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
56930         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
56931         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
56932         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
56933         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
56935 2013-09-23  Hector Marco  <hecmargi@upv.es>
56936             Ismael Ripoll  <iripoll@disca.upv.es>
56937             Carlos O'Donell  <carlos@redhat.com>
56939         [BZ #15754]
56940         * sysdeps/generic/stackguard-macros.h: Define
56941         __pointer_chk_guard_local and POINTER_CHK_GUARD.
56942         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
56943         Define __pointer_chk_guard_local.
56944         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56945         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56947 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
56949         [BZ #15859]
56950         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56952 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56954         * include/string.h (__ffs): Declare as hidden.
56955         * string/ffs.c (__ffs): Define as hidden.
56956         * sysdeps/i386/ffs.c (__ffs): Likewise.
56957         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56958         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56959         * sysdeps/s390/ffs.c (__ffs): Likewise.
56960         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56962 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56964         * NEWS: Mention malloc probes.
56966         * malloc/arena.c (new_heap): New memory_heap_new probe.
56967         (grow_heap): New memory_heap_more probe.
56968         (shrink_heap): New memory_heap_less probe.
56969         (heap_trim): New memory_heap_free probe.
56970         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56971         (systrim): New memory_sbrk_less probe.
56972         * manual/probes.texi: Document them.
56974         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56975         * manual/probes.texi: Document it.
56977         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56978         (__libc_realloc): Add memory_realloc_retry probe.
56979         (__libc_memalign): Add memory_memalign_retry probe.
56980         (__libc_valloc): Add memory_valloc_retry probe.
56981         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56982         (__libc_calloc): Add memory_calloc_retry probe.
56983         * manual/probes.texi: Document them.
56985         * malloc/arena.c (get_free_list): Add probe
56986         memory_arena_reuse_free_list.
56987         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56988         and memory_arena_reuse.
56989         (arena_get2) [!PER_THREAD]: Likewise.
56990         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56991         memory_arena_reuse_realloc.
56992         * manual/probes.texi: Document them.
56994         * malloc/malloc.c (__libc_free): Add
56995         memory_mallopt_free_dyn_thresholds probe.
56996         (__libc_mallopt): Add multiple memory_mallopt probes.
56997         * manual/probes.texi: Document them.
56999         * malloc/malloc.c: Include stap-probe.h.
57000         (__libc_mallopt): Add memory_mallopt probe.
57001         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57002         * manual/probes.texi: New.
57003         * manual/Makefile (chapters): Add probes.
57004         * manual/threads.texi: Set next node.
57006 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57008         [BZ #15963, #13985]
57009         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57010         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57011         Add `Chinese' to `nan' entry name.
57013 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57015         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57016         (POLYNOMIAL): Likewise.
57017         (TAYLOR_SINCOS): Likewise.
57018         (TAYLOR_SLOW): Likewise.
57019         (__sin): Use TAYLOR_SINCOS.
57020         (__cos): Likewise.
57021         (slow): Use TAYLOR_SLOW.
57022         (sloww): Likewise.
57023         (bsloww): Likewise.
57024         (csloww): Likewise.
57026 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57028         * stdlib/strtod_l.c: Fix buffer overrun.
57030 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57032         * benchtests/Makefile (bench): Add sincos.
57033         * benchtests/bench-sincos.c: New file.
57035         * math/libm-test.inc (cos_test_data): New test inputs.
57036         (sin_test_data): Likewise.
57038         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57039         macro.
57040         (__sin): Use it.
57041         (__cos): Likewise.
57042         (slow1): Likewise.
57043         (slow2): Likewise.
57044         (sloww1): Likewise.
57045         (sloww2): Likewise.
57046         (bsloww1): Likewise.
57047         (bsloww2): Likewise.
57048         (cslow2): Likewise.
57049         (csloww1): Likewise.
57050         (csloww2): Likewise.
57052         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57053         function.
57054         (__sin): Use it.
57055         (__cos): Likewise.
57057         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57058         gotos.
57059         (__cos): Likewise.
57061 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57063         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57064         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57065         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57066         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57067         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57068         * elf/cache.c (print_entry): Handle the new cache flags.
57070 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57071             Aldy Hernandez  <aldyh@redhat.com>
57073         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57074         Change condition to [_SOFT_FLOAT].
57075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57087         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57089         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57090         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57091         declaration.
57093 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57095         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57096         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57097         (__longjmp): Use LOAD_GP to load saved GPRs.
57098         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57099         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57100         (__sigsetjmp): Use SAVE_GP to save GPRs.
57102         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57103         Do not append -msoft-float.
57104         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57106 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57108         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57110 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57112         [BZ #15966]
57113         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57114         (_FPU_GETCW): Use initial "__" on variable and field names but not
57115         on macro parameter name.
57116         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57117         parentheses around reference to macro parameter.
57119 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57121         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57122         prototype.
57123         (ctype_startup): Use uint32_t in cast and sizeof for
57124         ctype->charnames.
57126 2013-09-11  Jia Liu  <proljc@gmail.com>
57128         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57129         __daddr_t_defined.
57130         [__FreeBSD__]: Likewise.
57132 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57135         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57136         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57137         (strchr): Remove __strchr_sse42 ifunc selection.
57138         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57139         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57141 2013-09-11  Will Newton  <will.newton@linaro.org>
57143         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57144         parameter to RES. Remove hardcoded 1000 value.
57145         * benchtests/bench-skeleton.c (main): Pass RES parameter
57146         to TIMING_INIT and multiply result by 1000.
57148 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57152 2013-09-11  Andreas Schwab  <schwab@suse.de>
57154         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57155         if not defined.
57156         (O_TMPFILE) [__USE_GNU]: Define.
57157         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57158         Define.
57160 2013-09-11  Will Newton  <will.newton@linaro.org>
57162         [BZ #15857]
57163         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57164         does not overflow.
57166 2013-09-11  Will Newton  <will.newton@linaro.org>
57168         [BZ #15856]
57169         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57170         does not overflow.
57172 2013-09-11  Will Newton  <will.newton@linaro.org>
57174         [BZ #15855]
57175         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57176         does not overflow.
57178 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57180         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57181         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57182         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57183         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57184         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57186 2013-09-10  Allan McRae  <allan@archlinux.org>
57188         [BZ #15748]
57189         * manual/arith.texi (Parsing of Floats): Clarify
57190         cross-reference.
57192         [BZ #15849]
57193         * manual/install.texi (Running make install): Mention
57194         --enable-pt-chown.
57195         * INSTALL: Regenerated.
57197 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57199         * csu/init-first.c (_init): Remove the !SHARED condition around
57200         FPU control word initialization.
57201         * elf/dl-support.c (_dl_fpu_control): New variable.
57202         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57203         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57204         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57205         * math/test-fpucw-static.c: New file.
57206         * math/test-fpucw-ieee.c: New file.
57207         * math/test-fpucw-ieee-static.c: New file.
57208         * math/Makefile (tests): Add `test-fpucw-ieee' and
57209         `$(tests-static)'.
57210         (tests-static): New variable.
57211         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57212         dependency to...
57213         [($(build-shared),yes)]
57214         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57215         ... this.
57216         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57217         New dependency.
57219 2013-09-09  Allan McRae  <allan@archlinux.org>
57221         [BZ #15939]
57222         * manual/string.texi (Collation Functions): Fix typo in
57223         strcoll example.
57224         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
57226         [BZ #15893]
57227         * stdlib/isomac.c (get_null_defines): Fix memory leak.
57229         [BZ #15892]
57230         * libio/memstream.c (open_memstream): Fix memory leak.
57231         * libio/wmemstream.c (open_wmemstream): Likewise.
57233         [BZ #15895]
57234         * nscd/netgroupcache.c: Fix nesting of ifdefs.
57236 2013-09-09  Will Newton  <will.newton@linaro.org>
57238         * malloc/Makefile: Add tst-realloc to tests.
57239         * malloc/tst-realloc.c: New file.
57241 2013-09-09  Allan McRae  <allan@archlinux.org>
57243         [BZ #15844]
57244         * COPYING: Update from GNU website to fix FSF address.
57245         * COPYING.LIB: Likewise.
57247 2013-09-06  David S. Miller  <davem@davemloft.net>
57249         * po/zh_TW.po: Update Chinese (traditional) translation from
57250         translation project.
57252 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
57253             Joseph Myers  <joseph@codesourcery.com>
57255         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
57256         "localeinfo.h".
57257         (obstack_chunk_alloc): New macro.
57258         (obstack_chunk_free): Likewise.
57259         (record_offset): New function.
57260         (init_locale_data): Likewise.
57261         (align_locale_data): Likewise.
57262         (add_locale_empty): Likewise.
57263         (add_locale_raw_data): Likewise.
57264         (add_locale_raw_obstack): Likewise.
57265         (add_locale_string): Likewise.
57266         (add_locale_wstring): Likewise.
57267         (add_locale_uint32): Likewise.
57268         (add_locale_uint32_array): Likewise.
57269         (add_locale_char): Likewise.
57270         (start_locale_structure): Likewise.
57271         (end_locale_structure): Likewise.
57272         (start_locale_prelude): Likewise.
57273         (end_locale_prelude): Likewise.
57274         (write_locale_data): Take locale_file structure rather than an
57275         iovec.
57276         * locale/programs/locfile.h: Include "obstack.h".
57277         (struct locale_file): Change to store locale file contents instead
57278         of header.
57279         (init_locale_data): New prototype.
57280         (align_locale_data): Likewise.
57281         (add_locale_empty): Likewise.
57282         (add_locale_raw_data): Likewise.
57283         (add_locale_raw_obstack): Likewise.
57284         (add_locale_string): Likewise.
57285         (add_locale_wstring): Likewise.
57286         (add_locale_uint32): Likewise.
57287         (add_locale_uint32_array): Likewise.
57288         (add_locale_char): Likewise.
57289         (start_locale_structure): Likewise.
57290         (end_locale_structure): Likewise.
57291         (start_locale_prelude): Likewise.
57292         (end_locale_prelude): Likewise.
57293         (write_locale_data): Update prototype.
57294         * locale/programs/3level.h (struct TABLE): Remove result field.
57295         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
57296         Use new locale_file interface.
57297         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
57298         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
57299         * locale/programs/ld-address.c (address_output): Use new
57300         locale_file interface.
57301         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
57302         NO_ADD_LOCALE.
57303         (collate_finish): Don't call collseq_table_finalize.
57304         (collate_output): Use new locale_file interface.
57305         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
57306         in file.
57307         (NO_FINALIZE): Change to NO_ADD_LOCALE.
57308         (TABLE): Move defines earlier in file.
57309         (ELEMENT): Likewise.
57310         (DEFAULT): Likewise.
57311         (wctrans_table_add): Move macro and inline function earlier in
57312         file.
57313         (struct wctype_table): Move type earlier in file.
57314         (add_locale_wctype_table): New static prototype.
57315         (struct locale_ctype_t): Use logical types instead of struct iovec
57316         pointers for members.
57317         (ctype_output): Use new locale_file interface.
57318         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
57319         new locale_file interface.
57320         (allocate_arrays): Update for use of new locale_file interface.
57321         * locale/programs/ld-identification.c (identification_output): Use
57322         new locale_file interface.
57323         * locale/programs/ld-measurement.c (measurement_output): Likewise.
57324         * locale/programs/ld-messages.c (messages_output): Likewise.
57325         * locale/programs/ld-monetary.c (monetary_output): Likewise.
57326         * locale/programs/ld-name.c (name_output): Likewise.
57327         * locale/programs/ld-numeric.c (numeric_output): Likewise.
57328         * locale/programs/ld-paper.c (paper_output): Likewise.
57329         * locale/programs/ld-telephone.c (telephone_output): Likewise.
57330         * locale/programs/ld-time.c (time_output): Likewise.
57332 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57334         * benchtests/Makefile: Add memrchr benchmark.
57335         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
57336         benchmark as memrchr.
57337         * benchtests/bench-memrchr-ifunc.c: New file.
57338         * benchtests/bench-memrchr.c: New file.
57340 2013-09-06   Will Newton  <will.newton@linaro.org>
57342         * benchtests/Makefile (string-bench): Add memcpy.
57344 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
57345             Cong Wang  <amwang@redhat.com>
57347         [BZ #15850]
57348         * sysdeps/unix/sysv/linux/bits/in.h
57349         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
57350         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
57351         before __USE_KERNEL_IPV6_DEFS uses.
57352         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
57353         IPPROTO_BEETPH.
57354         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
57355         sockaddr_in6, or ipv6_mreq.
57357 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57359         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
57360         memory access for final bytes in some large inputs.
57361         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
57363 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57365         * string/test-memrchr.c: New file.
57366         * string/test-memrchr-ifunc.c: New file.
57367         * string/Makefile: Add new memrchr testcase.
57369 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
57371         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
57372         fanotify_init returns EPERM.
57374 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57376         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
57377         errors.
57378         (top level): Treat second token from macro or constant entries for
57379         allowed headers as allowed.
57380         * include/complex.h: Condition internal declarations on
57381         [!_ISOMAC].
57382         * include/fenv.h: Condition include of <stdbool.h> and internal
57383         declarations on [!_ISOMAC].
57385 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
57387         [BZ #15923]
57388         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
57390 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
57392         * configure.in (--enable-versioning): Remove configure option.
57393         (libc_cv_asm_symver_directive): Remove configure test.
57394         (libc_cv_ld_version_script_option): Likewise.
57395         (VERSIONING): Remove variable and AC_SUBST.
57396         (DO_VERSIONING): Remove AC_DEFINE.
57397         * configure: Regenerated.
57398         * config.h.in (DO_VERSIONING): Remove macro.
57399         * Makerules [$(versioning) = yes]: Change conditionals to
57400         [$(build-shared) = yes].
57401         * config.make.in (versioning): Remove variable.
57402         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
57403         [$(build-shared) = yes].
57404         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
57405         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
57406         * elf/Makefile [$(versioning) = yes]: Change conditionals to
57407         [$(build-shared) = yes].
57408         * extra-lib.mk [$(versioning) = yes]: Likewise.
57409         * hurd/Makefile [$(versioning) = yes]: Likewise.
57410         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
57411         [SHARED].
57412         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
57413         [SHARED].
57414         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57415         [SHARED && !NO_HIDDEN].
57416         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
57417         [SHARED].
57418         [SHARED && DO_VERSIONING]: Likewise..
57419         * libio/Makefile [$(versioning) = yes]: Change conditionals to
57420         [$(build-shared) = yes].
57421         * manual/install.texi (--disable-versioning): Remove
57422         documentation.
57423         * INSTALL: Regenerated.
57424         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
57425         to [SHARED].
57426         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
57427         [$(build-shared) = yes].
57428         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
57429         * sysdeps/i386/i686/multiarch/strstr-c.c
57430         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
57431         [SHARED && !NO_HIDDEN].
57432         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
57433         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
57434         * sysdeps/powerpc/powerpc32/dl-machine.c
57435         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
57436         * sysdeps/powerpc/powerpc32/sysdep.h
57437         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
57438         to [SHARED && PIC && !NO_HIDDEN].
57439         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
57440         conditional to [SHARED].
57442 2013-09-04   Will Newton  <will.newton@linaro.org>
57444         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
57445         * benchtests/bench-string.h: Include bench-timing.h instead
57446         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
57447         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
57448         call to HP_TIMING_DIFF_INIT.
57449         * benchtests/bench-memccpy.c: Use bench-timing.h macros
57450         instead of hp-timing.h macros.
57451         * benchtests/bench-memchr.c: Likewise.
57452         * benchtests/bench-memcmp.c: Likewise.
57453         * benchtests/bench-memcpy.c: Likewise.
57454         * benchtests/bench-memmem.c: Likewise.
57455         * benchtests/bench-memmove.c: Likewise.
57456         * benchtests/bench-memset.c: Likewise.
57457         * benchtests/bench-rawmemchr.c: Likewise.
57458         * benchtests/bench-strcasecmp.c: Likewise.
57459         * benchtests/bench-strcasestr.c: Likewise.
57460         * benchtests/bench-strcat.c: Likewise.
57461         * benchtests/bench-strchr.c: Likewise.
57462         * benchtests/bench-strcmp.c: Likewise.
57463         * benchtests/bench-strcpy.c: Likewise.
57464         * benchtests/bench-strcpy_chk.c: Likewise.
57465         * benchtests/bench-strlen.c: Likewise.
57466         * benchtests/bench-strncasecmp.c: Likewise.
57467         * benchtests/bench-strncat.c: Likewise.
57468         * benchtests/bench-strncmp.c: Likewise.
57469         * benchtests/bench-strncpy.c: Likewise.
57470         * benchtests/bench-strnlen.c: Likewise.
57471         * benchtests/bench-strpbrk.c: Likewise.
57472         * benchtests/bench-strrchr.c: Likewise.
57473         * benchtests/bench-strspn.c: Likewise.
57474         * benchtests/bench-strstr.c: Likewise.
57476 2013-09-04  Will Newton  <will.newton@linaro.org>
57478         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
57480 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
57482         [BZ #15427]
57483         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
57484         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
57485         * math/libm-test.inc (lgamma_test_data): Add more tests.
57486         * sysdeps/i386/fpu/libm-test-ulps: Update.
57487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57489 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
57491         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
57492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
57493         Add ifunc.
57494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
57495         Add strcmp-sse2-unaligned
57496         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
57498 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57500         * Versions.def (libc): Add GLIBC_2.19.
57502 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
57504         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
57505         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
57507 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
57509         [BZ #14155]
57510         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
57511         intermediate calculations in recurrence.
57512         (__ieee754_ynf): Likewise.
57513         * math/libm-test.inc (jn_test_data): Do not allow spurious
57514         underflow exception.  Add more tests.
57515         (yn_test_data): Add more tests.
57516         * sysdeps/i386/fpu/libm-test-ulps: Update.
57517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57519 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
57521         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
57523 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57525         * csu/init-first.c: Fix then/than typos.
57526         * locale/programs/ld-collate.c: Likewise.
57527         * locale/programs/linereader.h: Likewise.
57528         * manual/charset.texi: Likewise.
57529         * manual/filesys.texi: Likewise.
57530         * manual/stdio.texi: Likewise.
57531         * manual/string.texi: Likewise.
57532         * stdlib/fmtmsg.c: Likewise.
57533         * sysdeps/i386/stpncpy.S: Likewise.
57534         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57535         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57536         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57537         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57539 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
57541         * elf/dl-open.c: Fix typos.
57542         * iconvdata/gbbig5.c: Likewise.
57543         * iconvdata/iso-2022-jp.c: Likewise.
57544         * iconv/gconv_int.h: Likewise.
57545         * iconv/loop.c: Likewise.
57546         * nis/rpcsvc/nis.h: Likewise.
57547         * resolv/ns_name.c: Likewise.
57548         * stdio-common/vfscanf.c: Likewise.
57549         * streams/stropts.h: Likewise.
57550         * sunrpc/rpc_thread.c: Likewise.
57551         * sysdeps/i386/strpbrk.S: Likewise.
57552         * sysdeps/ieee754/k_standard.c: Likewise.
57553         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
57554         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57555         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
57556         * sysdeps/mach/hurd/profil.c: Likewise.
57557         * sysdeps/s390/dl-procinfo.h: Likewise.
57558         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
57559         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
57560         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
57561         * sysdeps/x86_64/dl-trampoline.S: Likewise.
57562         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
57564 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
57566         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
57567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
57569 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
57571         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
57572         aix specific files.
57573         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
57574         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
57575         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
57576         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
57577         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
57578         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
57579         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
57580         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
57582 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57583             Roland McGrath  <roland@hack.frob.com>
57585         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
57586         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
57588 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57590         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
57591         __executable_start symbol instead of _start.
57593 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
57595         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
57596         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
57597         Move macros to...
57598         * sysdeps/gnu/ldsodefs.h: ... this new file.
57600         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
57601         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
57602         instead of ELFOSABI_LINUX.
57604         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
57605         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
57606         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
57607         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
57608         Likewise.
57609         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
57610         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
57611         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
57612         Likewise.
57613         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57614         (ibm_extended_long_double): Add ieee_nan member.
57615         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
57616         (do_test): New function.
57618         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
57619         TEST_TRUNC.
57620         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
57621         functions, renamed from truncdfsf_test, trunctfsf_test,
57622         trunctfdf_test.
57623         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
57624         functions.
57625         (do_test): Run all these.
57627 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
57629         * argp/argp-help.c: Fix typos.
57630         * argp/argp-parse.c: Likewise.
57631         * debug/backtracesyms.c: Likewise.
57632         * elf/elf.h: Likewise.
57633         * malloc/malloc.c: Likewise.
57634         * nis/nis_print.c: Likewise.
57635         * resolv/res_comp.c: Likewise.
57636         * stdlib/stdlib.h: Likewise.
57637         * sunrpc/clnt_tcp.c: Likewise.
57638         * sunrpc/clnt_udp.c: Likewise.
57639         * sunrpc/clnt_unix.c: Likewise.
57640         * sysdeps/unix/bsd/ptsname.c: Likewise.
57641         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
57642         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
57643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
57644         Likewise.
57645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
57646         Likewise.
57647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
57648         Likewise.
57649         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
57651 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57653         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
57654         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57656 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
57658         [BZ #15897]
57659         * dlfcn/Makefile (tests): Add bug-dl-leaf.
57660         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
57661         ($(objpfx)bug-dl-leaf): New rule.
57662         ($(objpfx)bug-dl-leaf.so): Likewise.
57663         ($(objpfx)bug-dl-leaf.out): Likewise.
57664         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
57665         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
57666         * dlfcn/bug-dl-leaf.c: New test.
57667         * dlfcn/bug-dl-leaf-lib.c: Likewise.
57668         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
57669         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
57670         (dlclose): Likewise.
57671         (dlmopen): Likewise.
57673 2013-08-27  Roland McGrath  <roland@hack.frob.com>
57675         * include/netdb.h [!_ISOMAC]:
57676         Don't include <tls.h>.
57677         (h_errno, __libc_h_errno): Move declaration and macros out of
57678         [_LIBC_REENTRANT].
57680         * include/resolv.h [_RESOLV_H_]:
57681         Don't include <tls.h>.
57682         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
57683         * resolv/res_libc.c: Don't include <tls.h>.
57684         (_res): Use __attribute__ ((nocommon)) in place of
57685         __attribute__ ((section (".bss"))).
57687         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
57688         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
57690         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
57692         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
57693         only under [SIOCGIFCONF && SIOCGIFNETMASK].
57695         * resolv/res_mkquery.c: Include <sys/time.h>.
57697         * inet/ifreq.c: Moved to ...
57698         * sysdeps/unix/ifreq.c: ... here.
57699         * inet/ifreq.c: New file, true stub version.
57701         * socket/sa_len.c: New file.
57702         * socket/Makefile (aux): Add it.
57703         * sysdeps/unix/sysv/linux/Makefile
57704         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
57705         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
57706         and #include <socket/sa_len.c>.
57707         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
57708         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
57710         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
57711         * bits/socket.h: ... here.
57713         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
57714         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
57715         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
57717 2013-08-27  Andreas Schwab  <schwab@suse.de>
57719         [BZ #15736]
57720         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
57721         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
57722         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
57723         * string/test-strcasecmp.c (test_main): Run tests in several
57724         locales.
57725         * string/test-strncasecmp.c (test_main): Likewise.
57727         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
57728         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
57729         to __strcasecmp_nonascii and __strncasecmp_nonascii.
57730         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
57731         (__strncasecmp_ssse3) [PIC]: Likewise.
57733 2013-08-26  Roland McGrath  <roland@hack.frob.com>
57735         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
57737         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
57738         instead of explicitly declaring xdecrypt.
57739         * nis/nss_nis/nis-publickey.c: Likewise.
57741 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57743         [BZ #15890]
57744         * nscd/aicache.c: Include res_hconf.h.
57745         (addhstaiX): Initialize res_hconf.
57747 2013-08-26  Andreas Schwab  <schwab@suse.de>
57749         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
57750         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
57752 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57754         * nscd/aicache.c (addhstaiX): Fix indentation.
57756 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
57758         * configure.ac: Quote $build_pt_chown test.
57759         * configure: Regenerated.
57761 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
57763         [BZ #15532]
57764         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
57765         * math/s_cexpf.c (__cexpf): Likewise.
57766         * math/s_cexpl.c (__cexpl): Likewise.
57767         * math/libm-test.inc (cexp_test_data): Correct expected return
57768         value for NaN + i0.  Add another test.
57770 2013-08-22  David S. Miller  <davem@davemloft.net>
57772         * po/ca.po: Update Catalan translation from translation project.
57773         * po/uk.po: Add Ukrainian translations from translation project.
57775 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
57777         [BZ #15797]
57778         * math/s_fdim.c (__fdim): Check for infinite arguments if result
57779         is infinite, not alongside NaN test.
57780         * math/s_fdimf.c (__fdimf): Likewise.
57781         * math/s_fdiml.c (__fdiml): Likewise.
57782         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
57783         errno is unchanged.
57785 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
57787         * argp/argp-help.c: Fix typos.
57788         * crypt/speeds.c: Likewise.
57789         * csu/check_fds.c: Likewise.
57790         * elf/dl-load.c: Likewise.
57791         * elf/dl-open.c: Likewise.
57792         * elf/reldep3.c: Likewise.
57793         * elf/reldep.c: Likewise.
57794         * elf/sprof.c: Likewise.
57795         * iconv/iconv_charmap.c: Likewise.
57796         * iconv/skeleton.c: Likewise.
57797         * iconv/strtab.c: Likewise.
57798         * io/lockf64.c: Likewise.
57799         * libio/libioP.h: Likewise.
57800         * resolv/gai_notify.c: Likewise.
57801         * resolv/ns_name.c: Likewise.
57802         * resolv/ns_samedomain.c: Likewise.
57803         * resolv/res_send.c: Likewise.
57804         * stdlib/random.c: Likewise.
57805         * sunrpc/rpc/xdr.h: Likewise.
57806         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
57807         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57808         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57809         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57810         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57811         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57812         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57813         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57814         * sysdeps/mach/hurd/check_fds.c: Likewise.
57815         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57816         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57817         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57818         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57819         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57820         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57821         * sysdeps/pthread/aio_notify.c: Likewise.
57822         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
57823         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
57824         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
57825         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57826         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
57828 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57830         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
57831         version if bit_Slow_SSE4_2 is set.
57832         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57833         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57835 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57837         [BZ #15867]
57838         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
57839         trampoline stack frame information.
57840         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
57841         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
57842         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
57843         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
57844         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
57845         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57846         (_libc_vdso_platform_setup): Initialize the signal trampolines.
57847         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
57848         sa_flags value.
57849         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
57850         interrupting a syscall and set with option SA_SIGINFO.
57852 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57854         [BZ #15531]
57855         * math/s_cproj.c (__cproj): Only return an infinity if one part of
57856         argument is infinite.
57857         * math/s_cprojf.c (__cprojf): Likewise.
57858         * math/s_cprojl.c (__cprojl): Likewise.
57859         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
57860         * math/libm-test.inc (cproj_test_data): Add more tests.
57862         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
57864         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
57865         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
57866         size.  Use __ffs to determine corresponding shift.
57868 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
57869             Roland McGrath  <roland@hack.frob.com>
57871         * Makefile (INSTALL): Remove trailing blank lines from output of
57872         makeinfo.
57874 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57876         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
57877         Align 32 bit compat elf_greg to 8 bytes.
57879 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
57881         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
57883 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57885         * string/strcoll_l.c (coll_seq): New structure.
57886         (get_next_seq_cached): New function.
57887         (get_next_seq): New function.
57888         (do_compare): New function.
57889         (STRCOLL): Use GNU style definition.  Simplify implementation
57890         by using get_next_seq, get_next_seq_cached and do_compare.
57892 2013-08-16  Florian Weimer  <fweimer@redhat.com>
57894         [BZ #14699]
57895         CVE-2013-4237
57896         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
57897         member.
57898         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
57899         member.
57900         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
57901         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
57902         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
57903         conditional.
57904         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
57905         GETDENTS_64BIT_ALIGNED.
57906         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57907         * manual/filesys.texi (Reading/Closing Directory): Document
57908         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
57909         strongly.
57910         * manual/conf.texi (Limits for Files): Add portability note to
57911         NAME_MAX, PATH_MAX.
57912         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
57914 2013-08-13  Andreas Schwab  <schwab@suse.de>
57916         [BZ #15749]
57917         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
57918         of fabs.
57919         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
57920         LDBL_MAX_EXP >= 16384]: Add tests for it.
57922 2013-08-12  David S. Miller  <davem@davemloft.net>
57924         * version.h (RELEASE): Set to "development".
57925         (VERSION): Set to "2.18.90".
57926         * NEWS: Add 2.19 section.
57928 2013-08-03  David S. Miller  <davem@davemloft.net>
57930         * po/ko.po: Update Korean translation from translation project.
57932 2013-08-01  David S. Miller  <davem@davemloft.net>
57934         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
57935         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
57936         Bilka.
57938 2013-07-30  David S. Miller  <davem@davemloft.net>
57940         * po/fr.po: Update French translation from translation project.
57942 2013-07-28  David S. Miller  <davem@davemloft.net>
57944         * po/cs.po: Update Czech translation from translation project.
57946         * po/sv.po: Update Swedish translation from translation project.
57948 2013-07-27  David S. Miller  <davem@davemloft.net>
57950         * po/eo.po: Update Esperanto translation from translation project.
57952         * po/vi.po: Update Vietnamese translation from translation project.
57954         * po/de.po: Update German translation from translation project.
57956 2013-07-26  David S. Miller  <davem@davemloft.net>
57958         * po/bg.po: Update Bulgarian translation from translation project.
57960         * po/nl.po: Update Dutch translation from translation project.
57961         * po/pl.po: Update Polish translation from translation project.
57962         * po/ru.po: Update Russian translation from translation project.
57964 2013-07-24  David S. Miller  <davem@davemloft.net>
57966         * po/libc.pot: Update.
57968 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57970         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57971         variable page size.
57972         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57973         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57974         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57976 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57978         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57980 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57981             Andreas Schwab  <schwab@suse.de>
57982             Roland McGrath  <roland@hack.frob.com>
57983             Joseph Myers  <joseph@codesourcery.com>
57984             Carlos O'Donell  <carlos@redhat.com>
57986         [BZ #15755]
57987         * config.h.in: Define HAVE_PT_CHOWN.
57988         * config.make.in (build-pt-chown): New variable.
57989         * configure.in (--enable-pt_chown): New configure option.
57990         * configure: Regenerate.
57991         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57992         build-pt-chown is enabled.
57993         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57994         pt_chown to fix pty ownership.
57995         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57996         CLOSE_ALL_FDS.
57997         * manual/install.texi (Configuring and compiling): Mention
57998         --enable-pt_chown. Add @findex for grantpt.
57999         * INSTALL: Regenerate.
58001 2013-07-20  David S. Miller  <davem@davemloft.net>
58003         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58004         difference between 32-bit and 64-bit.
58006 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58008         [BZ #15711]
58009         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58010         Avoid system header dependency with -ffreestanding.
58011         ($(objpfx)bits/syscall%d): Likewise.
58013 2013-07-13  David S. Miller  <davem@davemloft.net>
58015         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58016         underflows from atanl/atan2l due to bug 15319.
58017         (casinh_test_data): Likewise.
58019 2013-07-07  David S. Miller  <davem@davemloft.net>
58021         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58023 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58025         * sysdeps/i386/fpu/libm-test-ulps: Update.
58026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58028 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58030         * configure.in (--enable-lock-elision): Fix message text.
58031         * INSTALL: Regenerate.
58032         * configure: Regenerate.
58034 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58038 2013-07-03  Andreas Jaeger  <aj@suse.de>
58040         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58041         define.
58042         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58043         (ptrace_peeksiginfo_args): Add.
58044         (__ptrace_peeksiginfo_flags): Add.
58045         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58046         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58047         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58049 2013-07-03  Allan McRae  <allan@archlinux.org>
58051         * sysdeps/i386/fpu/libm-test-ulps: Update.
58053 2013-07-02  David S. Miller  <davem@davemloft.net>
58055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58057 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58059         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58061 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58063         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58066 2013-07-02  Andi Kleen <ak@linux.intel.com>
58068         * config.h.in (ENABLE_LOCK_ELISION): Add.
58069         * configure.in (--enable-lock-elision): Add option.
58070         * manual/install.texi: Document --enable lock elision.
58071         * configure: Regenerate
58072         * INSTALL: Regenerate.
58074 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58076         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58077         SSE4.2 strcasecmp for libc.a.
58078         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58080 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58082         [BZ #13304]
58083         * soft-fp/op-common.h (_FP_FMA): New macro.
58084         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58085         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58086         (_FP_MUL_MEAT_1_imm): ... here.
58087         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58088         (_FP_MUL_MEAT_1_wide): ... here.
58089         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58090         (_FP_MUL_MEAT_1_hard): ... here.
58091         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58092         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58093         (_FP_MUL_MEAT_2_wide): ... here.
58094         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58095         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58096         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58097         (_FP_MUL_MEAT_2_gmp): ... here.
58098         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58099         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58100         (_FP_MUL_MEAT_4_wide): ... here.
58101         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58102         (_FP_MUL_MEAT_4_gmp): ... here.
58103         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58104         (_FP_WFRACBITS_DW_S): Likewise.
58105         (_FP_WFRACXBITS_DW_S): Likewise.
58106         (_FP_HIGHBIT_DW_S): Likewise.
58107         (FP_FMA_S): Likewise.
58108         (_FP_FRAC_HIGH_DW_S): Likewise.
58109         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58110         (_FP_WFRACBITS_DW_D): Likewise.
58111         (_FP_WFRACXBITS_DW_D): Likewise.
58112         (_FP_HIGHBIT_DW_D): Likewise.
58113         (FP_FMA_D): Likewise.
58114         (_FP_FRAC_HIGH_DW_D): Likewise.
58115         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58116         (_FP_WFRACBITS_DW_E): Likewise.
58117         (_FP_WFRACXBITS_DW_E): Likewise.
58118         (_FP_HIGHBIT_DW_E): Likewise.
58119         (FP_FMA_E): Likewise.
58120         (_FP_FRAC_HIGH_DW_E): Likewise.
58121         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58122         (_FP_WFRACBITS_DW_Q): Likewise.
58123         (_FP_WFRACXBITS_DW_Q): Likewise.
58124         (_FP_HIGHBIT_DW_Q): Likewise.
58125         (FP_FMA_Q): Likewise.
58126         (_FP_FRAC_HIGH_DW_Q): Likewise.
58127         * soft-fp/fmasf4.c: New file.
58128         * soft-fp/fmadf4.c: Likewise.
58129         * soft-fp/fmatf4.c: Likewise.
58131 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58134         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58135         Silvermont.
58136         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58137         macro.
58138         (index_Slow_SSE4_2): Likewise.
58139         (index_Prefer_PMINUB_for_stringop): Likewise.
58140         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58141         bit_Slow_SSE4_2 is set.
58142         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58143         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58145 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58147         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58148         rtld_global._dl_hwcap2.
58149         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58150         POWER8.
58151         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58152         POWER8 feature descriptions defined in _dl_hwcap2.
58153         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58154         string handling for POWER8 feature bits.
58155         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58156         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58157         _dl_powerpc_cap_flags.
58158         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58159         * sysdeps/powerpc/rtld-global-offsets.sym
58160         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58161         _dl_hwcap2 in the rtld_global_ro structure.
58163 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58165         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58166         hardware capabilities in support of AT_HWCAP2.
58167         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58168         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58169         GLRO(dl_hwcap2).
58170         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58171         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58172         explicitly the unknown a_type display mechanism is used.
58173         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58174         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58175         struct member.
58176         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58177         to macro prototype for AT_HWCAP2 support.
58178         * sysdeps/i386/dl-procinfo.h: Likewise.
58179         * sysdeps/s390/dl-procinfo.h: Likewise.
58180         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58181         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58182         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58183         return -1 for unknown a_type display fallback.
58184         * sysdeps/sparc/dl-procinfo.h: Likewise.
58185         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58186         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58188 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58190         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58191         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58193 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58195         [BZ #12492]
58196         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58197         mprotect making __stack_prot writable.
58199 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58200             Joseph Myers  <joseph@codesourcery.com>
58202         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58203         as being properly aligned.
58205 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58207         * dlfcn/modstatic5.c: New file.
58208         * dlfcn/tststatic5.c: New file.
58209         * dlfcn/Makefile (tests): Add tststatic5.
58210         (tests-static): Likewise.
58211         (modules-names): Add modstatic5.
58212         (tststatic5-ENV): New variable.
58213         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58215         [BZ #15022]
58216         * elf/dl-support.c (_dl_main_map): New variable.
58217         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58218         (_dl_nns, _dl_load_adds): Set to 1.
58219         (_dl_initial_searchlist): Refer to _dl_main_map.
58220         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58221         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58222         call to _dl_get_origin.
58223         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
58224         around call_map.
58225         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
58226         * dlfcn/modstatic3.c: New file.
58227         * dlfcn/tststatic3.c: New file.
58228         * dlfcn/tststatic4.c: New file.
58229         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
58230         (tests-static): Likewise.
58231         (modules-names): Add modstatic3.
58232         (tststatic3-ENV, tststatic4-ENV): New variables.
58233         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
58234         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
58236 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
58238         * configure.in (CC): Require GCC version 4.4 or later.
58239         * configure: Regenerated.
58240         * manual/install.texi (Tools for Compilation): Update GCC version
58241         requirement.
58242         * INSTALL: Regenerated.
58244 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58246         [BZ #15674]
58247         * string/test-memcmp.c (check2): New.
58248         (main): Call check2.
58250         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
58252 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
58254         [BZ #15022]
58255         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58256         over to...
58257         (dl_open_worker) [!SHARED]: ... here.
58259 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58261         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
58263 2013-06-25  Richard Henderson  <rth@redhat.com>
58265         * locale/programs/locarchive.c: Include <libc-internal.h>
58267 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
58269         * manual/texinfo.tex: Update to version 2013-06-21.17, with
58270         trailing whitespace removed.
58272 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58274         [BZ #10283]
58275         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
58276         * locale/programs/locarchive.c: Include libc-mmap.h.
58277         (prepare_address_space): Take two new outputs (the mmap base and len).
58278         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
58279         values.
58280         (create_archive): Declare new mmap base and len values for
58281         prepare_address_space, and store the result in ah.
58282         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
58283         (enlarge_archive): If ah->mmap_base is not NULL, use that and
58284         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58285         Declare new mmap base and len values for
58286         prepare_address_space, and store the result in new_ah.
58287         (open_archive): Declare new mmap base and len values for
58288         prepare_address_space, and store the result in ah.
58289         (close_archive): If ah->mmap_base is not NULL, use that and
58290         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
58291         * sysdeps/generic/libc-mmap.h: New file.
58293 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
58295         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
58296         (ALIGN_UP): Likewise.
58297         (PTR_ALIGN_DOWN): Likewise.
58298         (PTR_ALIGN_UP): Likewise.
58300 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58302         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
58303         entry mapped to PPC_PLATFORM_POWER8.
58304         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
58305         POWER8.
58306         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
58307         (_dl_string_platform): Add case for exporting platform position for
58308         POWER8.
58309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
58310         search path to sysdeps/powerpc/powerpc32/power8 directory.
58311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
58312         search path to sysdeps/powerpc/powerpc64/power8 directory.
58313         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
58314         power7 directories.
58315         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
58316         power7 directories.
58318 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58320         * INSTALL: Regenerate.
58322         * nscd/connections.c (nscd_init): Fix comment.
58324 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
58326         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
58328         [BZ #15667]
58329         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
58330         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
58332 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58334         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
58335         DL_DST_REQ_STATIC.
58336         (DL_DST_REQ_STATIC): Remove macro.
58338 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
58340         [BZ #7006]
58341         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
58342         with a shift of 0 bits.
58344 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
58346         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
58347         $(tststatic-ENV).
58349 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58351         [BZ #15655]
58352         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
58354 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58356         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
58357         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
58358         accepts -fno-tree-loop-distribute-patterns.
58359         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
58360         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
58361         recursive call.
58362         * string/memset.c (memset): Likewise.
58363         * string/test-memmove.c (simple_memmove): Disable loop transformation
58364         to library calls.
58365         * string/test-memset.c (simple_memset): Likewise.
58366         * benchtests/bench-memmove.c (simple_memmove): Likewise.
58367         * benchtests/bench-memset.c (simple_memset): Likewise.
58368         * configure: Regenerated.
58370 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
58372         * math/test-misc.c (main): Ignore fesetround failure when failures
58373         of subsequent rounding tests would be ignored.
58375         [BZ #15654]
58376         * math/fedisblxcpt.c (fedisableexcept): Return 0.
58377         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
58378         * math/fegetenv.c (__fegetenv): Return 0.
58379         * math/fegetexcept.c (fegetexcept): Return 0.
58380         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
58381         FE_TONEAREST.
58382         * math/feholdexcpt.c (feholdexcept): Return 0.
58383         * math/fesetenv.c (__fesetenv): Return 0.
58384         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
58385         argument FE_TONEAREST.
58386         * math/feupdateenv.c (__feupdateenv): Return 0.
58387         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
58389 2013-06-18  Roland McGrath  <roland@hack.frob.com>
58391         * elf/rtld-Rules (rtld-compile-command.S): New variable.
58392         (rtld-compile-command.s, rtld-compile-command.c): New variables.
58393         ($(objpfx)rtld-%.os rules): Use them.
58395 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58397         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
58398         fields.
58400 2013-06-17  Roland McGrath  <roland@hack.frob.com>
58402         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
58403         length of target pattern, then descending length of dependency pattern.
58404         * configure.in (AWK): Require gawk 3.1.2 or newer.
58405         * manual/install.texi (Tools for Compilation): Say that we do.
58406         * configure: Regenerated.
58408         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
58409         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
58410         * scripts/sysd-rules.awk: ... this new script.
58411         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
58412         than a glob-style pattern.
58414 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
58416         * math/test-misc.c (main): Do not treat incorrectly rounded
58417         conversions as failure unless ROUNDING_TESTS passes.
58419 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
58421         [BZ #15631]
58422         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
58423         restore exception state around main square root computation, then
58424         check for inexactness explicitly.
58426         * math/libm-test.inc (fma_test_data): Add another test.
58428 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58430         * manual/threads.texi (Non-POSIX Extensions): New document
58431         node.  Document pthread_getattr_default_np and
58432         pthread_setattr_default_np.
58434         * Versions.def (libpthread): Add GLIBC_2.18.
58435         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
58436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
58437         Likewise.
58438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
58439         Likewise.
58440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58441         Likewise.
58442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58443         Likewise.
58444         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
58445         Likewise.
58446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
58447         Likewise.
58448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
58449         Likewise.
58450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
58451         Likewise.
58452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58453         Likewise.
58455 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58458         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
58460 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58461             H.J. Lu  <hjl.tools@gmail.com>
58463         [BZ #15627]
58464         * sysdeps/x86_64/rtld-memset.c: Remove file.
58465         * sysdeps/x86_64/rtld-memset.S: New file.
58467 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
58469         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
58470         (test_in_one_mode): Take arguments for whether the rounding mode
58471         is supported for each floating-point type.
58472         (do_test): Pass new arguments to test_in_one_mode using
58473         ROUNDING_TESTS.
58475 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58477         * posix/tst-waitid.c (do_test): Distinguish different instances of
58478         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
58479         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
58480         before entering the kernel for waitpid.
58482 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58484         * NEWS: Fix note on clock function precision.  Text by Roland
58485         McGrath.
58487 2013-06-13  Roland McGrath  <roland@hack.frob.com>
58489         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
58490         it into place only when and if the sanity check passes.
58492 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
58494         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
58495         output for whether conversion result is exact.  Take argument
58496         indicating whether type is IBM long double.
58497         (round_for_all): Change need_exact field to ibm_ld.
58498         * stdlib/tst-strtod-round.c (struct exactness): New type.
58499         (struct test): Change bool ld_ok field to struct exactness exact.
58500         (TEST): Update all definitions for change to field.
58501         (tests): Regenerate array contents.
58502         (test_in_one_mode): Take pointer to new field instead of old ld_ok
58503         field value.  Check for IBM long double here.
58504         (do_test): Update calls to test_in_one_mode.
58506 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
58508         [BZ #12515]
58509         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
58510         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
58512 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58514         [BZ #15605]
58515         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
58516         generated by the compiler on loop optimizations.
58517         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
58518         general definitions.
58520 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
58522         * math/bug-nextafter.c: Include <math-tests.h>.
58523         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58524         the relevant type.
58525         * math/bug-nexttoward.c: Include <math-tests.h>.
58526         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58527         the relevant type.
58528         * math/test-misc.c: Include <math-tests.h>.
58529         (main): Only test for exceptions if EXCEPTION_TESTS is true for
58530         the relevant type.
58532 2013-06-12  Andreas Jaeger  <aj@suse.de>
58534         * po/ia.po: Update Interlingua translation from translation
58535         project.
58537 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58539         * include/fenv.h: Include stdbool.h.
58540         (struct rm_ctx): New structure.
58541         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
58542         Define macro.
58543         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
58544         (SET_RESTORE_ROUNDF): Likewise.
58545         (SET_RESTORE_ROUNDL): Likewise.
58546         (SET_RESTORE_ROUND_NOEX): Likewise.
58547         (SET_RESTORE_ROUND_NOEXF): Likewise.
58548         (SET_RESTORE_ROUND_NOEXL): Likewise.
58549         (SET_RESTORE_ROUND_53BIT): Likewise.
58550         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
58551         (libc_feresetround_noexf_ctx): Likewise.
58552         (libc_feresetround_noexl_ctx): Likewise.
58553         (libc_feholdsetround_53bit_ctx): Likewise.
58554         (libc_feresetround_53bit_ctx): Likewise.
58555         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
58556         (libc_feholdexcept_setround_sse_ctx): New function.
58557         (libc_fesetenv_sse_ctx): Likewise.
58558         (libc_feupdateenv_sse_ctx): Likewise.
58559         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
58560         (libc_feholdexcept_setround_387_ctx): Likewise.
58561         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
58562         (libc_feholdsetround_387_prec_ctx): Likewise.
58563         (libc_feholdsetround_387_ctx): Likewise.
58564         (libc_feholdsetround_387_53bit_ctx): Likewise.
58565         (libc_feholdsetround_sse_ctx): Likewise.
58566         (libc_feresetround_sse_ctx): Likewise.
58567         (libc_feresetround_387_ctx): Likewise.
58568         (libc_feupdateenv_387_ctx): Likewise.
58569         (libc_feholdexcept_setroundf_ctx): Define macro.
58570         (libc_fesetenvf_ctx): Likewise.
58571         (libc_feupdateenvf_ctx): Likewise.
58572         (libc_feholdsetroundf_ctx): Likewise.
58573         (libc_feresetroundf_ctx): Likewise.
58574         (libc_feholdexcept_setround_ctx): Likewise.
58575         (libc_fesetenv_ctx): Likewise.
58576         (libc_feupdateenv_ctx): Likewise.
58577         (libc_feholdsetround_ctx): Likewise.
58578         (libc_feresetround_ctx): Likewise.
58579         (libc_feholdexcept_setroundl_ctx): Likewise.
58580         (libc_feupdateenvl_ctx): Likewise.
58581         (libc_feholdsetroundl_ctx): Likewise.
58582         (libc_feresetroundl_ctx): Likewise.
58583         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
58584         (libc_feresetround_53bit_ctx): Likewise.
58586 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58588         * locale/iso-639.def: Convert to UTF-8.
58590 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
58592         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
58593         (EXCEPTION_TESTS_double): Likewise.
58594         (EXCEPTION_TESTS_long_double): Likewise.
58595         (EXCEPTION_TESTS): Likewise.
58596         * math/libm-test.inc (test_exceptions): Only test exceptions if
58597         EXCEPTION_TESTS (FLOAT).
58599 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58601         * benchtests/Makefile (string-bench): Add strcpy_chk and
58602         stpcpy_chk.
58603         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
58604         * benchtests/bench-stpcpy_chk.c: New file.
58605         * benchtests/bench-strcpy_chk-ifunc.c: New file.
58606         * benchtests/bench-strcpy_chk.c: New file.
58607         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
58608         code.
58609         (do_test): Likewise.
58611 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58613         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
58614         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
58615         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
58616         with tabs where appropriate.
58617         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
58618         dl-procinfo.h.
58619         [PPC_PLATFORM_PPC440]: Likewise.
58620         [PPC_PLATFORM_PPC464]: Likewise.
58621         [PPC_PLATFORM_PPC476]: Likewise.
58622         (_dl_string_platform): Add support for detecting ppc405, ppc440,
58623         ppc464, and ppc476 platform strings merging from ports/
58624         dl-procinfo.h.
58626 2013-06-11  Andreas Schwab  <schwab@suse.de>
58628         [BZ #14991]
58629         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
58630         (from_ucs4_idx): Regenerate.
58631         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
58632         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
58633         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
58634         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
58635         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
58636         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
58637         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
58638         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
58639         from FROM_LOOP and TO_LOOP specific macros.
58640         (BODY): Handle combining characters.
58641         * iconvdata/BIG5HKSCS.irreversible: Update.
58642         * iconvdata/BIG5HKSCS.precomposed: New file.
58643         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
58644         characters.
58645         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
58647 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58649         * include/sys/time.h: Fix indentation and add copyright header.
58651         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
58652         (do_test): Likewise.
58653         * string/test-memchr.c (do_one_test): Likewise.
58654         (do_test): Likewise.
58655         * string/test-memcmp.c (do_one_test): Likewise.
58656         (do_test): Likewise.
58657         * string/test-memcpy.c (do_one_test): Likewise.
58658         (do_test): Likewise.
58659         * string/test-memmem.c (do_one_test): Likewise.
58660         (do_test): Likewise.
58661         (do_random_tests): Likewise.
58662         * string/test-memmove.c (do_one_test): Likewise.
58663         (do_test): Likewise.
58664         * string/test-memset.c (do_one_test): Likewise.
58665         (do_test): Likewise.
58666         * string/test-rawmemchr.c (do_one_test): Likewise.
58667         (do_test): Likewise.
58668         * string/test-strcasecmp.c (do_one_test): Likewise.
58669         (do_test): Likewise.
58670         * string/test-strcasestr.c (do_one_test): Likewise.
58671         (do_test): Likewise.
58672         * string/test-strcat.c (do_one_test): Likewise.
58673         (do_test): Likewise.
58674         * string/test-strchr.c (do_one_test): Likewise.
58675         (do_test): Likewise.
58676         * string/test-strcmp.c (do_one_test): Likewise.
58677         (do_test): Likewise.
58678         * string/test-strcpy.c (do_one_test): Likewise.
58679         (do_test): Likewise.
58680         * string/test-string.h: Likewise.
58681         (test_init): Likewise.
58682         * string/test-strlen.c (do_one_test): Likewise.
58683         (do_test): Likewise.
58684         * string/test-strncasecmp.c (do_one_test): Likewise.
58685         (do_test): Likewise.
58686         * string/test-strncat.c (do_one_test): Likewise.
58687         (do_test): Likewise.
58688         * string/test-strncmp.c (do_one_test): Likewise.
58689         (do_test_limit): Likewise.
58690         (do_test): Likewise.
58691         * string/test-strncpy.c (do_one_test): Likewise.
58692         (do_test): Likewise.
58693         * string/test-strnlen.c (do_one_test): Likewise.
58694         (do_test): Likewise.
58695         * string/test-strpbrk.c (do_one_test): Likewise.
58696         (do_test): Likewise.
58697         * string/test-strrchr.c (do_one_test): Likewise.
58698         (do_test): Likewise.
58699         * string/test-strspn.c (do_one_test): Likewise.
58700         (do_test): Likewise.
58701         * string/test-strstr.c (do_one_test): Likewise.
58702         (do_test): Likewise.
58704         * benchtests/Makefile (string-bench): Add string benchmarks.
58705         * benchtests/bench-bcopy-ifunc.c: New file.
58706         * benchtests/bench-bcopy.c: New file.
58707         * benchtests/bench-bzero-ifunc.c: New file.
58708         * benchtests/bench-bzero.c: New file.
58709         * benchtests/bench-memccpy-ifunc.c: New file.
58710         * benchtests/bench-memccpy.c: New file.
58711         * benchtests/bench-memchr-ifunc.c: New file.
58712         * benchtests/bench-memchr.c: New file.
58713         * benchtests/bench-memcmp-ifunc.c: New file.
58714         * benchtests/bench-memcmp.c: New file.
58715         * benchtests/bench-memmem-ifunc.c: New file.
58716         * benchtests/bench-memmem.c: New file.
58717         * benchtests/bench-memmove-ifunc.c: New file.
58718         * benchtests/bench-memmove.c: New file.
58719         * benchtests/bench-mempcpy-ifunc.c: New file.
58720         * benchtests/bench-mempcpy.c: New file.
58721         * benchtests/bench-memset-ifunc.c: New file.
58722         * benchtests/bench-memset.c: New file.
58723         * benchtests/bench-rawmemchr-ifunc.c: New file.
58724         * benchtests/bench-rawmemchr.c: New file.
58725         * benchtests/bench-stpcpy-ifunc.c: New file.
58726         * benchtests/bench-stpcpy.c: New file.
58727         * benchtests/bench-stpncpy-ifunc.c: New file.
58728         * benchtests/bench-stpncpy.c: New file.
58729         * benchtests/bench-strcasecmp-ifunc.c: New file.
58730         * benchtests/bench-strcasecmp.c: New file.
58731         * benchtests/bench-strcasestr-ifunc.c: New file.
58732         * benchtests/bench-strcasestr.c: New file.
58733         * benchtests/bench-strcat-ifunc.c: New file.
58734         * benchtests/bench-strcat.c: New file.
58735         * benchtests/bench-strchr-ifunc.c: New file.
58736         * benchtests/bench-strchr.c: New file.
58737         * benchtests/bench-strchrnul-ifunc.c: New file.
58738         * benchtests/bench-strchrnul.c: New file.
58739         * benchtests/bench-strcmp-ifunc.c: New file.
58740         * benchtests/bench-strcmp.c: New file.
58741         * benchtests/bench-strcpy-ifunc.c: New file.
58742         * benchtests/bench-strcpy.c: New file.
58743         * benchtests/bench-strcspn-ifunc.c: New file.
58744         * benchtests/bench-strcspn.c: New file.
58745         * benchtests/bench-strlen-ifunc.c: New file.
58746         * benchtests/bench-strlen.c: New file.
58747         * benchtests/bench-strncasecmp-ifunc.c: New file.
58748         * benchtests/bench-strncasecmp.c: New file.
58749         * benchtests/bench-strncat-ifunc.c: New file.
58750         * benchtests/bench-strncat.c: New file.
58751         * benchtests/bench-strncmp-ifunc.c: New file.
58752         * benchtests/bench-strncmp.c: New file.
58753         * benchtests/bench-strncpy-ifunc.c: New file.
58754         * benchtests/bench-strncpy.c: New file.
58755         * benchtests/bench-strnlen-ifunc.c: New file.
58756         * benchtests/bench-strnlen.c: New file.
58757         * benchtests/bench-strpbrk-ifunc.c: New file.
58758         * benchtests/bench-strpbrk.c: New file.
58759         * benchtests/bench-strrchr-ifunc.c: New file.
58760         * benchtests/bench-strrchr.c: New file.
58761         * benchtests/bench-strspn-ifunc.c: New file.
58762         * benchtests/bench-strspn.c: New file.
58763         * benchtests/bench-strstr-ifunc.c: New file.
58764         * benchtests/bench-strstr.c: New file.
58766         * benchtests/Makefile: Disable parallel execution of targets.
58767         (string-bench): Add memcpy.
58768         (benchset): New variable to store a list of benchmark sets.
58769         (bench-func): Renamed from bench.
58770         (bench-set): New target.
58771         (bench): Depend on bench-func and bench-set.
58772         * benchtests/README: Add section on benchmark sets.
58773         * benchtests/bench-memcpy-ifunc.c: New file.
58774         * benchtests/bench-memcpy.c: New file.
58775         * benchtests/bench-string.h: New file.
58777 2013-06-11  Andreas Schwab  <schwab@suse.de>
58779         [BZ #15577]
58780         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
58781         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
58782         values in the triple.
58783         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
58784         terminator in the group key.
58786 2013-06-11  Andreas Jaeger  <aj@suse.de>
58788         * po/zh_TW.po: Update Chinese (traditional) translation from
58789         translation project.
58791 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58793         * include/time.h (__clock_gettime): Add libc_hidden_proto.
58794         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
58795         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
58796         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
58797         (clock_getcpuclockid): Likewise.
58798         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
58799         Add weak_alias and libc_hidden_def.
58800         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
58801         * rt/clock_gettime.c (clock_gettime): Rename to
58802         __clock_gettime.  Add weak_alias and libc_hidden_def.
58803         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
58804         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
58805         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
58806         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
58807         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
58808         Likewise.
58809         * rt/clock_settime.c (clock_settime): Rename to
58810         __clock_settime.  Add weak_alias and libc_hidden_def.
58811         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
58813 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
58815         * mach/err_boot.sub: Remove trailing whitespace.
58816         * mach/err_ipc.sub: Likewise.
58817         * mach/err_mach.sub: Likewise.
58819         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
58820         (ROUNDING_TESTS_double): Likewise.
58821         (ROUNDING_TESTS_long_double): Likewise.
58822         (ROUNDING_TESTS): Likewise.
58823         * math/libm-test.inc: Include <math-tests.h>.
58824         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
58825         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
58826         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
58827         (IF_ROUND_INIT_FE_UPWARD): Likewise.
58829 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58831         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
58832         of assigning.
58834 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
58836         * sysdeps/gnu/errlist.awk: Do not generate space at end of
58837         otherwise empty TRANS lines.
58838         * sysdeps/gnu/errlist.c: Regenerated.
58840         * catgets/gencat.c (error_print): Use (void) in function
58841         definition.
58842         * crypt/crypt_util.c (__init_des): Likewise.
58843         * crypt/speeds.c (Stop): Likewise.
58844         (main): Likewise.
58845         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
58846         * inet/ruserpass.c (token): Likewise.
58847         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
58848         * intl/localealias.c (extend_alias_table): Likewise.
58849         * intl/plural-exp.c (init_germanic_plural): Likewise.
58850         * libio/fcloseall.c (__fcloseall): Likewise.
58851         * libio/genops.c (_IO_flush_all): Likewise.
58852         (_IO_flush_all_linebuffered): Likewise.
58853         (_IO_cleanup): Likewise.
58854         (_IO_iter_begin): Likewise.
58855         (_IO_iter_end): Likewise.
58856         (_IO_list_lock): Likewise.
58857         (_IO_list_unlock): Likewise.
58858         (_IO_list_resetlock): Likewise.
58859         * libio/getchar.c (getchar): Likewise.
58860         * libio/getchar_u.c (getchar_unlocked): Likewise.
58861         * libio/getwchar.c (getwchar): Likewise.
58862         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
58863         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
58864         * login/getpt.c (__getpt): Likewise.
58865         * login/tst-utmp.c (main): Likewise.
58866         * malloc/hooks.c (__malloc_check_init): Likewise.
58867         * malloc/malloc.c (__malloc_stats): Likewise.
58868         * malloc/mtrace.c (tr_break): Likewise.
58869         (mtrace): Likewise.
58870         (muntrace): Likewise.
58871         * misc/fstab.c (endfsent): Likewise.
58872         * misc/getclktck.c (__getclktck): Likewise.
58873         * misc/getdtsz.c (__getdtablesize): Likewise.
58874         * misc/gethostid.c (gethostid): Likewise.
58875         * misc/getpagesize.c (__getpagesize): Likewise.
58876         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
58877         (__get_nprocs): Likewise.
58878         (__get_phys_pages): Likewise.
58879         (__get_avphys_pages): Likewise.
58880         * misc/getttyent.c (getttyent): Likewise.
58881         (setttyent): Likewise.
58882         (endttyent): Likewise.
58883         * misc/getusershell.c (getusershell): Likewise.
58884         (endusershell): Likewise.
58885         (setusershell): Likewise.
58886         (initshells): Likewise.
58887         * misc/hsearch.c (__hdestroy): Likewise.
58888         * misc/sync.c (sync): Likewise.
58889         * misc/syslog.c (closelog_internal): Likewise.
58890         (closelog): Likewise.
58891         * misc/ttyslot.c (ttyslot): Likewise.
58892         * misc/vhangup.c (vhangup): Likewise.
58893         * posix/fork.c (__fork): Likewise.
58894         * posix/getegid.c (__getegid): Likewise.
58895         * posix/geteuid.c (__geteuid): Likewise.
58896         * posix/getgid.c (__getgid): Likewise.
58897         * posix/getpid.c (__getpid): Likewise.
58898         * posix/getppid.c (__getppid): Likewise.
58899         * posix/getuid.c (__getuid): Likewise.
58900         * posix/pause.c (pause): Likewise.
58901         * posix/setpgrp.c (setpgrp): Likewise.
58902         * posix/setsid.c (__setsid): Likewise.
58903         * posix/test-vfork.c (noop): Likewise.
58904         * resolv/gethnamaddr.c (_endhtent): Likewise.
58905         (_gethtent): Likewise.
58906         (ht_endhostent): Likewise.
58907         (gethostent): Likewise.
58908         (dns_service): Likewise.
58909         * stdlib/drand48.c (drand48): Likewise.
58910         * stdlib/lrand48.c (lrand48): Likewise.
58911         * stdlib/mrand48.c (mrand48): Likewise.
58912         * stdlib/rand.c (rand): Likewise.
58913         * stdlib/random.c (__random): Likewise.
58914         * stdlib/setenv.c (clearenv): Likewise.
58915         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
58916         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
58917         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
58918         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
58919         (__get_nprocs): Likewise.
58920         (__get_phys_pages): Likewise.
58921         (__get_avphys_pages): Likewise.
58922         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
58923         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
58924         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
58925         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
58926         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
58927         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
58928         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
58929         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
58930         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
58931         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
58932         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
58933         * sysdeps/mach/hurd/sync.c (sync): Likewise.
58934         * sysdeps/posix/clock.c (clock): Likewise.
58935         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
58936         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
58937         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
58938         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
58939         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
58940         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
58941         (__get_nprocs_conf): Likewise.
58942         (__get_phys_pages): Likewise.
58943         (__get_avphys_pages): Likewise.
58944         * time/clock.c (clock): Likewise.
58945         * time/tzset.c (__tzname_max): Likewise.
58947 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
58949         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58950         (__bswap_32): Do not use "register".
58951         * crypt/crypt.c (_ufc_doit_r): Likewise.
58952         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58953         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58954         * gmon/gmon.c (__monstartup): Likewise.
58955         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58956         * hurd/hurdmalloc.c (more_memory): Likewise.
58957         (malloc): Likewise.
58958         (free): Likewise.
58959         (realloc): Likewise.
58960         (malloc_fork_prepare): Likewise.
58961         (malloc_fork_parent): Likewise.
58962         (malloc_fork_child): Likewise.
58963         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58964         (_svcauth_des): Likewise.
58965         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58966         * inet/inet_net.c (inet_network): Likewise.
58967         * inet/inet_netof.c (inet_netof): Likewise.
58968         * inet/rcmd.c (__validuser2_sa): Likewise.
58969         * io/fts.c (fts_open): Likewise.
58970         (fts_load): Likewise.
58971         (fts_close): Likewise.
58972         (fts_read): Likewise.
58973         (fts_children): Likewise.
58974         (fts_build): Likewise.
58975         (fts_stat): Likewise.
58976         (fts_sort): Likewise.
58977         (fts_alloc): Likewise.
58978         (fts_lfree): Likewise.
58979         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58980         (_IO_file_xsgetn): Likewise.
58981         (_IO_file_xsgetn_mmap): Likewise.
58982         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58983         (_IO_cookie_write): Likewise.
58984         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58985         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58986         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58987         * malloc/obstack.c (_obstack_begin): Likewise.
58988         (_obstack_begin_1): Likewise.
58989         (_obstack_newchunk): Likewise.
58990         (_obstack_allocated_p): Likewise.
58991         (obstack_free): Likewise.
58992         (_obstack_memory_used): Likewise.
58993         * misc/getttyent.c (getttynam): Likewise.
58994         (getttyent): Likewise.
58995         (skip): Likewise.
58996         (value): Likewise.
58997         * misc/getusershell.c (initshells): Likewise.
58998         * misc/syslog.c (__vsyslog_chk): Likewise.
58999         * misc/ttyslot.c (ttyslot): Likewise.
59000         * nis/nis_hash.c (__nis_hash): Likewise.
59001         * posix/fnmatch_loop.c (FCT): Likewise.
59002         * posix/getconf.c (print_all): Likewise.
59003         (main): Likewise.
59004         * posix/getopt.c (exchange): Likewise.
59005         * posix/glob.c (globfree): Likewise.
59006         (prefix_array): Likewise.
59007         (__glob_pattern_type): Likewise.
59008         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59009         (NS_GET32): Likewise.
59010         (NS_PUT16): Likewise.
59011         (NS_PUT32): Likewise.
59012         * resolv/gethnamaddr.c (getanswer): Likewise.
59013         (gethostbyname2): Likewise.
59014         (gethostbyaddr): Likewise.
59015         (_gethtent): Likewise.
59016         (_gethtbyname2): Likewise.
59017         (_gethtbyaddr): Likewise.
59018         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59019         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59020         * resolv/res_init.c (__res_vinit): Likewise.
59021         (net_mask): Likewise.
59022         * resolv/res_mkquery.c (outchar): Likewise.
59023         (PRINT): Likewise.
59024         * stdio-common/printf_fp.c (outchar): Likewise.
59025         (PRINT): Likewise.
59026         * stdio-common/printf_fphex.c (outchar): Likewise.
59027         (PRINT): Likewise.
59028         * stdio-common/printf_size.c (outchar): Likewise.
59029         (PRINT): Likewise.
59030         * stdio-common/test_rdwr.c (main): Likewise.
59031         * stdio-common/tfformat.c (matches): Likewise.
59032         * stdio-common/vfprintf.c (outchar): Likewise.
59033         (printf_unknown): Likewise.
59034         (buffered_vfprintf): Likewise.
59035         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59036         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59037         (ReadFile): Likewise.
59038         * stdlib/qsort.c (SWAP): Likewise.
59039         (_quicksort): Likewise.
59040         * stdlib/setenv.c (__add_to_environ): Likewise.
59041         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59042         * stdlib/strtol_l.c (__strtol_l): Likewise.
59043         * stdlib/tst-strtod.c (main): Likewise.
59044         * stdlib/tst-strtol.c (main): Likewise.
59045         * stdlib/tst-strtoll.c (main): Likewise.
59046         * string/bits/string2.h (__strcmp_cc): Likewise.
59047         (__strcmp_cg): Likewise.
59048         (__strcspn_c1): Likewise.
59049         (__strcspn_c2): Likewise.
59050         (__strcspn_c3): Likewise.
59051         (__strspn_c1): Likewise.
59052         (__strspn_c2): Likewise.
59053         (__strspn_c3): Likewise.
59054         (__strsep_1c): Likewise.
59055         (__strsep_2c): Likewise.
59056         (__strsep_3c): Likewise.
59057         * string/memccpy.c (__memccpy): Likewise.
59058         * string/stpcpy.c (__stpcpy): Likewise.
59059         * string/strcmp.c (strcmp): Likewise.
59060         * string/strrchr.c (strrchr): Likewise.
59061         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59062         Likewise.
59063         * sysdeps/mach/hurd/getcwd.c
59064         (_hurd_canonicalize_directory_name_internal): Likewise.
59065         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59066         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59067         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59068         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59069         Likewise, in both definitions.
59070         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59071         definitions.
59072         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59073         64] (__bswap_64): Likewise.
59074         * time/test_time.c (main): Likewise.
59075         * time/tzfile.c (__tzfile_read): Likewise.
59076         (__tzfile_compute): Likewise.
59077         * time/tzset.c (__tzset_parse_tz): Likewise.
59078         (tzset_internal): Likewise.
59079         (compute_change): Likewise.
59080         * wcsmbs/wcscat.c (__wcscat): Likewise.
59081         * wcsmbs/wcschr.c (wcschr): Likewise.
59082         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59083         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59084         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59085         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59086         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59087         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59088         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59089         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59090         * wcsmbs/wmemset.c (wmemset): Likewise.
59092 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59094         * scripts/config.guess: Update to version 2013-05-16.
59095         * scripts/config.sub: Update to version 2013-04-24.
59096         * scripts/install-sh: Update to version 2011-11-20.07.
59097         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59098         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59100 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59102         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59103         * elf/sln.c: Likewise.
59104         * hurd/hurd/ioctl.h: Likewise.
59105         * hurd/hurdmalloc.c: Likewise.
59106         * hurd/xattr.c: Likewise.
59107         * include/shlib-compat.h: Likewise.
59108         * inet/ruserpass.c: Likewise.
59109         * libio/iofgets_u.c: Likewise.
59110         * libio/iofgetws_u.c: Likewise.
59111         * locale/programs/ld-identification.c: Likewise.
59112         * locale/programs/ld-time.c: Likewise.
59113         * mach/msg-destroy.c: Likewise.
59114         * nss/nss_files/files-netgrp.c: Likewise.
59115         * resolv/res_data.c: Likewise.
59116         * soft-fp/op-1.h: Likewise.
59117         * soft-fp/op-2.h: Likewise.
59118         * soft-fp/op-4.h: Likewise.
59119         * soft-fp/op-common.h: Likewise.
59120         * stdio-common/printf_fphex.c: Likewise.
59121         * stdlib/strtod_l.c: Likewise.
59122         * sunrpc/rpc/clnt.h: Likewise.
59123         * sysdeps/generic/framestate.c: Likewise.
59124         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59125         * sysdeps/i386/bsd-setjmp.S: Likewise.
59126         * sysdeps/i386/__longjmp.S: Likewise.
59127         * sysdeps/i386/setjmp.S: Likewise.
59128         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59129         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59130         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59131         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59132         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59133         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59134         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59135         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59136         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59137         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59138         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59139         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59140         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59141         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59142         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59143         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59144         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59145         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59146         * sysdeps/ieee754/support.c: Likewise.
59147         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59148         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59149         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59150         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59151         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59152         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59153         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59154         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59155         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59156         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59157         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59158         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59159         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59160         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59161         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59162         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59163         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59166 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59168         * posix/transbug.c: Remove executable mode.
59170 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59172         * crypt/speeds.c: Remove trailing whitespace.
59173         * dlfcn/default.c: Likewise.
59174         * elf/ifuncdep2.c: Likewise.
59175         * elf/ifuncmain1.c: Likewise.
59176         * elf/ifuncmain1vis.c: Likewise.
59177         * elf/testobj.h: Likewise.
59178         * elf/tst-stackguard1.c: Likewise.
59179         * gmon/sys/gmon.h: Likewise.
59180         * hurd/hurdmsg.c: Likewise.
59181         * hurd/new-fd.c: Likewise.
59182         * hurd/ports-get.c: Likewise.
59183         * iconvdata/ibm1008_420.c: Likewise.
59184         * inet/tst-getni1.c: Likewise.
59185         * inet/tst-getni2.c: Likewise.
59186         * libio/ioungetc.c: Likewise.
59187         * libio/wfiledoalloc.c: Likewise.
59188         * manual/libm-err-tab.pl: Likewise.
59189         * math/w_dremf.c: Likewise.
59190         * misc/ftruncate.c: Likewise.
59191         * posix/bug-glob2.c: Likewise.
59192         * posix/tst-pcre.c: Likewise.
59193         * posix/wait4.c: Likewise.
59194         * resolv/README: Likewise.
59195         * resolv/res_debug.h: Likewise.
59196         * resolv/tst-inet_ntop.c: Likewise.
59197         * setjmp/bug269-setjmp.c: Likewise.
59198         * soft-fp/extended.h: Likewise.
59199         * soft-fp/op-1.h: Likewise.
59200         * soft-fp/op-2.h: Likewise.
59201         * soft-fp/op-4.h: Likewise.
59202         * soft-fp/op-8.h: Likewise.
59203         * soft-fp/testit.c: Likewise.
59204         * stdio-common/bug16.c: Likewise.
59205         * stdlib/random.c: Likewise.
59206         * sunrpc/rpcsvc/rquota.x: Likewise.
59207         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59208         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59209         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59210         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59211         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59212         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59213         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59214         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59215         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59216         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59217         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59218         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59219         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59220         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59221         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59222         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
59223         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
59224         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59225         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
59226         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59227         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59228         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59229         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
59230         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
59231         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
59232         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
59233         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59234         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59235         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59236         * sysdeps/ieee754/s_lib_version.c: Likewise.
59237         * sysdeps/mach/hurd/check_fds.c: Likewise.
59238         * sysdeps/mach/hurd/getsockname.c: Likewise.
59239         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
59240         * sysdeps/mach/hurd/recvfrom.c: Likewise.
59241         * sysdeps/powerpc/bits/link.h: Likewise.
59242         * sysdeps/powerpc/dl-procinfo.c: Likewise.
59243         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
59244         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
59245         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
59246         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59247         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
59248         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
59249         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59250         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
59251         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
59252         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
59253         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59254         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
59255         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
59256         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
59257         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
59258         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59259         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59260         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
59261         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59262         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59263         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
59264         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59265         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59266         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
59267         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59268         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59269         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59270         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59271         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59272         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59273         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59274         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59275         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
59276         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
59277         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59278         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
59279         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59280         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
59281         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
59282         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
59283         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
59284         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
59285         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
59286         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59287         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
59288         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
59289         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59290         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
59291         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
59292         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59293         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59294         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59295         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59296         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
59297         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
59298         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
59299         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59300         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
59301         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
59302         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
59303         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
59304         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
59305         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59306         * sysdeps/powerpc/sysdep.h: Likewise.
59307         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
59308         * sysdeps/s390/s390-64/sub_n.S: Likewise.
59309         * sysdeps/sh/dl-trampoline.S: Likewise.
59310         * sysdeps/sh/memset.S: Likewise.
59311         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
59312         * sysdeps/sh/strlen.S: Likewise.
59313         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
59314         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
59315         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
59316         * sysdeps/sparc/sparc32/rem.S: Likewise.
59317         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
59318         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
59319         * sysdeps/sparc/sparc32/strchr.S: Likewise.
59320         * sysdeps/sparc/sparc32/udiv.S: Likewise.
59321         * sysdeps/sparc/sparc32/urem.S: Likewise.
59322         * sysdeps/sparc/sparc64/add_n.S: Likewise.
59323         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
59324         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
59325         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
59326         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
59327         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
59328         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
59329         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
59330         * sysdeps/unix/bsd/times.c: Likewise.
59331         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
59332         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
59333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
59334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
59335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
59336         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
59337         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
59338         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
59339         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
59340         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
59341         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
59342         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59343         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
59344         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
59345         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59346         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
59347         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59348         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
59349         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
59350         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
59351         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
59352         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
59353         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
59354         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
59355         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
59356         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
59357         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
59358         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
59359         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
59360         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
59361         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
59362         * sysdeps/x86_64/strcspn.S: Likewise.
59364 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59366         * locale/C-translit.h: Revert #include <stdint.h> because this is a
59367         generated file.  Regenerate properly from gen-translit.pl.
59368         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
59369         locale/C-translit.h.
59371 2013-06-05  Andreas Schwab  <schwab@suse.de>
59373         [BZ #15100]
59374         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
59375         week as 6 instead of -1.
59376         * time/tst-strptime.c (day_tests): Add test case.
59378 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59380         * sysdeps/generic/math_private.h
59381         (libc_feholdexcept_setround_53bit): Replace with
59382         libc_feholdsetround_53bit.
59383         (libc_feupdateenv_53bit): Replace with
59384         libc_feresetround_53bit.
59385         (SET_RESTORE_ROUND_53BIT): Adjust.
59387 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
59389         * string/test-strchrnul.c: Add copyright header.
59391         * posix/tst-getaddrinfo4.c: Increase test timeout.
59393 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
59395         [BZ #15536]
59396         * math/libm-test.inc (MAX_EXP): Remove
59397         (MIN_EXP): Define.
59398         (ulp): Use MIN_EXP - MANT_DIG.
59399         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
59401 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
59403         * po/be.po: Revert last change.
59404         * po/zh_CN.po: Likewise.
59405         * po/header.pot: Likewise.
59407 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
59409         * Makefile ($(common-objpfx)linkobj/libc.so): Define
59410         link-libc-deps to empty as target-specific variable.
59411         * Makerules (link-libc-args): New variable.
59412         (libc-for-link): Likewise.
59413         (link-libc-deps): Likewise.
59414         (lib%.so): Depend on $(link-libc-deps).  Link with
59415         $(link-libc-args).
59416         (build-module): Link with $(link-libc-args).
59417         (build-module-asneeded): Likewise.
59418         (build-module-helper-objlist): Filter out $(link-libc-deps) from
59419         list of objects.
59420         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
59421         target-specific variable.
59422         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
59423         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
59424         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
59425         libc.
59426         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
59427         libc and ld.so.
59428         ($(objpfx)libpcprofile.so): Likewise.
59429         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
59430         libc_nonshared.a.
59431         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
59432         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
59433         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
59434         $(link-libc-deps).
59435         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
59436         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
59437         * login/Makefile ($(objpfx)libutil.so): Likewise.
59438         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
59439         * math/Makefile ($(objpfx)libm.so): Likewise.
59440         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
59441         $(objpfx)libnsl.so): Define libc-for-link as target-specific
59442         variable instead of depending directly on libc.
59443         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
59444         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
59445         $(link-libc-deps).
59446         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
59447         libc.
59448         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
59449         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
59450         ($(objpfx)libanl.so): Likewise.
59451         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
59452         ld.so.
59453         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
59454         $(link-libc-deps).
59455         * sysdeps/i386/fpu/Makefile: Remove file.
59456         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
59457         ($(objpfx)libm.so): Remove dependency on ld.so.
59459 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
59461         [BZ # 15553]
59462         * nis/yp_xdr.c (XDRMAXNAME): Define.
59463         (XDRMAXRECORD): Define.
59464         (xdr_domainname): Use XDRMAXNAME.
59465         (xdr_mapname): Likewise.
59466         (xdr_peername): Likewise.
59467         (xdr_keydat): Use XDRMAXRECORD.
59468         (xdr_valdat): Likewise.
59470 2013-05-30  Jeff Law  <law@redhat.com>
59472         [BZ #14256]
59473         * manual/errno.texi (ESTALE): Update to account for more than
59474         just NFS file systems.
59475         * sysdeps/gnu/errlist.c: Regenerated.
59477 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59479         [BZ #15465]
59480         * elf/Makefile (tests): Add tst-null-argv.
59481         (modules-names):  Add tst-null-argv-lib.
59482         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
59483         (tst-null-argv-ENV): Set environment for tst-null-argv.
59484         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
59485         (RTLD_PROGNAME): New macro.
59486         * elf/tst-null-argv.c: New test case.
59487         * elf/tst-null-argv-lib.c: Library for test case.
59488         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
59489         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
59490         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
59491         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
59492         * elf/dl-init.c (call_init): Likewise.
59493         (_dl_init): Likewise.
59494         * elf/dl-load.c (print_search_path): Likewise.
59495         (_dl_map_object): Likewise.
59496         * elf/dl-lookup.c (do_lookup_x): Likewise.
59497         (add_dependency): Likewise.
59498         (_dl_lookup_symbol_x): Likewise.
59499         (_dl_debug_bindings): Likewise.
59500         * elf/dl-open.c (_dl_show_scope): Likewise.
59501         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
59502         * elf/dl-version.c (match_symbol): Likewise.
59503         (_dl_check_map_versions): Likewise.
59504         * elf/rtld.c (dl_main): Likewise.
59505         (print_unresolved): Use RTLD_PROGNAME.
59506         (print_missing_version): Likewise.
59507         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
59508         (elf_machine_rela): Likewise.
59509         * sysdeps/powerpc/powerpc32/dl-machine.c
59510         (__process_machine_rela): Likewise.
59511         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59512         Likewise.
59513         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
59514         Likewise.
59515         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
59516         Likewise.
59517         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
59518         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
59519         Likewise.
59520         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
59521         Likewise.
59522         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
59524 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
59526         * po/be.po: Add descriptive title.
59527         * po/zh_CN.po: Likewise.
59528         * po/header.pot: Likewise.
59530 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
59532         * locale/programs/locarchive.c (create_archive): Inlucde fname in
59533         error message.
59534         (enlarge_archive): Likewise.
59536 2013-05-28  Ben North  <ben@redfrontdoor.org>
59538         * manual/arith.texi (frexp): It is the magnitude of the return
59539         value which lies in [0.5, 1), not the return value itself.
59541 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59543         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59545 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
59547         * stdio-common/bug26.c (main): Correct fscanf template.
59549         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
59550         declare _dl_skip_args.
59552         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
59553         Don't declare.
59555         * manual/platform.texi: Add missing @end deftypefun.
59557 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59559         [BZ #15529]
59560         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
59561         bit of mantissa of 2^16382.
59562         * math/libm-test.inc (hypot_test_data): Add more tests.
59564         * math/libm-test.inc: Add drem and pow10 to list of tested
59565         functions.
59566         (pow10_test): New function.
59567         (drem_test): Likewise.
59568         (drem_test_tonearest): Likewise.
59569         (drem_test_towardzero): Likewise.
59570         (drem_test_downward): Likewise.
59571         (drem_test_upward): Likewise.
59572         (main): Call the new functions.
59574         * math/libm-test.inc (finite_test_data): Remove.
59575         (finite_test): Run tests from isfinite_test_data.
59576         (gamma_test_data): Remove.
59577         (gamma_test): Run tests from lgamma_test_data.
59578         * sysdeps/i386/fpu/libm-test-ulps: Update.
59579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59581 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59583         * manual/platform.texi: Add PowerPC PPR function set documentation.
59584         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
59585         implementation.
59587 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
59589         * math/libm-test.inc (MAX_EXP): Define.
59590         (ULPDIFF): Define.
59591         (ulp): New function.
59592         (check_float_internal): Use ULPDIFF.
59593         (cpow_test): Disable failing test.
59594         (check_ulp): Test ulp() implementation.
59595         (main): Call check_ulp before starting tests.
59597 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
59599         * math/gen-libm-test.pl (generate_testfile): Do not handle
59600         START_DATA and END_DATA.
59601         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
59602         END_DATA.
59603         (acos_tonearest_test_data): Likewise.
59604         (acos_towardzero_test_data): Likewise.
59605         (acos_downward_test_data): Likewise.
59606         (acos_upward_test_data): Likewise.
59607         (acosh_test_data): Likewise.
59608         (asin_test_data): Likewise.
59609         (asin_tonearest_test_data): Likewise.
59610         (asin_towardzero_test_data): Likewise.
59611         (asin_downward_test_data): Likewise.
59612         (asin_upward_test_data): Likewise.
59613         (asinh_test_data): Likewise.
59614         (atan_test_data): Likewise.
59615         (atanh_test_data): Likewise.
59616         (atan2_test_data): Likewise.
59617         (cabs_test_data): Likewise.
59618         (cacos_test_data): Likewise.
59619         (cacosh_test_data): Likewise.
59620         (carg_test_data): Likewise.
59621         (casin_test_data): Likewise.
59622         (casinh_test_data): Likewise.
59623         (catan_test_data): Likewise.
59624         (catanh_test_data): Likewise.
59625         (cbrt_test_data): Likewise.
59626         (ccos_test_data): Likewise.
59627         (ccosh_test_data): Likewise.
59628         (ceil_test_data): Likewise.
59629         (cexp_test_data): Likewise.
59630         (cimag_test_data): Likewise.
59631         (clog_test_data): Likewise.
59632         (clog10_test_data): Likewise.
59633         (conj_test_data): Likewise.
59634         (copysign_test_data): Likewise.
59635         (cos_test_data): Likewise.
59636         (cos_tonearest_test_data): Likewise.
59637         (cos_towardzero_test_data): Likewise.
59638         (cos_downward_test_data): Likewise.
59639         (cos_upward_test_data): Likewise.
59640         (cosh_test_data): Likewise.
59641         (cosh_tonearest_test_data): Likewise.
59642         (cosh_towardzero_test_data): Likewise.
59643         (cosh_downward_test_data): Likewise.
59644         (cosh_upward_test_data): Likewise.
59645         (cpow_test_data): Likewise.
59646         (cproj_test_data): Likewise.
59647         (creal_test_data): Likewise.
59648         (csin_test_data): Likewise.
59649         (csinh_test_data): Likewise.
59650         (csqrt_test_data): Likewise.
59651         (ctan_test_data): Likewise.
59652         (ctan_tonearest_test_data): Likewise.
59653         (ctan_towardzero_test_data): Likewise.
59654         (ctan_downward_test_data): Likewise.
59655         (ctan_upward_test_data): Likewise.
59656         (ctanh_test_data): Likewise.
59657         (ctanh_tonearest_test_data): Likewise.
59658         (ctanh_towardzero_test_data): Likewise.
59659         (ctanh_downward_test_data): Likewise.
59660         (ctanh_upward_test_data): Likewise.
59661         (erf_test_data): Likewise.
59662         (erfc_test_data): Likewise.
59663         (exp_test_data): Likewise.
59664         (exp_tonearest_test_data): Likewise.
59665         (exp_towardzero_test_data): Likewise.
59666         (exp_downward_test_data): Likewise.
59667         (exp_upward_test_data): Likewise.
59668         (exp10_test_data): Likewise.
59669         (exp2_test_data): Likewise.
59670         (expm1_test_data): Likewise.
59671         (fabs_test_data): Likewise.
59672         (fdim_test_data): Likewise.
59673         (finite_test_data): Likewise.
59674         (floor_test_data): Likewise.
59675         (fma_test_data): Likewise.
59676         (fma_towardzero_test_data): Likewise.
59677         (fma_downward_test_data): Likewise.
59678         (fma_upward_test_data): Likewise.
59679         (fmax_test_data): Likewise.
59680         (fmin_test_data): Likewise.
59681         (fmod_test_data): Likewise.
59682         (fpclassify_test_data): Likewise.
59683         (frexp_test_data): Likewise.
59684         (gamma_test_data): Likewise.
59685         (hypot_test_data): Likewise.
59686         (ilogb_test_data): Likewise.
59687         (isfinite_test_data): Likewise.
59688         (isgreater_test_data): Likewise.
59689         (isgreaterequal_test_data): Likewise.
59690         (isinf_test_data): Likewise.
59691         (isless_test_data): Likewise.
59692         (islessequal_test_data): Likewise.
59693         (islessgreater_test_data): Likewise.
59694         (isnan_test_data): Likewise.
59695         (isnormal_test_data): Likewise.
59696         (issignaling_test_data): Likewise.
59697         (isunordered_test_data): Likewise.
59698         (j0_test_data): Likewise.
59699         (j1_test_data): Likewise.
59700         (jn_test_data): Likewise.
59701         (ldexp_test_data): Likewise.
59702         (lgamma_test_data): Likewise.
59703         (lrint_test_data): Likewise.
59704         (lrint_tonearest_test_data): Likewise.
59705         (lrint_towardzero_test_data): Likewise.
59706         (lrint_downward_test_data): Likewise.
59707         (lrint_upward_test_data): Likewise.
59708         (llrint_test_data): Likewise.
59709         (llrint_tonearest_test_data): Likewise.
59710         (llrint_towardzero_test_data): Likewise.
59711         (llrint_downward_test_data): Likewise.
59712         (llrint_upward_test_data): Likewise.
59713         (log_test_data): Likewise.
59714         (log10_test_data): Likewise.
59715         (log1p_test_data): Likewise.
59716         (log2_test_data): Likewise.
59717         (logb_test_data): Likewise.
59718         (logb_downward_test_data): Likewise.
59719         (lround_test_data): Likewise.
59720         (llround_test_data): Likewise.
59721         (modf_test_data): Likewise.
59722         (nearbyint_test_data): Likewise.
59723         (nextafter_test_data): Likewise.
59724         (nexttoward_test_data): Likewise.
59725         (pow_test_data): Likewise.
59726         (pow_tonearest_test_data): Likewise.
59727         (pow_towardzero_test_data): Likewise.
59728         (pow_downward_test_data): Likewise.
59729         (pow_upward_test_data): Likewise.
59730         (remainder_test_data): Likewise.
59731         (remainder_tonearest_test_data): Likewise.
59732         (remainder_towardzero_test_data): Likewise.
59733         (remainder_downward_test_data): Likewise.
59734         (remainder_upward_test_data): Likewise.
59735         (remquo_test_data): Likewise.
59736         (rint_test_data): Likewise.
59737         (rint_tonearest_test_data): Likewise.
59738         (rint_towardzero_test_data): Likewise.
59739         (rint_downward_test_data): Likewise.
59740         (rint_upward_test_data): Likewise.
59741         (round_test_data): Likewise.
59742         (scalb_test_data): Likewise.
59743         (scalbn_test_data): Likewise.
59744         (scalbln_test_data): Likewise.
59745         (signbit_test_data): Likewise.
59746         (sin_test_data): Likewise.
59747         (sin_tonearest_test_data): Likewise.
59748         (sin_towardzero_test_data): Likewise.
59749         (sin_downward_test_data): Likewise.
59750         (sin_upward_test_data): Likewise.
59751         (sincos_test_data): Likewise.
59752         (sinh_test_data): Likewise.
59753         (sinh_tonearest_test_data): Likewise.
59754         (sinh_towardzero_test_data): Likewise.
59755         (sinh_downward_test_data): Likewise.
59756         (sinh_upward_test_data): Likewise.
59757         (sqrt_test_data): Likewise.
59758         (tan_test_data): Likewise.
59759         (tan_tonearest_test_data): Likewise.
59760         (tan_towardzero_test_data): Likewise.
59761         (tan_downward_test_data): Likewise.
59762         (tan_upward_test_data): Likewise.
59763         (tanh_test_data): Likewise.
59764         (tgamma_test_data): Likewise.
59765         (trunc_test_data): Likewise.
59766         (y0_test_data): Likewise.
59767         (y1_test_data): Likewise.
59768         (yn_test_data): Likewise.
59769         (significand_test_data): Likewise.
59771         * math/gen-libm-test.pl (@functions): Remove variable.
59772         (generate_testfile): Don't handle START and END lines.
59773         * math/libm-test.inc (START): New macro.
59774         (END): Likewise.
59775         (END_COMPLEX): Likewise.
59776         (acos_test): Use END macro without arguments.
59777         (acos_test_tonearest): Likewise.
59778         (acos_test_towardzero): Likewise.
59779         (acos_test_downward): Likewise.
59780         (acos_test_upward): Likewise.
59781         (acosh_test): Likewise.
59782         (asin_test): Likewise.
59783         (asin_test_tonearest): Likewise.
59784         (asin_test_towardzero): Likewise.
59785         (asin_test_downward): Likewise.
59786         (asin_test_upward): Likewise.
59787         (asinh_test): Likewise.
59788         (atan_test): Likewise.
59789         (atanh_test): Likewise.
59790         (atan2_test): Likewise.
59791         (cabs_test): Likewise.
59792         (cacos_test): Use END_COMPLEX macro without arguments.
59793         (cacosh_test): Likewise.
59794         (carg_test): Use END macro without arguments.
59795         (casin_test): Use END_COMPLEX macro without arguments.
59796         (casinh_test): Likewise.
59797         (catan_test): Likewise.
59798         (catanh_test): Likewise.
59799         (cbrt_test): Use END macro without arguments.
59800         (ccos_test): Use END_COMPLEX macro without arguments.
59801         (ccosh_test): Likewise.
59802         (ceil_test): Use END macro without arguments.
59803         (cexp_test): Use END_COMPLEX macro without arguments.
59804         (cimag_test): Use END macro without arguments.
59805         (clog_test): Use END_COMPLEX macro without arguments.
59806         (clog10_test): Likewise.
59807         (conj_test): Likewise.
59808         (copysign_test): Use END macro without arguments.
59809         (cos_test): Likewise.
59810         (cos_test_tonearest): Likewise.
59811         (cos_test_towardzero): Likewise.
59812         (cos_test_downward): Likewise.
59813         (cos_test_upward): Likewise.
59814         (cosh_test): Likewise.
59815         (cosh_test_tonearest): Likewise.
59816         (cosh_test_towardzero): Likewise.
59817         (cosh_test_downward): Likewise.
59818         (cosh_test_upward): Likewise.
59819         (cpow_test): Use END_COMPLEX macro without arguments.
59820         (cproj_test): Likewise.
59821         (creal_test): Use END macro without arguments.
59822         (csin_test): Use END_COMPLEX macro without arguments.
59823         (csinh_test): Likewise.
59824         (csqrt_test): Likewise.
59825         (ctan_test): Likewise.
59826         (ctan_test_tonearest): Likewise.
59827         (ctan_test_towardzero): Likewise.
59828         (ctan_test_downward): Likewise.
59829         (ctan_test_upward): Likewise.
59830         (ctanh_test): Likewise.
59831         (ctanh_test_tonearest): Likewise.
59832         (ctanh_test_towardzero): Likewise.
59833         (ctanh_test_downward): Likewise.
59834         (ctanh_test_upward): Likewise.
59835         (erf_test): Use END macro without arguments.
59836         (erfc_test): Likewise.
59837         (exp_test): Likewise.
59838         (exp_test_tonearest): Likewise.
59839         (exp_test_towardzero): Likewise.
59840         (exp_test_downward): Likewise.
59841         (exp_test_upward): Likewise.
59842         (exp10_test): Likewise.
59843         (exp2_test): Likewise.
59844         (expm1_test): Likewise.
59845         (fabs_test): Likewise.
59846         (fdim_test): Likewise.
59847         (finite_test): Likewise.
59848         (floor_test): Likewise.
59849         (fma_test): Likewise.
59850         (fma_test_towardzero): Likewise.
59851         (fma_test_downward): Likewise.
59852         (fma_test_upward): Likewise.
59853         (fmax_test): Likewise.
59854         (fmin_test): Likewise.
59855         (fmod_test): Likewise.
59856         (fpclassify_test): Likewise.
59857         (frexp_test): Likewise.
59858         (gamma_test): Likewise.
59859         (hypot_test): Likewise.
59860         (ilogb_test): Likewise.
59861         (isfinite_test): Likewise.
59862         (isgreater_test): Likewise.
59863         (isgreaterequal_test): Likewise.
59864         (isinf_test): Likewise.
59865         (isless_test): Likewise.
59866         (islessequal_test): Likewise.
59867         (islessgreater_test): Likewise.
59868         (isnan_test): Likewise.
59869         (isnormal_test): Likewise.
59870         (issignaling_test): Likewise.
59871         (isunordered_test): Likewise.
59872         (j0_test): Likewise.
59873         (j1_test): Likewise.
59874         (jn_test): Likewise.
59875         (ldexp_test): Likewise.
59876         (lgamma_test): Likewise.
59877         (lrint_test): Likewise.
59878         (lrint_test_tonearest): Likewise.
59879         (lrint_test_towardzero): Likewise.
59880         (lrint_test_downward): Likewise.
59881         (lrint_test_upward): Likewise.
59882         (llrint_test): Likewise.
59883         (llrint_test_tonearest): Likewise.
59884         (llrint_test_towardzero): Likewise.
59885         (llrint_test_downward): Likewise.
59886         (llrint_test_upward): Likewise.
59887         (log_test): Likewise.
59888         (log10_test): Likewise.
59889         (log1p_test): Likewise.
59890         (log2_test): Likewise.
59891         (logb_test): Likewise.
59892         (logb_test_downward): Likewise.
59893         (lround_test): Likewise.
59894         (llround_test): Likewise.
59895         (modf_test): Likewise.
59896         (nearbyint_test): Likewise.
59897         (nextafter_test): Likewise.
59898         (nexttoward_test): Likewise.
59899         (pow_test): Likewise.
59900         (pow_test_tonearest): Likewise.
59901         (pow_test_towardzero): Likewise.
59902         (pow_test_downward): Likewise.
59903         (pow_test_upward): Likewise.
59904         (remainder_test): Likewise.
59905         (remainder_test_tonearest): Likewise.
59906         (remainder_test_towardzero): Likewise.
59907         (remainder_test_downward): Likewise.
59908         (remainder_test_upward): Likewise.
59909         (remquo_test): Likewise.
59910         (rint_test): Likewise.
59911         (rint_test_tonearest): Likewise.
59912         (rint_test_towardzero): Likewise.
59913         (rint_test_downward): Likewise.
59914         (rint_test_upward): Likewise.
59915         (round_test): Likewise.
59916         (scalb_test): Likewise.
59917         (scalbn_test): Likewise.
59918         (scalbln_test): Likewise.
59919         (signbit_test): Likewise.
59920         (sin_test): Likewise.
59921         (sin_test_tonearest): Likewise.
59922         (sin_test_towardzero): Likewise.
59923         (sin_test_downward): Likewise.
59924         (sin_test_upward): Likewise.
59925         (sincos_test): Likewise.
59926         (sinh_test): Likewise.
59927         (sinh_test_tonearest): Likewise.
59928         (sinh_test_towardzero): Likewise.
59929         (sinh_test_downward): Likewise.
59930         (sinh_test_upward): Likewise.
59931         (sqrt_test): Likewise.
59932         (tan_test): Likewise.
59933         (tan_test_tonearest): Likewise.
59934         (tan_test_towardzero): Likewise.
59935         (tan_test_downward): Likewise.
59936         (tan_test_upward): Likewise.
59937         (tanh_test): Likewise.
59938         (tgamma_test): Likewise.
59939         (trunc_test): Likewise.
59940         (y0_test): Likewise.
59941         (y1_test): Likewise.
59942         (yn_test): Likewise.
59943         (significand_test): Likewise.
59945 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
59947         [BZ #15381]
59948         * libio/genops.c (_IO_no_init): Initialize wide struct info.
59950 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59952         [BZ #14894]
59953         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59954         __ppc_mdoio and __ppc_mdoom.
59955         * manual/platform.texi: Document new functions __ppc_yield,
59956         __ppc_mdoio and __ppc_mdoom.
59958 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59960         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59961         (main): Mention "tls" pseudo-hwcap is legacy.
59962         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59964 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59966         * math/gen-libm-test.pl (parse_args): Output only string of
59967         arguments as text for test name, not full call or descriptions of
59968         tests for extra outputs.
59969         (generate_testfile): Do not pass function name to parse_args.
59970         Generate this_func variable from START.
59971         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59972         field to arg_str.
59973         (struct test_ff_f_data): Likewise.
59974         (test_ff_f_data_nexttoward): Likewise.
59975         (struct test_fi_f_data): Likewise.
59976         (struct test_fl_f_data): Likewise.
59977         (struct test_if_f_data): Likewise.
59978         (struct test_fff_f_data): Likewise.
59979         (struct test_c_f_data): Likewise.
59980         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59981         (struct test_fF_f1_data): Likewise.
59982         (struct test_ffI_f1_data): Likewise.
59983         (struct test_c_c_data): Rename test_name field to arg_str.
59984         (struct test_cc_c_data): Likewise.
59985         (struct test_f_i_data): Likewise.
59986         (struct test_ff_i_data): Likewise.
59987         (struct test_f_l_data): Likewise.
59988         (struct test_f_L_data): Likewise.
59989         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59990         and extra2_name.
59991         (COMMON_TEST_SETUP): New macro.
59992         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59993         (COMMON_TEST_CLEANUP): Likewise.
59994         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59995         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59996         macros.
59997         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59998         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59999         macros.
60000         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60001         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60002         cleanup macros.
60003         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60004         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60005         macros.
60006         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60007         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60008         macros.
60009         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60010         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60011         cleanup macros.
60012         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60013         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60014         cleanup macros.
60015         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60016         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60017         cleanup macros.
60018         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60019         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60020         macros.
60021         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60022         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60023         macros.
60024         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60025         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60026         macros.
60027         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60028         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60029         cleanup macros.
60030         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60031         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60032         cleanup macros.
60033         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60034         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60035         macros.
60036         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60037         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60038         cleanup macros.
60039         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60040         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60041         macros.
60042         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60043         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60044         macros.
60045         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60046         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60047         cleanup macros.
60048         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60050 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60052         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60053         to _sifields.sigfault.
60054         (si_addr_lsb): Define new macro.
60055         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60056         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60057         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60059 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60061         [BZ #15441]
60062         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60063         returns -1.
60064         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60065         null return -1.
60066         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60067         loading the domain.
60069 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60071         * math/gen-libm-test.pl (parse_args): Do not include expected
60072         result in test name.
60073         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60074         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60075         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60076         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60077         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60080 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60082         * benchtests/Makefile: Sort function entries.
60084         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60085         tanh, asinh, acosh, atanh.
60086         * benchtests/acos-inputs: New file.
60087         * benchtests/acosh-inputs: New file.
60088         * benchtests/asin-inputs: New file.
60089         * benchtests/asinh-inputs: New file.
60090         * benchtests/atanh-inputs: New file.
60091         * benchtests/cosh-inputs: New file.
60092         * benchtests/log-inputs: New file.
60093         * benchtests/sinh-inputs: New file.
60094         * benchtests/tanh-inputs: New file.
60096 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60098         [BZ #15339]
60099         * posix/tst-getaddrinfo4.c: New test.
60100         * posix/Makefile (tests): Add it.
60102 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60104         [BZ #15339]
60105         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60106         when no services were used.
60107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60108         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60110 2013-05-21  Andreas Schwab  <schwab@suse.de>
60112         [BZ #15014]
60113         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60114         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60115         successful.
60116         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60117         redundant variable declarations and reallocation of buffer when
60118         parsing as IPv6 address.  Always set NSS status when called from
60119         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60120         buffer too small.  Correct computation of needed size.
60121         * nss/Makefile (tests): Add test-digits-dots.
60122         * nss/test-digits-dots.c: New test.
60124 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60126         * benchtests/Makefile: Remove instructions for adding
60127         benchmark tests.
60128         * benchtests/README: New file to explain how to execute and
60129         enhance the benchmark tests.
60131 2013-05-21  Andreas Schwab  <schwab@suse.de>
60133         [BZ #15493]
60134         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60135         * setjmp/tst-sigsetjmp.c: New test.
60137 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60139         * sysdeps/x86_64/memset.S (memset): New implementation.
60140         (__bzero): Likewise.
60141         (__memset_tail): New function.
60143 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60145         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60146         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60147         __memcpy_sse2_unaligned ifunc selection.
60148         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60149         Add memcpy-sse2-unaligned.S.
60150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60151         Add: __memcpy_sse2_unaligned.
60153 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60155         [BZ #15490]
60156         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60157         math_force_eval before restoring floating-point envrionment.
60158         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60159         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60160         Likewise.
60161         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60162         <math_private.h>.
60163         (__nearbyintl): Use math_force_eval before restoring
60164         floating-point environment.
60165         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60167         * math/gen-libm-test.pl (special_functions): Remove.
60168         (parse_args): Don't handle TEST_extra.  Handle functions with no
60169         return value.
60170         * math/libm-test.inc (struct test_sincos_data): Replace with
60171         struct test_fFF_11_data.
60172         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60173         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60174         (sincos_test_data): Change element type to struct
60175         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60176         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60177         RUN_TEST_LOOP_sincos.
60178         * math/README.libm-test: Don't mention special handling of
60179         individual functions.
60180         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60181         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60182         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60183         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60184         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60187         * math/gen-libm-test.pl (get_variable): Remove function.
60188         (parse_args): Don't show pointer parameters to call in test
60189         names.  Use "extra output N" in test names for extra outputs
60190         rather than naming variables.
60192 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60194         [BZ #15488]
60195         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60196         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60197         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60198         double tests.
60199         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60200         disable.
60201         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60202         check_long_double.
60204         * math/gen-libm-test.pl (@tests): Remove variable.
60205         ($count): Likewise.
60206         (new_test): Remove function.
60207         (show_exceptions): New function.
60208         (special_functions): Use show_exceptions instead of new_test.
60209         (parse_args): Likewise.
60210         (generate_testfile): Pass only function name in generated call to
60211         print_max_error or print_complex_max_error.
60212         (get_ulps): Do not handle complex tests specially.
60213         (output_test): Rename to ...
60214         (get_all_ulps_for_test): ... this.  Return a string rather than
60215         printing to a file.  Require ulps to be present.
60216         (output_ulps): Generate arrays rather than #defines.
60217         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60218         (struct ulp_data): New type.
60219         (BUILD_COMPLEX_ULP): Remove macro.
60220         (compare_ulp_data): New function.
60221         (find_ulps): Likewise.
60222         (find_test_ulps): Likewise.
60223         (find_function_ulps): Likewise.
60224         (find_complex_function_ulps): Likewise.
60225         (print_max_error): Determine allowed ulps using
60226         find_function_ulps.
60227         (print_complex_max_error): Determine allowed ulps using
60228         find_complex_function_ulps.
60229         (check_float_internal): Determine max ulps using find_test_ulps.
60230         (check_float): Do not take max_ulp parameter.  Update call to
60231         check_float_internal.
60232         (check_complex): Likewise.
60233         (check_int): Do not take max_ulp parameter.
60234         (check_long): Likewise.
60235         (check_bool): Likewise.
60236         (check_longlong): Likewise.
60237         (struct test_f_f_data): Remove max_ulp field.
60238         (struct test_ff_f_data): Likewise.
60239         (struct test_ff_f_data_nexttoward): Likewise.
60240         (struct test_fi_f_data): Likewise.
60241         (struct test_fl_f_data): Likewise.
60242         (struct test_if_f_data): Likewise.
60243         (struct test_fff_f_data): Likewise.
60244         (struct test_c_f_data): Likewise.
60245         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
60246         (struct test_fF_f1_data): Likewise.
60247         (struct test_ffI_f1_data): Likewise.
60248         (struct test_c_c_data): Remove max_ulp field.
60249         (struct test_cc_c_data): Likewise.
60250         (struct test_f_i_data): Likewise.
60251         (struct test_ff_i_data): Likewise.
60252         (struct test_f_l_data): Likewise.
60253         (struct test_f_L_data): Likewise.
60254         (struct test_sincos_data): Likewise.
60255         (RUN_TEST_f_f): Do not handle ulps.
60256         (RUN_TEST_LOOP_f_f): Likewise.
60257         (RUN_TEST_2_f): Likewise.
60258         (RUN_TEST_LOOP_2_f): Likewise.
60259         (RUN_TEST_fff_f): Likewise.
60260         (RUN_TEST_LOOP_fff_f): Likewise.
60261         (RUN_TEST_c_f): Likewise.
60262         (RUN_TEST_LOOP_c_f): Likewise.
60263         (RUN_TEST_f_f1): Likewise.
60264         (RUN_TEST_LOOP_f_f1): Likewise.
60265         (RUN_TEST_fF_f1): Likewise.
60266         (RUN_TEST_LOOP_fF_f1): Likewise.
60267         (RUN_TEST_fI_f1): Likewise.
60268         (RUN_TEST_LOOP_fI_f1): Likewise.
60269         (RUN_TEST_ffI_f1): Likewise.
60270         (RUN_TEST_LOOP_ffI_f1): Likewise.
60271         (RUN_TEST_c_c): Likewise.
60272         (RUN_TEST_LOOP_c_c): Likewise.
60273         (RUN_TEST_cc_c): Likewise.
60274         (RUN_TEST_LOOP_cc_c): Likewise.
60275         (RUN_TEST_f_i): Likewise.
60276         (RUN_TEST_LOOP_f_i): Likewise.
60277         (RUN_TEST_f_i_tg): Likewise.
60278         (RUN_TEST_LOOP_f_i_tg): Likewise.
60279         (RUN_TEST_ff_i_tg): Likewise.
60280         (RUN_TEST_LOOP_ff_i_tg): Likewise.
60281         (RUN_TEST_f_b): Likewise.
60282         (RUN_TEST_LOOP_f_b): Likewise.
60283         (RUN_TEST_f_b_tg): Likewise.
60284         (RUN_TEST_LOOP_f_b_tg): Likewise.
60285         (RUN_TEST_f_l): Likewise.
60286         (RUN_TEST_LOOP_f_l): Likewise.
60287         (RUN_TEST_f_L): Likewise.
60288         (RUN_TEST_LOOP_f_L): Likewise.
60289         (RUN_TEST_sincos): Likewise.
60290         (RUN_TEST_LOOP_sincos): Likewise.
60292 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
60294         [BZ #15480]
60295         [BZ #15485]
60296         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
60297         main case of finite arguments, set rounding mode to FE_TONEAREST
60298         and discard exceptions.
60299         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
60300         exceptions.
60301         (remainder_tonearest_test_data): New variable.
60302         (remainder_test_tonearest): New function.
60303         (remainder_towardzero_test_data): New variable.
60304         (remainder_test_towardzero): New function.
60305         (remainder_downward_test_data): New variable.
60306         (remainder_test_downward): New function.
60307         (remainder_upward_test_data): New variable.
60308         (remainder_test_upward): New function.
60309         (main): Call the new test functions.
60311         * math/libm-test.inc (struct test_f_f1_data): Remove field
60312         extra_init.
60313         (struct test_fF_f1_data): Likewise.
60314         (struct test_ffI_f1_data): Likewise.
60315         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
60316         based on value of EXTRA_EXPECTED.
60317         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60318         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
60319         EXTRA_VAR based on value of EXTRA_EXPECTED.
60320         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60321         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
60322         EXTRA_VAR based on value of EXTRA_EXPECTED.
60323         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60324         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
60325         EXTRA_VAR based on value of EXTRA_EXPECTED.
60326         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60327         * math/gen-libm-test.pl (parse_args): Don't output initializers
60328         for extra output values.
60330         * math/libm-test.inc (check_int): Expect result to be exactly
60331         equal to expected value and do not handle ulps.
60332         (check_long): Likewise.
60333         (check_longlong): Likewise.
60335         * math/libm-test.inc (ceil_test_data): Test for "inexact"
60336         exceptions.
60337         (cimag_test_data): Likewise.
60338         (conj_test_data): Likewise.
60339         (copysign_test_data): Likewise.
60340         (cproj_test_data): Likewise.
60341         (creal_test_data): Likewise.
60342         (fabs_test_data): Likewise.
60343         (fdim_test_data): Likewise.
60344         (finite_test_data): Likewise.
60345         (floor_test_data): Likewise.
60346         (fmax_test_data): Likewise.
60347         (fmin_test_data): Likewise.
60348         (fmod_test_data): Likewise.
60349         (fpclassify_test_data): Likewise.
60350         (frexp_test_data): Likewise.
60351         (ilogb_test_data): Likewise.
60352         (isfinite_test_data): Likewise.
60353         (isgreater_test_data): Likewise.
60354         (isgreaterequal_test_data): Likewise.
60355         (isinf_test_data): Likewise.
60356         (isless_test_data): Likewise.
60357         (islessequal_test_data): Likewise.
60358         (islessgreater_test_data): Likewise.
60359         (isnan_test_data): Likewise.
60360         (isnormal_test_data): Likewise.
60361         (issignaling_test_data): Likewise.
60362         (isunordered_test_data): Likewise.
60363         (ldexp_test_data): Likewise.
60364         (lrint_test_data): Likewise.
60365         (lrint_test_data) [TEST_FLOAT]: Disable one test.
60366         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
60367         (lrint_tonearest_test_data): Test for "inexact" exceptions.
60368         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60369         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
60370         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60371         test input.
60372         (lrint_towardzero_test_data): Test for "inexact" exceptions.
60373         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60374         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
60375         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
60376         that test input.
60377         (lrint_downward_test_data): Test for "inexact" exceptions.
60378         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60379         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
60380         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
60381         test input.
60382         (lrint_upward_test_data): Test for "inexact" exceptions.
60383         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
60384         test input.
60385         (llrint_test_data): Test for "inexact" exceptions.
60386         (llrint_test_data) [TEST_FLOAT]: Disable one test.
60387         (llrint_tonearest_test_data): Test for "inexact" exceptions.
60388         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
60389         (llrint_towardzero_test_data): Test for "inexact" exceptions.
60390         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
60391         (llrint_downward_test_data): Test for "inexact" exceptions.
60392         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
60393         (llrint_upward_test_data): Test for "inexact" exceptions.
60394         (logb_test_data): Likewise.
60395         (logb_downward_test_data): Likewise.
60396         (nextafter_test_data): Likewise.
60397         (nexttoward_test_data): Likewise.
60398         (remainder_test_data): Likewise.
60399         (remquo_test_data): Likewise.
60400         (scalbn_test_data): Likewise.
60401         (scalbln_test_data): Likewise.
60402         (signbit_test_data): Likewise.
60403         (sqrt_test_data): Likewise.
60404         (significand_test_data): Likewise.
60406 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60408         [BZ #15424]
60409         * benchtests/bench-modf.c (struct args): Mark arg0 as
60410         volatile.
60411         * scripts/bench.pl: Mark members of struct args as volatile.
60413 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60415         [BZ # 15497]
60416         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
60417         negative infinity on POWER6 or lower.
60418         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
60420 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
60422         [BZ #15442]
60423         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
60424         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
60425         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
60426         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
60427         (_FP_SETQNAN): New macro.
60428         (_FP_SETQNAN_SEMIRAW): Likewise.
60429         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
60430         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
60431         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
60432         (FP_EXTEND): Use _FP_FRAC_SNANP.
60433         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
60434         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
60435         into account.
60436         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60437         New macro.
60438         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
60439         Likewise.
60441 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60443         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
60444         with DIVIDE_BY_ZERO_EXCEPTION.
60445         (gamma_test_data): Likewise.
60446         (lgamma_test_data): Likewise.
60447         (log_test_data): Likewise.
60448         (log10_test_data): Likewise.
60449         (log2_test_data): Likewise.
60450         (tgamma_test_data): Likewise.
60452         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
60453         (acos_test_tonearest): Likewise.
60454         (acos_test_towardzero): Likewise.
60455         (acos_test_downward): Likewise.
60456         (acos_test_upward): Likewise.
60457         (acosh_test): Likewise.
60458         (asin_test): Likewise.
60459         (asin_test_tonearest): Likewise.
60460         (asin_test_towardzero): Likewise.
60461         (asin_test_downward): Likewise.
60462         (asin_test_upward): Likewise.
60463         (asinh_test): Likewise.
60464         (atan_test): Likewise.
60465         (atanh_test): Likewise.
60466         (atan2_test): Likewise.
60467         (cabs_test): Likewise.
60468         (cacos_test): Likewise.
60469         (cacosh_test): Likewise.
60470         (casin_test): Likewise.
60471         (casinh_test): Likewise.
60472         (catan_test): Likewise.
60473         (catanh_test): Likewise.
60474         (cbrt_test): Likewise.
60475         (ccos_test): Likewise.
60476         (ccosh_test): Likewise.
60477         (cexp_test): Likewise.
60478         (clog_test): Likewise.
60479         (clog10_test): Likewise.
60480         (cos_test): Likewise.
60481         (cos_test_tonearest): Likewise.
60482         (cos_test_towardzero): Likewise.
60483         (cos_test_downward): Likewise.
60484         (cos_test_upward): Likewise.
60485         (cosh_test): Likewise.
60486         (cosh_test_tonearest): Likewise.
60487         (cosh_test_towardzero): Likewise.
60488         (cosh_test_downward): Likewise.
60489         (cosh_test_upward): Likewise.
60490         (cpow_test): Likewise.
60491         (csin_test): Likewise.
60492         (csinh_test): Likewise.
60493         (csqrt_test): Likewise.
60494         (ctan_test): Likewise.
60495         (ctan_test_tonearest): Likewise.
60496         (ctan_test_towardzero): Likewise.
60497         (ctan_test_downward): Likewise.
60498         (ctan_test_upward): Likewise.
60499         (ctanh_test): Likewise.
60500         (ctanh_test_tonearest): Likewise.
60501         (ctanh_test_towardzero): Likewise.
60502         (ctanh_test_downward): Likewise.
60503         (ctanh_test_upward): Likewise.
60504         (erf_test): Likewise.
60505         (erfc_test): Likewise.
60506         (exp_test): Likewise.
60507         (exp_test_tonearest): Likewise.
60508         (exp_test_towardzero): Likewise.
60509         (exp_test_downward): Likewise.
60510         (exp_test_upward): Likewise.
60511         (exp10_test): Likewise.
60512         (exp2_test): Likewise.
60513         (expm1_test): Likewise.
60514         (fmod_test): Likewise.
60515         (gamma_test): Likewise.
60516         (hypot_test): Likewise.
60517         (j0_test): Likewise.
60518         (j1_test): Likewise.
60519         (jn_test): Likewise.
60520         (lgamma_test): Likewise.
60521         (log_test): Likewise.
60522         (log10_test): Likewise.
60523         (log1p_test): Likewise.
60524         (log2_test): Likewise.
60525         (logb_test_downward): Likewise.
60526         (pow_test): Likewise.
60527         (pow_test_tonearest): Likewise.
60528         (pow_test_towardzero): Likewise.
60529         (pow_test_downward): Likewise.
60530         (pow_test_upward): Likewise.
60531         (remainder_test): Likewise.
60532         (remquo_test): Likewise.
60533         (sin_test): Likewise.
60534         (sin_test_tonearest): Likewise.
60535         (sin_test_towardzero): Likewise.
60536         (sin_test_downward): Likewise.
60537         (sin_test_upward): Likewise.
60538         (sincos_test): Likewise.
60539         (sinh_test): Likewise.
60540         (sinh_test_tonearest): Likewise.
60541         (sinh_test_towardzero): Likewise.
60542         (sinh_test_downward): Likewise.
60543         (sinh_test_upward): Likewise.
60544         (sqrt_test): Likewise.
60545         (tan_test): Likewise.
60546         (tan_test_tonearest): Likewise.
60547         (tan_test_towardzero): Likewise.
60548         (tan_test_downward): Likewise.
60549         (tan_test_upward): Likewise.
60550         (tanh_test): Likewise.
60551         (tgamma_test): Likewise.
60552         (y0_test): Likewise.
60553         (y1_test): Likewise.
60554         (yn_test): Likewise.
60556         * math/gen-libm-test.pl (adjust_arg): Remove function.
60557         (special_function): Remove argument $in_func.  Only handle
60558         generating output for tables of tests, not inside functions.
60559         (parse_args): Likewise.
60560         (generate_testfile): Remove variable $in_func.  Update call to
60561         parse_args.
60562         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
60563         (MINUS_ZERO_INIT): Rename macro to minus_zero.
60564         (PLUS_INFTY_INIT): Rename macro to plus_infty.
60565         (MINUS_INFTY_INIT): Rename macro to minus_infty.
60566         (QNAN_VALUE_INIT): Rename macro to qnan_value.
60567         (MAX_VALUE_INIT): Rename macro to max_value.
60568         (MIN_VALUE_INIT): Rename macro to min_value.
60569         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
60570         (plus_zero): Remove variable.
60571         (minus_zero): Likewise.
60572         (plus_infty): Likewise.
60573         (minus_infty): Likewise.
60574         (qnan_value): Likewise.
60575         (max_value): Likewise.
60576         (min_value): Likewise.
60577         (min_subnorm_value): Likewise.
60579 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60581         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
60582         uint64_t or uint32_t usage.
60583         * crypt/sha256-block.c: Likewise.
60584         * crypt/sha256-crypt.c: Likewise.
60585         * crypt/sha256.c: Likewise.
60586         * crypt/sha512-block.c: Likewise.
60587         * crypt/sha512-crypt.c: Likewise.
60588         * crypt/sha512.c: Likewise.
60589         * debug/backtrace-tst.c: Likewise.
60590         * debug/pcprofiledump.c: Likewise.
60591         * elf/cache.c: Likewise.
60592         * elf/dl-cache.c: Likewise.
60593         * elf/dl-misc.c: Likewise.
60594         * elf/dl-profile.c: Likewise.
60595         * elf/dl-support.c: Likewise.
60596         * elf/ldconfig.c: Likewise.
60597         * elf/sprof.c: Likewise.
60598         * iconv/dummy-repertoire.c: Likewise.
60599         * iconv/iconv_charmap.c: Likewise.
60600         * iconv/skeleton.c: Likewise.
60601         * iconvdata/8bit-generic.c: Likewise.
60602         * iconvdata/cp737.h: Likewise.
60603         * iconvdata/cp775.h: Likewise.
60604         * iconvdata/ibm1008.h: Likewise.
60605         * iconvdata/ibm1025.h: Likewise.
60606         * iconvdata/ibm1046.h: Likewise.
60607         * iconvdata/ibm1097.h: Likewise.
60608         * iconvdata/ibm1112.h: Likewise.
60609         * iconvdata/ibm1122.h: Likewise.
60610         * iconvdata/ibm1123.h: Likewise.
60611         * iconvdata/ibm1124.h: Likewise.
60612         * iconvdata/ibm1129.h: Likewise.
60613         * iconvdata/ibm1130.h: Likewise.
60614         * iconvdata/ibm1132.h: Likewise.
60615         * iconvdata/ibm1133.h: Likewise.
60616         * iconvdata/ibm1137.h: Likewise.
60617         * iconvdata/ibm1140.h: Likewise.
60618         * iconvdata/ibm1141.h: Likewise.
60619         * iconvdata/ibm1142.h: Likewise.
60620         * iconvdata/ibm1143.h: Likewise.
60621         * iconvdata/ibm1144.h: Likewise.
60622         * iconvdata/ibm1145.h: Likewise.
60623         * iconvdata/ibm1146.h: Likewise.
60624         * iconvdata/ibm1147.h: Likewise.
60625         * iconvdata/ibm1148.h: Likewise.
60626         * iconvdata/ibm1149.h: Likewise.
60627         * iconvdata/ibm1153.h: Likewise.
60628         * iconvdata/ibm1154.h: Likewise.
60629         * iconvdata/ibm1155.h: Likewise.
60630         * iconvdata/ibm1156.h: Likewise.
60631         * iconvdata/ibm1157.h: Likewise.
60632         * iconvdata/ibm1158.h: Likewise.
60633         * iconvdata/ibm1160.h: Likewise.
60634         * iconvdata/ibm1161.h: Likewise.
60635         * iconvdata/ibm1162.h: Likewise.
60636         * iconvdata/ibm1163.h: Likewise.
60637         * iconvdata/ibm1164.h: Likewise.
60638         * iconvdata/ibm1166.h: Likewise.
60639         * iconvdata/ibm1167.h: Likewise.
60640         * iconvdata/ibm12712.h: Likewise.
60641         * iconvdata/ibm1390.h: Likewise.
60642         * iconvdata/ibm1399.h: Likewise.
60643         * iconvdata/ibm16804.h: Likewise.
60644         * iconvdata/ibm4517.h: Likewise.
60645         * iconvdata/ibm4899.h: Likewise.
60646         * iconvdata/ibm4909.h: Likewise.
60647         * iconvdata/ibm4971.h: Likewise.
60648         * iconvdata/ibm5347.h: Likewise.
60649         * iconvdata/ibm803.h: Likewise.
60650         * iconvdata/ibm856.h: Likewise.
60651         * iconvdata/ibm901.h: Likewise.
60652         * iconvdata/ibm902.h: Likewise.
60653         * iconvdata/ibm9030.h: Likewise.
60654         * iconvdata/ibm9066.h: Likewise.
60655         * iconvdata/ibm921.h: Likewise.
60656         * iconvdata/ibm922.h: Likewise.
60657         * iconvdata/ibm9448.h: Likewise.
60658         * iconvdata/isiri-3342.h: Likewise.
60659         * iconvdata/jis0201.h: Likewise.
60660         * include/link.h: Likewise.
60661         * include/netdb.h: Likewise.
60662         * inet/check_native.c: Likewise.
60663         * inet/check_pf.c: Likewise.
60664         * inet/getipv4sourcefilter.c: Likewise.
60665         * inet/getnameinfo.c: Likewise.
60666         * inet/getsourcefilter.c: Likewise.
60667         * inet/htonl.c: Likewise.
60668         * inet/setipv4sourcefilter.c: Likewise.
60669         * inet/setsourcefilter.c: Likewise.
60670         * inet/test-inet6_opt.c: Likewise.
60671         * inet/tst-network.c: Likewise.
60672         * locale/C-collate.c: Likewise.
60673         * locale/C-ctype.c: Likewise.
60674         * locale/C-time.c: Likewise.
60675         * locale/C-translit.h: Likewise.
60676         * locale/loadarchive.c: Likewise.
60677         * locale/programs/3level.h: Likewise.
60678         * locale/programs/charmap.c: Likewise.
60679         * locale/programs/charmap.h: Likewise.
60680         * locale/programs/ld-address.c: Likewise.
60681         * locale/programs/ld-collate.c: Likewise.
60682         * locale/programs/ld-ctype.c: Likewise.
60683         * locale/programs/ld-identification.c: Likewise.
60684         * locale/programs/ld-measurement.c: Likewise.
60685         * locale/programs/ld-messages.c: Likewise.
60686         * locale/programs/ld-monetary.c: Likewise.
60687         * locale/programs/ld-name.c: Likewise.
60688         * locale/programs/ld-numeric.c: Likewise.
60689         * locale/programs/ld-paper.c: Likewise.
60690         * locale/programs/ld-telephone.c: Likewise.
60691         * locale/programs/ld-time.c: Likewise.
60692         * locale/programs/linereader.c: Likewise.
60693         * locale/programs/locale.c: Likewise.
60694         * locale/programs/locarchive.c: Likewise.
60695         * locale/programs/locfile.h: Likewise.
60696         * locale/programs/repertoire.c: Likewise.
60697         * locale/programs/simple-hash.c: Likewise.
60698         * locale/programs/simple-hash.h: Likewise.
60699         * malloc/memusage.c: Likewise.
60700         * malloc/memusagestat.c: Likewise.
60701         * nis/nis_defaults.c: Likewise.
60702         * nis/nis_hash.c: Likewise.
60703         * nis/nis_print.c: Likewise.
60704         * nis/nis_xdr.c: Likewise.
60705         * nscd/connections.c: Likewise.
60706         * nscd/hstcache.c: Likewise.
60707         * nscd/nscd_gethst_r.c: Likewise.
60708         * nscd/nscd_getserv_r.c: Likewise.
60709         * nscd/nscd_helper.c: Likewise.
60710         * nscd/servicescache.c: Likewise.
60711         * nss/makedb.c: Likewise.
60712         * nss/nss_db/db-XXX.c: Likewise.
60713         * nss/nss_db/db-initgroups.c: Likewise.
60714         * nss/nss_db/db-netgrp.c: Likewise.
60715         * nss/nss_files/files-network.c: Likewise.
60716         * nss/nss_files/files-parse.c: Likewise.
60717         * posix/bug-regex5.c: Likewise.
60718         * posix/fnmatch_loop.c: Likewise.
60719         * posix/regcomp.c: Likewise.
60720         * posix/regexec.c: Likewise.
60721         * posix/tst-rfc3484-2.c: Likewise.
60722         * posix/tst-rfc3484-3.c: Likewise.
60723         * posix/tst-rfc3484.c: Likewise.
60724         * resolv/nss_dns/dns-canon.c: Likewise.
60725         * resolv/nss_dns/dns-network.c: Likewise.
60726         * resolv/res_init.c: Likewise.
60727         * resolv/res_mkquery.c: Likewise.
60728         * resolv/tst-aton.c: Likewise.
60729         * stdlib/cxa_atexit.c: Likewise.
60730         * stdlib/cxa_finalize.c: Likewise.
60731         * stdlib/gen-fpioconst.c: Likewise.
60732         * stdlib/strtol_l.c: Likewise.
60733         * string/tst-endian.c: Likewise.
60734         * sunrpc/auth_des.c: Likewise.
60735         * sunrpc/clnt_udp.c: Likewise.
60736         * sunrpc/rtime.c: Likewise.
60737         * sunrpc/svcauth_des.c: Likewise.
60738         * sunrpc/xdr.c: Likewise.
60739         * sunrpc/xdr_intXX_t.c: Likewise.
60740         * sunrpc/xdr_rec.c: Likewise.
60741         * sysdeps/generic/ldconfig.h: Likewise.
60742         * sysdeps/generic/ldsodefs.h: Likewise.
60743         * sysdeps/generic/memusage.h: Likewise.
60744         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
60745         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
60746         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
60747         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
60748         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60749         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
60750         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
60751         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
60752         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
60753         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60754         * sysdeps/posix/getaddrinfo.c: Likewise.
60755         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60756         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60757         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60758         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60759         * sysdeps/powerpc/test-gettimebase.c: Likewise.
60760         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
60761         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
60762         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
60763         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
60764         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
60765         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60766         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60767         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
60768         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
60769         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
60770         * sysdeps/x86_64/dl-tls.h: Likewise.
60771         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
60772         * time/alt_digit.c: Likewise.
60773         * time/era.c: Likewise.
60774         * wcsmbs/tst-c16c32-1.c: Likewise.
60776 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60778         * math/libm-test.inc (struct test_sincos_data): New type.
60779         (RUN_TEST_LOOP_sincos): New macro.
60780         (sincos_test_data): New variable.
60781         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
60783 2013-05-16  Richard Henderson  <rth@redhat.com>
60785         * math/atest-exp2.c (LIMB64): New macro.
60786         (CONSTSZ): New macro.
60787         (mp_exp1, mp_exp_m1, mp_log2): New variables.
60788         (hexdig): Move ...
60789         (print_mpn_fp): ... to function scope.
60790         (read_mpn_hex): Remove.
60791         (get_log2): Remove.
60792         (exp2_mpn): Use mp_log2.
60793         (main): Use mp_exp1.
60795 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
60797         * math/libm-test.inc: Remove comment about not testing "inexact"
60798         exceptions.
60799         (INEXACT_EXCEPTION): New macro.
60800         (NO_INEXACT_EXCEPTION): Likewise.
60801         (INVALID_EXCEPTION_OK): Update value.
60802         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60803         (OVERFLOW_EXCEPTION_OK): Likewise.
60804         (UNDERFLOW_EXCEPTION_OK): Likewise.
60805         (IGNORE_ZERO_INF_SIGN): Likewise.
60806         (ERRNO_UNCHANGED): Likewise.
60807         (ERRNO_EDOM): Likewise.
60808         (ERRNO_ERANGE): Likewise.
60809         (test_exceptions): Handle testing "inexact" exceptions.
60810         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
60811         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
60812         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
60813         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
60814         INEXACT_EXCEPTION.
60815         (rint_towardzero_test_data): Likewise.
60816         (rint_downward_test_data): Likewise.
60817         (rint_upward_test_data): Likewise.
60819         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
60820         with OVERFLOW_EXCEPTION.
60821         (exp10_test_data): Likewise.
60822         (exp2_test_data): Likewise.
60823         (expm1_test_data): Likewise.
60824         (lgamma_test_data): Likewise.
60825         (pow_test_data): Likewise.
60826         (tgamma_test_data): Likewise.
60827         (yn_test_data): Remove duplicate test of overflow.
60829         * math/libm-test.inc (struct test_cc_c_data): New type.
60830         (RUN_TEST_LOOP_cc_c): New macro.
60831         (cpow_test_data): New variable.
60832         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
60834         * math/libm-test.inc (struct test_f_L_data): New type.
60835         (RUN_TEST_LOOP_f_L): New macro.
60836         (llrint_test_data): New variable.
60837         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
60838         (llrint_tonearest_test_data): New variable.
60839         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
60840         (llrint_towardzero_test_data): New variable.
60841         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
60842         (llrint_downward_test_data): New variable.
60843         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
60844         (llrint_upward_test_data): New variable.
60845         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
60846         (llround_test_data): New variable.
60847         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
60849 2013-05-13  Peter Collingbourne  <pcc@google.com>
60851         * math/atest-exp2.c (get_log2): Remove const attribute.
60853 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60855         * math/libm-test.inc (struct test_f_l_data): New type.
60856         (RUN_TEST_LOOP_f_l): New macro.
60857         (lrint_test_data): New variable.
60858         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
60859         (lrint_tonearest_test_data): New variable.
60860         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
60861         (lrint_towardzero_test_data): New variable.
60862         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
60863         (lrint_downward_test_data): New variable.
60864         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
60865         (lrint_upward_test_data): New variable.
60866         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
60867         (lround_test_data): New variable.
60868         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
60870 2013-05-15  Peter Collingbourne  <pcc@google.com>
60872         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
60873         (EXTRACT_WORDS64) Use where appropriate.
60874         (INSERT_WORDS64) Likewise.
60876         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
60877         constraints with x constraints.
60878         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
60880         * malloc/obstack.c (_obstack_compat): Add initializer.
60882 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60884         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
60885         si_trapno and add si_addr_lsb to _sifields.sigfault.
60886         (si_trapno): Remove macro.
60887         (si_addr_lsb): Define new macro.
60888         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60890 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
60892         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
60893         instead of TEST_f_l.
60894         (llrint_test_tonearest): Likewise.
60895         (llrint_test_towardzero): Likewise.
60896         (llrint_test_downward): Likewise.
60897         (llrint_test_upward): Likewise.
60898         (llround_test): Likewise.
60900         * math/libm-test.inc (struct test_f_i_data): Add comment.
60901         (RUN_TEST_LOOP_f_b): New macro.
60902         (RUN_TEST_LOOP_f_b_tg): Likewise.
60903         (finite_test_data): New variable.
60904         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
60905         (isfinite_test_data): New variable.
60906         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60907         (isinf_test_data): New variable.
60908         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60909         (isnan_test_data): New variable.
60910         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60911         (isnormal_test_data): New variable.
60912         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60913         (issignaling_test_data): New variable.
60914         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60915         (signbit_test_data): New variable.
60916         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
60918         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
60919         with INVALID_EXCEPTION.
60920         (acosh_test_data): Likewise.
60921         (asin_test_data): Likewise.
60922         (atanh_test_data): Likewise.
60923         (fmod_test_data): Likewise.
60924         (log_test_data): Likewise.
60925         (log10_test_data): Likewise.
60926         (log2_test_data): Likewise.
60927         (pow_test_data): Likewise.
60928         (sqrt_test_data): Likewise.
60929         (y0_test_data): Likewise.
60930         (y1_test_data): Likewise.
60931         (yn_test_data): Likewise.
60933         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
60934         function contents.
60936         * math/libm-test.inc (struct test_ff_i_data): New type.
60937         (RUN_TEST_LOOP_ff_i_tg): New macro.
60938         (isgreater_test_data): New variable.
60939         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60940         (isgreaterequal_test_data): New variable.
60941         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60942         (isless_test_data): New variable.
60943         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60944         (islessequal_test_data): New variable.
60945         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60946         (islessgreater_test_data): New variable.
60947         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60948         (isunordered_test_data): New variable.
60949         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60951 2013-05-14  David S. Miller  <davem@davemloft.net>
60953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60955 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60957         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60959         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60960         extra_test to int.
60961         (struct test_f_i_data): Change type of max_ulp to int.
60963         * math/libm-test.inc (test_ffI_f1_data): New type.
60964         (RUN_TEST_LOOP_ffI_f1): New macro.
60965         (remquo_test_data): New variable.
60966         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60968         * setjmp/tst-setjmp-fp.c: New file.
60969         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60970         (link-libm): New variable.
60971         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60973         * math/libm-test.inc (struct test_f_i_data): New type.
60974         (RUN_TEST_LOOP_f_i): New macro.
60975         (RUN_TEST_LOOP_f_i_tg): Likewise.
60976         (fpclassify_test_data): New variable.
60977         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60978         (ilogb_test_data): New variable.
60979         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60981         * math/libm-test.inc (scalbln_test): Correct function name in END
60982         call.
60984         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60985         (RUN_TEST_LOOP_fI_f1): New macro.
60986         (frexp_test_data): New variable.
60987         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60989         * math/libm-test.inc (struct test_fF_f1_data): New type.
60990         (RUN_TEST_LOOP_fF_f1): New macro.
60991         (modf_test_data): New variable.
60992         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60994         * math/libm-test.inc (struct test_f_f1_data): New type.
60995         (RUN_TEST_LOOP_f_f1): New macro.
60996         (gamma_test_data): New variable.
60997         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60998         (lgamma_test_data): New variable.
60999         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61001 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61003         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61004         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61005         (main): Comment "tls" pseudo-hwcap.
61007 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61009         * math/libm-test.inc (struct test_fl_f_data): New type.
61010         (RUN_TEST_LOOP_fl_f): New variable.
61011         (scalbln_test_data): New variable.
61012         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61014         * math/libm-test.inc (struct test_fi_f_data): New type.
61015         (RUN_TEST_LOOP_fi_f): New macro.
61016         (ldexp_test_data): New variable.
61017         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61018         (scalbn_test_data): New variable.
61019         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61021         * math/libm-test.inc (struct test_c_f_data): New type.
61022         (RUN_TEST_LOOP_c_f): New macro.
61023         (cabs_test_data): New variable.
61024         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61025         (carg_test_data): New variable.
61026         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61027         (cimag_test_data): New variable.
61028         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61029         (creal_test_data): New variable.
61030         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61032         * math/libm-test.inc (struct test_if_f_data): New type.
61033         (RUN_TEST_LOOP_if_f): New macro.
61034         (jn_test_data): New variable.
61035         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61036         (yn_test_data): New variable.
61037         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61039         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61041 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61043         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61044         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61046 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61048         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61049         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61050         (bench-deps): Add bench-timing.h.
61051         * benchtests-bench-skeleton.c: Include bench-timing.h.
61052         (main): Use TIMING_* macros instead of clock_gettime.
61053         * benchtests/bench-timing.h: New file.
61055         [BZ #14582]
61056         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61057         Renamed from _LIB_VERSION.
61058         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61060 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61062         * math/libm-test.inc (struct test_fff_f_data): New type.
61063         (RUN_TEST_LOOP_fff_f): New macro.
61064         (fma_test_data): New variable.
61065         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61066         (fma_towardzero_test_data): New variable.
61067         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61068         (fma_downward_test_data): New variable.
61069         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61070         (fma_upward_test_data): New variable.
61071         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61073         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61074         (struct test_c_c_data): New type.
61075         (RUN_TEST_LOOP_c_c): New macro.
61076         (cacos_test_data): New variable.
61077         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61078         (cacosh_test_data): New variable.
61079         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61080         (casin_test_data): New variable.
61081         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61082         (casinh_test_data): New variable.
61083         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61084         (catan_test_data): New variable.
61085         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61086         (catanh_test_data): New variable.
61087         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61088         (ccos_test_data): New variable.
61089         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61090         (ccosh_test_data): New variable.
61091         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61092         (cexp_test_data): New variable.
61093         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61094         (clog_test_data): New variable.
61095         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61096         (clog10_test_data): New variable.
61097         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61098         (conj_test_data): New variable.
61099         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61100         (cproj_test_data): New variable.
61101         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61102         (csin_test_data): New variable.
61103         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61104         (csinh_test_data): New variable.
61105         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61106         (csqrt_test_data): New variable.
61107         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61108         (ctan_test_data): New variable.
61109         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61110         (ctan_tonearest_test_data): New variable.
61111         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61112         (ctan_towardzero_test_data): New variable.
61113         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61114         (ctan_downward_test_data): New variable.
61115         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61116         (ctan_upward_test_data): New variable.
61117         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61118         (ctanh_test_data): New variable.
61119         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61120         (ctanh_tonearest_test_data): New variable.
61121         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61122         (ctanh_towardzero_test_data): New variable.
61123         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61124         (ctanh_downward_test_data): New variable.
61125         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61126         (ctanh_upward_test_data): New variable.
61127         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61128         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61129         of BUILD_COMPLEX.
61131         * math/libm-test.inc (struct test_ff_f_data): New type.
61132         (struct test_ff_f_data_nexttoward): Likewise.
61133         (RUN_TEST_LOOP_2_f): New macro.
61134         (RUN_TEST_LOOP_ff_f): Likewise.
61135         (atan2_test_data): New variable.
61136         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61137         (copysign_test_data): New variable.
61138         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61139         (fdim_test_data): New variable.
61140         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61141         (fmax_test_data): New variable.
61142         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61143         (fmin_test_data): New variable.
61144         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61145         (fmod_test_data): New variable.
61146         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61147         (hypot_test_data): New variable.
61148         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61149         (nextafter_test_data): New variable.
61150         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61151         (nexttoward_test_data): New variable.
61152         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61153         (pow_test_data): New variable.
61154         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61155         (pow_tonearest_test_data): New variable.
61156         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61157         (pow_towardzero_test_data): New variable.
61158         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61159         (pow_downward_test_data): New variable.
61160         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61161         (pow_upward_test_data): New variable.
61162         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61163         (remainder_test_data): New variable.
61164         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61165         (scalb_test_data): New variable.
61166         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61167         * sysdeps/i386/fpu/libm-test-ulps: Update.
61169 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61171         * math/libm-test.inc (fma_test): Use max_value instead of local
61172         variable fltmax.
61173         (nextafter_test): Likewise.
61175         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61176         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61177         (acos_downward_test_data): New variable.
61178         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61179         (acos_upward_test_data): New variable.
61180         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61181         (acosh_test_data): New variable.
61182         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61183         (asin_test_data): New variable.
61184         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61185         (asin_tonearest_test_data): New variable.
61186         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61187         (asin_towardzero_test_data): New variable.
61188         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61189         (asin_downward_test_data): New variable.
61190         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61191         (asin_upward_test_data): New variable.
61192         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61193         (asinh_test_data): New variable.
61194         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61195         (atan_test_data): New variable.
61196         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61197         (atanh_test_data): New variable.
61198         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61199         (cbrt_test_data): New variable.
61200         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61201         (ceil_test_data): New variable.
61202         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61203         (cos_test_data): New variable.
61204         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61205         (cos_tonearest_test_data): New variable.
61206         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61207         (cos_towardzero_test_data): New variable.
61208         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61209         (cos_downward_test_data): New variable.
61210         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61211         (cos_upward_test_data): New variable.
61212         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61213         (cosh_test_data): New variable.
61214         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61215         (cosh_tonearest_test_data): New variable.
61216         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61217         (cosh_towardzero_test_data): New variable.
61218         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61219         (cosh_downward_test_data): New variable.
61220         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61221         (cosh_upward_test_data): New variable.
61222         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61223         (erf_test_data): New variable.
61224         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
61225         (erfc_test_data): New variable.
61226         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
61227         (exp_test_data): New variable.
61228         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
61229         (exp_tonearest_test_data): New variable.
61230         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61231         (exp_towardzero_test_data): New variable.
61232         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61233         (exp_downward_test_data): New variable.
61234         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61235         (exp_upward_test_data): New variable.
61236         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61237         (exp10_test_data): New variable.
61238         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
61239         (exp2_test_data): New variable.
61240         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
61241         (expm1_test_data): New variable.
61242         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
61243         (fabs_test_data): New variable.
61244         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
61245         (floor_test_data): New variable.
61246         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
61247         (j0_test_data): New variable.
61248         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
61249         (j1_test_data): New variable.
61250         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
61251         (log_test_data): New variable.
61252         (log_test): Run tests with RUN_TEST_LOOP_f_f.
61253         (log10_test_data): New variable.
61254         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
61255         (log1p_test_data): New variable.
61256         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
61257         (log2_test_data): New variable.
61258         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
61259         (logb_test_data): New variable.
61260         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
61261         (logb_downward_test_data): New variable.
61262         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61263         (nearbyint_test_data): New variable.
61264         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
61265         (rint_test_data): New variable.
61266         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
61267         (rint_tonearest_test_data): New variable.
61268         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61269         (rint_towardzero_test_data): New variable.
61270         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61271         (rint_downward_test_data): New variable.
61272         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61273         (rint_upward_test_data): New variable.
61274         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61275         (round_test_data): New variable.
61276         (round_test): Run tests with RUN_TEST_LOOP_f_f.
61277         (sin_test_data): New variable.
61278         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
61279         (sin_tonearest_test_data): New variable.
61280         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61281         (sin_towardzero_test_data): New variable.
61282         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61283         (sin_downward_test_data): New variable.
61284         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61285         (sin_upward_test_data): New variable.
61286         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61287         (sinh_test_data): New variable.
61288         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
61289         (sinh_tonearest_test_data): New variable.
61290         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61291         (sinh_towardzero_test_data): New variable.
61292         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61293         (sinh_downward_test_data): New variable.
61294         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61295         (sinh_upward_test_data): New variable.
61296         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61297         (sqrt_test_data): New variable.
61298         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
61299         (tan_test_data): New variable.
61300         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
61301         (tan_tonearest_test_data): New variable.
61302         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61303         (tan_towardzero_test_data): New variable.
61304         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61305         (tan_downward_test_data): New variable.
61306         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61307         (tan_upward_test_data): New variable.
61308         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61309         (tanh_test_data): New variable.
61310         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
61311         (tgamma_test_data): New variable.
61312         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
61313         (trunc_test_data): New variable.
61314         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
61315         (y0_test_data): New variable.
61316         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
61317         (y1_test_data): New variable.
61318         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
61319         (significand_test_data): New variable.
61320         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
61322 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
61324         [BZ #12387]
61325         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
61327 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61329         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
61331 2013-05-10  Andreas Jaeger  <aj@suse.de>
61333         [BZ #15448]
61334         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
61335         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
61337 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61339         * math/gen-libm-test.pl (adjust_arg): New function.
61340         (special_functions): Handle generating output in both functions
61341         and arrays.
61342         (parse_args): Likewise.
61343         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
61344         $in_func argument to parse_args.
61345         * math/libm-test.inc (struct test_f_f_data): New type.
61346         (IF_ROUND_INIT_): New macro.
61347         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
61348         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
61349         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
61350         (IF_ROUND_INIT_FE_UPWARD): Likewise.
61351         (ROUND_RESTORE_): Likewise.
61352         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
61353         (ROUND_RESTORE_FE_TONEAREST): Likewise.
61354         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
61355         (ROUND_RESTORE_FE_UPWARD): Likewise.
61356         (RUN_TEST_LOOP_f_f): New macro.
61357         (acos_test_data): New variable.
61358         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
61359         (acos_tonearest_test_data): New variable.
61360         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61362 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61364         * benchtests/bench-skeleton.c (startup): Fix coding style.
61366 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
61368         [BZ #6809]
61369         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
61370         negative infinity argument.
61371         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
61372         negative infinity argument.
61373         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
61374         negative infinity argument.
61375         * math/libm-test.inc (tgamma_test): Expect errno to be set for
61376         domain errors.
61378 2013-05-10  Florian Weimer  <fweimer@redhat.com>
61380         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
61381         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
61382         * iconv/iconv_prog.c (main): Likewise.
61383         * locale/programs/charmap-dir.c (charmap_readdir)
61384         (fopen_uncompressed): Likewise.
61385         * locale/programs/locfile.c (siblings_uncached)
61386         (write_locale_data): Use lstat64 instead of lstat.
61387         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
61388         stat.
61390 2013-05-10  Andreas Jaeger  <aj@suse.de>
61392         [BZ #15395]
61393         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
61394         localization.
61395         Include <locale.h>.
61397 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
61399         * elf/dl-close.c (_dl_close_worker): Add comments.
61401 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
61403         [BZ #15359]
61404         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
61405         high part of pi/2.
61406         (__ieee754_rem_pio2l): Update comments.
61408         [BZ #15429]
61409         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
61410         high part of pi/2.
61411         (__ieee754_rem_pio2l): Update comments.
61413         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
61414         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
61416         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
61417         M_PI_4l.
61419         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
61420         (M_PI_34_LOG10El): Likewise.
61421         (M_PI2_LOG10El): Likewise.
61422         (M_PI4_LOG10El): Likewise.
61423         (M_PI_LOG10El): Likewise.
61425 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61429 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
61431         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
61432         (MINUS_ZERO_INIT): Likewise.
61433         (PLUS_INFTY_INIT): Likewise.
61434         (MINUS_INFTY_INIT): Likewise.
61435         (QNAN_VALUE_INIT): Likewise.
61436         (MAX_VALUE_INIT): Likewise.
61437         (MIN_VALUE_INIT): Likewise.
61438         (MIN_SUBNORM_VALUE_INIT): Likewise.
61439         (plus_zero): Initialize with PLUS_ZERO_INIT.
61440         (minus_zero): Initialize with MINUS_ZERO_INIT.
61441         (plus_infty): Initialize with PLUS_INFTY_INIT.
61442         (minus_infty): Initialize with MINUS_INFTY_INIT.
61443         (qnan_value): Initialize with QNAN_VALUE_INIT.
61444         (max_value): Initialize with MAX_VALUE_INIT.
61445         (min_value): Initialize with MIN_VALUE_INIT.
61446         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
61448         * math/libm-test.inc (RUN_TEST_if_f): New macro.
61449         (jn_test): Use TEST_if_f instead of TEST_ff_f.
61450         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
61451         (yn_test): Use TEST_if_f instead of TEST_ff_f.
61453         * math/libm-test.inc (RUN_TEST_f_f): New macro.
61454         (RUN_TEST_2_f): Likewise.
61455         (RUN_TEST_ff_f): Likewise.
61456         (RUN_TEST_fi_f): Likewise.
61457         (RUN_TEST_fl_f): Likewise.
61458         (RUN_TEST_fff_f): Likewise.
61459         (RUN_TEST_c_f): Likewise.
61460         (RUN_TEST_f_f1): Likewise.
61461         (RUN_TEST_fF_f1): Likewise.
61462         (RUN_TEST_fI_f1): Likewise.
61463         (RUN_TEST_ffI_f1): Likewise.
61464         (RUN_TEST_c_c): Likewise.
61465         (RUN_TEST_cc_c): Likewise.
61466         (RUN_TEST_f_i): Likewise.
61467         (RUN_TEST_f_i_tg): Likewise.
61468         (RUN_TEST_ff_i_tg): Likewise.
61469         (RUN_TEST_f_b): Likewise.
61470         (RUN_TEST_f_b_tg): Likewise.
61471         (RUN_TEST_f_l): Likewise.
61472         (RUN_TEST_f_L): Likewise.
61473         (RUN_TEST_sincos): Likewise.
61474         * math/gen-libm-test.pl (new_test): Take new argument to indicate
61475         whether to show exceptions.  Do not include ");\n" in return
61476         value.
61477         (special_functions): Output call to RUN_TEST_sincos instead of
61478         check_float calls.  Update calls to new_test.
61479         (parse_args): Output call to single RUN_TEST_* macro instead of
61480         check_* calls and other assignments.  Update calls to new_test.
61482         [BZ #2546]
61483         [BZ #2560]
61484         [BZ #5159]
61485         [BZ #15426]
61486         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
61487         input to result for tgamma overflow.
61488         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
61489         (gamma_coeff): New variable.
61490         (NCOEFF): New macro.
61491         (gamma_positive): New function.
61492         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
61493         underflow here.  Use gamma_positive instead of exp (lgamma) for
61494         other arguments.
61495         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
61496         (gamma_coeff): New variable.
61497         (NCOEFF): New macro.
61498         (gammaf_positive): New function.
61499         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
61500         underflow here.  Use gamma_positive instead of exp (lgamma) for
61501         other arguments.
61502         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
61503         (gamma_coeff): New variable.
61504         (NCOEFF): New macro.
61505         (gammal_positive): New function.
61506         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
61507         underflow here.  Use gamma_positive instead of exp (lgamma) for
61508         other arguments.
61509         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
61510         (gamma_coeff): New variable.
61511         (NCOEFF): New macro.
61512         (gammal_positive): New function.
61513         (__ieee754_gammal_r): Handle positive infinity, overflow and
61514         underflow here.  Handle NaN the same as positive infinity.  Remove
61515         check x < 0xffffffff for negative integers.  Use gamma_positive
61516         instead of exp (lgamma) for other arguments.
61517         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
61518         (gamma_coeff): New variable.
61519         (NCOEFF): New macro.
61520         (gammal_positive): New function.
61521         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
61522         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
61523         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
61524         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
61525         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
61526         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
61527         * sysdeps/generic/math_private.h (__gamma_productf): New
61528         prototype.
61529         (__gamma_product): Likewise.
61530         (__gamma_productl): Likewise.
61531         * math/Makefile (libm-calls): Add gamma_product.
61532         * math/libm-test.inc (tgamma_test): Add more tests.
61533         * sysdeps/i386/fpu/libm-test-ulps: Update.
61534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61536 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
61538         * benchtests/bench-skeleton.c (main): Preheat CPU.
61540 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
61542         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
61544 2013-05-07  Roland McGrath  <roland@hack.frob.com>
61546         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
61547         and _dl_skip_args_internal.
61549 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
61551         * manual/message.texi (Message Translation): Talk about users.
61552         Message to key mapping impacts design.
61554 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61556         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
61558         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
61560         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
61561         * sysdeps/wordsize-64/glob64.c: ... here.
61563         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
61564         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
61565         New macros.
61567         * debug/getlogin_r_chk.c: Moved to ...
61568         * login/getlogin_r_chk.c: ... here.
61569         * debug/Makefile (routines): Move getlogin_r_chk to ...
61570         * login/Makefile (routines): ... here.
61571         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
61572         * login/Versions (libc: GLIBC_2.4): ... here.
61574         * io/poll.c (__poll): Renamed from poll.
61575         Add libc_hidden_def.
61576         (poll): Define as weak alias.
61578         * debug/ptsname_r_chk.c: Moved to ...
61579         * login/ptsname_r_chk.c: ... here.
61580         * debug/Makefile (routines): Move ptsname_r_chk to ...
61581         * login/Makefile (routines): ... here.
61582         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
61583         * login/Versions (libc: GLIBC_2.4): ... here.
61585         * posix/getlogin.c: Moved to ...
61586         * login/getlogin.c: ... here.
61587         * posix/getlogin_r.c: Moved to ...
61588         * login/getlogin_r.c: ... here.
61589         * posix/getlogin_r.c: Moved to ...
61590         * login/getlogin_r.c: ... here.
61591         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
61592         * login/Makefile (routines): ... here.
61593         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
61594         * login/Versions (libc: GLIBC_2.0): ... here.
61596         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
61597         (setrlimit): Define as weak alias.
61599         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
61600         Call __ names for open, ftruncate, and close.
61601         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
61602         (truncate): Define as weak alias.
61604 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
61606         * math/gen-libm-test.pl (parse_args): Initialize x before each
61607         test of frexp, modf and remquo.
61609         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
61610         test signgam value.
61612 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61614         [BZ #15418]
61615         [BZ #15419]
61616         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
61617         internal tests.
61618         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61620 2013-05-06  Roland McGrath  <roland@hack.frob.com>
61622         * elf/dl-writev.h: New file.
61623         * elf/dl-misc.c: Include it.
61624         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
61625         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
61627 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
61629         * math/libm-test.inc (noXFails): Remove variable.
61630         (noXPasses): Likewise.
61631         (BUILD_COMPLEX_INT): Remove macro.
61632         (print_screen): Remove xfail argument.
61633         (print_screen_max_error): Likewise.
61634         (update_stats): Likewise.
61635         (print_max_error): Likewise.  Update calls to other affected
61636         functions.
61637         (print_complex_max_error): Likewise.
61638         (test_single_exception): Update calls to print_screen.
61639         (test_single_errno): Likewise.
61640         (check_float_internal): Remove xfail argument.  Update calls to
61641         other affected functions.
61642         (check_float): Likewise.
61643         (check_complex): Likewise.
61644         (check_int): Likewise.
61645         (check_long): Likewise.
61646         (check_bool): Likewise.
61647         (check_longlong): Likewise.
61648         (main): Don't print noXFails and noXPasses.
61649         * math/gen-libm-test.pl (top level): Don't mention expected
61650         failure handling in comment.
61651         (new_test): Don't handle expected failures.
61652         (parse_args): Don't mention expected failure handling in comment.
61653         (generate_testfile): Don't handle expected failures.
61654         (parse_ulps): Likewise.
61655         (print_ulps_file): Likewise.
61656         (get_failure): Remove function.
61657         (output_test): Don't handle expected failures.
61658         * make/README.libm-test: Don't mention expected failure handling.
61660         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
61661         (minus_zero): Likewise.
61662         (plus_infty): Likewise.
61663         (minus_infty): Likewise.
61664         (qnan_value): Likewise.
61665         (max_value): Likewise.
61666         (min_value): Likewise.
61667         (min_subnorm_value): Likewise.
61668         (initialize): Do not initialize those variables dynamically.
61670 2013-05-03  Roland McGrath  <roland@hack.frob.com>
61672         * io/open.c (__open_2): Moved to ...
61673         * io/open_2.c: ... this new file.
61674         * io/open64.c (__open64_2): Moved to ...
61675         * io/open64_2.c: ... this new file.
61676         * io/openat.c (__openat_2): Moved to ...
61677         * io/openat_2.c: ... this new file.
61678         * io/openat64.c (__openat64_2): Moved to ...
61679         * io/openat64_2.c: ... this new file.
61680         * io/Makefile (routines): Add them.
61681         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
61682         * sysdeps/unix/sysv/linux/open_2.c: File removed.
61683         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
61684         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
61685         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
61686         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
61687         (__openat64): Add hidden_ver.
61688         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
61689         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
61691         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
61692         Separately conditionalize setting of GLRO(dl_sysinfo) so
61693         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
61694         as well, but the actual setting is only under [NEED_DL_SYSINFO].
61696 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61698         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
61699         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
61700         definition.
61701         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
61702         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61703         (_libc_vdso_platform_setup): Add __vdso_time initialization.
61704         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
61705         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
61707 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
61709         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
61710         test signgam value.
61712         * math/libm-test.inc (hypot_test): Do not use
61713         IGNORE_ZERO_INF_SIGN.
61715 2013-05-03  Andreas Jaeger  <aj@suse.de>
61717         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
61718         Linux 3.9.
61719         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
61720         (PF_MAX): Adjust for VSOCK change.
61722 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61726 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
61728         [BZ #15264]
61729         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
61730         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
61731         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
61733 2013-05-02  David S. Miller  <davem@davemloft.net>
61735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61737 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
61739         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
61741 2013-05-01  Roland McGrath  <roland@hack.frob.com>
61743         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
61745 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
61747         [BZ #14952]
61748         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
61749         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61750         Use __attribute__ ((__gnu_inline__)).
61751         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
61752         Don't use __attribute__ ((__gnu_inline__)).
61754 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
61756         [BZ #15423]
61757         * math/s_catan.c (__catan): Handle small real or imaginary part of
61758         input specially to avoid spurious underflow.
61759         * math/s_catanf.c (__catanf): Likewise.
61760         * math/s_catanh.c (__catanh): Likewise.
61761         * math/s_catanhf.c (__catanhf): Likewise.
61762         * math/s_catanhl.c (__catanhl): Likewise.
61763         * math/s_catanl.c (__catanl): Likewise.
61764         * math/libm-test.inc (catan_test): Add more tests.
61765         (catanh_test): Likewise.
61766         * sysdeps/i386/fpu/libm-test-ulps: Update.
61767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61769 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61773 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
61775         [BZ #15416]
61776         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
61777         accurately for denominator in atan2.
61778         * math/s_catanf.c (__catanf): Likewise.
61779         * math/s_catanh.c (__catanh): Likewise.
61780         * math/s_catanhf.c (__catanhf): Likewise.
61781         * math/s_catanhl.c (__catanhl): Likewise.
61782         * math/s_catanl.c (__catanl): Likewise.
61783         * math/libm-test.inc (catan_test): Add more tests.
61784         (catanh_test): Likewise.
61785         * sysdeps/i386/fpu/libm-test-ulps: Update.
61786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61788 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61790         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
61792         * benchtests/Makefile (bench): Remove slow benchmarks.
61793         * benchtests/atan-inputs: Add slow benchmark inputs.
61794         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
61795         (BENCH_FUNC): Accept variant offset.
61796         (VARIANT): Define.
61797         * benchtests/bench-skeleton.c (main): Run benchmark for each
61798         variant.
61799         * benchtests/cos-inputs: Add slow benchmark inputs.
61800         * benchtests/exp-inputs: Likewise.
61801         * benchtests/pow-inputs: Likewise.
61802         * benchtests/sin-inputs: Likewise.
61803         * benchtests/slowatan-inputs: Remove.
61804         * benchtests/slowatan.c: Remove.
61805         * benchtests/slowcos-inputs: Remove.
61806         * benchtests/slowcos.c: Remove.
61807         * benchtests/slowexp-inputs: Remove.
61808         * benchtests/slowexp.c: Remove.
61809         * benchtests/slowpow-inputs: Remove.
61810         * benchtests/slowpow.c: Remove.
61811         * benchtests/slowsin-inputs: Remove.
61812         * benchtests/slowsin.c: Remove.
61813         * benchtests/slowtan-inputs: Remove.
61814         * benchtests/slowtan.c: Remove.
61815         * benchtests/tan-inputs: Add slow benchmark inputs.
61816         * scripts/bench.pl: Parse comments and directives.
61818         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
61819         in CPPFLAGS.
61820         ($(objpfx)bench-%.c): Remove *-ITER.
61821         * benchtests/bench-modf.c: Remove definition of ITER.
61822         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
61823         (main): Loop for DURATION seconds instead of fixed number of
61824         iterations.
61825         * scripts/bench.pl: Don't expect iterations in parameters.
61827 2013-04-29  Roland McGrath  <roland@hack.frob.com>
61829         * io/fchdir.c (__fchdir): Renamed from fchdir.
61830         (fchdir): Define as weak alias.
61832 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61834         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
61835         (ERRNO_EDOM): Likewise.
61836         (ERRNO_ERANGE): Likewise.
61837         (noErrnoTests): New variable.
61838         (init_max_error): Set errno to 0.
61839         (test_single_errno): New function.
61840         (test_errno): Likewise.
61841         (check_float_internal): Call test_errno.  Set errno to 0.
61842         (check_complex): Refer to errno tests in comment.
61843         (check_int): Call test_errno.  Set errno to 0.
61844         (check_long): Likewise.
61845         (check_bool): Likewise.
61846         (check_longlong): Likewise.
61847         (cos_test): Use ERRNO_* flags for errno tests instead of
61848         check_int.
61849         (expm1_test): Likewise.
61850         (fmod_test): Likewise.
61851         (ilogb_test): Likewise.
61852         (lgamma_test): Likewise.
61853         (pow_test): Likewise.
61854         (remainder_test): Likewise.
61855         (sin_test): Likewise.
61856         (tan_test): Likewise.
61857         (yn_test): Likewise.
61858         (initialize): Set errno to 0.
61859         (main): Print number of errno tests.
61860         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
61862 2013-04-29  Andreas Jaeger  <aj@suse.de>
61864         [BZ #15084]
61865         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
61866         and RES_USEVC.
61868         [BZ #15085]
61869         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
61870         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
61871         unimplemented.
61873         [BZ #15380]
61874         * stdlib/random.c (__initstate): Return NULL if
61875         __initstate fails.
61877         [BZ #15086]
61878         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
61879         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
61880         RES_SNGLKUPREOP.
61882 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61886 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
61888         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
61889         of individual tests.
61890         (casin_test): Likewise.
61891         (casinh_test): Likewise.
61893 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
61895         [BZ #15409]
61896         * math/s_catan.c (__catan): Handle arguments with large real or
61897         imaginary part separately without squaring.
61898         * math/s_catanf.c (__catanf): Likewise.
61899         * math/s_catanh.c (__catanh): Likewise.
61900         * math/s_catanhf.c (__catanhf): Likewise.
61901         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61902         and redefine.
61903         (__catanhl): Handle arguments with large real or imaginary part
61904         separately without squaring.
61905         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
61906         and redefine.
61907         (__catanl): Handle arguments with large real or imaginary part
61908         separately without squaring.
61909         * math/libm-test.inc (catan_test): Add more tests.
61910         (catanh_test): Likewise.
61911         * sysdeps/i386/fpu/libm-test-ulps: Update.
61912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61914 2013-04-27  Andreas Jaeger  <aj@suse.de>
61916         [BZ #15007]
61917         * stdlib/stdlib.h: Update guards for qecvt.
61918         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
61919         <stdlib.h>.
61921 2013-04-27  Allan McRae  <allan@archlinux.org>
61923         * sysdeps/i386/fpu/libm-test-ulps: Update.
61925 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
61927         [BZ #15406]
61928         * math/s_catan.c: Include <float.h>.
61929         (__catan): Ensure underflow exception occurs for underflowed
61930         result.
61931         * math/s_catanf.c: Include <float.h>.
61932         (__catanf): Ensure underflow exception occurs for underflowed
61933         result.
61934         * math/s_catanh.c: Include <float.h>.
61935         (__catanh): Ensure underflow exception occurs for underflowed
61936         result.
61937         * math/s_catanhf.c: Include <float.h>.
61938         (__catanhf): Ensure underflow exception occurs for underflowed
61939         result.
61940         * math/s_catanhl.c: Include <float.h>.
61941         (__catanhl): Ensure underflow exception occurs for underflowed
61942         result.
61943         * math/s_catanl.c: Include <float.h>.
61944         (__catanl): Ensure underflow exception occurs for underflowed
61945         result.
61946         * math/libm-test.inc (catan_test): Add more tests.
61947         (catanh_test): Likewise.
61949         [BZ #15405]
61950         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61951         underflowed result.
61952         * math/s_ccoshf.c (__ccoshf): Likewise.
61953         * math/s_ccoshl.c (__ccoshl): Likewise.
61954         * math/s_csin.c (__csin): Likewise.
61955         * math/s_csinf.c (__csinf): Likewise.
61956         * math/s_csinh.c (__csinh): Likewise.
61957         * math/s_csinhf.c (__csinhf): Likewise.
61958         * math/s_csinhl.c (__csinhl): Likewise.
61959         * math/s_csinl.c (__csinl): Likewise.
61960         * math/libm-test.inc (ccos_test): Add more tests.
61961         (ccosh_test): Likewise.
61962         (csin_test): Likewise.
61963         (csinh_test): Likewise.
61965 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61967         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61968         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61969         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61970         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61971         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61972         powerpc/power5+/fpu folders.
61973         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61976 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61980 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61982         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61983         additions to variable.
61984         [$(config-machine) = x86_64] (modules-names): Likewise.
61985         ($(objpfx)tst-audit3): Remove dependency.
61986         ($(objpfx)tst-audit3.out): Likewise.
61987         ($(objpfx)tst-audit4): Likewise.
61988         ($(objpfx)tst-audit4.out): Likewise.
61989         ($(objpfx)tst-audit5): Likewise.
61990         ($(objpfx)tst-audit5.out): Likewise.
61991         ($(objpfx)tst-audit6): Likewise.
61992         ($(objpfx)tst-audit6.out): Likewise.
61993         ($(objpfx)tst-audit7): Likewise.
61994         ($(objpfx)tst-audit7.out): Likewise.
61995         (tst-audit3-ENV): Remove variable.
61996         (tst-audit4-ENV): Likewise.
61997         (tst-audit5-ENV): Likewise.
61998         (tst-audit6-ENV): Likewise.
61999         (tst-audit7-ENV): Likewise.
62000         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62001         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62002         addition to variable.
62003         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62004         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62005         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62006         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62007         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62008         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62009         tst-audit3, tst-audit4 and tst-audit5.
62010         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62011         tst-audit6 and tst-audit7.
62012         [$(subdir) = elf] (modules-names): Add audit modules for those
62013         tests.
62014         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62015         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62016         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62017         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62018         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62019         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62020         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62021         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62022         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62023         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62024         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62025         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62026         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62027         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62028         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62029         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62030         Likewise.
62031         [$(subdir) = elf && $(config-cflags-avx) = yes]
62032         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62033         [$(subdir) = elf && $(config-cflags-avx) = yes]
62034         (CFLAGS-tst-auditmod4a.c): Likewise.
62035         [$(subdir) = elf && $(config-cflags-avx) = yes]
62036         (CFLAGS-tst-auditmod4b.c): Likewise.
62037         [$(subdir) = elf && $(config-cflags-avx) = yes]
62038         (CFLAGS-tst-auditmod6b.c): Likewise.
62039         [$(subdir) = elf && $(config-cflags-avx) = yes]
62040         (CFLAGS-tst-auditmod6c.c): Likewise.
62041         [$(subdir) = elf && $(config-cflags-avx) = yes]
62042         (CFLAGS-tst-auditmod7b.c): Likewise.
62043         * elf/tst-audit3.c: Move to ...
62044         * sysdeps/x86_64/tst-audit3.c: ... here.
62045         * elf/tst-audit4.c: Move to ...
62046         * sysdeps/x86_64/tst-audit4.c: ... here.
62047         * elf/tst-audit5.c: Move to ...
62048         * sysdeps/x86_64/tst-audit5.c: ... here.
62049         * elf/tst-audit6.c: Move to ...
62050         * sysdeps/x86_64/tst-audit6.c: ... here.
62051         * elf/tst-audit7.c: Move to ...
62052         * sysdeps/x86_64/tst-audit7.c: ... here.
62053         * elf/tst-auditmod3a.c: Move to ...
62054         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62055         * elf/tst-auditmod3b.c: Move to ...
62056         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62057         * elf/tst-auditmod4a.c: Move to ...
62058         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62059         * elf/tst-auditmod4b.c: Move to ...
62060         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62061         * elf/tst-auditmod5a.c: Move to ...
62062         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62063         * elf/tst-auditmod5b.c: Move to ...
62064         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62065         * elf/tst-auditmod6a.c: Move to ...
62066         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62067         * elf/tst-auditmod6b.c: Move to ...
62068         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62069         * elf/tst-auditmod6c.c: Move to ...
62070         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62071         * elf/tst-auditmod7a.c: Move to ...
62072         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62073         * elf/tst-auditmod7b.c: Move to ...
62074         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62076 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62078         [BZ #15366]
62079         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62080         define unconditionally.
62081         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62082         define unconditionally.
62083         (INT8_C, INT16_C, etc.): Likewise.
62085 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62087         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62088         __ehdr_start with hidden visibility.
62090         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62092 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62094         * math/libm-test.inc (cos_test): Use accurate hex constants.
62095         (sincost_test): Likewise.
62097 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62099         * math/libm-test.inc (catan_test): Add more tests.
62100         (catanh_test): Likewise.
62102         * math/s_catanf.c (__catanf): Use suffixed floating-point
62103         constants.
62104         * math/s_catanhf.c (__catanhf): Likewise.
62105         * math/s_catanhl.c (__catanhl): Likewise.
62106         * math/s_catanl.c (__catanl): Likewise.
62108         [BZ #15394]
62109         * math/s_catan.c (__catan): Calculate imaginary part of result
62110         with log1p not log unless computing log of number close to 0.
62111         * math/s_catanf.c (__catanf): Likewise.
62112         * math/s_catanl.c (__catanl): Likewise.
62113         * math/s_catanh.c (__catanh): Calculate real part of result with
62114         log1p not log unless computing log of number close to 0.
62115         * math/s_catanhf.c (__catanhf): Likewise.
62116         * math/s_catanhl.c (__catanhl): Likewise.
62117         * math/libm-test.inc (catan_test): Add more tests.
62118         (catanh_test): Likewise.
62119         * sysdeps/i386/fpu/libm-test-ulps: Update.
62120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62122 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62124         * benchtests/Makefile: Mention files in which fast and slow
62125         paths of math functions are implemented.
62127 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62129         * sysdeps/posix/timespec_get.c: New file.
62131 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62133         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62134         POWER.
62135         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62136         for POWER.
62137         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62138         powerpc/power5/fpu folders.
62139         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62140         * benchtests/Makefile: Add modf testcase.
62141         * benchtests/bench-modf.c: New file: Benchmark test for mo
62143 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62145         [BZ #14888]
62146         * time/Makefile (tests): Add tst-strptime-whitespace.
62147         * time/strptime_l.c (get_number): Use ISSPACE.
62148         (__strptime_internal): Likewise.
62149         * time/tst-strptime-whitespace.c: New test case.
62151 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62153         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62154         member.
62155         (_nss_files_init): Set it here.
62157 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62159         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62160         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62161         unsigned.
62163 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62165         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62167 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62169         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62170         size just once.
62172 2013-04-21  David S. Miller  <davem@davemloft.net>
62174         * po/ru.po: Update Russion translation from translation project.
62176 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62178         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62179         and setfsgid.
62181 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62183         * configure.in: Remove i386 configure warning. Remove i386 case.
62184         * configure: Regenerate.
62185         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62186         Add example to error message.
62187         * sysdeps/i386/configure: Regenerate.
62189 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62191         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62192         slowtan.
62193         * benchtests/cos-inputs: New file.
62194         * benchtests/slowcos-inputs: New file.
62195         * benchtests/slowcos.c: New file.
62196         * benchtests/slowtan-inputs: New file.
62197         * benchtests/slowtan.c: New file.
62198         * benchtests/tan-inputs: New file.
62200 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62202         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62203         considered kosher.
62205 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62207         * benchtests/Makefile: Include cppflags-iterator.mk to add
62208         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62210         * Makefile.in (bench-clean): New target.
62211         * benchtests/Makefile (bench-clean): Likewise.
62213 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62215         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62217 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62219         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62221 2013-04-15  Andreas Schwab  <schwab@suse.de>
62223         * nscd/grpcache.c (cache_addgr): Properly check for short write.
62224         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62225         * nscd/pwdcache.c (cache_addpw): Likewise.
62226         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
62227         more than recsize.
62229 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62231         * benchtests/Makefile (bench): Write all output to
62232         bench-out.tmp together.
62234 2013-04-15  Andreas Schwab  <schwab@suse.de>
62236         * nscd/nscd.c (main): Don't fork again after closing files.
62238 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62240         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
62242         * benchtests/Rules (bench-deps): Collect dependencies into a
62243         single variable.  Add Makefile to dependencies.
62244         ($(objpfx)bench-%.c): Depend on bench-deps.
62246 2013-04-12  Roland McGrath  <roland@hack.frob.com>
62247             Xavier Roche  <roche+kml2@exalead.com>
62249         [BZ #15361]
62250         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
62251         just that it's a file descriptor.
62252         * manual/llio.texi (Synchronizing AIO Operations): Update description
62253         for EBADF error from aio_fsync.
62255 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
62257         * Rules (bench): Move target definition...
62258         * benchtests/Makefile: ... here.
62260 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
62262         * math/libm-test.inc (cos_test): Fix PI/2 test.
62263         (sincos_test): Likewise.
62264         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
62265         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
62267 2013-04-11  Andreas Schwab  <schwab@suse.de>
62269         [BZ #13988]
62270         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
62271         accept exponent character only when digits were seen.
62272         * stdio-common/Makefile (tests): Add bug26.
62273         * stdio-common/bug26.c: New file.
62275         [BZ #14293]
62276         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
62277         non-freeable.
62279 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62281         * Makeconfig (rtld-prefix): Define built linker prefix.
62282         * Rules (run-bench): Use it.
62283         * math/Makefile (run-regen-ulps): Likewise.
62285         * Rules (bench): Remove eval.
62287 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62288             Roland McGrath  <roland@hack.frob.com>
62289             Ondrej Bilka  <neleai@seznam.cz>
62291         [BZ #15346]
62292         * time/getdate.c: Include ctype.h and alloca.h.
62293         (__getdate_r): Trim leading and trailing spaces of input.
62294         * time/tst-getdate.c (tests): Add tests with leading and
62295         trailing spaces.
62297 2013-04-08  Roland McGrath  <roland@hack.frob.com>
62299         [BZ #14280]
62300         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
62301         when computing value.
62303 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62305         * math/README.libm-test (How can I generate "libm-test-ulps"?):
62306         Use testrun.sh to run libm tests.
62308         [BZ #15309]
62309         * elf/dl-open.c (dl_open_worker): memset all of seen array.
62311 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
62313         [BZ #15264]
62314         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
62316 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62318         * Makefile.in (regen-ulps): New target.
62319         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
62320         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
62321         [ifneq (no,$(PERL)] (regen-ulps): New target.
62322         [ifeq (no,$(PERL)] (regen-ulps): New target.
62323         * math/libm-test.inc (ulps_file_name): Define.
62324         (output_dir): New variable.
62325         (options): Add "output-dir" option.
62326         (parse_opt): Handle 'o' case.
62327         (main): If output_dir is non-NULL use it as a prefix
62328         otherwise use "".
62329         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
62331 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62333         [BZ #10060, #10062]
62334         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
62335         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
62336         fail configure if __sync_val_compare_and_swap is not inlined.
62337         * sysdeps/i386/configure: Regenerate.
62338         * configure.in: Build for i686 when configured for i386.
62339         * configure: Regenerate.
62340         * README: Remove i386 reference.
62342 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
62344         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
62345         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62347 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62349         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
62350         (lmsnanval): New variables.
62351         (F): Add conversion tests.
62352         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
62353         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
62355         * stdio-common/tstdiomisc.c (F): Properly collect individual
62356         tests' results.
62358         [BZ #14686, #15336]
62359         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
62360         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
62361         Instead, use input NaN values or generate a qNaN by arithmetic
62362         operation.  Also fix bugs to comply with the standard.
62363         * math/libm-test.inc (remainder_test): Add more tests.
62365         [BZ #15335, #15342]
62366         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
62367         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
62368         input NaN values or generate a qNaN by arithmetic operation.
62370         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
62371         unreachable code.
62373         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
62374         definitions.
62376 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
62378         [BZ #14478]
62379         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
62380         underflowed result.
62381         * math/s_cexpf.c (__cexpf): Likewise.
62382         * math/s_cexpl.c (__cexpl): Likewise.
62383         * math/libm-test.inc (cexp_test): Add more tests.
62385 2013-04-03  Andreas Schwab  <schwab@suse.de>
62387         [BZ #15330]
62388         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
62389         order arrays from heap if bigger than alloca cutoff.
62391 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
62393         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
62394         (SNAN_TESTS_double): Refer to GCC PR56831.
62395         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
62396         GCC PR56828.
62398 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62400         * Rules (bench): Move bench.out after the run is complete.
62402         * Rules (bench): Echo currently running benchmark.
62404         * benchtests/Makefile (bench): Add atan and slowatan.
62405         * benchtests/atan-inputs: New file.
62406         * benchtests/slowatan-inputs: New file.
62407         * benchtests/slowatan.c: New file.
62409         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
62410         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
62411         its value.
62413         [BZ #15305]
62414         * sysdeps/unix/sysv/linux/kernel-features.h
62415         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
62416         __ASSUME_XFS_RESTRICTED_CHOWN.
62417         * sysdeps/unix/sysv/linux/pathconf.c
62418         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
62419         Save and restore errno.
62421 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
62423         [BZ #15327]
62424         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
62425         arguments using __kernel_casinh.
62426         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
62427         arguments using __kernel_casinhf.
62428         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
62429         arguments using __kernel_casinhl.
62430         * math/libm-test.inc (cacosh_test): Add more tests.
62431         * sysdeps/i386/fpu/libm-test-ulps: Update.
62432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62434 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62436         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
62437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
62439         * bench/Makefile (bench): Add sin and slowsin.
62440         * benchtests/sin-inputs: New file.
62441         * benchtests/slowsin-inputs: New file.
62442         * benchtests/slowsin.c: New file.
62444         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
62445         (bench): Add slowexp and slowpow.
62446         (exp-ITER): Increase iterations.
62447         (pow-ITER): Likewise.
62448         * benchtests/exp-inputs: Change input.
62449         * benchtests/pow-inputs: Likewise.
62450         * benchtests/slowexp-inputs: New file.
62451         * benchtests/slowexp.c: New file.
62452         * benchtests/slowpow-inputs: New file.
62453         * benchtests/slowpow.c: New file.
62455 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62457         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
62458         instructions.
62459         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
62460         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
62461         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62462         * benchtests/Makefile: Add rint benchtest.
62463         * benchtests/rint-inputs: Input for rint benchtest.
62465 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62467         * Versions.def (libm): Add GLIBC_2.18.
62468         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
62469         hidden libm prototypes.
62470         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
62471         * math/Makefile (libm-calls): Add s_issignaling.
62472         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
62473         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
62474         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
62475         declaration.
62476         * math/math.h [__USE_GNU] (issignaling): New macro.
62477         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
62478         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
62479         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
62480         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
62481         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
62482         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
62483         * manual/arith.texi (issignaling): New section.
62484         * manual/libm-err-tab.pl (@all_functions): Update comment.
62485         * math/gen-libm-test.pl (parse_args): Apply special handling for
62486         issignaling.
62487         * math/libm-test.inc (print_float, issignaling_test): New
62488         functions.
62489         (check_float_internal): Add issignaling checks.
62490         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
62491         default definition.
62492         * sysdeps/powerpc/math-tests.h: New file.
62493         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
62494         tests.
62495         * math/test-snan.c (TEST_FUNC): Likewise.
62497 2013-03-30  David S. Miller  <davem@davemloft.net>
62499         * po/de.po: Update from translation team.
62501 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
62503         [BZ #10357]
62504         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62505         imaginary part less than 1.0 and real part less than 0.5
62506         specially.
62507         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62508         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62509         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
62510         (cacos_test): Add more tests.
62511         (casin_test): Likewise.
62512         (casinh_test): Likewise.
62513         * sysdeps/i386/fpu/libm-test-ulps: Update.
62514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62516 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62518         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
62519         ONE with its value.
62521         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
62522         (__pow_mp): Replace ONE and MONE with their values.
62523         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62524         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
62525         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62526         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
62527         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62528         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62530         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
62532         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
62533         (__pow_mp): Replace ZERO and MZERO with their values.
62534         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62535         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62536         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62537         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62538         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62539         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
62540         (__sqr): Likewise.
62542         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
62544         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
62546 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62548         * include/stdlib.h [!SHARED] (__call_tls_dtors):
62549         Declare with __attribute__ ((weak)).
62550         * stdlib/exit.c (__libc_atexit) [!SHARED]:
62551         Call __call_tls_dtors only if it's not NULL.
62553 2013-03-28  Roland McGrath  <roland@hack.frob.com>
62555         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
62556         didn't do it already, then set _dl_phdr and _dl_phnum based on the
62557         magic __ehdr_start linker symbol if it's defined.
62558         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
62559         them up here if it was already done.
62561         * elf/dl-support.c (_dl_phdr): Make pointer to const.
62562         (_dl_aux_init): Use const in cast when setting it.
62563         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
62564         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
62565         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
62567         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
62568         Declare them here.
62569         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
62570         * csu/libc-tls.c: Nor here.
62571         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
62573         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
62574         (__libc_message): Never call vsyslog.
62576 2013-03-28  Alan Modra  <amodra@gmail.com>
62578         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
62579         Define as empty.
62580         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
62581         Likewise.
62583 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62585         [BZ #15214]
62586         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
62587         underflow.
62588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62590 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62592         [BZ #15304]
62593         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
62594         Don't add gid passed as argument.
62596         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
62598 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
62600         [BZ #15307]
62601         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62602         imaginary part between 1.0 and 1.5 and real part less than 0.5
62603         specially.
62604         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62605         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62606         * math/libm-test.inc (cacos_test): Add more tests.
62607         (casin_test): Likewise.
62608         (casinh_test): Likewise.
62609         * sysdeps/i386/fpu/libm-test-ulps: Update.
62610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62612 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62614         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
62615         constants.
62616         (norm): Likewise.
62617         (denorm): Likewise.
62618         (__dbl_mp): Likewise.
62619         (add_magnitudes): Likewise.
62620         (sub_magnitudes): Likewise.
62621         (__add): Likewise.
62622         (__sub): Likewise.
62623         (__mul): Likewise.
62624         (__sqr): Likewise.
62625         (__inv): Likewise.
62626         (__dvd): Likewise.
62628         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
62629         commented code.
62630         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
62631         (__dubcos): Likewise.
62632         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
62633         (__ieee754_acos): Likewise.
62634         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
62635         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
62636         (__exp1): Likewise.
62637         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
62638         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62639         (log1): Likewise.
62640         (my_log2): Likewise.
62641         (checkint): Likewise.
62642         * sysdeps/ieee754/dbl-64/e_remainder.c
62643         (__ieee754_remainder): Likewise.
62644         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
62645         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
62646         (bsloww): Likewise.
62647         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62649         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62650         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
62651         MANTISSA_STORE_T to store computations on mantissa.  Use
62652         macros for rounding and division.
62653         (denorm): Likewise.
62654         (__dbl_mp): Likewise.
62655         (add_magnitudes): Likewise.
62656         (sub_magnitudes): Likewise.
62657         (__mul): Likewise.
62658         (__sqr): Likewise.
62659         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62660         powers of two in terms of TWOPOW macro.
62661         (mp_no): Make type of mantissa as MANTISSA_T.
62662         [!RADIXI]: Define RADIXI.
62663         [!TWO52]: Define TWO52.
62664         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62666 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62668         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
62669         llroundl symbol when building for PPC32.
62671 2013-03-24  Mark H Weaver  <mhw@netris.org>
62673         * manual/arith.texi (Normalization Functions): Fix prototypes for
62674         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
62676 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62678         [BZ #13889]
62679         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
62680         high value to check if expl overflow.
62681         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
62682         to check for underflow and overflow.
62683         * math/libm-test.inc: Add exp test.
62685 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
62687         [BZ #11120]
62688         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
62689         with NOT_IN_libc.
62691 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62693         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
62694         symbol.
62696 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62698         * math/gen-libm-test.pl (parse_args, special_functions): Properly
62699         wrap blocks consisting of several statements.
62701         * sysdeps/generic/math-tests.h: New file.
62702         * sysdeps/i386/fpu/math-tests.h: Likewise.
62703         * math/test-snan.c: Include it.
62704         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
62706 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62708         [BZ #15285]
62709         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
62710         (__ieee754_j0l): Do not improve calculations using cos of twice
62711         input for inputs above LDBL_MAX / 2.0L.
62712         (__ieee754_y0l): Likewise.
62713         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
62714         (__ieee754_j1l): Do not improve calculations using cos of twice
62715         input for inputs above LDBL_MAX / 2.0L.
62716         (__ieee754_y1l): Likewise.
62717         * math/libm-test.inc (j0_test): Add another test.
62718         (j1_test): Likewise.
62719         (y0_test): Likewise.
62720         (y1_test): Likewise.
62721         * sysdeps/i386/fpu/libm-test-ulps: Update.
62723 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62725         * Rules ($(objpfx)bench-%.c): Include code from a C source
62726         file.
62728 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
62730         [BZ #15287]
62731         * math/k_casinh.c (__kernel_casinh): Handle arguments with
62732         imaginary part 1.0 and real part less than 0.5 specially.
62733         * math/k_casinhf.c (__kernel_casinhf): Likewise.
62734         * math/k_casinhl.c (__kernel_casinhl): Likewise.
62735         * math/libm-test.inc (cacos_test): Add more tests.
62736         (casin_test): Likewise.
62737         (casinh_test): Likewise.
62738         * sysdeps/i386/fpu/libm-test-ulps: Update.
62739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62741 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
62743         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
62744         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
62746 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
62748         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
62749         * config.make.in (config-cflags-sse4): Remove variable.
62750         (config-cflags-avx): Likewise.
62751         (config-cflags-sse2avx): Likewise.
62752         (config-cflags-novzeroupper): Likewise.
62753         (config-asflags-i686): Likewise.
62754         (have-mfma4): Likewise.
62755         (have-as-vis3): Likewise.
62756         (MIG): Likewise.
62757         * configure.in (MIG): Do not AC_SUBST.
62758         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
62759         (libc_cv_cc_sse4): Do not AC_SUBST.
62760         (libc_cv_cc_avx): Likewise.
62761         (libc_cv_cc_sse2avx): Likewise.
62762         (libc_cv_cc_novzeroupper): Likewise.
62763         (libc_cv_cc_fma4): Likewise.
62764         (libc_cv_as_i686): Likewise.
62765         (libc_cv_sparc_as_vis3): Likewise.
62766         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
62767         LIBC_CONFIG_VAR.
62768         (config-asflags-i686): Likewise.
62769         (config-cflags-avx): Likewise.
62770         (config-cflags-sse2avx): Likewise.
62771         (have-mfma4): Likewise.
62772         (config-cflags-novzeroupper): Likewise.
62773         * sysdeps/mach/configure.in (MIG): Likewise.
62774         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
62775         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
62776         LIBC_CONFIG_VAR.
62777         (config-cflags-avx): Likewise.
62778         (config-cflags-sse2avx): Likewise.
62779         (have-mfma4): Likewise.
62780         (config-cflags-novzeroupper): Likewise.
62781         * configure: Regenerated.
62782         * sysdeps/i386/configure: Likewise.
62783         * sysdeps/mach/configure: Likewise.
62784         * sysdeps/sparc/configure: Likewise.
62785         * sysdeps/x86_64/configure: Likewise.
62787 2013-03-20  Roland McGrath  <roland@hack.frob.com>
62789         [BZ #14812]
62790         * locale/programs/localedef.c (options): Put N_ translation marker
62791         on argument names, not just descriptions.
62793 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62795         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
62797 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
62799         [BZ #14176]
62800         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
62802 2013-03-19  Roland McGrath  <roland@hack.frob.com>
62804         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
62805         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
62806         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
62807         [!BEFORE_ABORT] (before_abort): New function.
62808         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
62809         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
62810         (writev_for_fatal): New function.
62811         (WRITEV_FOR_FATAL): New macro; call that.
62812         (backtrace_and_maps): New function.
62813         (BEFORE_ABORT): New macro; call that.
62814         (struct str_list): Type removed.
62815         (__libc_message, __libc_fatal): Functions removed.
62816         Include <sysdeps/posix/libc_fatal.c> instead.
62818 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
62820         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
62821         constants.
62822         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
62823         double constants.
62825 2013-03-19  Andreas Schwab  <schwab@suse.de>
62827         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
62828         * sysdeps/gnu/configure: Regenerate.
62830         * configure.in: Substitute libc_cv_rtlddir.
62831         * configure: Regenerate.
62832         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
62833         * Makeconfig (rtlddir, inst_rtlddir): New variables.
62834         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
62835         * elf/Makefile (install-others, CFLAGS-interp.c)
62836         (ldso_install, common-ldd-rewrite): Likewise.
62837         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
62838         $(inst_slibdir)/$(rtld-installed-name).
62839         * scripts/rellns-sh: Add -p option.
62840         * Makerules (make-shlib-link): Use rellns-sh to get relative name
62841         for source.
62843 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62845         * manual/nptl.texi: Renamed to ...
62846         * manual/threads.texi: ... this.
62847         * manual/Makefile (chapters): Update.
62849 2013-03-18  Roland McGrath  <roland@hack.frob.com>
62851         [BZ #14812]
62852         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
62853         on argument names, not just descriptions.
62854         * malloc/memusagestat.c (options): Likewise.
62855         * nss/getent.c (options): Likewise.
62857 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
62859         [BZ #14812]
62860         * iconv/iconv_prog.c (options): Put N_ translation marker
62861         on argument names, not just descriptions.
62862         * iconv/iconvconfig.c (options): Likewise.
62864 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
62866         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
62867         implementation which is faster on all x86_64 architectures.
62868         Tested on AMD, Intel Nehalem, SNB, IVB.
62869         * sysdeps/x86_64/strnlen.S: Likewise.
62871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
62872         Remove all multiarch strlen and strnlen versions.
62873         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
62874         Remove strlen and strnlen related parts.
62876         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
62877         Inline strlen part.
62878         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
62880         * sysdeps/x86_64/multiarch/strlen.S: Remove.
62881         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
62882         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
62883         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
62884         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62885         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
62887 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
62889         * manual/memory.texi (Malloc Tunable Parameters):
62890         Sort parameters alphabetically. Add comments for missing entries.
62892 2013-03-17  David S. Miller  <davem@davemloft.net>
62894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62896 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
62898         [BZ #15283]
62899         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
62900         for arguments at most half maximum finite value.
62901         * math/libm-test.inc (j0_test): Add more tests.
62902         (j1_test): Likewise.
62903         (y0_test): Likewise.
62904         (y1_test): Likewise.
62905         * sysdeps/i386/fpu/libm-test-ulps: Update.
62906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62908         [BZ #14155]
62909         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
62910         1 / x and functions P and Q for arguments above 0x1p256L.
62911         (__ieee754_y0l): Likewise.
62912         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
62913         (__ieee754_y1l): Likewise.
62914         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
62915         (j1_test): Likewise.
62916         (y0_test): Likewise.
62917         (y1_test): Likewise.
62919 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
62921         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
62922         variable.
62924 2013-03-15  Roland McGrath  <roland@hack.frob.com>
62926         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
62927         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
62928         zero since it's initialized to EXEC_PAGESIZE.
62930         * sysdeps/unix/sysv/linux/ldsodefs.h
62931         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
62932         * sysdeps/generic/ldsodefs.h: ... here.
62934 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
62936         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
62938         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
62939         math/test-snan.c.
62940         * math/test-snan.c: Renamed from
62941         sysdeps/powerpc/fpu/test-powerpc-snan.c.
62942         * math/Makefile (tests): Add test-snan.
62943         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
62944         test-powerpc-snan.
62946         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62947         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62948         functions.
62949         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
62950         __builtin_nan family of functions.
62951         * math/libm-test.inc (initialize): Initialize qnan_value with
62952         __builtin_nan family of functions.
62953         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62954         Remove variables.
62955         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62956         Remove functions.
62957         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62958         storage class.  Initialize qNaN_var and sNaN_var with
62959         __builtin_nan and __builtin_nans families of functions,
62960         respectively.
62962         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62963         (sqrt_test): Remove duplicate test with qNaN input.
62964         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62965         (round_test, signbit_test, significand_test): Note missing +/-Inf
62966         as well as qNaN tests.
62968         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62969         qNaN_var.  Fix a few strings, too.
62970         * math/libm-test.inc (nan_value): Rename to qnan_value.
62971         * math/gen-libm-test.pl (%beautify): Adjust to that.
62972         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62973         * math/test-misc.c (main): Likewise.
62974         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62975         to __qnan_bytes, and __qnan_union, respectively.
62976         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62977         Likewise.
62978         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62979         and lqnanval, respectively.
62980         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62981         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62982         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62983         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62985         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62986         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62987         doubles.
62989         * math/test-misc.c (main): Fix copy'n'pastos.
62990         * misc/tst-efgcvt.c (special): Likewise.
62992         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62993         Remove declarations.
62995 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62997         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62998         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62999         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63000         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63002 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63004         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63005         macro to return vdso values correctly in IFUNC implementations.
63006         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63007         Optimization by using IFUNC.
63009 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63010             Richard Henderson  <rth@redhat.com>
63011             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63013         * Makefile.in (bench): New target.
63014         * NEWS: Mention the benchmark framework.
63015         * Rules (bench): Likewise.
63016         (binaries-bench): Generate binaries for functions to
63017         benchmark.
63018         * benchtests/Makefile: New makefile for benchmark tests.
63019         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63020         programs.
63021         * benchtests/exp-inputs: New input file for EXP function.
63022         * benchtests/pow-inputs: New input file for POW function.
63023         * scripts/bench.pl: New script to generate source files for
63024         benchmark programs.
63026 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63028         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63029         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63030         computations on mantissa.  Use macros for rounding and
63031         division.
63032         (denorm): Likewise.
63033         (__dbl_mp): Likewise.
63034         (add_magnitudes): Likewise.
63035         (sub_magnitudes): Likewise.
63036         (__mul): Likewise.
63037         (__sqr): Likewise.
63038         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63039         powers of two in terms of TWOPOW macro.
63040         (mp_no): Make type of mantissa as MANTISSA_T.
63041         [!RADIXI]: Define RADIXI.
63042         [!TWO52]: Define TWO52.
63043         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63045         * manual/nptl.texi (cindex): Modify threads to pthreads.
63047 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63049         * sysdeps/x86_64/preconfigure: Regenerated.
63051 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63053         [BZ #14155]
63054         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63055         0x1p28 and above.
63056         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63057         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63058         0x1p28 and above.
63059         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63060         * math/libm-test.inc (j0_test): Do not allow one spurious
63061         underflow exception.
63062         (y1_test): Likewise.
63064 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63066         * manual/Makefile (chapters): Add nptl.
63067         * manual/debug.texi (Debugging Support): Add link to Threads
63068         chapter.
63069         * manual/nptl.texi: New file.
63071         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63073 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63075         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63076         for non-NULL pointer before the memory validity test. Pointed
63077         out by Holger Brunck <holger.brunck@keymile.com>.
63079 2013-03-13  Andreas Schwab  <schwab@suse.de>
63081         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63082         instead of .os.
63084 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63086         * timezone/zic.c: Update from tzcode 2013b.
63088 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63090         * manual/install.texi (Configuring and compiling):
63091         Mention i686 and i586.
63092         * INSTALL: Regenerate.
63094 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63096         * sysdeps/init_array/elf-init.c: New file.
63097         * csu/elf-init.c
63098         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63099         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63101         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63102         __gmon_start__ as global, but as static with a .preinit_array pointer.
63103         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63104         * sysdeps/init_array/crti.S: New file, empty except for comments.
63105         * sysdeps/init_array/crtn.S: Likewise.
63107 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63109         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63110         definining bcopy.
63111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63112         Remove Prefer_SSE_for_memop.
63113         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63114         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63115         HAS_PREFER_SSE_FOR_MEMOP.
63116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63117         memset-x86-64.
63118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63119         Remove bzero, memset ifunc support.
63120         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63121         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63122         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63123         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63125 2013-03-11  Andreas Schwab  <schwab@suse.de>
63127         [BZ #15234]
63128         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63129         by SHLIB_COMPAT.
63130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63131         (GLIBC_2.16): Remove pthread_atfork.
63133 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63135         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63136         (ptestcases.h): Likewise.
63138 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63140         * Makeconfig ($(common-objpfx)config.status): Depend on
63141         sysdeps/*/preconfigure{,.in} too.
63143 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63145         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63146         (__free_hook): Use void * instead of __malloc_ptr_t.
63147         (__malloc_hook): Likewise.
63148         (__realloc_hook): Likewise.
63149         (__memalign_hook): Likewise.
63150         (__after_morecore_hook): Likewise.
63151         * malloc/arena.c (save_malloc_hook): Likewise.
63152         (save_free_hook): Likewise.
63153         * malloc/hooks.c (malloc_hook_ini): Likewise.
63154         (realloc_hook_ini): Likewise.
63155         (memalign_hook_ini): Likewise.
63156         * malloc/malloc.c (malloc_hook_ini): Likewise.
63157         (realloc_hook_ini): Likewise.
63158         (memalign_hook_ini): Likewise.
63159         (__free_hook): Likewise.
63160         (__malloc_hook): Likewise.
63161         (__realloc_hook): Likewise.
63162         (__memalign_hook): Likewise.
63163         (__libc_malloc): Likewise.
63164         (__libc_free): Likewise.
63165         (__libc_realloc): Likewise.
63166         (__libc_memalign): Likewise.
63167         (__libc_valloc): Likewise.
63168         (__libc_pvalloc): Likewise.
63169         (__libc_calloc): Likewise.
63170         (__posix_memalign): Likewise.
63171         * malloc/morecore.c (__sbrk): Likewise.
63172         (__default_morecore): Likewise.
63174         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63176         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63177         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63178         __malloc_ptrdiff_t.
63180         * malloc/malloc.h (__malloc_size_t): Remove macro.
63181         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63182         __malloc_size_t.
63183         (old_memalign_hook): Likewise.
63184         (old_realloc_hook): Likewise.
63185         (struct hdr): Likewise.
63186         (flood): Likewise.
63187         (mallochook): Likewise.
63188         (memalignhook): Likewise.
63189         (reallochook): Likewise.
63190         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63191         (tr_old_realloc_hook): Likewise.
63192         (tr_old_memalign_hook): Likewise.
63193         (tr_mallochook): Likewise.
63194         (tr_reallochook): Likewise.
63195         (tr_memalignhook): Likewise.
63197 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63200         default_ldbl_pack and using as default implementation.
63201         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63202         implementation.
63203         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63204         redundant definition.
63205         (ldbl_insert_mantissa): Likewise.
63206         (ldbl_canonicalize): Likewise.
63207         (ldbl_nearbyint): Likewise.
63208         (ldbl_pack): Rename to ldbl_pack_ppc.
63209         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63210         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63211         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63213 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63216         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63217         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63218         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63220         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63221         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63222         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
63224 2013-03-07  Andreas Jaeger  <aj@suse.de>
63226         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63227         bits/mman-linux.h.
63229 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63231         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
63232         Include mpa.h and declare __MPEXP.
63233         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63234         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63235         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63236         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
63237         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63238         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
63239         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
63241         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
63242         (__slowpow): Use long double EXPL and LOGL functions to
63243         compute POW.
63244         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
63245         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63246         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
63247         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
63248         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
63249         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
63251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
63252         intermediate variable to calculate exponent.
63253         (__sqr): Likewise.
63254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63255         Likewise.
63256         (__sqr): Likewise.
63258         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
63259         [!NO__SQR]: Define __sqr.
63260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
63261         and NO__SQR.  Remove all code except __mul and __sqr.  Include
63262         sysdeps/ieee754/dbl-64/mpa.c.
63263         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
63265         [BZ #12723]
63266         * posix/Makefile (tests): Add tst-pathconf.
63267         * posix/tst-pathconf.c: New test case.
63268         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
63269         _PC_PIPE_BUF.
63270         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
63272 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
63274         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63276 2013-03-06  Andreas Jaeger  <aj@suse.de>
63278         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
63279         definition via __MAP_ANONYMOUS.
63281         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
63282         it's not part of Linux headers.
63284         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
63285         (MAP_HUGE_MASK): Define.
63287         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63288         Define.
63289         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63290         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63291         Define.
63292         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63293         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
63294         Define.
63295         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63296         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
63297         Define.
63298         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
63300         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
63301         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
63302         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
63303         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
63304         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
63305         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
63307         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
63308         Handle f2fs.
63310         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63311         Handle f2fs and efivarfs.
63313         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
63314         f2fs.
63316         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
63317         (EFIVARFS_MAGIC): Add.
63318         (F2FS_LINK_MAX): Add.
63320 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63322         * stdio-common/vfprintf.c: Replace __builtin_expect with
63323         __glibc_unlikely.
63325 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
63327         [BZ #13550]
63328         * sysdeps/generic/bp-sym.h: Remove file.
63329         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
63330         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
63331         <bp-sym.h> and <bp-asm.h>.
63332         (__longjmp): Don't use BP_SYM.
63333         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
63334         and <bp-asm.h>.
63335         (memcpy): Don't use BP_SYM.
63336         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
63337         <bp-sym.h> and <bp-asm.h>.
63338         (memcpy): Don't use BP_SYM.
63339         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
63340         <bp-asm.h>.
63341         (memcpy): Don't use BP_SYM.
63342         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
63343         <bp-asm.h>.
63344         (memset): Don't use BP_SYM.
63345         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63346         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63347         (__bzero): Don't use BP_SYM.
63348         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63349         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63350         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
63351         <bp-sym.h> and <bp-asm.h>.
63352         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63353         pointers.
63354         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
63355         <bp-sym.h> and <bp-asm.h>.
63356         (memcpy): Don't use BP_SYM.
63357         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
63358         <bp-sym.h> and <bp-asm.h>.
63359         (memset): Don't use BP_SYM.
63360         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63361         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63362         (__bzero): Don't use BP_SYM.
63363         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63364         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63365         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
63366         <bp-sym.h> and <bp-asm.h>.
63367         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63368         pointers.
63369         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
63370         <bp-sym.h> and <bp-asm.h>.
63371         (memcpy): Don't use BP_SYM.
63372         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
63373         <bp-sym.h> and <bp-asm.h>.
63374         (memset): Don't use BP_SYM.
63375         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63376         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63377         (__bzero): Don't use BP_SYM.
63378         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63379         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63380         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
63381         <bp-sym.h> and <bp-asm.h>.
63382         (__memchr): Don't use BP_SYM.
63383         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
63384         <bp-sym.h> and <bp-asm.h>.
63385         (memcmp): Don't use BP_SYM.  Remove comment about bounded
63386         pointers.
63387         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
63388         <bp-sym.h> and <bp-asm.h>.
63389         (memcpy): Don't use BP_SYM.
63390         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
63391         <bp-sym.h> and <bp-asm.h>.
63392         (__mempcpy): Don't use BP_SYM.
63393         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
63394         <bp-sym.h> and <bp-asm.h>.
63395         (__memrchr): Don't use BP_SYM.
63396         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
63397         <bp-sym.h> and <bp-asm.h>.
63398         (memset): Don't use BP_SYM.
63399         (__bzero): Likewise.
63400         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
63401         <bp-sym.h> and <bp-asm.h>.
63402         (__rawmemchr): Don't use BP_SYM.
63403         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
63404         <bp-sym.h> and <bp-asm.h>.
63405         (__STRCMP): Don't use BP_SYM.
63406         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
63407         <bp-sym.h> and <bp-asm.h>.
63408         (strchr): Don't use BP_SYM.
63409         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
63410         <bp-sym.h> and <bp-asm.h>.
63411         (__strchrnul): Don't use BP_SYM.
63412         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
63413         <bp-sym.h> and <bp-asm.h>.
63414         (strlen): Don't use BP_SYM.
63415         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
63416         <bp-sym.h> and <bp-asm.h>.
63417         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63418         pointers.
63419         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
63420         <bp-sym.h> and <bp-asm.h>.
63421         (__strnlen): Don't use BP_SYM.
63422         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
63423         <bp-sym.h> and <bp-asm.h>.
63424         (__GI__setjmp): Don't use BP_SYM.
63425         (_setjmp): Likewise.
63426         (__sigsetjmp): Likewise.
63427         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
63428         (L(start_addresses)): Don't use BP_SYM.
63429         (_start): Likewise.
63430         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
63431         <bp-asm.h>.
63432         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
63433         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
63434         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63435         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63436         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
63437         <bp-asm.h>.
63438         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
63439         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
63440         about bounded pointers.
63441         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63442         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63443         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
63444         <bp-asm.h>.
63445         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63446         about bounded pointers.  Remove GKM FIXME comments.
63447         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63448         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
63449         <bp-asm.h>.
63450         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
63451         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
63452         Remove GKM FIXME comments.
63453         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63454         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63455         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
63456         <bp-asm.h>.
63457         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
63458         about bounded pointers.  Remove GKM FIXME comment.
63459         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
63460         and <bp-asm.h>.
63461         (strncmp): Don't use BP_SYM.  Remove comment about bounded
63462         pointers.
63463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
63464         <bp-sym.h> and <bp-asm.h>.
63465         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
63467         <bp-sym.h> and <bp-asm.h>.
63468         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63469         comment.
63471 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63473         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
63474         call free(NULL).
63476 2013-03-05  David S. Miller  <davem@davemloft.net>
63478         * po/es.po: Update from translation team.
63480 2013-03-05  Andreas Jaeger  <aj@suse.de>
63482         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
63483         <bits/mman-linux.h>.
63484         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63485         is fine.
63486         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
63487         <bits/mman-linux.h> to end of file.
63488         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63489         is fine.
63490         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
63491         <bits/mman-linux.h> to end of file.
63492         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
63493         is fine.
63494         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
63495         <bits/mman-linux.h> to end of file.
63497         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
63498         (MCL_CURRENT, MCL_FUTURE): Define here.
63500 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63502         [BZ #15232]
63503         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
63504         attribute_hidden.
63505         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
63507 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63509         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
63510         fourth parameter needed for rt_sigprocmask syscall.
63511         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
63512         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
63513         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
63514         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
63515         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
63516         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
63518 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
63520         [BZ #13550]
63521         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
63522         comment about bounded pointers.
63523         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
63524         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
63526 2013-03-04  Andreas Jaeger  <aj@suse.de>
63528         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
63529         common definitions.
63531         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
63532         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
63533         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
63534         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63535         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63536         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63538 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63540         [BZ #15055]
63541         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
63542         __ieee754_sqrl instead of __sqrl.
63544 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
63546         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
63547         * sysdeps/powerpc/fpu_control.h: ... here.
63548         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
63549         * sysdeps/powerpc/bits/fenvinline.h: ... here.
63550         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
63551         * sysdeps/powerpc/bits/mathinline.h: ... here.
63553 2013-03-01  Roland McGrath  <roland@hack.frob.com>
63555         * elf/dl-hwcaps.c (_dl_important_hwcaps):
63556         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
63557         to just [NEED_DL_SYSINFO_DSO].
63558         * elf/dl-support.c: Likewise.
63559         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
63560         * elf/rtld.c (dl_main): Likewise.
63561         * elf/setup-vdso.h (setup_vdso): Likewise.
63562         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
63563         * sysdeps/unix/sysv/linux/dl-sysdep.c
63564         (_dl_discover_osversion): Likewise.
63566 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
63568         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
63569         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63571 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
63573         * NEWS: Mention libm performance improvements and non-x86 PI
63574         futex support.
63576         * csu/libc-start.c (__pthread_initialize_minimal): Change
63577         function arguments.
63578         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
63580 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
63582         [BZ #13550]
63583         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
63584         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
63585         <bp-sym.h> and <bp-asm.h>.
63586         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63587         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
63588         and <bp-asm.h>.
63589         (memcpy): Don't use BP_SYM.
63590         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
63591         <bp-asm.h>.
63592         (__mpn_add_n): Don't use BP_SYM.
63593         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
63594         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
63595         and <bp-asm.h>.
63596         (__mpn_addmul_1): Don't use BP_SYM.
63597         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63598         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
63599         <bp-sym.h>.
63600         (_setjmp): Don't use BP_SYM.
63601         (__novmx_setjmp): Likewise.
63602         (__GI__setjmp): Likewise.
63603         (__vmx_setjmp): Likewise.
63604         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
63605         <bp-sym.h>.
63606         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
63607         (__bzero): Don't use BP_SYM.
63608         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
63609         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
63610         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
63611         <bp-sym.h> and <bp-asm.h>.
63612         (memcpy): Don't use BP_SYM.
63613         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
63614         <bp-sym.h> and <bp-asm.h>.
63615         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63616         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
63617         <bp-sym.h> and <bp-asm.h>.
63618         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
63619         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
63620         <bp-asm.h>.
63621         (__mpn_lshift): Don't use BP_SYM.
63622         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63623         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
63624         <bp-asm.h>.
63625         (memset): Don't use BP_SYM.
63626         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
63627         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
63628         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
63629         <bp-asm.h>.
63630         (__mpn_mul_1): Don't use BP_SYM.
63631         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63632         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
63633         <bp-sym.h> and <bp-asm.h>.
63634         (memcmp): Don't use BP_SYM.
63635         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
63636         <bp-sym.h> and <bp-asm.h>.
63637         (memcpy): Don't use BP_SYM.
63638         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
63639         <bp-sym.h> and <bp-asm.h>.
63640         (memset): Don't use BP_SYM.
63641         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
63642         <bp-sym.h> and <bp-asm.h>.
63643         (strncmp): Don't use BP_SYM.
63644         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
63645         <bp-sym.h> and <bp-asm.h>.
63646         (memcpy): Don't use BP_SYM.
63647         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
63648         <bp-sym.h> and <bp-asm.h>.
63649         (memset): Don't use BP_SYM.
63650         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
63651         <bp-sym.h> and <bp-asm.h>.
63652         (__memchr): Don't use BP_SYM.
63653         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
63654         <bp-sym.h> and <bp-asm.h>.
63655         (memcmp): Don't use BP_SYM.
63656         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
63657         <bp-sym.h> and <bp-asm.h>.
63658         (memcpy): Don't use BP_SYM.
63659         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
63660         <bp-sym.h> and <bp-asm.h>.
63661         (__mempcpy): Don't use BP_SYM.
63662         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
63663         <bp-sym.h> and <bp-asm.h>.
63664         (__memrchr): Don't use BP_SYM.
63665         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
63666         <bp-sym.h> and <bp-asm.h>.
63667         (memset): Don't use BP_SYM.
63668         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
63669         <bp-sym.h> and <bp-asm.h>.
63670         (__rawmemchr): Don't use BP_SYM.
63671         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
63672         <bp-sym.h> and <bp-asm.h>.
63673         (__STRCMP): Don't use BP_SYM.
63674         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
63675         <bp-sym.h> and <bp-asm.h>.
63676         (strchr): Don't use BP_SYM.
63677         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
63678         <bp-sym.h> and <bp-asm.h>.
63679         (__strchrnul): Don't use BP_SYM.
63680         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
63681         <bp-sym.h> and <bp-asm.h>.
63682         (strlen): Don't use BP_SYM.
63683         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
63684         <bp-sym.h> and <bp-asm.h>.
63685         (strncmp): Don't use BP_SYM.
63686         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
63687         <bp-sym.h> and <bp-asm.h>.
63688         (__strnlen): Don't use BP_SYM.
63689         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
63690         <bp-asm.h>.
63691         (__mpn_rshift): Don't use BP_SYM.
63692         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63693         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
63694         <bp-sym.h> and <bp-asm.h>.
63695         (__sigsetjmp): Don't use BP_SYM.
63696         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
63697         (L(start_addresses)): Don't use BP_SYM.
63698         (_start): Likewise.
63699         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
63700         <bp-asm.h>.
63701         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
63702         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63703         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63704         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
63705         <bp-asm.h>.
63706         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
63707         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63708         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63709         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
63710         <bp-asm.h>.
63711         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63712         comments.
63713         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63714         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
63715         <bp-asm.h>.
63716         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
63717         FIXME comments.
63718         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63719         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
63720         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
63721         <bp-asm.h>.
63722         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
63723         comment.
63724         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
63725         and <bp-asm.h>.
63726         (strncmp): Don't use BP_SYM,
63727         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
63728         <bp-asm.h>.
63729         (__mpn_sub_n): Don't use BP_SYM.
63730         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63731         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
63732         and <bp-asm.h>.
63733         (__mpn_submul_1): Don't use BP_SYM.
63734         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
63736         <bp-sym.h> and <bp-asm.h>.
63737         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
63738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
63739         <bp-sym.h> and <bp-asm.h>.
63740         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
63741         comment.
63743 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
63746         Use ZK to minimize writes to Z.
63747         (sub_magnitudes): Simplify code a bit.
63748         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
63749         Use ZK to minimize writes to Z.
63750         (sub_magnitudes): Simplify code a bit.
63752 2013-02-27  Roland McGrath  <roland@hack.frob.com>
63754         * csu/gmon-start.c: Add special exception to license text.
63756 2013-02-27  Richard Henderson  <rth@redhat.com>
63758         * scripts/config.guess: Update from config.git.
63759         * scripts/config.sub: Likewise.
63761 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63763         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
63765         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
63767         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
63769         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
63771         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
63773 2013-02-26  Roland McGrath  <roland@hack.frob.com>
63775         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
63776         [$(build-shared = yes].
63778 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63780         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
63781         (__mul): Reduce iterations for calculating mantissa.
63783         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
63784         MPTWO.
63785         (__mpranred): Likewise.
63787         [BZ #15160]
63788         * malloc/memusagestat.c (main): Draw graphs for heap and stack
63789         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
63791 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
63793         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
63794         Define __attribute__.
63796 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63798         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
63799         unused.
63800         * posix/regex_internal.h (__attribute): Remove.
63801         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
63802         (re_string_context_at): Likewise.
63803         (bitset_not): Use __attribute__ and mark function as possibly
63804         unused.
63805         (bitset_merge): Likewise.
63806         (bitset_mask): Likewise.
63807         (re_string_char_size_at): Likewise.
63808         (re_string_wchar_at): Likewise.
63809         (re_string_elem_size_at): Likewise.
63811 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63813         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
63814         code.
63815         (cc32): Likewise.
63817         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
63818         (__acr): Likewise.
63819         (__cpy): Likewise.
63820         (norm): Likewise.
63821         (denorm): Likewise.
63822         (__dbl_mp): Likewise.
63823         (add_magnitudes): Likewise.
63824         (sub_magnitudes): Likewise.
63825         (__mul): Likewise.
63826         (__inv): Likewise.
63828         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
63829         style.
63831         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
63832         style.
63834         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
63835         code.
63837         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
63838         up changes with default code.
63839         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
63840         Likewise.
63842 2013-02-24  Allan McRae  <allan@archlinux.org>
63844         * manual/socket.texi (The Internet Namespace): Order menu items
63845         to match that in the file.
63847         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
63848         node listing of the info page menu.
63850 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
63852         [BZ #13550]
63853         * sysdeps/i386/bp-asm.h: Remove file.
63854         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63855         (PARMS): Do not use macros from bp-asm.h.
63856         (S1): Likewise.
63857         (S2): Likewise.
63858         (SIZE): Likewise.
63859         (__mpn_add_n): Do not use BP_SYM
63860         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
63861         "bp-asm.h".
63862         (PARMS): Do not use macros from bp-asm.h.
63863         (S1): Likewise.
63864         (SIZE): Likewise.
63865         (__mpn_addmul_1): Do not use BP_SYM
63866         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
63867         "bp-asm.h".
63868         (PARMS): Do not use macros from bp-asm.h.
63869         (SIGMSK): Likewise.
63870         (_setjmp): Likewise.  Do not use BP_SYM.
63871         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
63872         "bp-asm.h".
63873         (PARMS): Do not use macros from bp-asm.h.
63874         (SIGMSK): Likewise.
63875         (setjmp): Likewise.  Do not use BP_SYM.
63876         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
63877         "bp-asm.h".
63878         (PARMS): Do not use macros from bp-asm.h.
63879         (__frexp): Do not use BP_SYM.
63880         (frexp): Likewise.
63881         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
63882         "bp-asm.h".
63883         (PARMS): Do not use macros from bp-asm.h.
63884         (__frexpf): Do not use BP_SYM.
63885         (frexpf): Likewise.
63886         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
63887         "bp-asm.h".
63888         (PARMS): Do not use macros from bp-asm.h.
63889         (__frexpl): Do not use BP_SYM.
63890         (frexpl): Likewise.
63891         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
63892         "bp-asm.h".
63893         (PARMS): Do not use macros from bp-asm.h.
63894         (__remquo): Do not use BP_SYM.
63895         (remquo): Likewise.
63896         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
63897         "bp-asm.h".
63898         (PARMS): Do not use macros from bp-asm.h.
63899         (__remquof): Do not use BP_SYM.
63900         (remquof): Likewise.
63901         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
63902         "bp-asm.h".
63903         (PARMS): Do not use macros from bp-asm.h.
63904         (__remquol): Do not use BP_SYM.
63905         (remquol): Likewise.
63906         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
63907         "bp-asm.h".
63908         (PARMS): Do not use macros from bp-asm.h.
63909         (DEST): Likewise.
63910         (SRC): Likewise.
63911         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
63912         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
63913         "bp-asm.h".
63914         (PARMS): Do not use macros from bp-asm.h.
63915         (strlen): Do not use BP_SYM.
63916         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
63917         "bp-asm.h".
63918         (PARMS): Do not use macros from bp-asm.h.
63919         (S1): Likewise.
63920         (S2): Likewise.
63921         (SIZE): Likewise.
63922         (__mpn_add_n): Do not use BP_SYM.
63923         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
63924         "bp-asm.h".
63925         (PARMS): Do not use macros from bp-asm.h.
63926         (S1): Likewise.
63927         (SIZE): Likewise.
63928         (__mpn_addmul_1): Do not use BP_SYM.
63929         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
63930         weak_alias.
63931         (bzero): Likewise.
63932         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
63933         "bp-asm.h".
63934         (PARMS): Do not use macros from bp-asm.h.
63935         (S): Likewise.
63936         (SIZE): Likewise.
63937         (__mpn_lshift): Do not use BP_SYM.
63938         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
63939         "bp-asm.h".
63940         (PARMS): Do not use macros from bp-asm.h.
63941         (DEST): Likewise.
63942         (SRC): Likewise.
63943         (LEN): Likewise.
63944         (memcpy): Likewise.  Do not use BP_SYM.
63945         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63946         libc_hidden_def and weak_alias.
63947         (mempcpy): Do not use BP_SYM in weak_alias.
63948         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63949         "bp-asm.h".
63950         (PARMS): Do not use macros from bp-asm.h.
63951         (DEST): Likewise.
63952         (LEN): Likewise.
63953         [!BZERO_P] (CHR): Likewise.
63954         (memset): Likewise.  Do not use BP_SYM.
63955         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63956         "bp-asm.h".
63957         (PARMS): Do not use macros from bp-asm.h.
63958         (S1): Likewise.
63959         (SIZE): Likewise.
63960         (__mpn_mul_1): Do not use BP_SYM.
63961         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63962         "bp-asm.h".
63963         (PARMS): Do not use macros from bp-asm.h.
63964         (S): Likewise.
63965         (SIZE): Likewise.
63966         (__mpn_rshift): Do not use BP_SYM.
63967         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63968         "bp-asm.h".
63969         (PARMS): Do not use macros from bp-asm.h.
63970         (STR): Likewise.
63971         (CHR): Likewise.
63972         (strchr): Likewise.  Do not use BP_SYM.
63973         (index): Do not use BP_SYM in weak_alias.
63974         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63975         "bp-asm.h".
63976         (PARMS): Do not use macros from bp-asm.h.
63977         (DEST): Likewise.
63978         (SRC): Likewise.
63979         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63980         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63981         "bp-asm.h".
63982         (PARMS): Do not use macros from bp-asm.h.
63983         (strlen): Do not use BP_SYM.
63984         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
63985         "bp-asm.h".
63986         (PARMS): Do not use macros from bp-asm.h.
63987         (S1): Likewise.
63988         (S2): Likewise.
63989         (SIZE): Likewise.
63990         (__mpn_sub_n): Do not use BP_SYM.
63991         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63992         "bp-asm.h".
63993         (PARMS): Do not use macros from bp-asm.h.
63994         (S1): Likewise.
63995         (SIZE): Likewise.
63996         (__mpn_submul_1): Do not use BP_SYM.
63997         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63998         "bp-asm.h".
63999         (PARMS): Do not use macros from bp-asm.h.
64000         (S1): Likewise.
64001         (S2): Likewise.
64002         (SIZE): Likewise.
64003         (__mpn_add_n): Do not use BP_SYM.
64004         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64005         weak_alias.
64006         (bzero): Likewise.
64007         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64008         "bp-asm.h".
64009         (PARMS): Do not use macros from bp-asm.h.
64010         (BLK2): Likewise.
64011         (LEN): Likewise.
64012         (memcmp): Do not use BP_SYM.
64013         (bcmp): Do not use BP_SYM in weak_alias.
64014         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64015         "bp-asm.h".
64016         (PARMS): Do not use macros from bp-asm.h.
64017         (DEST): Likewise.
64018         (SRC): Likewise.
64019         (LEN): Likewise.
64020         (memcpy): Likewise.  Do not use BP_SYM.
64021         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64022         "bp-asm.h".
64023         (PARMS): Do not use macros from bp-asm.h.
64024         (DEST): Likewise.
64025         (SRC): Likewise.
64026         (LEN): Likewise.
64027         (memmove): Likewise.  Do not use BP_SYM.
64028         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64029         "bp-asm.h".
64030         (PARMS): Do not use macros from bp-asm.h.
64031         (DEST): Likewise.
64032         (SRC): Likewise.
64033         (LEN): Likewise.
64034         (__mempcpy): Likewise.  Do not use BP_SYM.
64035         (mempcpy): Do not use BP_SYM in weak_alias.
64036         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64037         "bp-asm.h".
64038         (PARMS): Do not use macros from bp-asm.h.
64039         (DEST): Likewise.
64040         (LEN): Likewise.
64041         [!BZERO_P] (CHR): Likewise.
64042         (memset): Likewise.  Do not use BP_SYM.
64043         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64044         "bp-asm.h".
64045         (PARMS): Do not use macros from bp-asm.h.
64046         (STR2): Likewise.
64047         (strcmp): Do not use BP_SYM.
64048         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64049         "bp-asm.h".
64050         (PARMS): Do not use macros from bp-asm.h.
64051         (STR): Likewise.
64052         (DELIM): Likewise.
64053         [USE_AS_STRTOK_R] (SAVE): Likewise.
64054         (FUNCTION): Likewise.  Do not use BP_SYM.
64055         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64056         aliases.
64057         (strtok_r): Likewise.
64058         (__GI___strtok_r): Likewise.
64059         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64060         (PARMS): Do not use macros from bp-asm.h.
64061         (S): Likewise.
64062         (SIZE): Likewise.
64063         (__mpn_lshift): Do not use BP_SYM.
64064         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64065         (PARMS): Do not use macros from bp-asm.h.
64066         (STR): Likewise.
64067         (CHR): Likewise.
64068         (__memchr): Do not use BP_SYM.
64069         (memchr): Do not use BP_SYM in weak_alias.
64070         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64071         (PARMS): Do not use macros from bp-asm.h.
64072         (BLK2): Likewise.
64073         (LEN): Likewise.
64074         (memcmp): Do not use BP_SYM.
64075         (bcmp): Do not use BP_SYM in weak_alias.
64076         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64077         (PARMS): Do not use macros from bp-asm.h.
64078         (S1): Likewise.
64079         (SIZE): Likewise.
64080         (__mpn_mul_1): Do not use BP_SYM.
64081         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64082         "bp-asm.h".
64083         (PARMS): Do not use macros from bp-asm.h.
64084         (STR): Likewise.
64085         (CHR): Likewise.
64086         (__rawmemchr): Do not use BP_SYM.
64087         (rawmemchr): Do not use BP_SYM in weak_alias.
64088         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64089         (PARMS): Do not use macros from bp-asm.h.
64090         (S): Likewise.
64091         (SIZE): Likewise.
64092         (__mpn_rshift): Do not use BP_SYM.
64093         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64094         (PARMS): Do not use macros from bp-asm.h.
64095         (SIGMSK): Likewise.
64096         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64097         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64098         (_start): Do not use BP_SYM.
64099         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64100         (PARMS): Do not use macros from bp-asm.h.
64101         (DEST): Likewise.
64102         (SRC): Likewise.
64103         (__stpcpy): Likewise.  Do not use BP_SYM.
64104         (stpcpy): Do not use BP_SYM in weak_alias.
64105         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64106         "bp-asm.h".
64107         (PARMS): Do not use macros from bp-asm.h.
64108         (DEST): Likewise.
64109         (SRC): Likewise.
64110         (LEN): Likewise.
64111         (__stpncpy): Likewise.  Do not use BP_SYM.
64112         (stpncpy): Do not use BP_SYM in weak_alias.
64113         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64114         (PARMS): Do not use macros from bp-asm.h.
64115         (STR): Likewise.
64116         (CHR): Likewise.
64117         (strchr): Likewise.  Do not use BP_SYM.
64118         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64119         "bp-asm.h".
64120         (PARMS): Do not use macros from bp-asm.h.
64121         (STR): Likewise.
64122         (CHR): Likewise.
64123         (__strchrnul): Likewise.  Do not use BP_SYM.
64124         (strchrnul): Do not use BP_SYM in weak_alias.
64125         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64126         "bp-asm.h".
64127         (PARMS): Do not use macros from bp-asm.h.
64128         (STOP): Likewise.
64129         (strcspn): Do not use BP_SYM.
64130         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64131         "bp-asm.h".
64132         (PARMS): Do not use macros from bp-asm.h.
64133         (STR): Likewise.
64134         (STOP): Likewise.
64135         (strpbrk): Likewise.  Do not use BP_SYM.
64136         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64137         "bp-asm.h".
64138         (PARMS): Do not use macros from bp-asm.h.
64139         (STR): Likewise.
64140         (CHR): Likewise.
64141         (strrchr): Likewise.  Do not use BP_SYM.
64142         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64143         (PARMS): Do not use macros from bp-asm.h.
64144         (SKIP): Likewise.
64145         (strspn): Do not use BP_SYM.
64146         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64147         (PARMS): Do not use macros from bp-asm.h.
64148         (STR): Likewise.
64149         (DELIM): Likewise.
64150         (SAVE): Likewise.
64151         (FUNCTION): Likewise.  Do not use BP_SYM.
64152         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64153         aliases.
64154         (strtok_r): Likewise.
64155         (__GI___strtok_r): Likewise.
64156         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64157         (PARMS): Do not use macros from bp-asm.h.
64158         (S1): Likewise.
64159         (S2): Likewise.
64160         (SIZE): Likewise.
64161         (__mpn_sub_n): Do not use BP_SYM.
64162         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64163         "bp-asm.h".
64164         (PARMS): Do not use macros from bp-asm.h.
64165         (S1): Likewise.
64166         (SIZE): Likewise.
64167         (__mpn_submul_1): Do not use BP_SYM.
64168         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64169         <bp-sym.h>.
64170         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64171         and <bp-asm.h>.
64172         (PARMS): Do not use macros from bp-asm.h.
64173         (FLAGS): Likewise.
64174         (PTID): Likewise.
64175         (TLS): Likewise.
64176         (CTID): Likewise.
64177         (__clone): Do not use BP_SYM.
64178         (clone): Do not use BP_SYM in weak_alias.
64179         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64180         and <bp-asm.h>.
64181         (PARMS): Do not use macros from bp-asm.h.
64182         (LEN): Likewise.
64183         (__mmap64): Do not use BP_SYM.
64184         (mmap64): Do not use BP_SYM in weak_alias.
64185         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64186         <bp-sym.h> and <bp-asm.h>.
64187         (PARMS): Do not use macros from bp-asm.h.
64188         (__posix_fadvise64_l64): Do not use BP_SYM.
64189         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64190         (PARMS): Do not use macros from bp-asm.h.
64191         (NSOPS): Likewise.
64192         (semtimedop): Do not use BP_SYM.
64193         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64194         and <bp-asm.h>.
64196 2013-02-21  Allan McRae  <allan@archlinux.org>
64198         * manual/message.texi (Charset conversion in gettext):
64199         Move @end statement to beginning of line.
64201 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64204         static.
64205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64206         Likewise.
64208         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64209         (denorm): Likewise.
64210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64213 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64215         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64216         tail-call to the resolved function if pltexit isn't needed.
64218 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64221         or Y being zero as being unlikely.
64222         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64223         Likewise.
64225 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
64227         * manual/nss.texi (System Databases and Name Service Switch):
64228         Remove frobnicate @pxref.
64230 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64232         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64233         __attribute__ ((unused)) to __attribute__ ((__unused__)).
64235 2013-02-20  Petr Machata  <pmachata@redhat.com>
64237         * elf/elf.h (R_ARM_TARGET1): New macro.
64238         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
64239         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
64240         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
64241         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
64242         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
64243         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
64244         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
64245         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
64246         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
64247         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
64248         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
64249         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
64250         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
64251         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
64252         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
64253         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
64254         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
64255         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
64256         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
64257         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
64258         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
64259         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
64260         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
64261         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
64262         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
64263         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
64264         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
64265         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
64266         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
64267         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
64268         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
64269         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
64270         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
64271         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
64272         (R_ARM_THM_GOT_BREL12): Likewise.
64273         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
64274         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
64275         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
64276         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
64277         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
64278         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
64279         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
64280         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
64281         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
64283 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
64285         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
64286         __attribute_used__ to __attribute__ ((unused)).
64288 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64290         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
64291         powerpc mpa.c.
64292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
64293         comment formatting.
64294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
64296 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
64298         [BZ #13550]
64299         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
64300         Remove macro.
64301         (ENTER): Remove both macro definitions.
64302         (LEAVE): Likewise.
64303         (CHECK_BOUNDS_LOW): Likewise.
64304         (CHECK_BOUNDS_HIGH): Likewise.
64305         (CHECK_BOUNDS_BOTH): Likewise.
64306         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
64307         (RETURN_BOUNDED_POINTER): Likewise.
64308         (RETURN_NULL_BOUNDED_POINTER): Likewise.
64309         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
64310         (POP_ERRNO_LOCATION_RETURN): Likewise.
64311         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
64312         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64313         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
64314         macros.
64315         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64316         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
64317         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
64318         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
64319         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
64320         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
64321         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
64322         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
64323         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
64324         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
64325         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
64326         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
64327         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64328         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
64329         removed macros.
64330         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64331         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
64332         macros.
64333         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64334         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
64335         * sysdeps/i386/i586/memset.S (memset): Likewise.
64336         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
64337         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64338         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
64339         macros.
64340         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64341         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
64342         Change uses of L(2) to L(out).
64343         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
64344         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
64345         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
64346         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64347         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
64348         removed macros.
64349         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64350         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
64351         macros.
64352         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64353         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
64354         (RETURN): Do not use macro LEAVE.
64355         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
64356         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
64357         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
64358         * sysdeps/i386/i686/memset.S (memset): Likewise.
64359         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
64360         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
64361         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64362         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
64363         Likewise.
64364         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64365         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
64366         L(1_2) and L(1_3) into L(1).
64367         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64368         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
64369         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64370         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
64371         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64372         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
64373         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
64374         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64375         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
64376         macros.
64377         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
64378         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64379         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
64380         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
64381         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
64382         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64383         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
64384         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
64385         * sysdeps/i386/strcspn.S (strcspn): Likewise.
64386         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
64387         * sysdeps/i386/strrchr.S (strrchr): Likewise.
64388         * sysdeps/i386/strspn.S (strspn): Likewise.
64389         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
64390         conditional code.
64391         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64392         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
64393         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
64394         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
64395         L(1_3) into L(1_1).
64396         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
64397         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64398         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
64399         macros.
64400         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64402 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
64404         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
64405         macro.
64407 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
64409         * math/atest-exp.c (exp_mpn): Remove ROUND.
64410         * math/atest-exp2.c (exp_mpn): Likewise.
64411         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
64413         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
64414         * stdlib/tst-tls-atexit-lib.c: Likewise.
64415         * stdlib/tst-tls-atexit.c: Likewise.
64417 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64419         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
64420         and __attribute_alloc_size__.
64422 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64424         * include/programs/xmalloc.h: Change __attribute_alloc_size to
64425         __attribute_alloc_size__.
64426         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
64427         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
64429 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
64431         * include/programs/xmalloc.h: New file.
64432         * catgets/gencat.c: Include it.
64433         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
64434         * elf/pldd.c: Likewise.
64435         * iconv/iconv_charmap.c: Likewise.
64436         * iconv/iconvconfig.c: Likewise.
64437         * iconv/strtab.c: Likewise.
64438         * locale/programs/locale.c: Likewise.
64439         * locale/programs/localedef.h: Likewise.
64440         * locale/programs/simple-hash.c: Likewise.
64441         * nscd/nscd.h: Likewise.
64442         * nss/makedb.c: Likewise.
64443         * sysdeps/generic/ldconfig.h: Likewise.
64445 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64447         * Versions.def: Add GLIBC_2.18.
64448         * include/link.h (struct link_map): New member l_tls_dtor_count.
64449         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
64450         (__call_tls_dtors): Likewise.
64451         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
64452         __cxa_thread_atexit_impl.
64453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64454         Likewise.
64455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64456         Likewise.
64457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
64458         Likewise.
64459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
64460         Likewise.
64461         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
64463         Likewise.
64464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
64465         Likewise.
64466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64468         Likewise.
64469         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
64470         (tests): Add test case tst-tls-atexit.
64471         (modules-names): Add shared library for tst-tls-atexit.
64472         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
64473         (GLIBC_PRIVATE): Add __call_tls_dtors.
64474         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
64475         for libstdc++.
64476         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
64477         * stdlib/tst-tls-atexit.c: New test case.
64478         * stdlib/tst-tls-atexit-lib.c: New test case.
64480         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
64482         * elf/Versions (ld): Add _dl_find_dso_for_object.
64483         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
64484         * elf/dl-open.c (_dl_find_dso_for_object): New function.
64485         (dl_open_worker): Use _dl_find_dso_for_object.
64486         * elf/dl-sym.c (do_sym): Likewise.
64487         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
64489 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64491         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
64492         Syntactic changes only.
64493         (_dl_runtime_profile): Do a tail-call to the resolved function.
64495 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
64497         [BZ #13550]
64498         * sysdeps/x86_64/bp-asm.h: Remove file.
64499         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
64500         <bp-sym.h> and <bp-asm.h>.
64501         (__clone): Do not use BP_SYM.
64502         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
64503         <bp-sym.h> and <bp-asm.h>.
64504         * sysdeps/unix/x86_64/sysdep.S: Likewise.
64505         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
64506         "bp-asm.h".
64507         (_setjmp): Do not use BP_SYM.
64508         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
64509         "bp-asm.h".
64510         (setjmp): Do not use BP_SYM.
64511         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
64512         libc_hidden_def.
64513         (mempcpy): Do not use BP_SYM in weak_alias.
64514         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
64515         "bp-asm.h".
64516         (strchr): Do not use BP_SYM.
64517         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
64518         "bp-asm.h".
64519         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
64520         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
64521         (_start): Do not use BP_SYM.
64522         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
64523         "bp-asm.h".
64524         (strcat): Do not use BP_SYM.
64525         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
64526         "bp-asm.h".
64527         (STRCMP): Do not use BP_SYM.
64528         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
64529         "bp-asm.h".
64530         (STRCPY): Do not use BP_SYM.
64531         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
64532         "bp-asm.h".
64533         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
64534         "bp-asm.h".
64535         (FUNCTION): Do not use BP_SYM.
64536         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
64537         weak_alias.
64538         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
64540 2013-02-17  Andreas Jaeger  <aj@suse.de>
64542         * time/Versions: Sort entries.
64543         * string/Versions: Likewise.
64544         * resolv/Versions: Likewise.
64545         * posix/Versions: Likewise.
64546         * iconv/Versions: Likewise.
64547         * elf/Versions: Likewise.
64548         * wcsmbs/Versions: Likewise.
64550 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64552         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
64553         loop termination condition.
64555         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
64556         variable to calculate EZ.
64557         (__sqr): Likewise.
64559         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
64560         the lower precision input.
64562 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
64564         [BZ #13550]
64565         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
64566         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
64567         (run-via-rtld-prefix): Do not handle %-bp tests.
64568         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
64569         (all-object-suffixes): Remove .ob.
64570         (bppfx): Remove variable.
64571         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
64572         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
64573         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
64574         [$(build-bounded) = yes] (libtype.ob): Likewise.
64575         * Makerules (elide-routines.ob): Remove variable.
64576         (do-tests-clean): Do not handle *-bp.out.
64577         (common-mostlyclean): Do not handle *-bp and *-bp.out.
64578         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
64579         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
64580         (tests): Do not include $(tests-bp.out).
64581         (xtests): Do not include $(xtests-bp.out).
64582         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
64583         [$(build-bounded) = yes] ($(addprefix
64584         $(objpfx),$(binaries-bounded))): Remove rule.
64585         ($(objpfx)%-bp.out): Remove rule.
64586         * config.make.in (build-bounded): Remove variable.
64587         * crypt/Makefile [$(build-bounded) = yes]
64588         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
64589         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
64590         append to variable.
64591         [$(build-bounded) = yes] (install-lib): Likewise.
64592         [$(build-bounded) = yes] (generated): Likewise.
64593         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
64594         Remove rule.
64595         * intl/Makefile [$(build-bounded) = yes]
64596         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
64597         * math/Makefile [$(build-bounded) = yes]
64598         ($(tests:%=$(objpfx)%-bp): Likewise.
64599         * misc/Makefile [$(build-bounded) = yes]
64600         ($(objpfx)tst-tsearch-bp): Likewise.
64601         * nptl/Makeconfig (bounded-thread-library): Remove variable.
64602         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
64603         Remove dependency.
64604         * string/Makefile (o-objects.ob): Remove variable.
64605         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
64606         (CFLAGS-.ob): Remove variable.
64607         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
64608         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
64609         both definitions of variable.
64610         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
64611         (ASFLAGS-.ob): Remove variable.
64613 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
64615         [BZ #13550]
64616         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
64617         Remove __BOUNDED_POINTERS__ from condition.
64618         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
64619         * string/bits/string2.h [!__NO_STRING_INLINES &&
64620         !__BOUNDED_POINTERS__]: Likewise.
64621         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
64622         Likewise.
64623         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
64624         Remove conditional code.
64625         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
64626         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
64627         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
64628         condition.
64630         [BZ #13550]
64631         * csu/libc-start.c: Do not include <bp-sym.h>.
64632         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
64633         * elf/dl-open.c: Do not include <bp-sym.h>.
64634         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
64635         * math/fegetenv.c: Do not include <bp-sym.h>.
64636         (fegetenv): Do not use BP_SYM in versioned symbols.
64637         * nptl/sysdeps/pthread/bits/libc-lockP.h
64638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
64639         <bp-sym.h>.
64640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64641         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
64642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64643         (__pthread_mutex_destroy): Likewise.
64644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64645         (__pthread_mutex_lock): Likewise.
64646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64647         (__pthread_mutex_trylock): Likewise.
64648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64649         (__pthread_mutex_unlock): Likewise.
64650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64651         (__pthread_mutexattr_init): Likewise.
64652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64653         (__pthread_mutexattr_destroy): Likewise.
64654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64655         (__pthread_mutexattr_settype): Likewise.
64656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64657         (__pthread_rwlock_init): Likewise.
64658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64659         (__pthread_rwlock_destroy): Likewise.
64660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64661         (__pthread_rwlock_rdlock): Likewise.
64662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64663         (__pthread_rwlock_tryrdlock): Likewise.
64664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64665         (__pthread_rwlock_wrlock): Likewise.
64666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64667         (__pthread_rwlock_trywrlock): Likewise.
64668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64669         (__pthread_rwlock_unlock): Likewise.
64670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64671         (__pthread_key_create): Likewise.
64672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64673         (__pthread_setspecific): Likewise.
64674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64675         (__pthread_getspecific): Likewise.
64676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
64677         Likewise.
64678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64679         (_pthread_cleanup_push_defer): Likewise.
64680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64681         (_pthread_cleanup_pop_restore): Likewise.
64682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
64683         (pthread_setcancelstate): Likewise.
64684         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
64685         <bp-sym.h>.
64686         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
64687         (memchr): Do not use BP_SYM in weak_alias.
64688         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
64689         (fegetenv): Do not use BP_SYM in versioned symbols.
64690         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
64691         (fesetenv): Do not use BP_SYM in versioned symbols.
64692         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64693         (feupdateenv): Do not use BP_SYM in versioned symbols.
64694         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64695         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64696         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
64697         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
64698         (open64): Do not use BP_SYM in weak_alias.
64699         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
64700         (fegetenv): Do not use BP_SYM in versioned symbols.
64701         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
64702         (fesetenv): Do not use BP_SYM in versioned symbols.
64703         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
64704         (feupdateenv): Do not use BP_SYM in versioned symbols.
64705         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
64706         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
64707         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
64708         (feraiseexcept): Do not use BP_SYM in versioned symbols.
64709         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
64710         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
64711         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
64712         <bp-sym.h>.
64713         (__libc_start_main): Do not use BP_SYM.
64715 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64717         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
64718         redundant return line.
64719         (norm): Likewise.
64720         (denorm): Likewise.
64721         (dbl_mp): Likewise.
64722         (sub_magnitudes): Likewise.
64723         (__add): Likewise.
64724         (__sub): Likewise.
64725         (__mul): Likewise.
64726         (__inv): Likewise.
64727         (__dvd): Likewise.
64728         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
64729         (norm): Likewise.
64730         (denorm): Likewise.
64731         (dbl_mp): Likewise.
64732         (sub_magnitudes): Likewise.
64733         (__add): Likewise.
64734         (__sub): Likewise.
64735         (__mul): Likewise.
64736         (__inv): Likewise.
64737         (__dvd): Likewise.
64739         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
64740         instead of __mul.
64741         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
64742         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
64743         (cc32): Likewise.
64745         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
64746         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
64747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
64748         of __mul for squares.
64749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
64750         function
64751         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
64752         Likewise.
64753         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
64754         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
64756 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
64758         [BZ #13550]
64759         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
64760         code.
64761         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
64762         prototype or function definition.  Rename ubp_* variables and
64763         parameters.  Remove argv definitions conditional on
64764         [__BOUNDED_POINTERS__].
64765         * debug/backtrace.c (__backtrace): Do not use __unbounded.
64766         * elf/dl-runtime.c (_dl_fixup): Likewise.
64767         * include/set-hooks.h (RUN_HOOK): Likewise.
64768         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
64769         definition.
64770         * string/strcpy.c (strcpy): Do not use __unbounded.
64771         * sysdeps/generic/frame.h (struct layout): Likewise.
64772         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
64773         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
64774         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
64775         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
64776         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
64777         (__backtrace): Likewise.
64778         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
64779         use __ptrvalue.
64780         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
64781         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
64782         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
64783         Likewise.
64784         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
64785         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
64786         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
64787         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64788         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
64789         Do not use __unbounded.
64790         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
64791         Rename __unboundedrlimits parameter to rlimits in prototype.
64792         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
64793         Do not use __unbounded.
64794         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
64795         not use __ptrvalue.
64796         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64797         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
64798         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64799         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
64800         __ptrvalue or __unbounded.
64801         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
64802         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
64803         use __unbounded.
64804         (__new_msgctl): Do not use __ptrvalue.
64805         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
64806         __unbounded.
64807         (__libc_msgrcv): Do not use __ptrvalue.
64808         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
64809         startup_info): Do not use __unbounded.
64810         (__libc_start_main): Likewise.  Rename ubp_* variables and
64811         parameters.  Remove argv definitions conditional on
64812         [__BOUNDED_POINTERS__].
64813         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
64814         __ptrvalue.
64815         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
64816         use __unbounded.
64817         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
64818         or __ptrvalue.
64819         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
64820         use __unbounded.
64821         (__new_shmctl): Do not use __ptrvalue.
64822         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
64823         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
64824         Likewise.
64825         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
64826         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
64827         (__libc_sigaction): Likewise.
64828         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
64829         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
64830         Likewise.
64831         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64833 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
64835         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
64837         * string/mempcpy.c: Implement by calling memcpy.
64839 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
64843         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
64844         evaluation.
64846         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
64847         values in the mantissa.
64849         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
64850         minimize writes to Z.
64851         (sub_magnitudes): Simplify code a bit.
64853 2013-02-12  Roland McGrath  <roland@hack.frob.com>
64855         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
64856         from the message.  The linker prefixes all warnings with that already.
64858 2013-02-12  Andreas Schwab  <schwab@suse.de>
64860         [BZ #15078]
64861         * posix/regexec.c (extend_buffers): Add parameter min_len.
64862         (check_matching): Pass minimum needed length.
64863         (clean_state_log_if_needed): Likewise.
64864         (get_subexp): Likewise.
64865         * posix/Makefile (tests): Add bug-regex34.
64866         (bug-regex34-ENV): Define.
64867         * posix/bug-regex34.c: New file.
64869         [BZ #11561]
64870         * posix/regcomp.c (parse_bracket_exp): When looking up collating
64871         elements compare against the byte sequence of it, not its name.
64872         * posix/Makefile (tests): Add bug-regex35.
64873         (bug-regex35-ENV): Define.
64874         * posix/bug-regex35.c: New file.
64876 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64878         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
64879         comment.
64880         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
64881         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
64882         (CHECK_EOL): Add undef.
64884 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
64886         * bits/stdlib-bsearch.h: New file.
64887         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
64888         * stdlib/stdlib.h: Likewise.
64890 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64892         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
64893         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
64894         declaration.
64895         * manual/search.texi (Array Search Function): Add missing const in
64896         lfind prototype.
64897         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
64898         declaration to use rlim_t.
64899         (Basic Scheduling Functions): Remove erroneous const from
64900         sched_getparam prototype.  Remove erroneous * from
64901         sched_get_priority_max and sched_get_priority_min prototypes.
64902         (Resource Usage): Fix summary @comment on vtimes to refer to
64903         sys/vtimes.h rather than vtimes.h.
64904         Add missing *s in vtimes prototype.
64905         (Limits on Resources): Fix ulimit prototype to return long int.
64906         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
64907         prototypes to use long int rather than double.
64908         (BSD Random): Fix initstate and setstate to use char *, not void *.
64909         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
64910         prototype to make second argument 'struct aiocb64 *const[]'.
64911         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
64912         (Status of AIO Operations): Remove erroneous const in aio_return and
64913         aio_return64 prototypes.
64914         (Synchronizing I/O): Fix sync prototype to return void.
64915         * manual/startup.texi (Suboptions): Remove an erroneous const in
64916         getsubopt prototype.
64917         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
64918         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
64919         use size_t rather than int.
64920         (Scanning All Users): Likewise for getpwent_r.
64921         (Setting Groups): Add missing const to setgroups prototype.
64922         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
64923         * manual/socket.texi (Host Names): Fix gethostbyaddr and
64924         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
64925         'const void *' rather than 'const char *'.
64926         (Host Address Functions): Likewise for inet_ntop.
64927         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
64928         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
64929         ssize_t for return value.
64930         (Sending Data): Likewise for send, sendto, sendmsg.
64931         (Socket Option Functions): Add a missing const in setsockopt prototype.
64932         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
64933         use wchar_t for the argument.
64934         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
64935         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
64936         take no arguments.
64937         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
64938         double/float/long double for second argument.
64939         Fix return types of significand, significandf, significandl.
64940         * manual/filesys.texi (Setting Permissions): Use mode_t for second
64941         argument in fchmod prototype.
64942         (File Owner): Use uid_t and gid_t in fchown prototype.
64943         (File Times): Add const to utimes, futimes, and lutimes prototypes.
64944         (Making Special Files): Use mode_t and dev_t in mknod prototype.
64945         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64946         use 'const struct dirent **' as argument types to CMP function pointer
64947         argument.
64948         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64949         (File Times): Fix summary magic @comment for struct utimbuf and utime
64950         to refer to utime.h, not time.h.
64951         * manual/string.texi (Argz Functions): Add missing const in
64952         argz_extract and argz_next prototypes.
64953         (Finding Tokens in a String): Likewise for basename.
64954         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64955         (Copying and Concatenation): Fix typo in wmemmove prototype.
64956         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64957         (Signal Stack): Remove erroneous const in sigstack prototype.
64958         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64959         prototype.
64960         (Simple Calendar Time): Likewise for stime.
64961         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64962         prototype.
64963         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64964         say sys/sysctl.h instead.
64965         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64966         and vsyslog prototypes.
64968 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64970         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64971         Remove.
64973 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64975         * misc/sys/mman.h: Fix typo in mremap comment.
64977 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64979         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64980         the '\0' terminator.
64982 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64984         [BZ #13550]
64985         * debug/segfault.c: Don't include <bp-checks.h>.
64986         * sysdeps/generic/bp-checks.h: Remove file.
64987         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64988         (__GETDENTS): Don't use CHECK_N.
64989         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64990         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64991         (__getgroups): Don't use CHECK_N.
64992         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64993         (setgroups): Don't use CHECK_N.
64994         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64995         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64996         (__libc_msgrcv): Don't use CHECK_N.
64997         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64998         (__libc_msgsnd): Don't use CHECK_N.
64999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65000         <bp-checks.h>.
65001         (__libc_pread): Don't use CHECK_N.
65002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65003         include <bp-checks.h>.
65004         (__libc_pread64): Don't use CHECK_N.
65005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65006         include <bp-checks.h>.
65007         (__libc_pwrite): Don't use CHECK_N.
65008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65009         include <bp-checks.h>.
65010         (__libc_pwrite64): Don't use CHECK_N.
65011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65012         <bp-checks.h>.
65013         (__libc_pread): Don't use CHECK_N.
65014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65015         include <bp-checks.h>.
65016         (__libc_pread64): Don't use CHECK_N.
65017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65018         include <bp-checks.h>.
65019         (__libc_pwrite): Don't use CHECK_N.
65020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65021         include <bp-checks.h>.
65022         (__libc_pwrite64): Don't use CHECK_N.
65023         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65024         (do_pread): Don't use CHECK_N.
65025         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65026         (do_pread64): Don't use CHECK_N.
65027         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65028         (do_pwrite): Don't use CHECK_N.
65029         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65030         (do_pwrite64): Don't use CHECK_N.
65031         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65032         (__libc_readv): Don't use CHECK_N.
65033         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65034         (semop): Don't use CHECK_N.
65035         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65036         <bp-checks.h>.
65037         (semtimedop): Don't use CHECK_N.
65038         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65039         (__libc_pread): Don't use CHECK_N.
65040         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65041         <bp-checks.h>.
65042         (__libc_pread64): Don't use CHECK_N.
65043         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65044         <bp-checks.h>.
65045         (__libc_pwrite): Don't use CHECK_N.
65046         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65047         <bp-checks.h>.
65048         (__libc_pwrite64): Don't use CHECK_N.
65049         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65050         <bp-checks.h>.
65051         (__libc_msgrcv): Don't use CHECK_N.
65052         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65053         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65054         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65055         (__libc_writev): Don't use CHECK_N.
65057 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65059         * string/strcpy.c: Removed unused variable.
65061         * Makeconfig (+sysdep-includes): Define with := rather than =.
65062         Use an existing include/ subdir of each sysdeps dir before it.
65064 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65066         * nscd/connection.c (register_traced_file): Comment function.
65067         [HAVE_INOTIFY] (union __inev): Define.
65068         [HAVE_INOTIFY] (inotify_check_files): New function.
65069         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65070         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65071         clear_db_cache.
65072         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65074 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65076         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65077         loaded if not already and that a failure is permanent.
65079 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65081         [BZ #15006]
65082         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65083         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65085 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65087         [BZ #13550]
65088         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65089         (CHECK_1_NULL_OK): Likewise.
65090         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65091         (__fxstat): Do not use CHECK_1.
65092         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65093         <bp-checks.h>.
65094         (___fxstat64): Do not use CHECK_1.
65095         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65096         <bp-checks.h>.
65097         (__fxstatat): Do not use CHECK_1.
65098         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65099         <bp-checks.h>.
65100         (__fxstatat64): Do not use CHECK_1.
65101         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65102         <bp-checks.h>.
65103         (__fxstat): Do not use CHECK_1.
65104         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65105         <bp-checks.h>.
65106         (__fxstatat): Do not use CHECK_1.
65107         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65108         <bp-checks.h>.
65109         (__getresgid): Do not use CHECK_1.
65110         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65111         <bp-checks.h>.
65112         (__getresuid): Do not use CHECK_1.
65113         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65114         <bp-checks.h>.
65115         (__lxstat): Do not use CHECK_1.
65116         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65117         <bp-checks.h>.
65118         (__old_msgctl): Do not use CHECK_1.
65119         (__new_msgctl): Likewise.
65120         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65121         <bp-checks.h>.
65122         (__new_setrlimit): Do not use CHECK_1.
65123         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65124         <bp-checks.h>.
65125         (__old_shmctl): Do not use CHECK_1.
65126         (__new_shmctl): Likewise.
65127         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65128         <bp-checks.h>.
65129         (__xstat): Do not use CHECK_1.
65130         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65131         (__lxstat): Do not use CHECK_1.
65132         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65133         <bp-checks.h>.
65134         (___lxstat64): Do not use CHECK_1.
65135         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65136         (__old_msgctl): Do not use CHECK_1.
65137         (__new_msgctl): Likewise.
65138         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65139         <bp-checks.h>.
65140         (__gettimeofday): Do not use CHECK_1.
65141         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65142         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65143         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65144         <bp-checks.h>.
65145         (__gettimeofday): Do not use CHECK_1.
65146         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65147         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65148         (__new_shmctl): Do not use CHECK_1.
65149         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65150         <bp-checks.h>.
65151         (do_sigtimedwait): Do not use CHECK_1.
65152         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65153         <bp-checks.h>.
65154         (do_sigwaitinfo): Do not use CHECK_1.
65155         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65156         <bp-checks.h>.
65157         (msgctl): Do not use CHECK_1.
65158         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65159         <bp-checks.h>.
65160         (shmctl): Do not use CHECK_1.
65161         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65162         (ustat): Do not use CHECK_1.
65163         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65164         <bp-checks.h>.
65165         (__fxstat): Do not use CHECK_1.
65166         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65167         <bp-checks.h>.
65168         (__fxstatat): Do not use CHECK_1.
65169         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65170         <bp-checks.h>.
65171         (__lxstat): Do not use CHECK_1.
65172         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65173         <bp-checks.h>.
65174         (__xstat): Do not use CHECK_1.
65175         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65176         (__xstat): Do not use CHECK_1.
65177         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65178         (___xstat64): Do not use CHECK_1.
65180         [BZ #13550]
65181         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65182         definitions.
65183         (CHECK_BOUNDS_HIGH): Likewise.
65184         * string/strcpy.c: Do not include <bp-checks.h>.
65185         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65187 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65189         * nscd/nscd-client.h (__nscd_drop_map_ref):
65190         Add __attribute__ ((unused)).
65191         * nis/nss-nisplus.h (niserr2nss): Likewise.
65193         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65194         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65196         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65197         Remove inline keyword.
65198         * include/rounding-mode.h (round_away): Likewise.
65199         * libio/wfileops.c (adjust_wide_data): Likewise.
65200         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65201         (__m128i_strloadu_tolower): Likewise.
65202         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65203         (__m128i_strloadu_tolower): Likewise.
65204         * time/mktime.c (ydhms_diff): Likewise.
65205         * locale/elem-hash.h (elem_hash): Likewise.
65206         * locale/setlocale.c (setdata): Likewise.
65207         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65208         (re_string_wchar_at): Likewise.
65209         (bitset_not, bitset_merge, bitset_mask): Likewise.
65210         [!(__GNUC__ > 3)] (inline): Remove macro.
65211         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65212         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65213         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65214         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65215         * string/memcmp.c (memcmp_bytes): Likewise.
65216         * locale/programs/locarchive.c (compute_hashval): Likewise.
65217         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65218         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65219         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65220         * nss/getent.c (print_rpc, print_protocols): Likewise.
65221         (print_passwd, print_group, print_aliases): Likewise.
65222         * nis/nss-nisplus.h (niserr2nss): Likewise.
65223         * nscd/connections.c (restart_p): Likewise.
65224         Change return type to bool.
65226 2013-02-05  Roland McGrath  <roland@hack.frob.com>
65228         * Makeconfig (all-Depend-files): Add existing
65229         $(sorted-subdirs:=/Depend) files.
65230         (all-subdirs): Remove nss.
65231         * sysdeps/unix/inet/Subdirs: Add it here instead.
65232         * hesiod/Depend: New file.
65234         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
65235         instead of calling alloca.
65237         * io/lseek.c (__lseek): Rename to __libc_lseek.
65238         Define __lseek as an alias.
65240         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
65242 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
65244         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
65245         else clause and remove check for non-standard endianness.
65247 2013-02-04  David S. Miller  <davem@davemloft.net>
65249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65251 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
65253         [BZ #13550]
65254         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
65255         (__ubp_memchr): Remove prototype.
65256         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
65257         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65258         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
65259         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
65260         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
65261         Remove alias.
65262         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
65263         (__ubp_memchr): Likewise.
65264         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
65265         (__ubp_memchr): Likewise.
65266         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
65267         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
65268         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
65269         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
65270         CHECK_STRING.
65271         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
65272         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
65273         (__getcwd): Do not use CHECK_STRING.
65274         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65275         <bp-checks.h>.
65276         (__real_chown): Do not use CHECK_STRING.
65277         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
65278         <bp-checks.h>.
65279         (fchownat): Do not use CHECK_STRING.
65280         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
65281         CHECK_STRING.
65282         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65283         <bp-checks.h>.
65284         (__lchown): Do not use CHECK_STRING.
65285         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65286         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65287         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65288         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
65289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65290         include <bp-checks.h>.
65291         (truncate64): Do not use CHECK_STRING.
65292         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65293         <bp-checks.h>.
65294         (__real_chown): Do not use CHECK_STRING.
65295         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65296         <bp-checks.h>.
65297         (__lchown): Do not use CHECK_STRING.
65298         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65299         <bp-checks.h>.
65300         (__chown): Do not use CHECK_STRING.
65301         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
65302         <bp-checks.h>.
65303         (truncate64): Do not use CHECK_STRING.
65304         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
65305         Likewise.
65306         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
65307         (__xmknod): Do not use CHECK_STRING.
65308         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
65309         <bp-checks.h>.
65310         (__xmknodat): Do not use CHECK_STRING.
65311         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65312         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
65314 2013-02-04  Andreas Schwab  <schwab@suse.de>
65316         [BZ #14142]
65317         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
65318         * include/netdb.h: Likewise for h_errno.
65319         * elf/tst-stackguard1.c: Include <tls.h>.
65321 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
65323         * elf/link.h (struct link_map): Extend the l_addr comment.
65324         * include/link.h (struct link_map): Likewise.
65326 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
65328         [BZ #13550]
65329         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
65330         (BOUNDED_1): Remove macro.
65331         * debug/backtrace.c: Don't include <bp-checks.h>.
65332         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
65333         (__backtrace): Likewise.
65334         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
65335         <bp-checks.h>.
65336         (__backtrace): Don't use BOUNDED_1.
65337         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
65338         <bp-checks.h>.
65339         (__backtrace): Don't use BOUNDED_1.
65340         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
65341         (__backtrace): Don't use BOUNDED_1.
65342         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
65343         (shmat): Don't use BOUNDED_N.
65345 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
65347         [BZ #13550]
65348         * sysdeps/generic/bp-start.h: Remove file.
65349         * csu/libc-start.c: Don't include <bp-start.h>.
65350         (LIBC_START_MAIN): Set up __environ directly instead of using
65351         INIT_ARGV_and_ENVIRON.
65352         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
65353         <bp-start.h>.
65355         [BZ #13550]
65356         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
65357         definitions.
65358         (CHECK_FCNTL): Likewise.
65359         (CHECK_N_PAGES): Likewise.
65361         [BZ #13550]
65362         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
65363         definitions.
65364         (CHECK_SIGSET_NULL_OK): Likewise.
65365         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
65366         <bp-checks.h>.
65367         (sigpending): Don't use CHECK_SIGSET.
65368         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
65369         <bp-checks.h>.
65370         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65371         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
65372         <bp-checks.h>.
65373         (do_sigsuspend): Don't use CHECK_SIGSET.
65374         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
65375         use CHECK_SIGSET.
65376         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
65377         (do_sigwait): Don't use CHECK_SIGSET.
65378         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
65379         use CHECK_SIGSET.
65380         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
65381         include <bp-checks.h>.
65382         (sigpending): Don't use CHECK_SIGSET.
65383         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
65384         include <bp-checks.h>.
65385         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65386         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
65387         <bp-checks.h>.
65388         (sigpending): Don't use CHECK_SIGSET.
65389         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
65390         <bp-checks.h>.
65391         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
65393         [BZ #13550]
65394         * sysdeps/generic/bp-semctl.h: Remove file.
65395         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
65396         <bp-checks.h> and <bp-semctl.h>.
65397         (__old_semctl): Don't use CHECK_SEMCTL.
65398         (__new_semctl): Likewise.
65399         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
65400         and <bp-semctl.h>.
65401         (__old_semctl): Don't use CHECK_SEMCTL.
65402         (__new_semctl): Likewise.
65403         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
65404         <bp-checks.h> and <bp-semctl.h>.
65405         (__old_semctl): Don't use CHECK_SEMCTL.
65406         (__new_semctl): Likewise.
65407         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
65408         <bp-checks.h> and <bp-semctl.h>.
65409         (semctl): Don't use CHECK_SEMCTL.
65411         [BZ #13550]
65412         * Makerules (elide-bp-thunks): Remove variable.
65413         (elide-routines.oS): Don't use $(elide-bp-thunks).
65414         (elide-routines.os): Likewise.
65415         (elide-routines.o): Likewise.
65416         (elide-routines.op): Likewise.
65417         (elide-routines.og): Likewise.
65418         (objects): Don't use $(bp-thunks).
65419         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
65420         include.
65421         (common-generated): Do not add s-proto-bp.d.
65422         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
65423         (int): Likewise.
65424         (typ): Likewise.
65425         Do not generate makefile rules for bounded-pointer thunks.
65426         * sysdeps/generic/bp-thunks.h: Remove file.
65427         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
65428         * sysdeps/unix/s-proto-bp.S: Likewise.
65430         [BZ #15062]
65431         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
65432         parts of result separately when argument is not close to line from
65433         -i to i and one part of argument is small.
65434         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65435         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65436         * math/libm-test.inc (cacos_test): Add more tests.
65437         (casin_test): Likewise.
65438         (casinh_test): Likewise.
65439         * sysdeps/i386/fpu/libm-test-ulps: Update.
65440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65442 2013-01-31  David S. Miller  <davem@davemloft.net>
65444         * po/de.po: Update from translation team.
65446 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
65448         * time/tzfile.c: Include stdint.h for SIZE_MAX.
65450 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
65452         * configure.in (_AC_PROG_CC_C89): New definition.
65453         * configure: Regenerate.
65455         * configure.in (AC_PROG_CPP): New definition.
65456         * configure: Regenerate.
65458 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65460         * debug/tst-backtrace.h: New file.
65461         * debug/tst-backtrace2.c: Include tst-backtrace.h.
65462         (ret): Remove variable.
65463         (x): Likewise.
65464         (FAIL): Remove macro.
65465         (NO_INLINE): Likewise.
65466         (fn1): Use match function instead of strstr.
65467         * debug/tst-backtrace3.c: Include tst-backtrace.h.
65468         (ret): Remove variable.
65469         (x): Likewise.
65470         (FAIL): Remove macro.
65471         (NO_INLINE): Likewise.
65472         (fn): Use match function instead of strstr.
65473         * debug/tst-backtrace4.c: Include tst-backtrace.h.
65474         (ret): Remove variable.
65475         (x): Likewise.
65476         (FAIL): Remove macro.
65477         (NO_INLINE): Likewise.
65478         (handle_signal): Use match function instead of strstr.
65479         * debug/tst-backtrace5.c: Include tst-backtrace.h.
65480         (ret): Remove variable.
65481         (x): Likewise.
65482         (FAIL): Remove macro.
65483         (NO_INLINE): Likewise.
65484         (handle_signal): Use match function instead of strstr.
65486 2013-01-23  Roland McGrath  <roland@hack.frob.com>
65488         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
65490 2013-01-23  David S. Miller  <davem@davemloft.net>
65492         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
65493         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
65494         argument of CAS if possible.
65495         * sysdeps/sparc/sparc64/bits/atomic.h
65496         (__arch_compare_and_exchange_val_32_acq): Likewise.
65497         (__arch_compare_and_exchange_val_64_acq): Likewise.
65499 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
65501         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
65502         * sysdeps/posix/ulimit.c: ... this.
65503         Include <limits.h>.
65504         * sysdeps/unix/bsd/ulimit.c: Remove file.
65506 2013-01-23  Adam Conrad  <adconrad@0c3.net>
65508         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
65509         (LDFLAGS-tst-array5): Likewise.
65511 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
65513         [BZ #15036]
65514         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
65515         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
65516         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
65517         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
65519 2013-01-21  David S. Miller  <davem@davemloft.net>
65521         * sysdeps/sparc/backtrace.c: New file.
65522         * sysdeps/sparc/sparc32/backtrace.h: New file.
65523         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
65524         * sysdeps/sparc/sparc64/backtrace.h: New file.
65525         * sysdeps/sparc/sparc64/backtrace.c: Delete.
65526         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
65527         -funwind-tables.
65529 2013-01-21  Andreas Schwab  <schwab@suse.de>
65531         [BZ #15020]
65532         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
65533         closed its stdout.
65535 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
65537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
65538         "mpa2.h".
65539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65541 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
65542             Mark Mitchell  <mark@codesourcery.com>
65543             Tom de Vries  <tom@codesourcery.com>
65544             Paul Pluzhnikov  <ppluzhnikov@google.com>
65546         * debug/tst-backtrace2.c: New file.
65547         * debug/tst-backtrace3.c: Likewise.
65548         * debug/tst-backtrace4.c: Likewise.
65549         * debug/tst-backtrace5.c: Likewise.
65550         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
65551         (CFLAGS-tst-backtrace3.c): Likewise.
65552         (CFLAGS-tst-backtrace4.c): Likewise.
65553         (CFLAGS-tst-backtrace5.c): Likewise.
65554         (LDFLAGS-tst-backtrace2): Likewise.
65555         (LDFLAGS-tst-backtrace3): Likewise.
65556         (LDFLAGS-tst-backtrace4): Likewise.
65557         (LDFLAGS-tst-backtrace5): Likewise.
65558         (tests): Add new tests tst-backtrace2, tst-backtrace3,
65559         tst-backtrace4 and tst-backtrace5.
65561 2013-01-18  Anton Blanchard  <anton@samba.org>
65562             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65564         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
65565         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
65566         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
65567         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
65568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65569         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
65570         "+r" and remove output regs list as redundant.  Add explicit inline
65571         asm to specify register of return val to work around compiler codegen
65572         bug.  Remove (int) cast on return value.  Add return type parameter to
65573         use in macro so that this macro does not truncate return value for
65574         64-bit values.
65575         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
65576         pass to INTERNAL_VSYSCALL_NCS.
65577         (INLINE_VSYSCALL): Add 'long int' as return type to
65578         INTERNAL_VSYSCALL_NCS macro invocation.
65579         (INTERNAL_VSYSCALL): Add 'long int' as return type to
65580         INTERNAL_VSYSCALL_NCS macro invocation.
65581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65583 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65585         [BZ #14496]
65586         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
65587         Fix application of SIMD FP exception mask.
65589         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
65590         mp_no from a power of two.
65591         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
65592         __mpexp_twomm1.  Use __pow_mp.
65594         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
65595         multiplication.
65597 2013-01-17  David S. Miller  <davem@davemloft.net>
65599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65601 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65603         [BZ #15023]
65604         * include/complex.h: Condition contents on [!_COMPLEX_H].
65605         (__kernel_casinhf): New prototype.
65606         (__kernel_casinh): Likewise.
65607         (__kernel_casinhl): Likewise.
65608         * math/Makefile (libm_calls): Add k_casinh.
65609         * math/k_casinh.c: New file.
65610         * math/k_casinhf.c: Likewise.
65611         * math/k_casinhl.c: Likewise.
65612         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
65613         finite nonzero arguments.
65614         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
65615         finite nonzero arguments.
65616         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
65617         finite nonzero arguments.
65618         * math/s_casinh.c: Do not include <float.h>.
65619         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
65620         * math/s_casinhf.c: Do not include <float.h>.
65621         (__casinhf): Move code for finite nonzero arguments to
65622         k_casinhf.c.
65623         * math/s_casinhl.c: Do not include <float.h>.
65624         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
65625         redefine.
65626         (__casinhl): Move code for finite nonzero arguments to
65627         k_casinhl.c.
65628         * math/libm-test.inc (cacos_test): Add more tests.
65629         * sysdeps/i386/fpu/libm-test-ulps: Update.
65630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65632 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
65634         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
65635         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
65636         [!HAVE_MREMAP]: Remove [defined linux] case.
65637         * malloc/arena.c: Do not include <malloc-sysdep.h>.
65639 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65641         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
65643 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
65645         * elf/elf.h (R_386_SIZE32): New relocation.
65646         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
65647         R_386_SIZE32.
65648         (elf_machine_rela): Likewise.
65649         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65650         R_X86_64_SIZE64 and R_X86_64_SIZE32.
65652 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
65654         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
65655         (FP_FAST_FMA): Do not define.
65656         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
65657         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
65658         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
65659         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
65660         !_SOFT_FLOAT]: Likewise.
65661         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
65662         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
65663         value.
65664         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
65665         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
65666         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
65667         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
65668         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
65669         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
65670         file.
65672 2013-01-16  Andreas Schwab  <schwab@suse.de>
65674         [BZ #14327]
65675         * include/stdlib.h (__mktemp): Add declaration.
65676         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
65677         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
65679 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65681         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
65682         definitions.
65683         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65684         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
65685         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
65686         definitions here.
65687         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
65688         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
65689         definitions.
65690         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
65691         and ONE.
65692         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
65693         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
65694         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
65695         definitions.
65696         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
65697         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
65698         definitions.
65699         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65701         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
65703 2013-01-15  David S. Miller  <davem@davemloft.net>
65705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65706         trunc{,f} to libm-sysdep_routes.
65707         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
65709         file.
65710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
65711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
65712         file.
65713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
65714         file.
65715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
65716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
65717         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
65718         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
65719         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
65720         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
65721         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
65722         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
65724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65725         nearbyint{,f} to libm-sysdep_routes.
65726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
65728         New file.
65729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
65730         file.
65731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
65732         New file.
65733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
65734         file.
65735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
65736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
65737         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
65738         file.
65739         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
65740         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
65741         file.
65742         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
65743         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
65744         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
65746         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65747         libc_feholdexcept and libc_fesetenv.
65749 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
65751         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
65753 2013-01-14  David S. Miller  <davem@davemloft.net>
65755         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
65756         (SPARC_ASM_VIS2_IFUNC): Likewise.
65757         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
65758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
65759         use of 'siam' instruction.
65760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
65761         Likewise.
65762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
65763         Likewise.
65764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
65765         Likewise.
65766         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
65767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
65768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
65769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
65770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
65771         file.
65772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
65773         file.
65774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
65775         file.
65776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
65777         file.
65778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
65779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
65780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
65781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
65782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
65783         new VIS2 routines.
65784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65787         Likewise.
65788         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65790         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65791         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
65793         routines to libm-sysdep_routines.
65794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
65796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
65797         fdim/fdimf to libm-sysdep_routines.
65798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
65799         file.
65800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
65801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
65802         file.
65803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
65804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
65805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
65806         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
65807         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
65808         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
65809         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
65811 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65813         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
65814         to optimize copies.
65816         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
65817         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
65821         local variable MPTWO.
65822         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
65823         Likewise.
65825 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65827         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
65828         GLOB_NOESCAPE.
65830 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65832         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
65834 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
65836         * manual/pattern.texi (glob_t): Document gl_flags.
65837         (glob64_t): Likewise.
65839 2013-01-11  David S. Miller  <davem@davemloft.net>
65841         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
65842         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
65843         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
65844         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
65845         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
65846         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
65847         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
65848         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
65849         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
65850         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
65851         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
65852         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
65853         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
65855         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65856         sparc V9 rather than using V8 code.
65857         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65858         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65860         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65861         Move to...
65862         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
65863         Here.
65865 2013-01-11  Roland McGrath  <roland@hack.frob.com>
65867         [BZ #14941]
65868         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
65869         not in the main loop.
65870         * configure: Regenerated.
65872 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
65874         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
65875         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
65876         to just #else.
65877         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
65878         [!__GLIBC_HAVE_LONG_LONG] case.
65879         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
65880         condition to just #else.
65881         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
65882         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
65883         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
65884         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
65885         unconditional.
65886         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
65887         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65888         #elif condition to just #else.
65889         * sysdeps/unix/sysv/linux/sys/sysmacros.h
65890         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
65891         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
65892         #elif condition to just #else.
65894 2013-01-11  Steve Ellcey  <sellcey@mips.com>
65896         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
65897         (EF_MIPS_ARCH_64): Fix value.
65898         (EF_MIPS_ARCH_32R2): New.
65899         (EF_MIPS_ARCH_64R2): New.
65901 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
65903         * Makeconfig (+link-pie-before-libc): New.
65904         (+link-pie-after-libc): Likewise.
65905         (+link-pie-tests): Likewise.
65906         (+link-pie): Rewritten.
65907         (link-before-libc): Remove $(config-LDFLAGS).
65908         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
65909         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
65910         (config-LDFLAGS): Renamed to ...
65911         (rtld-LDFLAGS): This.
65912         (rtld-tests-LDFLAGS): New macro.
65913         (link-libc-rpath-link): Likewise.
65914         (link-libc-tests-rpath-link): Likewise.
65915         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
65916         (link-libc): Prepand $(link-libc-rpath-link).
65917         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
65918         (test-program-prefix): New macro.
65919         (test-via-rtld-prefix): Likewise.
65920         (test-program-cmd): Likewise.
65921         (host-test-program-cmd): Likewise.
65922         * Makefile ($(common-objpfx)testrun.sh): Replace
65923         $(run-program-prefix) with $(test-program-prefix).
65924         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
65925         $(rtld-LDFLAGS).
65926         ($(common-objpfx)shlib.lds): Likewise.
65927         (build-module-helper): Likewise.
65928         ($(common-objpfx)format.lds): Likewise.
65929         * Rules (binaries-pie-tests): New.
65930         (binaries-pie-notests): Likewise.
65931         (binaries-pie): Rewritten.
65932         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
65933         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
65934         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
65935         (make-test-out): Replace $(host-built-program-cmd) with
65936         $(host-test-program-cmd).
65937         * config.make.in (build-hardcoded-path-in-tests): New variable.
65938         * configure.in (--enable-hardcoded-path-in-tests): New configure
65939         option.
65940         (hardcoded_path_in_tests): New AC_SUBST.
65941         * configure: Regenerated.
65942         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
65943         $(built-program-cmd) with $(test-program-cmd).
65944         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65945         (test_program_cmd): This.
65946         * elf/Makefile ($(objpfx)order.out): Run test with
65947         $(test-program-prefix).
65948         ($(objpfx)order2.out): Likewise.
65949         ($(objpfx)tst-initorder.out): Likewise.
65950         ($(objpfx)tst-initorder2.out): Likewise.
65951         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65952         $(test-program-cmd).
65953         ($(objpfx)tst-array1-static.out): Likewise.
65954         ($(objpfx)tst-array2.out): Likewise.
65955         ($(objpfx)tst-array3.out): Likewise.
65956         ($(objpfx)tst-array4.out): Likewise.
65957         ($(objpfx)tst-array5.out): Likewise.
65958         ($(objpfx)tst-array5-static.out): Likewise.
65959         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65960         $(test-program-cmd).
65961         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65962         $(run-program-prefix) with $(test-program-prefix).
65963         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65964         (test_program_prefix): This.
65965         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65966         $(run-program-prefix) with $(test-program-prefix).
65967         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65968         (test_program_prefix): This.
65969         * iconvdata/tst-tables.sh: Likewise.
65970         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65971         $(run-program-prefix) with $(test-program-prefix).
65972         ($(objpfx)tst-translit.out): Likewise.
65973         ($(objpfx)tst-gettext2.out): Likewise.
65974         ($(objpfx)tst-gettext4.out): Likewise.
65975         ($(objpfx)tst-gettext6.out): Likewise.
65976         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65977         (test_program_prefix): This.
65978         * intl/tst-gettext2.sh: Likewise.
65979         * intl/tst-gettext4.sh  Likewise.
65980         * intl/tst-gettext6.sh: Likewise.
65981         * intl/tst-translit.sh: Likewise.
65982         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65983         with $(test-program-cmd).
65984         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65985         $(run-program-prefix) with $(test-program-prefix).
65986         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65987         (test_program_prefix): This.
65988         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65989         $(run-program-prefix) with $(test-program-prefix).
65990         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65991         (test_program_prefix): This.
65992         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65993         * posix/Makefile ($(objpfx)globtest.out): Replace
65994         $(run-via-rtld-prefix) and $(test-wrapper) with
65995         $(test-program-prefix) and $(test-via-rtld-prefix).
65996         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65997         $(test-program-prefix).
65998         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65999         $(host-test-program-cmd).
66000         (tst-spawn-ARGS): Likewise.
66001         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66002         $(test-program-prefix).
66003         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66004         (test_via_rtld_prefix): This.
66005         (test_wrapper): Renamed to ...
66006         (test_program_prefix): This.
66007         (run_program_prefix): Replaced by test_program_prefix.
66008         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66009         (test_program_prefix): This.
66010         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66011         with $(host-test-program-cmd).
66012         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66013         $(run-program-prefix) with $(test-program-prefix).
66014         ($(objpfx)tst-printf.out): Likewise.
66015         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66016         $(test-program-cmd).
66017         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66018         (test_program_prefix): This.
66019         * stdio-common/tst-unbputc.sh: Likewise.
66020         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66021         $(run-program-prefix) with $(test-program-prefix).
66022         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66023         (test_program_prefix): This.
66024         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66025         $(built-program-cmd) with $(test-program-cmd).
66027 2013-01-11  Andreas Jaeger  <aj@suse.de>
66029         [BZ #15003]
66030         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66031         value. Sync with Linux 3.7.
66033 2013-01-10  David S. Miller  <davem@davemloft.net>
66035         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66036         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66037         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66039 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66041         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66042         never set.
66043         * configure: Regenerated.
66045 2013-01-10  David S. Miller  <davem@davemloft.net>
66047         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66048         sparc V9 rather than using V8 code.
66049         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66050         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66052 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66054         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66055         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66056         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66057         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66058         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66059         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66060         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66061         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66062         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66063         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66064         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66065         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66066         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66067         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66068         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66069         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66070         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66071         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66072         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66073         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66074         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66075         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66076         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66077         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66078         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66079         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66080         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66082 2013-01-10  David S. Miller  <davem@davemloft.net>
66084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66086 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66088         * posix/Makefile (tests-static): New variable.
66089         (tests): Add $(tests-static).
66090         (tst-exec-static-ARGS): New variable.
66091         (tst-spawn-static-ARGS): Likewise.
66092         * posix/tst-exec-static.c: New file.
66093         * posix/tst-spawn-static.c: Likewise.
66094         * posix/tst-exec.c: Support run directly.
66095         * posix/tst-spawn.c: Likewise.
66097 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66099         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66100         long.
66101         * math/bits/mathcalls.h (llrint): Likewise.
66102         (llround): Likewise.
66103         * stdlib/stdlib.h (struct drand48_data): Likewise.
66104         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66105         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66106         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66107         Likewise.
66108         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66109         Likewise.
66110         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66111         (elf_greg_t): Likewise.
66112         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66113         (__jmp_buf): Likewise.
66114         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66115         definitions.
66116         (llrint): Likewise, for all definitions.
66117         (llrintl): Likewise.
66119         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66120         Remove [__GNUC__] condition.
66121         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66122         condition to just [__USE_ISOC99].
66123         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66125 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66127         [BZ #14200]
66128         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66129         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66130         defined.
66131         (_POSIX_V6_ILP32_OFF32): Likewise.
66132         (_XBS5_ILP32_OFF32): Likewise.
66133         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66134         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66136 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66138         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66141         doubles __mpexp_twomm1.  Adjust usage.
66142         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66143         Remove.
66145 2013-01-10  Andreas Schwab  <schwab@suse.de>
66147         [BZ #14964]
66148         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66149         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66151 2013-01-09  David S. Miller  <davem@davemloft.net>
66153         [BZ #15003]
66154         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66155         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66156         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66157         (TCP_FASTOPEN): Define.
66158         (tcp_repair_opt): New structure.
66159         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66160         enum values.
66161         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66162         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66163         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66164         (tcp_cookie_transactions): New structure.
66166 2013-01-09  Anton Blanchard  <anton@samba.org>
66168         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66169         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66170         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66171         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66173 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66175         * include/features.h (__USE_ANSI): Remove.
66177 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66179         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66181         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66183 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66185         * sysdeps/s390/fpu/libm-test-ulps: Update.
66187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66189         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66190         (__acr): Likewise.
66191         (__cpy): Likewise.
66192         (norm): Likewise.
66193         (denorm): Likewise.
66194         (__mp_dbl): Likewise.
66195         (__dbl_mp): Likewise.
66196         (add_magnitudes): Likewise.
66197         (sub_magnitudes): Likewise.
66198         (__add): Likewise.
66199         (__sub): Likewise.
66200         (__mul): Likewise.
66201         (__inv): Likewise.
66202         (__dvd): Likewise.
66203         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66204         (__acr): Likewise.
66205         (__cpy): Likewise.
66206         (norm): Likewise.
66207         (denorm): Likewise.
66208         (__mp_dbl): Likewise.
66209         (__dbl_mp): Likewise.
66210         (add_magnitudes): Likewise.
66211         (sub_magnitudes): Likewise.
66212         (__add): Likewise.
66213         (__sub): Likewise.
66214         (__mul): Likewise.
66215         (__inv): Likewise.
66216         (__dvd): Likewise.
66217         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66218         (__acr): Likewise.
66219         (__cpy): Likewise.
66220         (norm): Likewise.
66221         (denorm): Likewise.
66222         (__mp_dbl): Likewise.
66223         (__dbl_mp): Likewise.
66224         (add_magnitudes): Likewise.
66225         (sub_magnitudes): Likewise.
66226         (__add): Likewise.
66227         (__sub): Likewise.
66228         (__mul): Likewise.
66229         (__inv): Likewise.
66230         (__dvd): Likewise.
66232 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
66234         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
66235         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
66236         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
66237         2 && __USE_EXTERN_INLINES]: Likewise.
66239 2013-01-08  Andreas Jaeger  <aj@suse.de>
66241         [BZ #14985]
66242         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66243         Remove.
66244         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66245         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
66247 2013-01-07  Anton Blanchard  <anton@samba.org>
66249         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
66250         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
66251         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
66252         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
66253         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
66254         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
66255         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
66256         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66258         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66259         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66260         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66261         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
66262         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
66263         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
66264         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66265         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66266         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
66267         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
66268         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
66269         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
66270         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
66271         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
66272         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
66273         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
66274         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
66275         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
66276         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
66277         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
66278         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
66279         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
66280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66281         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66282         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
66283         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
66284         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
66285         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66286         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66287         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
66288         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
66289         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
66290         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
66291         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66293 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
66295         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
66296         (__MALLOC_PMT): Likewise.
66297         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
66298         [__GNUC__], only on [_LIBC].
66299         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66300         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
66301         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
66302         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
66303         forward declaration.
66304         (realloc_hook_ini): Likewise.
66305         (memalign_hook_ini): Likewise.
66306         (__libc_memalign): Do not use __MALLOC_PMT in variable
66307         declaration.
66308         (__libc_valloc): Likewise.
66309         (__libc_pvalloc): Likewise.
66310         (__libc_calloc): Likewise.
66311         (__posix_memalign): Likewise.
66313         [BZ #14996]
66314         * math/s_casinh.c: Include <float.h>.
66315         (__casinh): Do not do computation with squaring and square root
66316         for large arguments.
66317         * math/s_casinhf.c: Include <float.h>.
66318         (__casinhf): Do not do computation with squaring and square root
66319         for large arguments.
66320         * math/s_casinhl.c: Include <float.h>.
66321         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
66322         (__casinhl): Do not do computation with squaring and square root
66323         for large arguments.
66324         * math/libm-test.inc (casin_test): Add more tests.
66325         (casinh_test): Likewise.
66326         * sysdeps/i386/fpu/libm-test-ulps: Update.
66327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66329 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
66331         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
66332         (__x86_64_raw_data_cache_size): Likewise.
66333         (__x86_64_data_cache_size_half): Likewise.
66334         (__x86_64_raw_data_cache_size_half): Likewise.
66335         (__x86_64_shared_cache_size): Likewise.
66336         (__x86_64_raw_shared_cache_size): Likewise.
66337         (__x86_64_shared_cache_size_half): Likewise.
66338         (__x86_64_raw_shared_cache_size_half): Likewise.
66339         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
66340         to ...
66341         (__x86_data_cache_size): This.
66342         (__x86_64_raw_data_cache_size): Renamed to ...
66343         (__x86_raw_data_cache_size): This.
66344         (__x86_64_data_cache_size_half): Renamed to ...
66345         (__x86_data_cache_size_half): This.
66346         (__x86_64_raw_data_cache_size_half): Renamed to ...
66347         (__x86_raw_data_cache_size_half): This.
66348         (__x86_64_shared_cache_size): Renamed to ...
66349         (__x86_shared_cache_size): This.
66350         (__x86_64_raw_shared_cache_size): Renamed to ...
66351         (__x86_raw_shared_cache_size): This.
66352         (__x86_64_shared_cache_size_half): Renamed to ...
66353         (__x86_shared_cache_size_half): This.
66354         (__x86_64_raw_shared_cache_size_half): Renamed to ...
66355         (__x86_raw_shared_cache_size_half): This.
66356         * sysdeps/x86_64/memcpy.S: Updated.
66357         * sysdeps/x86_64/memset.S: Likewise.
66358         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
66359         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
66360         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
66362 2013-01-04  David S. Miller  <davem@davemloft.net>
66364         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66366 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
66368         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
66369         1 to avoid redefinition warning.
66370         (__USE_GNU): Don't define.
66371         (init_signaling_nan): Protoize.
66373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66375 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66377         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
66378         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
66379         (__cpymn): Likewise.
66380         (norm): Remove commented code.
66381         (denorm): Likewise.
66382         (__mp_dbl): Likewise.
66383         (__inv): Likewise.
66384         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
66385         (__cpymn): Likewise.
66386         (norm): Remove commented code.
66387         (denorm): Likewise.
66388         (__mp_dbl): Likewise.
66389         (__inv): Likewise.
66391         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
66392         mp_no value for 1.0 and 2.0.
66393         (norm): Use RADIXI instead of radixi.d.
66394         (denorm): Likewise.
66395         (__mul): Use 0.0 instead of zero.d.
66396         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
66397         mp_no value for 1.0 and 2.0.
66398         (norm): Use RADIXI instead of radixi.d.
66399         (denorm): Likewise.
66400         (__mul): Use 0.0 instead of zero.d.
66402 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
66404         [BZ #14994]
66405         * math/s_casinh.c (__casinh): Reduce finite argument to first
66406         quadrant then set signs of results at the end.
66407         * math/s_casinhf.c (__casinhf): Likewise.
66408         * math/s_casinhl.c (__casinhl): Likewise.
66409         * math/libm-test.inc (casin_test): Add more tests.
66410         (casinh_test): Likewise.
66411         * sysdeps/i386/fpu/libm-test-ulps: Update.
66412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66414 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66416         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
66418         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
66420         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
66421         declarations.
66422         (denorm): Likewise.
66423         (__mp_dbl): Likewise.
66424         (__inv): Likewise.
66426         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
66427         and adjust the header comment.
66429         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
66430         variable name from declaration.
66432 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
66434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66435         Initialize COMMON_CPUID_INDEX_7 element.
66436         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
66437         (CPUID_RTM): Likewise.
66438         (HAS_RTM): Likewise.
66439         (COMMON_CPUID_INDEX_7): New enum.
66441 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
66443         [BZ #14981]
66444         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
66445         size is zero, record memory as freed.
66447 2013-01-03  Andreas Jaeger  <aj@suse.de>
66449         * po/ia.po: Add new Interlingua translation.
66451 2012-01-03  Allan McRae  <allan@archlinux.org>
66453         * locale/programs/localedef.c: Fix description of '--posix' flag.
66455 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
66457         * NEWS: Update dates in second copyright notice.
66458         * README: Update copyright dates in example.
66459         * manual/libc.texinfo: Update copyright dates.
66460         * scripts/test-installation.pl: Update copyright date in --version
66461         output.
66463         * hurd/ctty-input.c: Fix copyright notice formatting.
66464         * hurd/ctty-output.c: Likewise.
66465         * hurd/dtable.c: Likewise.
66466         * hurd/hurd-raise.c: Likewise.
66467         * hurd/hurdprio.c: Likewise.
66468         * hurd/msgportdemux.c: Likewise.
66469         * misc/sys/file.h: Likewise.
66470         * misc/sys/ioctl.h: Likewise.
66471         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
66472         * sysdeps/mach/hurd/chdir.c: Likewise.
66473         * sysdeps/mach/hurd/fchdir.c: Likewise.
66474         * sysdeps/mach/hurd/rename.c: Likewise.
66475         * sysdeps/mach/hurd/rmdir.c: Likewise.
66476         * sysdeps/mach/hurd/seekdir.c: Likewise.
66477         * sysdeps/mach/hurd/setsid.c: Likewise.
66478         * sysdeps/posix/wait3.c: Likewise.
66480         * All files with FSF copyright notices: Update copyright dates
66481         using scripts/update-copyrights.
66482         * intl/plural.c: Regenerated.
66483         * locale/programs/charmap-kw.h: Likewise.
66484         * locale/programs/locfile-kw.h: Likewise.
66486 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
66488         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
66489         four values.
66491         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
66492         calculation loop and add branch prediction.
66494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
66495         check access beyond bounds of m1np.
66497         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66498         MPTWO.
66499         (__inv): Remove local variable MPTWO to use the global
66500         constant.
66501         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
66502         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66503         variable MPTWO.
66504         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
66505         MP3HALFS static const.
66507 2013-01-01  David S. Miller  <davem@davemloft.net>
66509         * po/ca.po: Update from translation team.
66511 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
66513         * scripts/update-copyrights: New file.
66514         * Makeconfig: Reformat copyright notice.
66515         * ctype/ctype.h: Likewise.
66516         * debug/swprintf_chk.c: Likewise.
66517         * elf/dl-cache.c: Likewise.
66518         * elf/dl-debug.c: Likewise.
66519         * elf/dl-object.c: Likewise.
66520         * grp/initgroups.c: Likewise.
66521         * hurd/Makefile: Likewise.
66522         * hurd/hurd/signal.h: Likewise.
66523         * hurd/hurdfault.c: Likewise.
66524         * hurd/hurdioctl.c: Likewise.
66525         * hurd/hurdlookup.c: Likewise.
66526         * hurd/intr-msg.c: Likewise.
66527         * iconv/gconv_open.c: Likewise.
66528         * libio/swprintf.c: Likewise.
66529         * locale/lc-ctype.c: Likewise.
66530         * locale/nl_langinfo.c: Likewise.
66531         * mach/Machrules: Likewise.
66532         * mach/Makefile: Likewise.
66533         * malloc/obstack.h: Likewise.
66534         * manual/Makefile: Likewise.
66535         * manual/tsort.awk: Likewise.
66536         * misc/bits/stab.def: Likewise.
66537         * nis/nis_print_group_entry.c: Likewise.
66538         * nis/nis_table.c: Likewise.
66539         * nis/nss_compat/compat-pwd.c: Likewise.
66540         * nis/nss_compat/compat-spwd.c: Likewise.
66541         * po/Makefile: Likewise.
66542         * posix/fnmatch.c: Likewise.
66543         * posix/regex.h: Likewise.
66544         * resolv/Makefile: Likewise.
66545         * resolv/nss_dns/dns-network.c: Likewise.
66546         * resolv/res_hconf.c: Likewise.
66547         * scripts/gen-sorted.awk: Likewise.
66548         * soft-fp/soft-fp.h: Likewise.
66549         * stdio-common/printf.h: Likewise.
66550         * stdlib/monetary.h: Likewise.
66551         * stdlib/random.c: Likewise.
66552         * stdlib/random_r.c: Likewise.
66553         * sysdeps/generic/Makefile: Likewise.
66554         * sysdeps/gnu/Makefile: Likewise.
66555         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
66556         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
66557         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66558         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66559         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66560         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66561         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66562         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66563         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66564         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66565         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
66566         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
66567         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
66568         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
66569         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
66570         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
66571         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
66572         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66573         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66574         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66575         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66576         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66577         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66578         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
66579         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
66580         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
66581         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
66582         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
66583         * sysdeps/mach/hurd/errnos.awk: Likewise.
66584         * sysdeps/mach/hurd/fork.c: Likewise.
66585         * sysdeps/mach/hurd/getcwd.c: Likewise.
66586         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
66587         * sysdeps/mach/hurd/mmap.c: Likewise.
66588         * sysdeps/mach/hurd/utimes.c: Likewise.
66589         * sysdeps/mach/hurd/xmknod.c: Likewise.
66590         * sysdeps/posix/profil.c: Likewise.
66591         * sysdeps/posix/readdir_r.c: Likewise.
66592         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66593         * sysdeps/powerpc/bits/setjmp.h: Likewise.
66594         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
66595         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
66596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66597         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66598         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66599         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66601         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66602         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66603         * sysdeps/pthread/lio_listio.c: Likewise.
66604         * sysdeps/sparc/dl-procinfo.h: Likewise.
66605         * sysdeps/unix/i386/sysdep.S: Likewise.
66606         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
66607         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
66608         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
66609         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
66610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66611         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
66612         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
66613         * sysdeps/unix/sysv/linux/speed.c: Likewise.
66614         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
66615         * sysdeps/wordsize-32/divdi3.c: Likewise.
66616         * time/sys/time.h: Likewise.
66617         * wcsmbs/Makefile: Likewise.
66619 2013-01-01  David S. Miller  <davem@davemloft.net>
66621         * po/fr.po: Update from translation team.
66623         * catgets/gencat.c: Update copyright year.
66624         * csu/version.c: Likewise.
66625         * debug/catchsegv.sh: Likewise.
66626         * debug/pcprofiledump.c: Likewise.
66627         * debug/xtrace.sh: Likewise.
66628         * elf/ldconfig.c: Likewise.
66629         * elf/ldd.bash.in: Likewise.
66630         * elf/pldd.c: Likewise.
66631         * elf/sotruss.ksh: Likewise.
66632         * elf/sprof.c: Likewise.
66633         * iconv/iconv_prog.c: Likewise.
66634         * iconv/iconvconfig.c: Likewise.
66635         * locale/programs/locale.c: Likewise.
66636         * locale/programs/localedef.c: Likewise.
66637         * login/programs/pt_chown.c: Likewise.
66638         * malloc/memusage.sh: Likewise.
66639         * malloc/memusagestat.c: Likewise.
66640         * malloc/mtrace.pl: Likewise.
66641         * nscd/nscd.c: Likewise.
66642         * nss/getent.c: Likewise.
66643         * nss/makedb.c: Likewise.
66644         * posix/getconf.c: Likewise.
66646 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
66648         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
66649         numbers.
66651 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
66653         * math/bits/mathcalls.h (modf): Use __nonnull.
66655 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66657         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
66658         (split): Use macro CN instead of the bare value.
66659         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
66660         could be used.
66661         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
66662         instead of the bare value.
66663         (power1): Likewise.
66665 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66667         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
66668         __ATAN_TWOM.
66669         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66671         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
66672         their values.
66673         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66674         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66675         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
66676         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66678 2012-12-28  Andreas Jaeger  <aj@suse.de>
66680         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
66681         values are from Linux 3.7.
66683         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
66684         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
66686 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66688         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
66689         TRUE case.
66691         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
66692         (norm): Likewise.
66693         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
66694         variables with preprocessor constants.
66695         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
66696         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
66697         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
66699 2012-12-27  Bruno Haible  <bruno@clisp.org>
66701         [BZ #14317]
66702         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
66703         only if needed.
66705 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
66708         and use variable directly.
66709         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
66711         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
66712         MPONE.
66713         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
66714         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
66715         variable MPONE.
66716         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
66717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
66718         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
66719         include directive.  Remove local variable MPONE.
66720         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
66721         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
66722         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
66724 2012-12-25  David S. Miller  <davem@davemloft.net>
66726         * version.h (RELEASE): Set to "development".
66727         (VERSION): Set to "2.17.90".
66728         * NEWS: Add 2.18 section.
66730 2012-12-21  David S. Miller  <davem@davemloft.net>
66732         * po/hr.po: Update from translation team.
66734 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66736         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
66738 2012-12-19  Steve Ellcey  <sellcey@mips.com>
66740         * NEWS:  Mention new memcpy for MIPS.
66742 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66744         * manual/contrib.texi (Contributors): Spelling correction.
66746 2012-12-15  David S. Miller  <davem@davemloft.net>
66748         * po/ru.po: Update from translation team.
66750 2012-12-13  David S. Miller  <davem@davemloft.net>
66752         * NEWS: Mention IFUNC testsuite enhancements.
66754         * po/pl.po: Update from translation team.
66755         * po/bg.po: Likewise.
66757         * manual/contrib.texi (Contributors): Update entries for Hongjiu
66758         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
66760 2012-12-11  David S. Miller  <davem@davemloft.net>
66762         * po/sv.po: Update from translation team.
66764         * po/vi.po: Update from translation team.
66766         * po/cs.po: Update from translation team.
66768         * po/de.po: Update from translation team.
66769         * po/eo.po: Likewise.
66770         * po/nl.po: Likewise.
66772 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
66774         [BZ #14246]
66775         * manual/argp.texi (Argp Helper Functions): Move node to follow
66776         Argp Parsing State.
66778         [BZ #14872]
66779         * manual/conf.texi (Limits on File System Capacity): Mention if
66780         terminating null is included in the max size.
66782 2012-12-10  Andreas Jaeger  <aj@suse.de>
66784         * po/cs.po: Update from translation team.
66786 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66788         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
66789         void pointer and cast to uintptr_t.
66790         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
66791         path.
66792         * sysdeps/s390/s390-64/memcpy.S: Likewise.
66793         * sysdeps/s390/s390-64/memset.S: Likewise.
66795 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
66797         [BZ #14833]
66798         * menual/message.texi (Message Translation): Fix typos.
66799         (Helper programs for gettext): Likewise.
66801 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
66803         [BZ #14898]
66804         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
66805         Change to -1.
66807 2012-12-07  David S. Miller  <davem@davemloft.net>
66809         * po/libc.pot: Update.
66811 2012-12-07  Richard Henderson  <rth@redhat.com>
66813         [BZ #10114]
66814         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
66815         normal/normal case to before the switch.
66816         (_FP_DIV): Likewise.
66818 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
66819             Mike Frysinger  <vapier@gentoo.org>
66821         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
66822         check for __NR_fadvise64_64.
66824 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
66826         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
66827         0, not just to plain "0" as a statement.
66828         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
66829         with cw.
66831 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
66833         * NEWS: Use sourceware.org in Bugzilla URL.
66835 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
66838         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66840         * stdio-common/tst-put-error.c (do_test): Add newline to the
66841         padded test to ensure flush.
66843 2012-12-05  Jeff Law  <law@redhat.com>
66845         * sunrpc/etc.rpc (fedfs_admin): Add entry.
66847 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
66849         * README: Don't refer to ports add-on as distributed separately.
66850         Mention AArch64 in list of systems supported in the ports add-on.
66852         * LICENSES: Add more non-FSF copyright and license notices.
66854         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
66855         ((unused)).
66857         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
66859         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
66860         10000 as width of padded output.
66862 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66864         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
66866         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
66867         variable LX with __attribute__ ((unused)).
66868         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
66869         Likewise.
66870         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
66871         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66872         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
66873         with __attribute__ ((unused)).
66875 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
66877         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
66879 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
66881         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
66882         (CFLAGS-nldbl-acos.c): New variable.
66883         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
66884         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
66885         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
66886         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
66887         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
66888         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
66889         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
66890         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
66891         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
66892         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
66893         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
66894         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
66895         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
66896         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
66897         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
66898         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
66899         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
66900         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
66901         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
66902         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
66903         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
66904         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
66905         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
66906         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
66907         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
66908         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
66909         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
66910         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
66911         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
66912         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
66913         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
66914         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
66915         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
66916         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
66917         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
66918         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
66919         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
66920         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
66921         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
66922         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
66923         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
66924         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
66925         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
66926         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
66927         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
66928         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
66929         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
66930         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
66931         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
66932         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
66933         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
66934         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
66935         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
66936         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
66937         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
66938         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
66939         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
66940         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
66941         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
66942         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
66943         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
66944         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66945         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66946         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66947         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66948         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66949         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66950         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66951         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66952         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66953         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66954         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66955         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66956         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66957         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66958         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66959         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66960         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66961         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66962         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66963         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66964         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66965         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66966         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66967         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66968         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66969         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66970         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66971         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66972         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66973         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66974         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66975         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66976         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66977         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66978         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66979         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66982         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66984         [BZ #14914]
66985         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66986         whole low double instead of just low 47 bits when splitting values
66987         into two parts.
66989 2012-12-03  Allan McRae  <allan@archlinux.org>
66991         * manual/stdio.texi (Predefined Printf Handlers): Remove
66992         @hsep and @vsep usage.
66994 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66996         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66997         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66999 2012-12-03  Jeff Law  <law@redhat.com>
67001         * time/sys/time.h (settimeofday): Do not mark TV argument
67002         as __nonnull.
67004 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67006         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67007         when currently writing and seek to current position when not.
67008         * libio/Makefile (tests): Remove bug-fclose1.
67009         * libio/bug-fclose1.c: Delete.
67011 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67013         * manual/arith.texi (feenableexcept): Fix typo.
67014         (fedisableexcept): Likewise.
67016 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67018         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67019         second, differently-typed declaration, rather than a cast.
67021 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67023         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67024         * include/rpc/svc.h: ... here.
67026 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67028         [BZ #13013]
67029         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67030         depending n and resplen2 to catch cases where answer
67031         equals answerp2.
67033 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67035         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67036         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67038 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67040         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67042 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67044         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67046 2012-11-28  Jeff Law  <law@redhat.com>
67048         [BZ #13761]
67049         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67050         dataset_temporary.  Track alloca usage into alloca_used.
67051         If dataset is large allocate and release it via malloc/free.
67053 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67055         [BZ #14197]
67056         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67058 2012-11-28  David S. Miller  <davem@davemloft.net>
67060         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67062 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67064         [BZ #14803]
67065         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67066         of pi/2 rounded to nearest to 64 bits.
67067         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67068         nearest to 64 bits.
67069         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67070         bits.
67072 2012-11-28  Jeff Law <law@redhat.com>
67073             Martin Osvald <mosvald@redhat.com>
67075         [BZ #14889]
67076         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67077         * sunrpc/svc.c: Include time.h.
67078         (__svc_accept_failed): New function.
67079         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67080         any reason other than EINTR, call __svc_accept_failed.
67081         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67082         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67084 2012-11-28  Andreas Schwab  <schwab@suse.de>
67086         * scripts/abilist.awk: Also handle indirect functions in .opd
67087         section.
67089 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67091         [BZ #13881]
67092         * sysdeps/x86/fpu/powl_helper.c: New file.
67093         * sysdeps/x86/fpu/Makefile: Likewise.
67094         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67095         (p3): New object.
67096         (__ieee754_powl): Use __powl_helper for finite arguments except
67097         integer exponents below 8.
67098         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67099         (p3): New object.
67100         (__ieee754_powl): Use __powl_helper for finite arguments except
67101         integer exponents below 8.
67102         * math/libm-test.inc (pow_test): Add more tests and enable some
67103         previously disabled tests.
67104         * sysdeps/i386/fpu/libm-test-ulps: Update.
67105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67107 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67108             Carlos O'Donell  <carlos_odonell@mentor.com>
67110         * nss/makedb.c (is_prime): Assert that input is odd and greater
67111         than 4.  Note that fact in a comment too.
67112         (next_prime): Add 4 to input.
67114 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67116         [BZ #11741]
67117         * libio/Makefile (tests): Add test case tst-fwrite-error.
67118         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67119         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67120         * libio/tst-fwrite-error.c: New test case.
67122 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67124         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67125         before casting to void *.
67126         * include/libc-internal.h (__pointer_type): New macro.
67127         (__integer_if_pointer_type_sub): Likewise.
67128         (__integer_if_pointer_type): Likewise.
67129         (cast_to_integer): Likewise.
67130         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67131         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67132         before casting to atomic64_t.
67133         (atomic_exchange_acq): Likewise.
67134         (__arch_exchange_and_add_body): Likewise.
67135         (__arch_add_body): Likewise.
67136         (atomic_add_negative): Likewise.
67137         (atomic_add_zero): Likewise.
67139 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67141         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67142         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67143         (add_fdes): Likewise.
67144         (linear_search_fdes): Likewise.
67145         (binary_search_unencoded_fdes): Likewise.
67147 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67149         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67151 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67153         * configure.in: Autodetect C++ header directories.
67154         * configure: Regenerated.
67156 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67158         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67160 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67164 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67166         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67167         LDBL_MANT_DIG == 106]: Disable some tests.
67168         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67169         Likewise.
67170         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67171         Likewise.
67173         [BZ #14871]
67174         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67175         input for small inputs.  Return +/- pi/2 for large inputs.
67176         * math/libm-test.inc (atan_test): Add more tests.
67178         * sysdeps/generic/unwind-dw2-fde-glibc.c
67179         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67180         __attribute__ ((unused)).
67182         [BZ #14645]
67183         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67184         x * y if x and y are nonzero and z is zero.
67186         [BZ #14811]
67187         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67188         nonzero exponents with absolute value below 0x1p-117 to +/-
67189         0x1p-117.
67191         [BZ #14869]
67192         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67193         up arguments below 2**-450, not just those below 2**-500.
67194         * math/libm-test.inc (hypot_test): Add another test.
67196         [BZ #14868]
67197         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67198         Return a+b for ratio over 2**120, not 2**60.
67199         * math/libm-test.inc (hypot_test): Add another test.
67201         * math/libm-test.inc (clog_test): Use
67202         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67203         (clog10_test): Likewise.
67205         [BZ #6778]
67206         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67208 2012-11-22  Andreas Schwab  <schwab@suse.de>
67210         * sysdeps/i386/fpu/libm-test-ulps: Update.
67212 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67214         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67215         printf output with newline.
67217 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67219         [BZ #14865]
67220         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67221         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67222         -z nodlopen, -z initfirst and -z execstack support.
67223         * configure: Regenerated.
67225         * elf/elf.h (DF_1_NODIRECT): New macro.
67226         (DF_1_IGNMULDEF): Likewise.
67227         (DF_1_NOKSYMS): Likewise.
67228         (DF_1_NOHDR): Likewise.
67229         (DF_1_EDITED): Likewise.
67230         (DF_1_NORELOC): Likewise.
67231         (DF_1_SYMINTPOSE): Likewise.
67232         (DF_1_GLOBAUDIT): Likewise.
67233         (DF_1_SINGLETON): Likewise.
67234         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
67235         DT_1_SUPPORTED_MASK bits.
67236         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
67238 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
67240         * sysdeps/unix/make-syscalls.sh: Document prefixes.
67242 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
67244         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
67245         macro.
67247         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
67248         (sendmmsg): Move declarations...
67249         * socket/sys/socket.h: ... here.
67250         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
67251         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
67252         include it from...
67253         * socket/recvmmsg.c: ... this new file.
67254         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
67255         (sendmmsg): Rename to __sendmmsg, create weak alias and make
67256         definition of __sendmmsg hidden.
67257         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
67258         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
67259         Move ENOSYS stub into and include it from...
67260         * socket/sendmmsg.c: ... this new file.
67261         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
67262         (sysdep_routines): Move recvmmsg and sendmmsg...
67263         * socket/Makefile (routines): ... here.
67264         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
67265         (GLIBC_PRIVATE): Add __sendmmsg.
67266         * include/sys/socket.h (__sendmmsg): Add declarations.
67267         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
67268         sendmmsg.
67270 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
67272         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
67273         variable I1 with __attribute__ ((unused)).
67274         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67276 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67278         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
67279         DUMMY variables with __attribute__ ((unused)).
67281         * bits/byteswap.h: Include <bits/types.h>.
67282         (__bswap_64): Use __uint64_t instead of unsigned long long int.
67284 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67286         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
67287         string_t.  Do not manually set errno.
67288         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
67289         length with __strnlen.  Make sure to both set errno and return it on
67290         failure.
67292 2012-11-19  David S. Miller  <davem@davemloft.net>
67294         With help from Joseph Myers.
67295         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
67296         very large arguments properly.
67297         * math/libm-test.inc (atan_test): New tests.
67298         (atan2_test): New tests.
67299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67302 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
67304         [BZ #14856]
67305         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
67306         Define to 3.
67308         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
67309         [POSIX] (EADDRNOTAVAIL): Likewise.
67310         [POSIX] (EAFNOSUPPORT): Likewise.
67311         [POSIX] (EALREADY): Likewise.
67312         [POSIX] (ECONNABORTED): Likewise.
67313         [POSIX] (ECONNREFUSED): Likewise.
67314         [POSIX] (ECONNRESET): Likewise.
67315         [POSIX] (EDESTADDRREQ): Likewise.
67316         [POSIX] (EDQUOT): Likewise.
67317         [POSIX] (EHOSTUNREACH): Likewise.
67318         [POSIX] (EIDRM): Likewise.
67319         [POSIX] (EISCONN): Likewise.
67320         [POSIX] (ELOOP): Likewise.
67321         [POSIX] (EMULTIHOP): Likewise.
67322         [POSIX] (ENETDOWN): Likewise.
67323         [POSIX] (ENETUNREACH): Likewise.
67324         [POSIX] (ENOBUFS): Likewise.
67325         [POSIX] (ENODATA): Likewise.
67326         [POSIX] (ENOLINK): Likewise.
67327         [POSIX] (ENOMSG): Likewise.
67328         [POSIX] (ENOPROTOOPT): Likewise.
67329         [POSIX] (ENOSR): Likewise.
67330         [POSIX] (ENOSTR): Likewise.
67331         [POSIX] (ENOTCONN): Likewise.
67332         [POSIX] (ENOTSOCK): Likewise.
67333         [POSIX] (EOPNOTSUPP): Likewise.
67334         [POSIX] (EOVERFLOW): Likewise.
67335         [POSIX] (EPROTO): Likewise.
67336         [POSIX] (EPROTONOSUPPORT): Likewise.
67337         [POSIX] (EPROTOTYPE): Likewise.
67338         [POSIX] (ESTALE): Likewise.
67339         [POSIX] (ETIME): Likewise.
67340         [POSIX] (ETXTBSY): Likewise.
67341         [POSIX] (EWOULDBLOCK): Likewise.
67342         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
67343         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
67344         [POSIX] (SEEK_CUR): Likewise.
67345         [POSIX] (SEEK_END): Likewise.
67346         [POSIX || UNIX98] (mode_t): Do not require.
67347         [POSIX] (off_t): Likewise.
67348         [POSIX] (pid_t): Likewise.
67349         [POSIX] (sys/stat.h): Do not allow header.
67350         [POSIX] (unistd.h): Likewise.
67351         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
67352         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
67353         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
67354         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
67355         require.
67356         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
67357         sigevent): Specify elements.
67358         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
67359         entry.
67360         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
67361         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
67363         * conform/data/cpio.h-data [POSIX]: Disable whole file.
67364         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
67365         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
67366         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
67367         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
67368         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
67369         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
67370         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
67371         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
67372         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
67373         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
67374         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
67375         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
67376         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
67377         Likewise.
67378         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
67379         Likewise.
67380         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
67381         Likewise.
67382         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
67383         Likewise.
67384         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
67385         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
67386         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
67387         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
67388         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
67389         Specify lower bound on value.
67390         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
67391         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
67392         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
67393         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
67394         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
67395         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
67396         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
67397         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
67398         value.
67399         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
67400         as optional.
67401         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
67402         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
67403         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
67404         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
67405         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
67406         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
67407         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
67408         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
67409         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
67410         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
67411         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
67412         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
67413         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
67414         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
67415         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
67416         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
67417         entry.
67418         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
67419         optional.
67420         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
67421         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
67422         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
67423         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
67424         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
67425         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
67426         Likewise.
67427         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
67428         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
67429         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
67430         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
67431         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
67432         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
67433         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
67434         as optional.
67435         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
67436         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
67437         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
67438         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
67439         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
67440         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
67441         specify as optional.
67442         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
67443         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
67444         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
67445         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
67446         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
67447         [XPG3] (NL_LANGMAX): Likewise.
67448         [POSIX || XPG3] (NL_MSGMAX): Likewise.
67449         [POSIX || XPG3] (NL_NMAX): Likewise.
67450         [POSIX || XPG3] (NL_SETMAX): Likewise.
67451         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
67452         [XPG3] (NZERO): Likewise.
67453         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
67454         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
67455         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
67456         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
67457         (REG_ERANGE): Expect.
67458         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
67459         optional-constant.
67460         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
67461         Use (void) in prototype.
67462         [POSIX] (*_t): Allow.
67463         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
67464         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
67465         (WRDE_BADVAL): Expect.
67467         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
67468         expect.
67469         [XPG3 || XPG4] (O_RSYNC): Likewise.
67470         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
67471         Likewise.
67472         [XPG3 || XPG4] (pthread_sigmask): Likewise.
67473         [XPG3 || XPG4] (sigqueue): Likewise.
67474         [XPG3 || XPG4] (sigtimedwait): Likewise.
67475         [XPG3 || XPG4] (sigwaitinfo): Likewise.
67476         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
67477         [XPG3 || XPG4] (vsnprintf): Likewise.
67478         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
67479         Likewise.
67480         [XPG3 || XPG4] (blksize_t): Likewise.
67481         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
67482         Likewise.
67483         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
67484         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
67485         [XPG3 || XPG4] (struct itimerspec): Likewise.
67486         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
67487         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
67488         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
67489         [XPG3 || XPG4] (clockid_t): Likewise.
67490         [XPG3 || XPG4] (timer_t): Likewise.
67491         [XPG3 || XPG4] (clock_getres): Likewise.
67492         [XPG3 || XPG4] (clock_gettime): Likewise.
67493         [XPG3 || XPG4] (clock_settime): Likewise.
67494         [XPG3 || XPG4] (nanosleep): Likewise.
67495         [XPG3 || XPG4] (timer_create): Likewise.
67496         [XPG3 || XPG4] (timer_delete): Likewise.
67497         [XPG3 || XPG4] (timer_gettime): Likewise.
67498         [XPG3 || XPG4] (timer_getoverrun): Likewise.
67499         [XPG3 || XPG4] (timer_settime): Likewise.
67500         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
67501         [XPG3 || XPG4] (getlogin_r): Likewise.
67502         [XPG3 || XPG4] (pread): Likewise.
67503         [XPG3 || XPG4] (pthread_atfork): Likewise.
67504         [XPG3 || XPG4] (pwrite): Likewise.
67506         [BZ #14835]
67507         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
67508         <bits/siginfo.h>.
67510 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
67512         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
67513         finalizing MALLSTREAM.
67515         * sysdeps/mach/hurd/syncfs.c: New file.
67517 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67519         [BZ #14719]
67520         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
67521         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
67522         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
67523         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
67524         (_nss_dns_gethostbyname4_r): Likewise.
67525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
67526         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
67528 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
67530         [BZ #13763]
67531         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
67533 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
67535         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
67536         * elf/cache.c (print_entry): Print ",AArch64" for
67537         FLAG_AARCH64_LIB64
67539         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
67540         * elf/cache.c (print_entry): Print ",hard-float" for
67541         FLAG_ARM_LIBHF.
67543 2012-11-18  David S. Miller  <davem@davemloft.net>
67545         With help from Joseph Myers.
67546         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
67547         cutoff to 2**-13.
67548         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
67549         cutoff to 2**-25.
67550         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
67551         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
67552         small.
67553         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
67554         * math/libm-test.inc (y0_test): New tests.
67555         (y1_test): New tests.
67556         * sysdeps/i386/fpu/libm-test-ulps: Update.
67557         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67560 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
67562         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
67563         64-bit targets.
67564         * configure: Regenerated.
67566 2012-11-17  David S. Miller  <davem@davemloft.net>
67568         [BZ #14811]
67569         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
67570         nonzero exponents with absolute value below 0x1p-128 to +/-
67571         0x1p-128.
67573 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
67575         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
67577         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
67579         * posix/getconf-speclist.c: New file.
67580         * posix/posix-envs.def: Likewise.
67581         * posix/confstr.c (START_ENV_GROUP): New macro.
67582         (END_ENV_GROUP): Likewise.
67583         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67584         (KNOWN_PRESENT_ENV_STRING): Likewise.
67585         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67586         (UNKNOWN_ENVIRONMENT): Likewise.
67587         (confstr): Include posix-envs.def instead of handling
67588         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
67589         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
67590         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
67591         (END_ENV_GROUP): Likewise.
67592         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
67593         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
67594         (UNKNOWN_ENVIRONMENT): Likewise.
67595         (__sysconf): Include posix-envs.def instead of handling associated
67596         cases directly here.
67597         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
67598         preprocessing getconf-speclist.c rather than running getconf or
67599         generating empty file.
67601 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
67603         * scripts/check-local-headers.sh: Ignore 'mach' headers.
67605 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
67607         [BZ #14672]
67608         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
67610 2012-11-16  David S. Miller  <davem@davemloft.net>
67612         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
67613         smaller than LDBL_EPSILON/2.0L, just return xm1.
67615 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
67617         * elf/tst-array1.c (init): Set constructor priority to 1000.
67618         (fini): Set destructor priority to 1000.
67619         * elf/tst-array2dep.c: Likewise.
67621 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67623         [BZ #11741]
67624         * libio/fileops.c (_IO_new_file_write): Correctly return error.
67625         (_IO_new_file_xsputn): Also return EOF if none of the input
67626         data was written when overflow failed.
67627         * libio/iopadn.c (_IO_padn): Likewise.
67628         * libio/iowpadn.c (_IO_wpadn): Likewise.
67629         * stdio-common/tst-put-error.c: Add copyright notice.
67630         (do_test): Add case for printing padded string.
67631         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
67632         _IO_padn returned error.
67633         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
67634         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
67635         return EOF.
67637 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
67639         * libio/libioP.h: Add comment note that the references to C++
67640         bits are now obsolete.
67642 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67644         * math/libm-test.inc (check_complex): Use asprintf.
67646 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
67648         * debug/pcprofiledump.c (print_version): Update copyright year.
67649         * malloc/memusagestat.c (print_version): Likewise.
67651 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
67653         [BZ #14831]
67654         * elf/Makefile (tests): Add tst-audit8.
67655         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
67656         ($(objpfx)tst-audit8.out): New target.
67657         (tst-audit8-ENV): New variable.
67658         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
67659         audit if l_reloc_result is NULL.
67660         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
67661         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
67662         * elf/tst-audit8.c: New file.
67664 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67666         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
67667         * misc/Makefile (CFLAGS-select.c): Define.
67668         * posix/Makefile (CFLAGS-pause.c): Define.
67670 2012-11-13  David S. Miller  <davem@davemloft.net>
67672         * crypt/Makefile: Move test targets after toplevel Rules
67673         inclusion.  Grab any necessary sysdep routines when linking.
67674         * crypt/md5.c (md5_process_block): Remove define, we will always
67675         name it __md5_process_block.
67676         (md5_finish_ctx): Update md5_process_block call.
67677         (md5_stream): Likewise.
67678         (md5_process_bytes): Likewise.
67679         (md5_process_block): Rename to __md5_process_block and move to ...
67680         * crypt/md5-block.c: ... here.
67681         * crypt/sha256.c (sha256_process_block): Move to ...
67682         * crypt/sha256-block.c: ... here.
67683         * crypt/sha512.c (sha512_process_block): Move to ...
67684         * crypt/sha512-block.c: ... here.
67685         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
67686         path.
67687         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
67688         * sysdeps/sparc/sparc64/multiarch/Makefile
67689         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
67690         crypt subdir.
67691         (localedef-aux): Add md5 crypto assembler when in locale subdir.
67692         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
67693         multiarch changes.
67694         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
67695         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
67696         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
67697         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
67698         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
67699         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
67700         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
67701         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
67702         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
67703         file.
67704         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
67705         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
67706         file.
67707         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
67709 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
67711         * timezone/tzselect.ksh: Update from tzcode git revision
67712         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
67713         * timezone/zdump.c: Likewise.
67714         * timezone/zic.c: Likewise.
67715         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
67716         in TZVERSION setting, not $(PKGVERSION).
67717         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
67718         REPORT_BUGS_TO settings.
67720         [BZ #14838]
67721         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
67722         macro.
67724 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67726         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
67727         detection to immediately after _FP_ROUND().
67728         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
67729         bits are 0.
67731 2012-11-11  David S. Miller  <davem@davemloft.net>
67733         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
67734         inttypes.h
67735         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
67736         __close rather than their public counterparts.
67738 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
67740         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
67741         file.
67742         [UNIX98] (sem_timedwait): Do not expect.
67743         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
67744         [XPG4 || UNIX98] (sockatmark): Do not expect.
67745         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
67746         (clock_getcpuclockid): Do not expect.
67747         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
67748         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
67749         Do not expect.
67750         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
67751         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
67752         [UNIX98] (vwscanf): Likewise.
67753         [UNIX98] (vswscanf): Likewise.
67755 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
67757         * timezone/version.h: Remove file.
67758         * timezone/README: Do not refer to version.h.
67759         * timezone/Makefile ($(objpfx)zic.o): New dependency on
67760         $(objpfx)version.h.
67761         ($(objpfx)zdump.o): Likewise.
67762         ($(objpfx)version.h): New target.
67764         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
67765         2012i.
67766         * timezone/README: Don't mention modification to tzselect.ksh.
67767         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
67768         work on unmodified tzselect.ksh.  Substitute version numbers in
67769         tzselect.ksh.
67771         * Makefile (format-me): Remove.
67772         (INSTALL): Adjust indentation.  Use commands directly instead of
67773         using $(format-me).
67775         * aclocal.m4 (ACX_PKGVERSION): New macro.
67776         (ACX_BUGURL): Likewise.
67777         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
67778         (PKGVERSION): New AC_DEFINE_UNQUOTED.
67779         (REPORT_BUGS_TO): Likewise.
67780         * configure: Regenerated.
67781         * config.h.in (PKGVERSION): New macro.
67782         (REPORT_BUGS_TO): Likewise.
67783         * config.make.in (PKGVERSION): New variable.
67784         (PKGVERSION_TEXI): Likewise.
67785         (REPORT_BUGS_TO): Likewise.
67786         (REPORT_BUGS_TEXI): Likewise.
67787         * Makefile (format-me): Use -I$(common-objpfx)manual.
67788         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
67789         ($(common-objpfx)manual/%): New target.
67790         (manual/%): Remove target.
67791         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
67792         (print_version): Use PKGVERSION.
67793         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
67794         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
67795         and REPORT_BUGS_TO.
67796         ($(objpfx)xtrace): Likewise.
67797         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
67798         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
67799         (print_version): Use PKGVERSION.
67800         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
67801         (do_version): Use PKGVERSION.
67802         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
67803         REPORT_BUGS_TO.
67804         (common-ldd-rewrite): Likewise.
67805         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
67806         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
67807         (print_version): Use PKGVERSION.
67808         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
67809         * elf/pldd.c (argp_program_bug_address): Remove variable.
67810         (more_help): New function.
67811         (argp): Use more_help.
67812         (print_version): Use PKGVERSION.
67813         * elf/sln.c (main): Use PKGVERSION.
67814         (usage): Use REPORT_BUGS_TO.
67815         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
67816         (top level): Use PKGVERSION.
67817         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
67818         (print_version): Use PKGVERSION.
67819         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
67820         (print_version): Use PKGVERSION.
67821         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
67822         (print_version): Use PKGVERSION.
67823         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
67824         (print_version): Use PKGVERSION.
67825         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
67826         (print_version): Use PKGVERSION.
67827         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
67828         (print_version): Use PKGVERSION.
67829         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
67830         and BUGURL.
67831         ($(objpfx)memusage): Likewise.
67832         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
67833         (do_version): Use PKGVERSION.
67834         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
67835         (print_version): Use PKGVERSION.
67836         * malloc/mtrace.pl ($PACKAGE): Remove variable.
67837         ($PKGVERSION): New variable.
67838         ($REPORT_BUGS_TO): Likewise.
67839         (usage): Use $REPORT_BUGS_TO.
67840         (top level): Use $PKGVERSION.
67841         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
67842         ($(objpfx)pkgvers.texi): New rule.
67843         ($(objpfx)stamp-pkgvers): Likewise.
67844         * manual/install.texi: Include pkgvers.texi.
67845         (--with-pkgversion): Document new configure option.
67846         (--with-bugurl): Likewise.
67847         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
67848         than necessarily for this particular distribution.  Use
67849         REPORT_BUGS_TO for where to report bugs.
67850         * INSTALL: Regenerated.
67851         * manual/libc.texinfo: Include pkgvers.texi.
67852         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
67853         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
67854         (print_version): Use PKGVERSION.
67855         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
67856         (print_version): Use PKGVERSION.
67857         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
67858         (print_version): Use PKGVERSION.
67859         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
67860         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
67861         macro.
67862         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
67863         (print_version): Use PKGVERSION.
67864         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
67865         (print_version): Use PKGVERSION.
67866         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
67867         and PKGVERSION.
67869         * timezone/checktab.awk: Update from tzcode 2012i.
67870         * timezone/ialloc.c: Likewise.
67871         * timezone/private.h: Likewise.
67872         * timezone/scheck.c: Likewise.
67873         * timezone/tzfile.h: Likewise.
67874         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
67875         (TZVERSION): Hardcode tzcode version number.
67876         * timezone/zdump.c: Update from tzcode 2012i.
67877         * timezone/zic.c: Likewise.
67878         * timezone/version.h: New file.
67879         * timezone/README: Describe version.h.  Update upstream location.
67881         [BZ #14824]
67882         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
67883         (mktemp): Enable declaration.
67884         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
67885         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
67886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
67887         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
67888         Likewise.
67889         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
67890         Likewise.
67891         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
67892         Likewise.
67893         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
67894         Likewise.
67895         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
67896         Likewise.
67897         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
67898         Likewise.
67900         [BZ #14821]
67901         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
67902         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
67903         for copies of such integer values.
67904         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67905         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67907 2012-11-09  Andreas Jaeger  <aj@suse.de>
67909         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
67910         definitions and declarations that are provided by
67911         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
67913 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67915         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
67916         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
67917         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
67918         definition.
67920 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67922         * elf/elf.h: Update comment before AArch64 relocations.
67924 2012-11-07  David S. Miller  <davem@davemloft.net>
67926         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
67927         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
67928         (__start_context): Declare.
67929         (__makecontext_ret): Delete.
67930         (__makecontext): Hook up __start_context instead of
67931         __makecontext_ret.
67932         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
67933         (sysdep_routines): Add __start_context when in stdlib.
67935 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67937         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
67938         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
67939         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
67940         hardcoded "nm".
67941         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
67942         (READELF): New variable.  Use it instead of hardcoded "readelf".
67944 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67946         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67947         * sysdeps/x86/Makefile: Here.
67948         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67949         * sysdeps/x86/tst-xmmymm.sh: This.
67951 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67953         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67954         expectations.
67955         [UNIX98] (pthread_barrier_t): Do not expect.
67956         [UNIX98] (pthread_barrierattr_t): Likewise.
67957         [UNIX98] (pthread_spinlock_t): Likewise.
67958         [UNIX98] (pthread_barrier_destroy): Likewise.
67959         [UNIX98] (pthread_barrier_init): Likewise.
67960         [UNIX98] (pthread_barrier_wait): Likewise.
67961         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67962         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67963         [UNIX98] (pthread_barrierattr_init): Likewise.
67964         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67965         [UNIX98] (pthread_getcpuclockid): Likewise.
67966         [UNIX98] (pthread_mutex_timedlock): Likewise.
67967         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67968         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67969         [UNIX98] (pthread_sigmask): Likewise.
67970         [UNIX98] (pthread_spin_destroy): Likewise.
67971         [UNIX98] (pthread_spin_init): Likewise.
67972         [UNIX98] (pthread_spin_lock): Likewise.
67973         [UNIX98] (pthread_spin_trylock): Likewise.
67974         [UNIX98] (pthread_spin_unlock): Likewise.
67975         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67976         Do not expect.
67977         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67978         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67979         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67980         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67981         [XPG3 || XPG4] (pthread_key_t): Likewise.
67982         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67983         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67984         [XPG3 || XPG4] (pthread_once_t): Likewise.
67985         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67986         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67987         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67988         [XPG3 || XPG4] (pthread_t): Likewise.
67990         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67991         not expect.
67992         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67994         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67995         Change function return type to int.
67997         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67998         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67999         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68000         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68001         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68002         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68003         [!POSIX] (posix_madvise): Likewise.
68004         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68005         && !UNIX98].
68006         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68007         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68008         (mode_t): Likewise.
68009         (posix_mem_offset): Likewise.
68010         (posix_typed_mem_get_info): Likewise.
68011         (posix_typed_mem_open): Likewise.
68013         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68014         Change condition to [XOPEN2K8].
68016         * conform/conformtest.pl: Preprocess allow-header data with -x c
68017         instead of from stdin.
68018         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68019         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68020         [C99-based standards] (cerfc): Likewise.
68021         [C99-based standards] (cexp2): Likewise.
68022         [C99-based standards] (cexpm1): Likewise.
68023         [C99-based standards] (clog10): Likewise.
68024         [C99-based standards] (clog1p): Likewise.
68025         [C99-based standards] (clog2): Likewise.
68026         [C99-based standards] (clgamma): Likewise.
68027         [C99-based standards] (ctgamma): Likewise.
68028         [C99-based standards] (cerff): Likewise.
68029         [C99-based standards] (cerfcf): Likewise.
68030         [C99-based standards] (cexp2f): Likewise.
68031         [C99-based standards] (cexpm1f): Likewise.
68032         [C99-based standards] (clog10f): Likewise.
68033         [C99-based standards] (clog1pf): Likewise.
68034         [C99-based standards] (clog2f): Likewise.
68035         [C99-based standards] (clgammaf): Likewise.
68036         [C99-based standards] (ctgammaf): Likewise.
68037         [C99-based standards] (cerfl): Likewise.
68038         [C99-based standards] (cerfcl): Likewise.
68039         [C99-based standards] (cexp2l): Likewise.
68040         [C99-based standards] (cexpm1l): Likewise.
68041         [C99-based standards] (clog10l): Likewise.
68042         [C99-based standards] (clog1pl): Likewise.
68043         [C99-based standards] (clog2l): Likewise.
68044         [C99-based standards] (clgammal): Likewise.
68045         [C99-based standards] (ctgammal): Likewise.
68046         * conform/data/inttypes.h-data [C99-based standards]: Include
68047         stdint.h-data.  Remove all expectations for stdint.h contents.
68048         [C99-based standards] (PRI*): Do not allow.
68049         [C99-based standards] (SCN*): Likewise.
68050         [C99-based standards] (*_t): Likewise.
68051         [C99-based-standards] (PRId8): Expect macro.
68052         [C99-based-standards] (PRIi8): Likewise.
68053         [C99-based-standards] (PRIo8): Likewise.
68054         [C99-based-standards] (PRIu8): Likewise.
68055         [C99-based-standards] (PRIx8): Likewise.
68056         [C99-based-standards] (PRIX8): Likewise.
68057         [C99-based-standards] (SCNd8): Likewise.
68058         [C99-based-standards] (SCNi8): Likewise.
68059         [C99-based-standards] (SCNo8): Likewise.
68060         [C99-based-standards] (SCNu8): Likewise.
68061         [C99-based-standards] (SCNx8): Likewise.
68062         [C99-based-standards] (PRIdLEAST8): Likewise.
68063         [C99-based-standards] (PRIiLEAST8): Likewise.
68064         [C99-based-standards] (PRIoLEAST8): Likewise.
68065         [C99-based-standards] (PRIuLEAST8): Likewise.
68066         [C99-based-standards] (PRIxLEAST8): Likewise.
68067         [C99-based-standards] (PRIXLEAST8): Likewise.
68068         [C99-based-standards] (SCNdLEAST8): Likewise.
68069         [C99-based-standards] (SCNiLEAST8): Likewise.
68070         [C99-based-standards] (SCNoLEAST8): Likewise.
68071         [C99-based-standards] (SCNuLEAST8): Likewise.
68072         [C99-based-standards] (SCNxLEAST8): Likewise.
68073         [C99-based-standards] (PRIdFAST8): Likewise.
68074         [C99-based-standards] (PRIiFAST8): Likewise.
68075         [C99-based-standards] (PRIoFAST8): Likewise.
68076         [C99-based-standards] (PRIuFAST8): Likewise.
68077         [C99-based-standards] (PRIxFAST8): Likewise.
68078         [C99-based-standards] (PRIXFAST8): Likewise.
68079         [C99-based-standards] (SCNdFAST8): Likewise.
68080         [C99-based-standards] (SCNiFAST8): Likewise.
68081         [C99-based-standards] (SCNoFAST8): Likewise.
68082         [C99-based-standards] (SCNuFAST8): Likewise.
68083         [C99-based-standards] (SCNxFAST8): Likewise.
68084         [C99-based-standards] (PRId16): Likewise.
68085         [C99-based-standards] (PRIi16): Likewise.
68086         [C99-based-standards] (PRIo16): Likewise.
68087         [C99-based-standards] (PRIu16): Likewise.
68088         [C99-based-standards] (PRIx16): Likewise.
68089         [C99-based-standards] (PRIX16): Likewise.
68090         [C99-based-standards] (SCNd16): Likewise.
68091         [C99-based-standards] (SCNi16): Likewise.
68092         [C99-based-standards] (SCNo16): Likewise.
68093         [C99-based-standards] (SCNu16): Likewise.
68094         [C99-based-standards] (SCNx16): Likewise.
68095         [C99-based-standards] (PRIdLEAST16): Likewise.
68096         [C99-based-standards] (PRIiLEAST16): Likewise.
68097         [C99-based-standards] (PRIoLEAST16): Likewise.
68098         [C99-based-standards] (PRIuLEAST16): Likewise.
68099         [C99-based-standards] (PRIxLEAST16): Likewise.
68100         [C99-based-standards] (PRIXLEAST16): Likewise.
68101         [C99-based-standards] (SCNdLEAST16): Likewise.
68102         [C99-based-standards] (SCNiLEAST16): Likewise.
68103         [C99-based-standards] (SCNoLEAST16): Likewise.
68104         [C99-based-standards] (SCNuLEAST16): Likewise.
68105         [C99-based-standards] (SCNxLEAST16): Likewise.
68106         [C99-based-standards] (PRIdFAST16): Likewise.
68107         [C99-based-standards] (PRIiFAST16): Likewise.
68108         [C99-based-standards] (PRIoFAST16): Likewise.
68109         [C99-based-standards] (PRIuFAST16): Likewise.
68110         [C99-based-standards] (PRIxFAST16): Likewise.
68111         [C99-based-standards] (PRIXFAST16): Likewise.
68112         [C99-based-standards] (SCNdFAST16): Likewise.
68113         [C99-based-standards] (SCNiFAST16): Likewise.
68114         [C99-based-standards] (SCNoFAST16): Likewise.
68115         [C99-based-standards] (SCNuFAST16): Likewise.
68116         [C99-based-standards] (SCNxFAST16): Likewise.
68117         [C99-based-standards] (PRId32): Likewise.
68118         [C99-based-standards] (PRIi32): Likewise.
68119         [C99-based-standards] (PRIo32): Likewise.
68120         [C99-based-standards] (PRIu32): Likewise.
68121         [C99-based-standards] (PRIx32): Likewise.
68122         [C99-based-standards] (PRIX32): Likewise.
68123         [C99-based-standards] (SCNd32): Likewise.
68124         [C99-based-standards] (SCNi32): Likewise.
68125         [C99-based-standards] (SCNo32): Likewise.
68126         [C99-based-standards] (SCNu32): Likewise.
68127         [C99-based-standards] (SCNx32): Likewise.
68128         [C99-based-standards] (PRIdLEAST32): Likewise.
68129         [C99-based-standards] (PRIiLEAST32): Likewise.
68130         [C99-based-standards] (PRIoLEAST32): Likewise.
68131         [C99-based-standards] (PRIuLEAST32): Likewise.
68132         [C99-based-standards] (PRIxLEAST32): Likewise.
68133         [C99-based-standards] (PRIXLEAST32): Likewise.
68134         [C99-based-standards] (SCNdLEAST32): Likewise.
68135         [C99-based-standards] (SCNiLEAST32): Likewise.
68136         [C99-based-standards] (SCNoLEAST32): Likewise.
68137         [C99-based-standards] (SCNuLEAST32): Likewise.
68138         [C99-based-standards] (SCNxLEAST32): Likewise.
68139         [C99-based-standards] (PRIdFAST32): Likewise.
68140         [C99-based-standards] (PRIiFAST32): Likewise.
68141         [C99-based-standards] (PRIoFAST32): Likewise.
68142         [C99-based-standards] (PRIuFAST32): Likewise.
68143         [C99-based-standards] (PRIxFAST32): Likewise.
68144         [C99-based-standards] (PRIXFAST32): Likewise.
68145         [C99-based-standards] (SCNdFAST32): Likewise.
68146         [C99-based-standards] (SCNiFAST32): Likewise.
68147         [C99-based-standards] (SCNoFAST32): Likewise.
68148         [C99-based-standards] (SCNuFAST32): Likewise.
68149         [C99-based-standards] (SCNxFAST32): Likewise.
68150         [C99-based-standards] (PRId64): Likewise.
68151         [C99-based-standards] (PRIi64): Likewise.
68152         [C99-based-standards] (PRIo64): Likewise.
68153         [C99-based-standards] (PRIu64): Likewise.
68154         [C99-based-standards] (PRIx64): Likewise.
68155         [C99-based-standards] (PRIX64): Likewise.
68156         [C99-based-standards] (SCNd64): Likewise.
68157         [C99-based-standards] (SCNi64): Likewise.
68158         [C99-based-standards] (SCNo64): Likewise.
68159         [C99-based-standards] (SCNu64): Likewise.
68160         [C99-based-standards] (SCNx64): Likewise.
68161         [C99-based-standards] (PRIdLEAST64): Likewise.
68162         [C99-based-standards] (PRIiLEAST64): Likewise.
68163         [C99-based-standards] (PRIoLEAST64): Likewise.
68164         [C99-based-standards] (PRIuLEAST64): Likewise.
68165         [C99-based-standards] (PRIxLEAST64): Likewise.
68166         [C99-based-standards] (PRIXLEAST64): Likewise.
68167         [C99-based-standards] (SCNdLEAST64): Likewise.
68168         [C99-based-standards] (SCNiLEAST64): Likewise.
68169         [C99-based-standards] (SCNoLEAST64): Likewise.
68170         [C99-based-standards] (SCNuLEAST64): Likewise.
68171         [C99-based-standards] (SCNxLEAST64): Likewise.
68172         [C99-based-standards] (PRIdFAST64): Likewise.
68173         [C99-based-standards] (PRIiFAST64): Likewise.
68174         [C99-based-standards] (PRIoFAST64): Likewise.
68175         [C99-based-standards] (PRIuFAST64): Likewise.
68176         [C99-based-standards] (PRIxFAST64): Likewise.
68177         [C99-based-standards] (PRIXFAST64): Likewise.
68178         [C99-based-standards] (SCNdFAST64): Likewise.
68179         [C99-based-standards] (SCNiFAST64): Likewise.
68180         [C99-based-standards] (SCNoFAST64): Likewise.
68181         [C99-based-standards] (SCNuFAST64): Likewise.
68182         [C99-based-standards] (SCNxFAST64): Likewise.
68183         [C99-based-standards] (PRIdMAX): Likewise.
68184         [C99-based-standards] (PRIiMAX): Likewise.
68185         [C99-based-standards] (PRIoMAX): Likewise.
68186         [C99-based-standards] (PRIuMAX): Likewise.
68187         [C99-based-standards] (PRIxMAX): Likewise.
68188         [C99-based-standards] (PRIXMAX): Likewise.
68189         [C99-based-standards] (SCNdMAX): Likewise.
68190         [C99-based-standards] (SCNiMAX): Likewise.
68191         [C99-based-standards] (SCNoMAX): Likewise.
68192         [C99-based-standards] (SCNuMAX): Likewise.
68193         [C99-based-standards] (SCNxMAX): Likewise.
68194         [C99-based-standards] (PRIdPTR): Likewise.
68195         [C99-based-standards] (PRIiPTR): Likewise.
68196         [C99-based-standards] (PRIoPTR): Likewise.
68197         [C99-based-standards] (PRIuPTR): Likewise.
68198         [C99-based-standards] (PRIxPTR): Likewise.
68199         [C99-based-standards] (PRIXPTR): Likewise.
68200         [C99-based-standards] (SCNdPTR): Likewise.
68201         [C99-based-standards] (SCNiPTR): Likewise.
68202         [C99-based-standards] (SCNoPTR): Likewise.
68203         [C99-based-standards] (SCNuPTR): Likewise.
68204         [C99-based-standards] (SCNxPTR): Likewise.
68205         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68206         allow.
68207         * conform/data/stdint.h-data: Update comments to clarify
68208         requirements.
68209         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68210         type.
68211         [C99-based standards] (INT8_MAX): Likewise.
68212         [C99-based standards] (INT16_MIN): Likewise.
68213         [C99-based standards] (INT16_MAX): Likewise.
68214         [C99-based standards] (INT32_MIN): Likewise.
68215         [C99-based standards] (INT32_MAX): Likewise.
68216         [C99-based standards] (INT64_MIN): Likewise.
68217         [C99-based standards] (INT64_MAX): Likewise.
68218         [C99-based standards] (UINT8_MAX): Likewise.
68219         [C99-based standards] (UINT16_MAX): Likewise.
68220         [C99-based standards] (UINT32_MAX): Likewise.
68221         [C99-based standards] (UINT64_MAX): Likewise.
68222         [C99-based standards] (INT_LEAST8_MIN): Likewise.
68223         [C99-based standards] (INT_LEAST8_MAX): Likewise.
68224         [C99-based standards] (INT_LEAST16_MIN): Likewise.
68225         [C99-based standards] (INT_LEAST16_MAX): Likewise.
68226         [C99-based standards] (INT_LEAST32_MIN): Likewise.
68227         [C99-based standards] (INT_LEAST32_MAX): Likewise.
68228         [C99-based standards] (INT_LEAST64_MIN): Likewise.
68229         [C99-based standards] (INT_LEAST64_MAX): Likewise.
68230         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
68231         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
68232         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
68233         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
68234         [C99-based standards] (INT_FAST8_MIN): Likewise.
68235         [C99-based standards] (INT_FAST8_MAX): Likewise.
68236         [C99-based standards] (INT_FAST16_MIN): Likewise.
68237         [C99-based standards] (INT_FAST16_MAX): Likewise.
68238         [C99-based standards] (INT_FAST32_MIN): Likewise.
68239         [C99-based standards] (INT_FAST32_MAX): Likewise.
68240         [C99-based standards] (INT_FAST64_MIN): Likewise.
68241         [C99-based standards] (INT_FAST64_MAX): Likewise.
68242         [C99-based standards] (UINT_FAST8_MAX): Likewise.
68243         [C99-based standards] (UINT_FAST16_MAX): Likewise.
68244         [C99-based standards] (UINT_FAST32_MAX): Likewise.
68245         [C99-based standards] (UINT_FAST64_MAX): Likewise.
68246         [C99-based standards] (INTPTR_MIN): Likewise.
68247         [C99-based standards] (INTPTR_MAX): Likewise.
68248         [C99-based standards] (UINTPTR_MAX): Likewise.
68249         [C99-based standards] (INTMAX_MIN): Likewise.
68250         [C99-based standards] (INTMAX_MAX): Likewise.
68251         [C99-based standards] (UINTMAX_MAX): Likewise.
68252         [C99-based standards] (PTRDIFF_MIN): Likewise.
68253         [C99-based standards] (PTRDIFF_MAX): Likewise.
68254         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
68255         [C99-based standards] (SIZE_MAX): Likewise.
68256         [C99-based standards] (WCHAR_MAX): Likewise.
68257         [C99-based standards] (WINT_MAX): Likewise.
68258         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
68259         constraint on value.
68260         [C99-based standards] (WCHAR_MIN): Likewise.
68261         [C99-based standards] (WINT_MIN): Likewise.
68262         [C99-based standards] (*_t): Allow.
68263         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
68264         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
68265         Include math.h-data and complex.h-data.  Remove all expectations
68266         of math.h and complex.h contents.
68267         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
68268         at end of line.
68269         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
68270         (struct tm): Expect tag.
68271         [C99-based-standards] (wcstof): Expect function.
68272         [C99-based-standards] (wcstold): Likewise.
68273         [C99-based-standards] (wcstoll): Likewise.
68274         [C99-based-standards] (wcstoull): Likewise.
68275         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
68276         macro-int-constant.  Specify type.
68277         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
68278         constraint on value.
68279         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68280         Specify type.
68281         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
68282         Specify value.
68283         [ISO C standards]: Do not allow headers.
68284         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
68285         wcs[abcdefghijklmnopqrstuvwxyz]*.
68286         [ISO C standards] (*_t): Do not allow.
68287         * conform/data/wctype.h-data [C99-based standards] (iswblank):
68288         Expect function.
68289         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
68290         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
68291         Specify type.
68292         [ISO C standards]: Do not allow headers.
68293         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
68294         is[abcdefghijklmnopqrstuvwxyz]*.
68295         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
68296         to[abcdefghijklmnopqrstuvwxyz]*.
68297         [ISO C standards] (*_t): Do not allow.
68298         * conform/data/stdalign.h-data: New file.
68299         * conform/data/stdbool.h-data: Likewise.
68300         * conform/data/stdnoreturn.h-data: Likewise.
68302 2012-11-07  Roland McGrath  <roland@hack.frob.com>
68304         [BZ #14815]
68305         * manual/filesys.texi (Directory Entries): Typo fix.
68306         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
68308 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68310         * elf/elf.h (EM_AARCH64): New macro.
68311         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
68312         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
68313         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
68314         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
68315         (R_AARCH64_TLSDESC): Likewise.
68316         (NT_ARM_TLS): Likewise.
68317         (NT_ARM_HW_BREAK): Likewise.
68318         (NT_ARM_HW_WATCH): Likewise.
68320 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68322         [BZ #14811]
68323         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
68324         (__ieee754_powl): Saturate nonzero exponents with absolute value
68325         below 0x1p-79 to +/- 0x1p-79.
68326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
68327         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
68328         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
68329         nonzero exponents with absolute value below 0x1p-32 to +/-
68330         0x1p-32.
68331         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
68332         (__ieee754_powl): Saturate nonzero exponents with absolute value
68333         below 0x1p-79 to +/- 0x1p-79.
68334         * math/libm-test.inc (pow_test): Add more tests.
68336 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68338         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
68339         _dl_s390_cap_flags with kernel. Increase string length.
68340         (_dl_s390_platforms): Add z196 and zEC12.
68342 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68344         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
68345         Change XOPEN21K to XOPEN2K.
68347 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
68349         * string/memmove.c: Use memcpy when possible.
68351 2012-11-06  Andreas Jaeger  <aj@suse.de>
68353         * po/eo.po: Update from translation team.
68355 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
68357         [BZ #14793]
68358         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
68359         exponent and small x and y exponents, scale x or y up.  Increase
68360         by 2 the exponent used in scaling up.
68361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68362         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68363         * math/libm-test.inc (fma_test): Add more tests.
68364         (fma_test_towardzero): Likewise.
68365         (fma_test_downward): Likewise.
68366         (fma_test_upward): Likewise.
68368 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
68370         [BZ #14805]
68371         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
68372         fenv_t *.
68374         [BZ #14801]
68375         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
68376         namespace for names of struct fields.
68377         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
68378         fenv_t fields.
68379         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
68380         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
68382 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68384         [BZ #3665]
68385         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
68387 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68389         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
68390         PTR_DEMANGLE.
68392         [BZ #5246]
68393         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
68394         PTR_DEMANGLE.
68396 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
68398         [BZ #14797]
68399         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
68400         definitely overflow as x * y not x * y + z.
68401         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68402         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68403         * math/libm-test.inc (fma_test): Add more tests.
68404         (fma_test_towardzero): Likewise.
68405         (fma_test_downward): Likewise.
68406         (fma_test_upward): Likewise.
68408 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
68410         [BZ #157]
68412         * include/stub-tag.h: Remove file.
68413         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
68414         '#include' of it.
68415         * manual/maint.texi (Porting): Don't reference it.
68416         * Makerules ($(objpfx)stubs): Likewise.
68417         * dirent/closedir.c: Don't include <stub-tag.h>.
68418         * dirent/dirfd.c: Likewise.
68419         * dirent/fdopendir.c: Likewise.
68420         * dirent/getdents.c: Likewise.
68421         * dirent/getdents64.c: Likewise.
68422         * dirent/opendir.c: Likewise.
68423         * dirent/readdir.c: Likewise.
68424         * dirent/readdir64.c: Likewise.
68425         * dirent/readdir64_r.c: Likewise.
68426         * dirent/readdir_r.c: Likewise.
68427         * dirent/rewinddir.c: Likewise.
68428         * dirent/seekdir.c: Likewise.
68429         * dirent/telldir.c: Likewise.
68430         * gmon/profil.c: Likewise.
68431         * grp/setgroups.c: Likewise.
68432         * inet/if_index.c: Likewise.
68433         * io/access.c: Likewise.
68434         * io/chdir.c: Likewise.
68435         * io/chmod.c: Likewise.
68436         * io/chown.c: Likewise.
68437         * io/close.c: Likewise.
68438         * io/dup.c: Likewise.
68439         * io/dup2.c: Likewise.
68440         * io/dup3.c: Likewise.
68441         * io/euidaccess.c: Likewise.
68442         * io/faccessat.c: Likewise.
68443         * io/fchdir.c: Likewise.
68444         * io/fchmod.c: Likewise.
68445         * io/fchmodat.c: Likewise.
68446         * io/fchown.c: Likewise.
68447         * io/fchownat.c: Likewise.
68448         * io/fcntl.c: Likewise.
68449         * io/flock.c: Likewise.
68450         * io/fstatfs.c: Likewise.
68451         * io/fstatfs64.c: Likewise.
68452         * io/fstatvfs.c: Likewise.
68453         * io/fstatvfs64.c: Likewise.
68454         * io/futimens.c: Likewise.
68455         * io/fxstat.c: Likewise.
68456         * io/fxstat64.c: Likewise.
68457         * io/fxstatat.c: Likewise.
68458         * io/fxstatat64.c: Likewise.
68459         * io/getcwd.c: Likewise.
68460         * io/isatty.c: Likewise.
68461         * io/lchmod.c: Likewise.
68462         * io/lchown.c: Likewise.
68463         * io/link.c: Likewise.
68464         * io/linkat.c: Likewise.
68465         * io/lseek.c: Likewise.
68466         * io/lseek64.c: Likewise.
68467         * io/lxstat64.c: Likewise.
68468         * io/mkdir.c: Likewise.
68469         * io/mkdirat.c: Likewise.
68470         * io/mkfifo.c: Likewise.
68471         * io/mkfifoat.c: Likewise.
68472         * io/open.c: Likewise.
68473         * io/open64.c: Likewise.
68474         * io/openat.c: Likewise.
68475         * io/openat64.c: Likewise.
68476         * io/pipe.c: Likewise.
68477         * io/pipe2.c: Likewise.
68478         * io/poll.c: Likewise.
68479         * io/posix_fadvise.c: Likewise.
68480         * io/posix_fadvise64.c: Likewise.
68481         * io/posix_fallocate.c: Likewise.
68482         * io/posix_fallocate64.c: Likewise.
68483         * io/read.c: Likewise.
68484         * io/readlink.c: Likewise.
68485         * io/readlinkat.c: Likewise.
68486         * io/rmdir.c: Likewise.
68487         * io/sendfile.c: Likewise.
68488         * io/sendfile64.c: Likewise.
68489         * io/statfs.c: Likewise.
68490         * io/statfs64.c: Likewise.
68491         * io/statvfs.c: Likewise.
68492         * io/statvfs64.c: Likewise.
68493         * io/symlink.c: Likewise.
68494         * io/symlinkat.c: Likewise.
68495         * io/ttyname.c: Likewise.
68496         * io/ttyname_r.c: Likewise.
68497         * io/umask.c: Likewise.
68498         * io/unlink.c: Likewise.
68499         * io/unlinkat.c: Likewise.
68500         * io/utime.c: Likewise.
68501         * io/utimensat.c: Likewise.
68502         * io/write.c: Likewise.
68503         * io/xmknod.c: Likewise.
68504         * io/xmknodat.c: Likewise.
68505         * io/xstat.c: Likewise.
68506         * io/xstat64.c: Likewise.
68507         * login/getpt.c: Likewise.
68508         * login/grantpt.c: Likewise.
68509         * login/unlockpt.c: Likewise.
68510         * math/e_acoshl.c: Likewise.
68511         * math/e_acosl.c: Likewise.
68512         * math/e_asinl.c: Likewise.
68513         * math/e_atan2l.c: Likewise.
68514         * math/e_atanhl.c: Likewise.
68515         * math/e_coshl.c: Likewise.
68516         * math/e_expl.c: Likewise.
68517         * math/e_fmodl.c: Likewise.
68518         * math/e_gammal_r.c: Likewise.
68519         * math/e_hypotl.c: Likewise.
68520         * math/e_j0l.c: Likewise.
68521         * math/e_j1l.c: Likewise.
68522         * math/e_jnl.c: Likewise.
68523         * math/e_lgammal_r.c: Likewise.
68524         * math/e_log10l.c: Likewise.
68525         * math/e_log2l.c: Likewise.
68526         * math/e_logl.c: Likewise.
68527         * math/e_powl.c: Likewise.
68528         * math/e_rem_pio2l.c: Likewise.
68529         * math/e_sinhl.c: Likewise.
68530         * math/e_sqrtl.c: Likewise.
68531         * math/fclrexcpt.c: Likewise.
68532         * math/fedisblxcpt.c: Likewise.
68533         * math/feenablxcpt.c: Likewise.
68534         * math/fegetenv.c: Likewise.
68535         * math/fegetexcept.c: Likewise.
68536         * math/fegetround.c: Likewise.
68537         * math/feholdexcpt.c: Likewise.
68538         * math/fesetenv.c: Likewise.
68539         * math/fesetround.c: Likewise.
68540         * math/feupdateenv.c: Likewise.
68541         * math/fgetexcptflg.c: Likewise.
68542         * math/fraiseexcpt.c: Likewise.
68543         * math/fsetexcptflg.c: Likewise.
68544         * math/ftestexcept.c: Likewise.
68545         * math/k_cosl.c: Likewise.
68546         * math/k_rem_pio2l.c: Likewise.
68547         * math/k_sinl.c: Likewise.
68548         * math/k_tanl.c: Likewise.
68549         * math/s_asinhl.c: Likewise.
68550         * math/s_atanl.c: Likewise.
68551         * math/s_cbrtl.c: Likewise.
68552         * math/s_erfl.c: Likewise.
68553         * math/s_expm1l.c: Likewise.
68554         * math/s_log1pl.c: Likewise.
68555         * math/s_tanhl.c: Likewise.
68556         * misc/acct.c: Likewise.
68557         * misc/brk.c: Likewise.
68558         * misc/chflags.c: Likewise.
68559         * misc/chroot.c: Likewise.
68560         * misc/fchflags.c: Likewise.
68561         * misc/fgetxattr.c: Likewise.
68562         * misc/flistxattr.c: Likewise.
68563         * misc/fremovexattr.c: Likewise.
68564         * misc/fsetxattr.c: Likewise.
68565         * misc/fsync.c: Likewise.
68566         * misc/ftruncate.c: Likewise.
68567         * misc/futimes.c: Likewise.
68568         * misc/futimesat.c: Likewise.
68569         * misc/getdomain.c: Likewise.
68570         * misc/getdtsz.c: Likewise.
68571         * misc/gethostid.c: Likewise.
68572         * misc/gethostname.c: Likewise.
68573         * misc/getloadavg.c: Likewise.
68574         * misc/getpagesize.c: Likewise.
68575         * misc/getsysstats.c: Likewise.
68576         * misc/getxattr.c: Likewise.
68577         * misc/gtty.c: Likewise.
68578         * misc/ioctl.c: Likewise.
68579         * misc/lgetxattr.c: Likewise.
68580         * misc/listxattr.c: Likewise.
68581         * misc/llistxattr.c: Likewise.
68582         * misc/lremovexattr.c: Likewise.
68583         * misc/lsetxattr.c: Likewise.
68584         * misc/lutimes.c: Likewise.
68585         * misc/madvise.c: Likewise.
68586         * misc/mincore.c: Likewise.
68587         * misc/mlock.c: Likewise.
68588         * misc/mlockall.c: Likewise.
68589         * misc/mmap.c: Likewise.
68590         * misc/mprotect.c: Likewise.
68591         * misc/msync.c: Likewise.
68592         * misc/munlock.c: Likewise.
68593         * misc/munlockall.c: Likewise.
68594         * misc/munmap.c: Likewise.
68595         * misc/preadv.c: Likewise.
68596         * misc/preadv64.c: Likewise.
68597         * misc/ptrace.c: Likewise.
68598         * misc/pwritev.c: Likewise.
68599         * misc/pwritev64.c: Likewise.
68600         * misc/readv.c: Likewise.
68601         * misc/reboot.c: Likewise.
68602         * misc/remap_file_pages.c: Likewise.
68603         * misc/removexattr.c: Likewise.
68604         * misc/revoke.c: Likewise.
68605         * misc/select.c: Likewise.
68606         * misc/setdomain.c: Likewise.
68607         * misc/setegid.c: Likewise.
68608         * misc/seteuid.c: Likewise.
68609         * misc/sethostid.c: Likewise.
68610         * misc/sethostname.c: Likewise.
68611         * misc/setregid.c: Likewise.
68612         * misc/setreuid.c: Likewise.
68613         * misc/setxattr.c: Likewise.
68614         * misc/sstk.c: Likewise.
68615         * misc/stty.c: Likewise.
68616         * misc/swapoff.c: Likewise.
68617         * misc/swapon.c: Likewise.
68618         * misc/sync.c: Likewise.
68619         * misc/syncfs.c: Likewise.
68620         * misc/syscall.c: Likewise.
68621         * misc/truncate.c: Likewise.
68622         * misc/ualarm.c: Likewise.
68623         * misc/usleep.c: Likewise.
68624         * misc/ustat.c: Likewise.
68625         * misc/utimes.c: Likewise.
68626         * misc/vhangup.c: Likewise.
68627         * misc/writev.c: Likewise.
68628         * posix/_exit.c: Likewise.
68629         * posix/alarm.c: Likewise.
68630         * posix/execve.c: Likewise.
68631         * posix/fexecve.c: Likewise.
68632         * posix/fork.c: Likewise.
68633         * posix/fpathconf.c: Likewise.
68634         * posix/getaddrinfo.c: Likewise.
68635         * posix/getegid.c: Likewise.
68636         * posix/geteuid.c: Likewise.
68637         * posix/getgid.c: Likewise.
68638         * posix/getgroups.c: Likewise.
68639         * posix/getlogin.c: Likewise.
68640         * posix/getlogin_r.c: Likewise.
68641         * posix/getpgid.c: Likewise.
68642         * posix/getpid.c: Likewise.
68643         * posix/getppid.c: Likewise.
68644         * posix/getresgid.c: Likewise.
68645         * posix/getresuid.c: Likewise.
68646         * posix/getsid.c: Likewise.
68647         * posix/getuid.c: Likewise.
68648         * posix/glob64.c: Likewise.
68649         * posix/nanosleep.c: Likewise.
68650         * posix/pathconf.c: Likewise.
68651         * posix/pause.c: Likewise.
68652         * posix/posix_madvise.c: Likewise.
68653         * posix/pread.c: Likewise.
68654         * posix/pread64.c: Likewise.
68655         * posix/pwrite.c: Likewise.
68656         * posix/pwrite64.c: Likewise.
68657         * posix/sched_getaffinity.c: Likewise.
68658         * posix/sched_getp.c: Likewise.
68659         * posix/sched_gets.c: Likewise.
68660         * posix/sched_primax.c: Likewise.
68661         * posix/sched_primin.c: Likewise.
68662         * posix/sched_rr_gi.c: Likewise.
68663         * posix/sched_setaffinity.c: Likewise.
68664         * posix/sched_setp.c: Likewise.
68665         * posix/sched_sets.c: Likewise.
68666         * posix/sched_yield.c: Likewise.
68667         * posix/setgid.c: Likewise.
68668         * posix/setlogin.c: Likewise.
68669         * posix/setpgid.c: Likewise.
68670         * posix/setresgid.c: Likewise.
68671         * posix/setresuid.c: Likewise.
68672         * posix/setsid.c: Likewise.
68673         * posix/setuid.c: Likewise.
68674         * posix/sleep.c: Likewise.
68675         * posix/spawni.c: Likewise.
68676         * posix/sysconf.c: Likewise.
68677         * posix/times.c: Likewise.
68678         * posix/wait.c: Likewise.
68679         * posix/wait3.c: Likewise.
68680         * posix/wait4.c: Likewise.
68681         * posix/waitpid.c: Likewise.
68682         * resolv/gai_sigqueue.c: Likewise.
68683         * resource/getpriority.c: Likewise.
68684         * resource/getrlimit.c: Likewise.
68685         * resource/getrusage.c: Likewise.
68686         * resource/nice.c: Likewise.
68687         * resource/setpriority.c: Likewise.
68688         * resource/setrlimit.c: Likewise.
68689         * resource/ulimit.c: Likewise.
68690         * rt/aio_cancel.c: Likewise.
68691         * rt/aio_fsync.c: Likewise.
68692         * rt/aio_read.c: Likewise.
68693         * rt/aio_sigqueue.c: Likewise.
68694         * rt/aio_suspend.c: Likewise.
68695         * rt/aio_write.c: Likewise.
68696         * rt/clock_getres.c: Likewise.
68697         * rt/clock_gettime.c: Likewise.
68698         * rt/clock_nanosleep.c: Likewise.
68699         * rt/clock_settime.c: Likewise.
68700         * rt/lio_listio.c: Likewise.
68701         * rt/mq_close.c: Likewise.
68702         * rt/mq_getattr.c: Likewise.
68703         * rt/mq_notify.c: Likewise.
68704         * rt/mq_open.c: Likewise.
68705         * rt/mq_receive.c: Likewise.
68706         * rt/mq_send.c: Likewise.
68707         * rt/mq_setattr.c: Likewise.
68708         * rt/mq_timedreceive.c: Likewise.
68709         * rt/mq_timedsend.c: Likewise.
68710         * rt/mq_unlink.c: Likewise.
68711         * rt/shm_open.c: Likewise.
68712         * rt/shm_unlink.c: Likewise.
68713         * rt/timer_create.c: Likewise.
68714         * rt/timer_delete.c: Likewise.
68715         * rt/timer_getoverr.c: Likewise.
68716         * rt/timer_gettime.c: Likewise.
68717         * rt/timer_settime.c: Likewise.
68718         * setjmp/__longjmp.c: Likewise.
68719         * setjmp/setjmp.c: Likewise.
68720         * signal/kill.c: Likewise.
68721         * signal/killpg.c: Likewise.
68722         * signal/raise.c: Likewise.
68723         * signal/sigaction.c: Likewise.
68724         * signal/sigaltstack.c: Likewise.
68725         * signal/sigblock.c: Likewise.
68726         * signal/sigignore.c: Likewise.
68727         * signal/sigintr.c: Likewise.
68728         * signal/signal.c: Likewise.
68729         * signal/sigpause.c: Likewise.
68730         * signal/sigpending.c: Likewise.
68731         * signal/sigqueue.c: Likewise.
68732         * signal/sigreturn.c: Likewise.
68733         * signal/sigset.c: Likewise.
68734         * signal/sigsetmask.c: Likewise.
68735         * signal/sigstack.c: Likewise.
68736         * signal/sigsuspend.c: Likewise.
68737         * signal/sigtimedwait.c: Likewise.
68738         * signal/sigvec.c: Likewise.
68739         * signal/sigwait.c: Likewise.
68740         * signal/sigwaitinfo.c: Likewise.
68741         * signal/sysv_signal.c: Likewise.
68742         * socket/accept.c: Likewise.
68743         * socket/accept4.c: Likewise.
68744         * socket/bind.c: Likewise.
68745         * socket/connect.c: Likewise.
68746         * socket/getpeername.c: Likewise.
68747         * socket/getsockname.c: Likewise.
68748         * socket/getsockopt.c: Likewise.
68749         * socket/isfdtype.c: Likewise.
68750         * socket/listen.c: Likewise.
68751         * socket/recv.c: Likewise.
68752         * socket/recvfrom.c: Likewise.
68753         * socket/recvmsg.c: Likewise.
68754         * socket/send.c: Likewise.
68755         * socket/sendmsg.c: Likewise.
68756         * socket/sendto.c: Likewise.
68757         * socket/setsockopt.c: Likewise.
68758         * socket/shutdown.c: Likewise.
68759         * socket/sockatmark.c: Likewise.
68760         * socket/socket.c: Likewise.
68761         * socket/socketpair.c: Likewise.
68762         * stdio-common/ctermid.c: Likewise.
68763         * stdio-common/cuserid.c: Likewise.
68764         * stdio-common/remove.c: Likewise.
68765         * stdio-common/rename.c: Likewise.
68766         * stdio-common/renameat.c: Likewise.
68767         * stdio-common/tempname.c: Likewise.
68768         * stdlib/getcontext.c: Likewise.
68769         * stdlib/makecontext.c: Likewise.
68770         * stdlib/setcontext.c: Likewise.
68771         * stdlib/swapcontext.c: Likewise.
68772         * stdlib/system.c: Likewise.
68773         * streams/fattach.c: Likewise.
68774         * streams/fdetach.c: Likewise.
68775         * streams/getmsg.c: Likewise.
68776         * streams/getpmsg.c: Likewise.
68777         * streams/putmsg.c: Likewise.
68778         * streams/putpmsg.c: Likewise.
68779         * sysdeps/unix/bsd/getpt.c: Likewise.
68780         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
68781         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
68782         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
68783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
68784         Likewise.
68785         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
68786         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
68787         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
68788         * sysvipc/msgctl.c: Likewise.
68789         * sysvipc/msgget.c: Likewise.
68790         * sysvipc/msgrcv.c: Likewise.
68791         * sysvipc/msgsnd.c: Likewise.
68792         * sysvipc/semctl.c: Likewise.
68793         * sysvipc/semget.c: Likewise.
68794         * sysvipc/semop.c: Likewise.
68795         * sysvipc/semtimedop.c: Likewise.
68796         * sysvipc/shmat.c: Likewise.
68797         * sysvipc/shmctl.c: Likewise.
68798         * sysvipc/shmdt.c: Likewise.
68799         * sysvipc/shmget.c: Likewise.
68800         * termios/tcdrain.c: Likewise.
68801         * termios/tcflow.c: Likewise.
68802         * termios/tcflush.c: Likewise.
68803         * termios/tcgetattr.c: Likewise.
68804         * termios/tcgetpgrp.c: Likewise.
68805         * termios/tcsendbrk.c: Likewise.
68806         * termios/tcsetattr.c: Likewise.
68807         * termios/tcsetpgrp.c: Likewise.
68808         * time/adjtime.c: Likewise.
68809         * time/clock.c: Likewise.
68810         * time/getitimer.c: Likewise.
68811         * time/gettimeofday.c: Likewise.
68812         * time/setitimer.c: Likewise.
68813         * time/settimeofday.c: Likewise.
68814         * time/stime.c: Likewise.
68815         * time/time.c: Likewise.
68817 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
68819         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
68820         /usr/old/bin.
68822         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
68823         instead of spaces.
68824         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
68826 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
68828         [BZ #14796]
68829         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
68830         FE_TONEAREST before applying Dekker multiplication and Knuth
68831         addition.  Clear inexact exceptions and check for exact zero
68832         results afterwards.
68833         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68834         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
68835         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68836         * math/libm-test.inc (fma_test): Add more tests.
68837         (fma_test_towardzero): Likewise.
68838         (fma_test_downward): Likewise.
68839         (fma_test_upward): Likewise.
68840         * sysdeps/generic/math_private.h (default_libc_fesetround): New
68841         function.
68842         (libc_fesetround): New macro.
68843         (libc_fesetroundf): Likewise.
68844         (libc_fesetroundl): Likewise.
68845         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
68846         function.
68847         (libc_fesetround_387): Likewise.
68848         (libc_fesetroundf): New macro.
68849         (libc_fesetround): Likewise.
68850         (libc_fesetroundl): Likewise.
68851         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
68852         function.
68853         (libc_fesetroundf): New macro.
68854         (libc_fesetround): Likewise.
68855         (libc_fesetroundl): Likewise.
68856         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
68857         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
68858         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
68859         libm_hidden_ver.
68860         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
68861         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
68862         libm_hidden_def.
68863         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
68864         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
68865         libm_hidden_ver.
68866         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
68867         libm_hidden_def.
68869         [BZ #3439]
68870         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
68871         integer constant usable in #if and use that to give value to enum
68872         constant.
68873         (FE_DIVBYZERO): Likewise.
68874         (FE_UNDERFLOW): Likewise.
68875         (FE_OVERFLOW): Likewise.
68876         (FE_INVALID): Likewise.
68877         (FE_INVALID_SNAN): Likewise.
68878         (FE_INVALID_ISI): Likewise.
68879         (FE_INVALID_IDI): Likewise.
68880         (FE_INVALID_ZDZ): Likewise.
68881         (FE_INVALID_IMZ): Likewise.
68882         (FE_INVALID_COMPARE): Likewise.
68883         (FE_INVALID_SOFTWARE): Likewise.
68884         (FE_INVALID_SQRT): Likewise.
68885         (FE_INVALID_INTEGER_CONVERSION): Likewise.
68886         (FE_TONEAREST): Likewise.
68887         (FE_TOWARDZERO): Likewise.
68888         (FE_UPWARD): Likewise.
68889         (FE_DOWNWARD): Likewise.
68890         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
68891         (FE_DIVBYZERO): Likewise.
68892         (FE_OVERFLOW): Likewise.
68893         (FE_UNDERFLOW): Likewise.
68894         (FE_INEXACT): Likewise.
68895         (FE_TONEAREST): Likewise.
68896         (FE_DOWNWARD): Likewise.
68897         (FE_UPWARD): Likewise.
68898         (FE_TOWARDZERO): Likewise.
68899         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
68900         (FE_UNDERFLOW): Likewise.
68901         (FE_OVERFLOW): Likewise.
68902         (FE_DIVBYZERO): Likewise.
68903         (FE_INVALID): Likewise.
68904         (FE_TONEAREST): Likewise.
68905         (FE_TOWARDZERO): Likewise.
68906         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
68907         (FE_OVERFLOW): Likewise.
68908         (FE_UNDERFLOW): Likewise.
68909         (FE_DIVBYZERO): Likewise.
68910         (FE_INEXACT): Likewise.
68911         (FE_TONEAREST): Likewise.
68912         (FE_TOWARDZERO): Likewise.
68913         (FE_UPWARD): Likewise.
68914         (FE_DOWNWARD): Likewise.
68915         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
68916         (FE_DIVBYZERO): Likewise.
68917         (FE_OVERFLOW): Likewise.
68918         (FE_UNDERFLOW): Likewise.
68919         (FE_INEXACT): Likewise.
68920         (FE_TONEAREST): Likewise.
68921         (FE_DOWNWARD): Likewise.
68922         (FE_UPWARD): Likewise.
68923         (FE_TOWARDZERO): Likewise.
68925 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
68927         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
68929 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
68931         * scripts/cross-test-ssh.sh (command): Use newlines to separate
68932         commands.  Quote $PWD.
68933         (blacklist_exports): Don't use remove_newlines.  Replace "declare
68934         -x" by "export".
68935         (remove_newlines): Remove.
68937 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
68939         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
68940         * stdlib/stdlib.h (atof): Moved to ...
68941         * include/bits/stdlib-float.h: Here.  New file.
68942         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
68943         * stdlib/bits/stdlib-float.h: New file.
68944         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68945         -mno-sse -mno-mmx.
68946         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68947         <xmmintrin.h>.
68949 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68951         * conform/conformtest.pl (@headers): Add fenv.h.
68952         * conform/data/fenv.h-data: New file.
68953         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68954         include of <math/fenv.h>.
68956         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68957         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68958         && !UNIX98].  Enables tests for XOPEN2K8.
68959         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68960         POSIX2008]: Likewise.
68962         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68963         (struct rusage): Do not expect type or its members.
68965         [BZ #3439]
68966         * math/math.h (FP_NAN): Define macro to integer constant usable in
68967         #if and use that to give value to enum constant.
68968         (FP_INFINITE): Likewise.
68969         (FP_ZERO): Likewise.
68970         (FP_SUBNORMAL): Likewise.
68971         (FP_NORMAL): Likewise.
68973 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68975         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68976         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68977         arguments.
68979 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68981         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68982         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68983         autoconf-time if not.
68984         * configure.in: Remove AC_PREREQ.
68986 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68988         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68989         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68990         of the internal implementation.
68992 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68994         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68995         except include of <misc/sys/syslog.h>.
68997 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69000         function returns with a NULL context exit with zero.
69002 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69004         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69006 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69008         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69009         (run_program_cmd): This.
69010         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69011         (tst_langinfo): New variable.  Use it.
69013 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69015         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69016         floating point opcodes.
69018 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69020         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69021         variable.
69023         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69025         * sysdeps/mach/hurd/powerpc: Remove directory.
69026         * sysdeps/mach/powerpc: Likewise.
69028 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69030         * scripts/check-local-headers.sh: Ignore c++ headers.
69032 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69034         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69035         __libc_cleanup_region_start argument.
69037 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69039         [BZ #14784]
69040         [BZ #14785]
69041         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69042         x * y using scaling, not as x * y + z.
69043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69044         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69045         * math/libm-test.inc (fma_test): Add more tests.
69046         (fma_test_towardzero): Likewise.
69047         (fma_test_downward): Likewise.
69048         (fma_test_upward): Likewise.
69050 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69052         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69054 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69056         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69057         New variable.
69059 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69061         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69063 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69066         Fix sort order.
69067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69068         Likewise.
69070 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69073         Fix the order of the list for glibc 2.17.
69074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69075         Likewise.
69077 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69081 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69083         [BZ #14610]
69084         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69085         for low part of x being zero before using __atanl (y).
69086         * math/libm-test.inc (atan2_test): Add another test.
69088         * manual/install.texi (Configuring and compiling): Document
69089         general use of test-wrapper and test-wrapper-env.
69090         * INSTALL: Regenerated.
69092         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69093         (__fma): Do not extract and scale down low bits on after-rounding
69094         systems when result rounded to normal precision would have normal
69095         exponent.
69096         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69097         (__fmal): Do not extract and scale down low bits on after-rounding
69098         systems when result rounded to normal precision would have normal
69099         exponent.
69100         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69101         (__fmal): Do not extract and scale down low bits on after-rounding
69102         systems when result rounded to normal precision would have normal
69103         exponent.
69104         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69105         macro.
69106         (fma_test): Add more tests.
69107         (fma_test_towardzero): Likewise.
69108         (fma_test_downward): Likewise.
69109         (fma_test_upward): Likewise.
69111 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69113         * sysdeps/i386/tininess.h: Renamed to ...
69114         * sysdeps/x86/tininess.h: This.
69115         * sysdeps/x86_64/tininess.h: Removed.
69117 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69119         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69120         input.  Use $(build-program-cmd).
69121         ($(objpfx)tst-array1-static.out): Likewise.
69122         ($(objpfx)tst-array2.out): Likewise.
69123         ($(objpfx)tst-array3.out): Likewise.
69124         ($(objpfx)tst-array4.out): Likewise.
69125         ($(objpfx)tst-array5.out): Likewise.
69126         ($(objpfx)tst-array5-static.out): Likewise.
69128 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69130         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69131         if defined.
69133         * nss/nsswitch.h (nss_interface_function): Provide new
69134         macro for use with NSS functions.
69135         * grp/initgroups.c: Use new macro.
69136         * nss/getXXbyYY.c: Likewise.
69137         * nss/getXXbyYY_r.c: Likewise.
69138         * nss/getXXent.c: Likewise.
69139         * nss/getXXent_r.c: Likewise.
69140         * sysdeps/posix/getaddrinfo.c: Likewise.
69142 2012-10-30  Andreas Jaeger  <aj@suse.de>
69144         * po/ru.po: Update Russion translation from translation project.
69146 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69148         [BZ #14152]
69149         [BZ #14783]
69150         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69151         result and shift together with sticky bit instead of replicating
69152         round-to-nearest rounding.
69153         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69154         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69155         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69156         missing underflow exceptions.
69157         (fma_test_towardzero): Add more tests.
69158         (fma_test_downward): Likewise.
69159         (fma_test_upward): Likewise.
69161         [BZ #14047]
69162         * sysdeps/generic/tininess.h: New file.
69163         * sysdeps/i386/tininess.h: Likewise.
69164         * sysdeps/sh/tininess.h: Likewise.
69165         * sysdeps/x86_64/tininess.h: Likewise.
69166         * stdlib/tst-strtod-underflow.c: Likewise.
69167         * stdlib/tst-tininess.c: Likewise.
69168         * stdlib/strtod_l.c: Include <tininess.h>.
69169         (round_and_return): Do not set errno for exact underflow cases.
69170         Force an underflow exception when setting errno for underflow.
69171         Determine underflow based on rounding to normal precision if
69172         TININESS_AFTER_ROUNDING.
69173         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69174         ERANGE for exact underflow cases.
69175         * stdlib/Makefile (tests): Add tst-tininess and
69176         tst-strtod-underflow.
69177         ($(objpfx)tst-tininess): Use $(link-libm).
69178         ($(objpfx)tst-strtod-underflow): Likewise.
69180 2012-10-30  Andreas Jaeger  <aj@suse.de>
69182         [BZ #14767]
69183         * elf/Makefile (tests): Remove conditional for have-initfini-array
69184         since this is now always required and the variable does not exist
69185         anymore.
69186         (tests-static): Likewise.
69187         (modules-names): Likewise.
69189         * po/eo.po: Add Esperanto translation from translation project.
69191         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69192         merged with constructor/destructor.
69193         (init_array): Likewise.
69194         * elf/tst-array2dep.c (fini_array): Likewise.
69195         (init_array): Likewise.
69197 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69199         * manual/message.texi: Delete @cartouche tags.
69201 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69203         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69204         EOPNOTSUPP.
69205         * sysdeps/mach/hurd/fsync.c: Likewise.
69207         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69208         [_POSIX_REALTIME_SIGNALS]: Change condition to
69209         [_POSIX_REALTIME_SIGNALS > 0].
69211 2012-10-27  Andreas Jaeger  <aj@suse.de>
69213         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69214         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69215         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69216         [__WORDSIZE != 64]: Likewise.
69218 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69220         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69221         *  iconvdata/tst-tables.sh: Likewise.
69223 2012-10-25  David S. Miller  <davem@davemloft.net>
69225         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69226         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
69227         of strtoull.
69229         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
69230         ifunc-impl-list.c
69231         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69232         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
69233         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
69234         file.
69236 2012-10-25  Roland McGrath  <roland@hack.frob.com>
69238         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69239         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
69240         __getdirentries.
69242 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69243             Jim Blandy  <jimb@codesourcery.com>
69245         * scripts/cross-test-ssh.sh: New file.
69246         * manual/install.texi (Configuring and compiling): Document use of
69247         cross-test-ssh.sh.
69248         * INSTALL: Regenerated.
69250 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
69252         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
69253         EOPNOTSUPP.
69255 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
69257         * Makeconfig (run-program-prefix): Fix comment.
69259 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69260             Jim Blandy  <jimb@codesourcery.com>
69262         * Makeconfig (test-wrapper): New variable,
69263         (test-wrapper-env): Likewise.
69264         [$(cross-compiling) = yes && $(test-wrapper) != ""]
69265         (run-built-tests): Define to yes.
69266         (run-program-prefix): Use $(test-wrapper).
69267         (built-program-cmd): Likewise.
69268         * Rules (make-test-out): Use $(test-wrapper-env) and
69269         $(host-built-program-cmd).
69270         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
69271         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
69272         tst-pathopt.sh.
69273         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
69274         $(test-wrapper-env) to tst-rtld-load-self.sh.
69275         ($(objpfx)order2.out): Use $(test-wrapper).
69276         ($(objpfx)tst-initorder.out): Likewise.
69277         ($(objpfx)tst-initorder2.out): Likewise.
69278         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
69279         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
69280         (test_wrapper_env): New variable.  Use it to run ld.so.
69281         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
69282         Use it to run ld.so.
69283         (test_wrapper_env): Likewise.
69284         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
69285         $(test-wrapper) to run-iconv-test.sh.
69286         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
69287         (ICONV): Use $test_wrapper.
69288         * posix/Makefile ($(objpfx)globtest.out): Pass
69289         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
69290         globtest.sh, not $(run-program-prefix).
69291         * posix/globtest.sh (run_via_rtld_prefix): New variable.
69292         (test_wrapper): Likewise.
69293         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
69294         set together with run_via_rtld_prefix.
69295         (run_program_prefix): Define in terms of test_wrapper and
69296         run_via_rtld_prefix.
69298 2012-10-24  Roland McGrath  <roland@hack.frob.com>
69300         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
69301         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
69302         Targets removed.
69304         [BZ #14743]
69305         * include/time.h: Remove librt_hidden_proto (clock_gettime).
69306         Declare __clock_getres, __clock_gettime, __clock_settime,
69307         __clock_nanosleep, and __clock_getcpuclockid.
69308         * rt/clock_gettime.c: Define __clock_gettime as an alias.
69309         Remove librt_hidden_def (clock_gettime).
69310         * sysdeps/unix/clock_gettime.c: Likewise.
69311         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
69312         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
69313         * rt/clock_getres.c: Define __clock_getres as an alias.
69314         * sysdeps/posix/clock_getres.c: Likewise.
69315         * rt/clock_settime.c: Define __clock_settime as an alias.
69316         * sysdeps/unix/clock_settime.c: Likewise.
69317         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
69318         * sysdeps/unix/clock_nanosleep.c: Likewise.
69319         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
69320         * rt/clock-compat.c: New file.
69321         * rt/Makefile (librt-routines): Add clock-compat and move
69322         $(clock-routines) to ...
69323         (routines): ... here, new variable.
69324         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
69325         Don't add get_clockfreq here.
69326         * rt/Versions (libc: GLIBC_2.17): New version set.
69327         Add clock_* symbols here.
69328         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
69329         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
69330         (GLIBC_2.17): Add clock_* symbols.
69331         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69332         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69333         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69335         Likewise.
69336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69337         Likewise.
69338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69342         * NEWS: Mention the move.
69344         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
69345         Use __open, __read, __close rather than their public counterparts.
69346         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69347         (__get_clockfreq_via_cpuinfo): Likewise.
69348         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
69349         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
69351         * config.h.in (HAVE_IFUNC): New #undef.
69352         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
69353         was successful.
69354         * configure: Regenerated.
69356 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69358         * configure.in: Move READELF check to start of file.
69359         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
69360         libc_cv_asm_gnu_indirect_function in the process.
69361         * configure: Regenerated.
69363 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
69365         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
69366         send the output to /dev/null.
69367         (libc_cv_cc_with_libunwind): Likewise.
69368         (libc_cv_as_noexecstack): Likewise.
69369         * configure: Regenerate.
69371 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
69373         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
69375         * posix/globtest.sh (TMPDIR): Do not set.
69376         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
69377         (testout): Likewise.
69379 2012-10-24  Andreas Jaeger  <aj@suse.de>
69381         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
69382         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
69383         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
69384         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
69385         posix_fadvise64, posix_fallocate64.
69387         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
69388         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
69389         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
69390         Likewise.
69391         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
69392         Likewise.
69393         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
69395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
69396         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
69397         <bits/fcntl-linux.h>.
69398         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
69400         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
69401         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
69402         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
69403         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
69404         [__WORDSIZE != 64]: Likewise.
69406 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69408         * Makeconfig (run-built-tests): New variable.
69409         * Rules [$(cross-compiling) = yes]: Change condition to
69410         [$(run-built-tests) = no].
69411         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
69412         to [$(run-built-tests) = yes].
69413         * elf/Makefile [$(cross-compiling) = no]: Likewise.
69414         * grp/Makefile [$(cross-compiling) = no]: Likewise.
69415         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
69416         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
69417         * intl/Makefile [$(cross-compiling) = no]: Likewise.
69418         * io/Makefile [$(cross-compiling) = no]: Likewise.
69419         * libio/Makefile [$(cross-compiling) = no]: Likewise.
69420         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
69421         * misc/Makefile [$(cross-compiling) = no]: Likewise.
69422         * posix/Makefile [$(cross-compiling) = no]: Likewise.
69423         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
69424         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
69425         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
69426         * string/Makefile [$(cross-compiling) = no]: Likewise.
69428         * posix/Makefile ($(objpfx)globtest.out): Pass
69429         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
69430         $(rtld-installed-name).
69431         * posix/globtest.sh (elf_objpfx): Remove variable.
69432         (rtld_installed_name): Likewise.
69433         (library_path): Likewise.
69434         (run_program_prefix): New variable.  Use for running globtest
69435         binary.
69437 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
69438             Joseph Myers  <joseph@codesourcery.com>
69440         * Makeconfig (host-built-program-cmd): New variable.
69441         * elf/Makefile (tst-stackguard1-ARGS): Use
69442         $(host-built-program-cmd).
69443         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
69444         (tst-spawn-ARGS): Likewise.
69445         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
69447 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
69448             Jim Blandy  <jimb@codesourcery.com>
69450         * Makeconfig (run-via-rtld-prefix): New variable.
69451         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
69452         (built-program-cmd): Likewise.
69454 2012-10-22  Andreas Jaeger  <aj@suse.de>
69456         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
69457         __O_RSYNC if it exists, otherwise to O_SYNC.
69459 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
69460             Joseph Myers  <joseph@codesourcery.com>
69462         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
69463         /dev/null.
69464         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
69465         from /dev/null
69466         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
69467         /dev/null.
69469 2012-10-22  Andreas Jaeger  <aj@suse.de>
69471         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
69472         Define always.
69473         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
69475         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69476         bits/fcntl-linux.h.
69478         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
69479         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
69481         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
69482         to __O_LARGEFILE.
69483         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
69484         to __O_LARGEFILE.
69486 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
69487             Joseph Myers  <joseph@codesourcery.com>
69489         * config.make.in (NM): New variable.
69491 2012-10-21  Andreas Jaeger  <aj@suse.de>
69493         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
69494         definitions and declarations that are provided by
69495         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
69497 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69499         [BZ #14683]
69500         * elf/Makefile (tests-static): Add tst-leaks1-static.
69501         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
69502         ($(objpfx)tst-leaks1-static): New rule.
69503         ($(objpfx)tst-leaks1-static-mem): Likewise.
69504         (tst-leaks1-static-ENV): New macro.
69505         * elf/dl-open.c (dl_open_worker): Check the main application
69506         only if SHARED is defined.
69507         * elf/tst-leaks1-static.c: New file.
69509 2012-10-20  Andreas Jaeger  <aj@suse.de>
69511         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
69512         generic values for Linux.
69513         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
69514         and declarations that are provided by <bits/fcntl-linux.h> and
69515         include <bits/fcntl-linux.h>.
69516         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
69517         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
69519 2012-10-20  Roland McGrath  <roland@hack.frob.com>
69521         * io/fcntl.h: Move include of <bits/types.h> to the top and
69522         include it unconditionally.
69524 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
69526         * wcsmbs/Makefile (tests-ifunc): New variable.
69527         (tests): Add $(tests-ifunc).
69528         * wcsmbs/test-wcschr-ifunc.c: New file.
69529         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
69530         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
69531         * wcsmbs/test-wcslen-ifunc.c: Likewise.
69532         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
69533         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
69535         * string/Makefile (tests-ifunc): New variable.
69536         (tests): Add $(tests-ifunc).
69537         * string/test-memccpy.c (TEST_NAME): New macro.
69538         * string/test-memchr.c (TEST_NAME): Likewise.
69539         * string/test-memcmp.c (TEST_NAME): Likewise.
69540         * string/test-memcpy.c (TEST_NAME): Likewise.
69541         * string/test-memmem.c (TEST_NAME): Likewise.
69542         * string/test-memmove.c (TEST_NAME): Likewise.
69543         * string/test-memset.c (TEST_NAME): Likewise.
69544         * string/test-rawmemchr.c (TEST_NAME): Likewise.
69545         * string/test-stpcpy.c (TEST_NAME): Likewise.
69546         * string/test-stpncpy.c (TEST_NAME): Likewise.
69547         * string/test-strcasecmp.c (TEST_NAME): Likewise.
69548         * string/test-strcasestr.c (TEST_NAME): Likewise.
69549         * string/test-strcat.c (TEST_NAME): Likewise.
69550         * string/test-strchr.c (TEST_NAME): Likewise.
69551         * string/test-strcmp.c(TEST_NAME): Likewise.
69552         * string/test-strcpy.c (TEST_NAME): Likewise.
69553         * string/test-strcspn.c (TEST_NAME): Likewise.
69554         * string/test-strlen.c (TEST_NAME): Likewise.
69555         * string/test-strncasecmp.c (TEST_NAME): Likewise.
69556         * string/test-strncmp.c (TEST_NAME): Likewise.
69557         * string/test-strncpy.c (TEST_NAME): Likewise.
69558         * string/test-strnlen.c (TEST_NAME): Likewise.
69559         * string/test-strpbrk.c (TEST_NAME): Likewise.
69560         * string/test-strrchr.c (TEST_NAME): Likewise.
69561         * string/test-strspn.c (TEST_NAME): Likewise.
69562         * string/test-strstr.c (TEST_NAME): Likewise.
69563         * string/test-bcopy-ifunc.c: New file.
69564         * string/test-bzero-ifunc.c: Likewise.
69565         * string/test-memccpy-ifunc.c: Likewise.
69566         * string/test-memchr-ifunc.c: Likewise.
69567         * string/test-memcmp-ifunc.c: Likewise.
69568         * string/test-memcpy-ifunc.c: Likewise.
69569         * string/test-memmem-ifunc.c: Likewise.
69570         * string/test-memmove-ifunc.c: Likewise.
69571         * string/test-mempcpy-ifunc.c: Likewise.
69572         * string/test-memset-ifunc.c: Likewise.
69573         * string/test-rawmemchr-ifunc.c: Likewise.
69574         * string/test-stpcpy-ifunc.c: Likewise.
69575         * string/test-stpncpy-ifunc.c: Likewise.
69576         * string/test-strcasecmp-ifunc.c: Likewise.
69577         * string/test-strcasestr-ifunc.c: Likewise.
69578         * string/test-strcat-ifunc.c: Likewise.
69579         * string/test-strchr-ifunc.c: Likewise.
69580         * string/test-strchrnul-ifunc.c: Likewise.
69581         * string/test-strcmp-ifunc.c: Likewise.
69582         * string/test-strcpy-ifunc.c: Likewise.
69583         * string/test-strcspn-ifunc.c: Likewise.
69584         * string/test-strlen-ifunc.c: Likewise.
69585         * string/test-strncasecmp-ifunc.c: Likewise.
69586         * string/test-strncat-ifunc.c: Likewise.
69587         * string/test-strncmp-ifunc.c: Likewise.
69588         * string/test-strncpy-ifunc.c: Likewise.
69589         * string/test-strnlen-ifunc.c: Likewise.
69590         * string/test-strpbrk-ifunc.c: Likewise.
69591         * string/test-strrchr-ifunc.c: Likewise.
69592         * string/test-strspn-ifunc.c: Likewise.
69593         * string/test-strstr-ifunc.c: Likewise.
69595         * debug/Makefile (tests-ifunc): New variable.
69596         (tests): Add $(tests-ifunc).
69597         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
69598         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
69599         * debug/test-stpcpy_chk-ifunc.c: New file.
69600         * debug/test-strcpy_chk-ifunc.c: Likewise.
69602 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
69604         [BZ #13601]
69605         * elf/dl-load.c (open_verify): Retry read if the entire ELF
69606         header is not read in.
69608 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
69610         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
69611         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
69612         directly.  Pass built executable to script as
69613         $(built-program-cmd).
69614         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
69615         $testprogram without using LD_LIBRARY_PATH and $ldso.
69617         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
69618         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
69619         $(rtld-installed-name).
69620         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
69621         (rtld_installed_name): Likewise.
69622         (library_path): Likewise.
69623         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
69624         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
69625         $(run-program-prefix) to tst-tables.sh.
69626         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
69627         it to run tst-table-from and tst-table-to.
69628         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
69629         Pass it to tst-table.sh.
69630         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
69631         $(run-program-prefix) to tst-gettext.sh.
69632         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
69633         tst-translit.sh.
69634         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
69635         tst-gettext2.sh.
69636         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
69637         to run tst-gettext.
69638         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
69639         to run tst-gettext2.
69640         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
69641         to run tst-translit.
69642         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
69643         $(run-program-prefix) to tst-mtrace.sh.
69644         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
69645         to run tst-mtrace.
69646         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
69647         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
69648         $(rtld-installed-name).
69649         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
69650         (rtld_installed_name): Likewise.
69651         (run_program_prefix): New variable.  Use it to run wordexp-test.
69653         * Makeconfig (ARCH): Remove all definitions.
69654         (machine): Likewise.
69655         [ARCH]: Remove conditional code.
69656         [!objdir]: Give error.
69657         [!objdir] (objpfx): Remove.
69658         [!objdir] (common-objpfx): Likewise.
69659         [!objdir] (common-objdir): Likewise.
69660         * configure.in (config_makefile): Remove.  Hardcode Makefile in
69661         AC_CONFIG_FILES call.
69662         * configure: Regenerated.
69664         [BZ #13888]
69665         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
69666         or TMPDIR.
69667         (testout): Likewise.
69669         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
69670         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
69671         $(rtld-installed-name).
69672         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
69673         (rtld_installed_name): Likewise.
69674         (runit): Remove function.
69675         (run_getconf): New variable,  Use it for running getconf binary.
69677 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
69679         [BZ #14716]
69680         * string/test-memmem.c (check_result): New function.
69681         (do_one_test): Use it.
69682         (check1): New function.
69683         (test_main): Use it.
69685 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
69687         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
69689 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
69691         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
69692         (_G_LSEEK64): Likewise.
69693         (_G_MMAP64): Likewise.
69694         (_G_FSTAT64): Likewise.
69695         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
69696         (_G_LSEEK64): Likewise.
69697         (_G_MMAP64): Likewise.
69698         (_G_FSTAT64): Likewise.
69699         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
69700         unconditional.  Call __mmap64 directly.
69701         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
69702         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
69703         __lseek64 directly.
69704         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
69705         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
69706         __mmap64 directly.
69707         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
69708         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69709         __lseek64 directly.
69710         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
69711         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
69712         __lseek64 directly.
69713         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
69714         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
69715         __lseek64 directly.
69716         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
69717         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
69718         __fxstat64 directly.
69719         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
69720         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
69721         unconditional.
69722         (freopen64) [!_G_OPEN64]: Remove conditional code.
69723         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
69724         unconditional.
69725         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
69726         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
69727         unconditional.
69728         (ftello64) [!_G_LSEEK64]: Remove conditional code.
69729         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
69730         unconditional.
69731         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69732         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
69733         unconditional.
69734         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
69735         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
69736         unconditional.
69737         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69738         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
69739         unconditional.
69740         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
69741         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
69742         unconditional.
69743         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
69745 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69747         [BZ #12140]
69748         * manual/memory.texi (Malloc Tunable Parameters): Add note
69749         about free list pointers overwriting some perturb bytes.
69750         Wording suggested by Roland McGrath.
69752 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
69754         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
69755         (lgamma_test): Likewise.
69756         (tgamma_test): Likewise.
69758 2012-10-16  Florian Weimer  <fweimer@redhat.com>
69760         [BZ #14700]
69761         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
69762         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
69764 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
69766         * NEWS: Mention BZ #14716.
69767         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
69768         when removing AVAILABLE1_USES_J macro.
69770 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
69772         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
69773         (__bswap_64): __uint64_t for unsigned 64-bit int.
69775 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
69777         * include/string.h (memmem): Declare libc hidden alias.
69778         * string/memmem.c (memmem): Define libc hidden alias.
69779         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
69780         __read, __close instead of open, read, close.
69782 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
69784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
69785         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
69786         global and hidden.
69787         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
69788         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
69789         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
69790         Likewise.
69791         (__rawmemchr_sse2): Likewise.
69792         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
69793         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
69794         (__strchr_sse2): Likewise.
69795         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
69796         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
69797         (__strcasecmp_sse2): Likewise.
69798         (__strncasecmp_sse2): Likewise.
69799         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
69800         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
69801         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
69802         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
69803         (__strrchr_sse2): Likewise.
69804         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
69805         ifunc-impl-list.c.
69806         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
69807         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
69808         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
69809         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
69810         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
69811         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
69812         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69813         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69814         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
69815         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
69816         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
69817         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
69818         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
69819         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
69820         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
69821         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
69822         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
69823         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
69824         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
69825         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
69826         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
69827         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
69828         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
69829         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69830         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
69831         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69832         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
69833         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
69834         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
69835         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
69837         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
69838         global and hidden.
69839         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
69840         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
69841         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
69842         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
69843         Likewise.
69844         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
69845         Likewise.
69846         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
69847         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
69848         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
69849         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
69850         ifunc-impl-list.c.
69851         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
69852         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
69853         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
69854         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
69855         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
69856         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
69857         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
69858         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
69859         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
69860         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
69861         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
69862         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
69863         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
69864         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
69865         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
69866         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
69867         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
69868         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
69869         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
69870         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
69871         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69872         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
69873         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
69874         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
69875         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69876         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
69877         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
69878         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
69879         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
69880         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
69881         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
69882         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
69883         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
69884         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
69885         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
69886         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
69887         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
69888         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
69889         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
69890         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
69891         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
69893         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
69894         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
69895         * include/ifunc-impl-list.h: New file.
69896         * misc/ifunc-impl-list.c: Likewise.
69897         * misc/Makefile (routines): Add ifunc-impl-list.
69898         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
69899         * string/test-string.h: Include <ifunc-impl-list.h>.
69900         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
69901         TEST_NAME]: New variables.
69902         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
69903         are defined.
69904         (test_init): Call __libc_ifunc_impl_list to initialize
69905         func_list if TEST_IFUNC and TEST_NAME are defined.
69907         * string/Makefile (strop-tests): Add bcopy and bzero.
69908         * string/test-bcopy.c: New file.
69909         * string/test-bzero.c: Likewise.
69910         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
69911         defined.
69912         * string/test-memset.c: Support bzero test if TEST_BZERO is
69913         defined.
69914         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
69915         __libc_memmove.
69916         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
69917         __libc_memset.
69918         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
69919         of memset.
69921 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
69923         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
69924         * configure: Regenerated.
69926         * Makeconfig (+link-static-before-libc): Don't include
69927         $(link-static-libc).
69929         * libio/libio.h (_IO_pos_t): Remove.
69931 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69933         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
69934         McGrath.
69936 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69938         * crypt/crypt-entry.c: Include fips-private.h.
69939         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
69940         * crypt/md5c-test.c (main): Tolerate disabled MD5.
69941         * sysdeps/unix/sysv/linux/fips-private.h: New file.
69942         * sysdeps/generic/fips-private.h: New file, dummy fallback.
69944 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69946         * crypt/crypt-private.h: Include stdbool.h.
69947         (_ufc_setup_salt_r): Return bool.
69948         * crypt/crypt-entry.c: Include errno.h.
69949         (__crypt_r): Return NULL with EINVAL for bad salt.
69950         * crypt/crypt_util.c (bad_for_salt): New.
69951         (_ufc_setup_salt_r): Check that salt is long enough and within
69952         the specified alphabet.
69953         * crypt/badsalttest.c: New file.
69954         * crypt/Makefile (tests): Add it.
69955         ($(objpfx)badsalttest): New.
69957 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69959         * NEWS: Add entry for BZ #14602.
69961 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69963         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69964         type-generic.
69965         * math/libm-test.inc: Update comment listing what functions and
69966         macros are tested.
69967         (isgreater_test): New function.
69968         (isgreaterequal_test): Likewise.
69969         (isless_test): Likewise.
69970         (islessequal_test): Likewise.
69971         (islessgreater_test): Likewise.
69972         (isunordered_test): Likewise.
69973         (main): Call the new functions.
69975 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69977         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69978         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69979         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69980         * sysdeps/i386/configure: Regenerated.
69981         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69982         * sysdeps/mach/configure: Regenerated.
69983         * sysdeps/mach/hurd/configure: Regenerated.
69984         * sysdeps/powerpc/configure: Regenerated.
69985         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69986         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69987         * sysdeps/s390/s390-32/configure: Regenerated.
69988         * sysdeps/s390/s390-64/configure: Regenerated.
69989         * sysdeps/sh/configure: Regenerated.
69990         * sysdeps/sparc/configure: Regenerated.
69991         * sysdeps/unix/sysv/linux/configure: Regenerated.
69992         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69993         * sysdeps/x86_64/configure: Regenerated.
69995         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69996         defined.  Don't check if MAP is NULL.
69998 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70000         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70001         (_G_stat64): Likewise.
70002         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70003         (_G_stat64): Likewise.
70004         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70005         instead of struct _G_stat64.
70006         * libio/fileops.c (mmap_remap_check): Likewise.
70007         (decide_maybe_mmap): Likewise.
70008         (_IO_new_file_seekoff): Likewise.
70009         (_IO_file_stat): Likewise.
70010         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70011         _G_off64_t.
70012         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70013         instead of struct _G_stat64.
70014         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70016 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70018         [BZ #14602]
70019         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70020         Replace with ...
70021         (CHECK_EOL): New macro.
70022         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70023         CHECK_EOL.
70024         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70025         Replace with CHECK_EOL.
70026         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70027         Replace with CHECK_EOL.
70029 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70031         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70032         type-generic.
70033         * math/libm-test.inc: Update comment listing what functions and
70034         macros are tested.
70035         (finite_test): New function.
70036         (isinf_test): Likewise.
70037         (isnan_test): Likewise.
70038         (fpclassify_test): Test subnormal input.
70039         (isfinite_test): Likewise.
70040         (isnormal_test): Likewise.
70041         (main): Call the new functions.
70043 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70045         [BZ #14660]
70046         * Makerules (%.dynsym): Force C locale when running
70047         $(OBJDUMP) --dynamic-syms.
70049 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70051         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70052         <stdint.h>.
70054 2012-10-06  David S. Miller  <davem@davemloft.net>
70056         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70057         upper 32-bits of the length value in %o2 since we use branch-on-register
70058         tests which consider the entire 64-bit register.
70060 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70062         * string/test-strstr.c (check2): Add a test for page boundary.
70064 2012-10-05  David S. Miller  <davem@davemloft.net>
70066         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70067         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70068         file.
70069         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70070         sysdep_routines.
70071         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70072         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70073         and bzero when HWCAP_SPARC_CRYPTO is present.
70075 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70077         [BZ #14602]
70078         * string/test-strstr.c (check2): New function.
70079         (test_main): Call check2.
70081         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70082         and bug-strchr1.
70083         * string/bug-strcasestr1.c (do_test): Moved to ...
70084         * string/test-strcasestr.c (check1): Here.  New function.
70085         (do_one_test): Break out result checking code into ...
70086         (check_result): This.  New function.
70087         (do_one_test): Call check_result.
70088         (test_main): Call check1.
70089         * string/bug-strchr1.c (do_test): Moved to ...
70090         * string/test-strchr.c (check1): Here.  New function.
70091         (do_one_test): Break out result checking code into ...
70092         (check_result): This.  New function.
70093         (do_one_test): Call check_result.
70094         (test_main): Call check1.
70095         * string/bug-strstr1.c (main): Moved to ...
70096         * string/test-strstr.c (check1): Here.  New function.
70097         (do_one_test): Break out result checking code into ...
70098         (check_result): This.  New function.
70099         (do_one_test): Call check_result.
70100         (test_main): Call check1.
70101         * string/bug-strcasestr1.c: Removed.
70102         * string/bug-strchr1.c: Likewise.
70103         * string/bug-strstr1.c: Likewise.
70105         * elf/Makefile (dl-routines): Add hwcaps.
70106         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70107         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70108         (_dl_important_hwcaps): Moved to ...
70109         * elf/dl-hwcaps.c: Here.  New file.
70110         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70112         [BZ #14557]
70113         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70114         if IS_IN_rtld isn't defined.
70116         * elf/dl-support.c (_dl_sysinfo_map): New.
70117         Include "get-dynamic-info.h" and "setup-vdso.h".
70118         (_dl_non_dynamic_init): Call setup_vdso.
70119         * elf/dynamic-link.h: Don't include <assert.h>.
70120         (elf_get_dynamic_info): Moved to ...
70121         * elf/get-dynamic-info.h: Here.  New file.
70122         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70123         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70124         * elf/setup-vdso.h: Here.  New file.
70125         * elf/rtld.c: Include "setup-vdso.h".
70126         (dl_main): Call setup_vdso.
70128 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70130         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70131         creal in comment listing functions tested.  List finite, isinf,
70132         isnan, isless, islessequal, isgreater, isgreaterequal,
70133         islessgreater, isunordered, lgamma_r and pow10 as functions and
70134         macros not tested.  Mention which functions not tested are aliases
70135         for other functions.  Fix typo.  Note that signs of NaNs are not
70136         tested.
70138         * scripts/config.guess: Update from config.git.
70139         * scripts/config.sub: Likewise.
70141 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70143         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70144         * misc/madvise.c (madvise): Renamed to __madvise.
70145         Make madvise a weak alias.
70146         * include/sys/mman.h: Declare __madvise.
70147         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70148         * sysdeps/unix/syscalls.list
70149         (madvise): Make __madvise the strong name, and madvise a weak alias.
70150         * sysdeps/unix/sysv/linux/syscalls.list
70151         (madvise, mmap): Remove redundant entries.
70152         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70153         * malloc/malloc.c (mtrim): Likewise.
70154         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70156 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70158         * sysdeps/mach/hurd/dl-cache.c: File removed.
70159         * config.h.in (USE_LDCONFIG): New #undef.
70160         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70161         * configure: Regenerated.
70162         * elf/Makefile (dl-routines): Add dl-cache only under
70163         [$(use-ldconfig) = yes].
70164         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70165         cache on [USE_LDCONFIG].
70166         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70167         [USE_LDCONFIG].
70168         * elf/rtld.c (dl_main): Likewise.
70170 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70172         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70173         _SC_LEVEL4_CACHE_LINESIZE.
70175 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70177         * sysdeps/unix/bsd/confstr.h: File removed.
70179 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70181         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70182         sys/sdt-config.h.
70184 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70186         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70187         Make 'mapoff' field ElfW(Off) rather than off_t.
70189 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70191         * nscd/Makefile: Remove nscd-cflags and all its users.
70192         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70193         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70195         [BZ #10631]
70196         * malloc.c (malloc_printerr): Clarify error message.
70198 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70200         [BZ #14648]
70201         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70202         Set bit_FMA_Usable if FMA is supported.
70203         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70204         macro.
70205         (bit_FMA4_Usable): Updated.
70206         (index_FMA_Usable): New macro.
70207         (CPUID_FMA): Likewise.
70208         (HAS_FMA): Defined with bit_FMA_Usable.
70210 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70212         * bits/types.h (__swblk_t): Type removed.
70213         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70214         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70215         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70216         (__SWBLK_T_TYPE): Likewise.
70217         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70218         (__SWBLK_T_TYPE): Likewise.
70219         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70220         (__SWBLK_T_TYPE): Likewise.
70221         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70222         (__SWBLK_T_TYPE): Likewise.
70224 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
70225             Honza Horak <hhorak@redhat.com>
70227         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
70228         (xdr_mapname): Use YPMAXMAP as maxsize.
70229         (xdr_peername): Use YPMAXPEER as maxsize.
70230         (xdr_keydat): Use YPAXRECORD as maxsize.
70231         (xdr_valdat): Use YPMAXRECORD as maxsize.
70233 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70235         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
70237         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
70238         * csu/init-first.c: ... here.
70239         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
70240         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
70241         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
70242         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
70243         * sysdeps/i386/init-first.c: File removed.
70244         * sysdeps/sh/init-first.c: File removed.
70246 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
70248         [BZ #14645]
70249         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
70250         if x * y might underflow to zero and z is zero.
70251         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
70252         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70253         * math/libm-test.inc (min_subnorm_value): New variable.
70254         (fma_test): Add more tests.
70255         (fma_test_towardzero): Likewise.
70256         (fma_test_downward): Likewise.
70257         (fma_test_upward): Likewise.
70258         (initialize): Set min_subnorm_value.
70260 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
70262         [BZ #14638]
70263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
70264         0 + 0.
70265         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
70266         mode for addition resulting in exact zero.
70267         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
70268         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
70269         exact 0 + 0.
70270         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
70271         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
70272         * math/libm-test.inc (fma_test): Add more tests.
70273         (fma_test_towardzero): New function.
70274         (fma_test_downward): Likewise.
70275         (fma_test_upward): Likewise.
70276         (main): Call the new functions.
70278 2012-09-28  David S. Miller  <davem@davemloft.net>
70280         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
70282 2012-09-28  Roland McGrath  <roland@hack.frob.com>
70284         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
70285         instead of SIGALRM.
70287         * sysdeps/gnu/_G_config.h: Moved to ...
70288         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
70289         * sysdeps/mach/hurd/_G_config.h: Moved to ...
70290         * sysdeps/generic/_G_config.h: ... here.
70292         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
70294         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
70296         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
70297         Conditionalize target on [libnss_test1.so-version].
70299         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
70301         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
70302         (elfobjdir): Move out of conditionals.
70304         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
70305         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
70306         (__nss_lookup_function): Conditionalize label remove_from_tree on
70307         [!DO_STATIC_NSS || SHARED], matching its only use.
70309 2012-09-28  David S. Miller  <davem@davemloft.net>
70311         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
70312         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
70313         file.
70314         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70315         sysdep_routines.
70316         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70317         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
70318         when HWCAP_SPARC_CRYPTO is present.
70320 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70322         * io/tst-mknodat.c: Create a FIFO instead of a socket.
70324 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
70326         [BZ #6530]
70327         * stdio-common/vfprintf.c (process_string_arg): Revert
70328         2000-07-22 change.
70330 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
70332         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
70333         for testcase.
70334         * stdio-common/tst-sprintf.c: Include <locale.h>
70335         (main): Test sprintf's handling of incomplete multibyte
70336         characters.
70338 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
70340         * elf/dl-runtime.c (VERSYMIDX): Removed.
70341         * elf/dl-version.c (VERSYMIDX): Likewise.
70342         * elf/do-rel.h (VERSYMIDX): Likewise.
70343         (VALIDX): Likewise.
70344         * elf/dynamic-link.h (VERSYMIDX): Likewise.
70345         * elf/rtld.c (VALIDX): Likewise.
70346         (ADDRIDX): Likewise.
70347         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
70348         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
70349         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
70350         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
70351         (VALIDX): Likewise.
70352         (ADDRIDX): Likewise.
70354 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70356         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
70358 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
70360         [BZ #11438]
70361         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
70362         to global scope.
70363         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
70364         addresses are in the same scope as 192.0.2/24.
70365         * posix/gai.conf: Document new scope table defaults.
70367 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70369         [BZ #5298]
70370         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
70371         for ftell.  Compute offsets from write pointers instead.
70372         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70374 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70376         [BZ #14543]
70377         * libio/Makefile (tests): New test case tst-fseek.
70378         * libio/tst-fseek.c: New test case to verify that fseek/ftell
70379         combination works in wide mode.
70380         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
70381         state when the external buffer state changes.
70383 2012-09-27  David S. Miller  <davem@davemloft.net>
70385         [BZ #14376]
70386         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
70387         pass reloc->r_addend in as the 'high' argument to
70388         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
70390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70392 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
70394         * rt/tst-aio2.c: Include <pthread.h>.
70395         * rt/tst-aio3.c: Likewise.
70397 2012-09-27  Steve Ellcey  <sellcey@mips.com>
70399         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
70401 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
70403         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
70404         contents on [SHARED].
70406 2012-09-26  Marek Polacek  <polacek@redhat.com>
70408         [BZ #14530]
70409         [BZ #13741]
70410         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
70411         for C++ and GCC <4.3 as well as for non GCC compilers.
70413 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
70415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70417 2012-09-25  Roland McGrath  <roland@hack.frob.com>
70419         * Makefile.in (all, install): Declare with .PHONY.
70420         Reported by Michael Hope <michael.hope@linaro.org>.
70422 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70424         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
70425         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
70426         system header.
70427         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
70428         Likewise.
70429         (sydep_routines): Add the new and the internal functions.
70430         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
70431         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
70432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
70433         (GLIBC_2.17): Add the new function.
70434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70435         (GLIBC_2.17): Likewise.
70436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
70437         (GLIBC_2.17): Likewise.
70438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
70439         (GLIBC_2.17): Likewise.
70440         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
70442 2012-09-25  Alan Modra  <amodra@gmail.com>
70444         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
70445         Add release barrier before setting once_control to say
70446         initialisation is done.  Add hints on lwarx.  Use macro in
70447         place of isync.
70448         (clear_once_control): Add release barrier.
70450 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70452         [BZ #13629]
70453         * math/s_clog.c (__clog): Handle more values close to |z| = 1
70454         specially.
70455         * math/s_clog10.c (__clog10): Likewise.
70456         * math/s_clog10f.c (__clog10f): Likewise.
70457         * math/s_clog10l.c (__clog10l): Likewise.
70458         * math/s_clogf.c (__clogf): Likewise.
70459         * math/s_clogl.c (__clogl): Likewise.
70460         * math/Makefile (libm-calls): Add x2y2m1.
70461         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
70462         (__x2y2m1): Likewise.
70463         (__x2y2m1l): Likewise.
70464         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
70465         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
70466         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
70467         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
70468         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
70469         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
70470         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
70471         * sysdeps/i386/fpu/libm-test-ulps: Update.
70472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70474         [BZ #14621]
70475         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
70476         int as type of variable DEPTH.
70477         (glob): Use size_t instead of int as type of variables NEWCOUNT
70478         and OLD_PATHC.
70480 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70482         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70483         Add s_sincosf-sse2.
70484         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
70485         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
70486         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
70487         macros for using routine as __sincosf_ia32.
70488         Use macro for function declaration and weak_alias.
70489         * sysdeps/i386/fpu/libm-test-ulps: Update.
70491         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
70492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70494         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
70495         subnormal argument.
70496         * math/s_cexpf.c (__cexpf): Likewise.
70497         * math/s_csinf.c (__csinf): Likewise.
70498         * math/s_csinhf.c (__csinhf): Likewise.
70499         * math/s_ctanf.c (__ctanf): Likewise.
70500         * math/s_ctanhf.c (__ctanhf): Likewise.
70501         * math/s_ccosh.c (__ccoshf): Likewise.
70502         * math/s_cexp.c (__cexpl): Likewise.
70503         * math/s_csin.c (__csin): Likewise.
70504         * math/s_csinh.c (__csinh): Likewise.
70505         * math/s_ctan.c (__ctan): Likewise.
70506         * math/s_ctanh.c (ctanh): Likewise.
70507         * math/s_ccoshl.c (__ccoshl): Likewise.
70508         * math/s_cexpl.c (__cexpl): Likewise.
70509         * math/s_csinl.c (__csinl): Likewise.
70510         * math/s_csinhl.c (__csinhl): Likewise.
70511         * math/s_ctanl.c (__ctanl): Likewise.
70512         * math/s_ctanhl.c (__ctanhl): Likewise.
70514 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
70516         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
70517         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
70518         (_IO_off_t): Define to __off_t, not _G_off_t.
70519         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
70520         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
70521         (_IO_wint_t): Define to wint_t, not _G_wint_t.
70522         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
70523         type of __dummy and __dummy2 fields.
70524         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
70525         (_G_ssize_t): Likewise.
70526         (_G_off_t): Likewise.
70527         (_G_pid_t): Likewise.
70528         (_G_uid_t): Likewise.
70529         (_G_wchar_t): Likewise.
70530         (_G_wint_t): Likewise.
70531         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
70532         (_G_ssize_t): Likewise.
70533         (_G_off_t): Likewise.
70534         (_G_pid_t): Likewise.
70535         (_G_uid_t): Likewise.
70536         (_G_wchar_t): Likewise.
70537         (_G_wint_t): Likewise.
70538         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
70539         (_G_ssize_t): Likewise.
70540         (_G_off_t): Likewise.
70541         (_G_pid_t): Likewise.
70542         (_G_uid_t): Likewise.
70543         (_G_wchar_t): Likewise.
70544         (_G_wint_t): Likewise.
70546 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70548         * malloc/arena.c: Include malloc-sysdep.h.
70549         (shrink_heap): Use check_may_shrink_heap to decide if madvise
70550         is sufficient to shrink the heap or an unmap is needed.
70551         * sysdeps/generic/malloc-sysdep.h: New file.  Define
70552         new function check_may_shrink_heap.
70553         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
70554         new function check_may_shrink_heap.
70556 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70558         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
70559         comments.
70561 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
70563         * catgets/test-gencat.sh: Add "set -e".
70564         * elf/tst-pathopt.sh: Likewise.
70565         * grp/tst_fgetgrent.sh: Likewise.
70566         * iconvdata/run-iconv-test.sh: Likewise.
70567         * intl/tst-gettext.sh: Likewise.
70568         * intl/tst-gettext2.sh: Likewise.
70569         * intl/tst-gettext4.sh: Likewise.
70570         * intl/tst-gettext6.sh: Likewise.
70571         * intl/tst-translit.sh: Likewise.
70572         * io/ftwtest-sh: Likewise.
70573         * libio/test-freopen.sh: Likewise.
70574         * malloc/tst-mtrace.sh: Likewise.
70575         * posix/globtest.sh: Likewise.
70576         * posix/tst-getconf.sh: Likewise.
70577         * posix/wordexp-tst.sh: Likewise.
70578         * stdio-common/tst-printf.sh: Likewise.
70579         * stdio-common/tst-unbputc.sh: Likewise.
70580         * stdlib/tst-fmtmsg.sh: Likewise.
70581         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70582         * catgets/Makefile: Do not specify -e option when running
70583         testsuite shell scripts.
70584         * elf/Makefile: Likewise.
70585         * grp/Makefile: Likewise.
70586         * iconvdata/Makefile: Likewise.
70587         * intl/Makefile: Likewise.
70588         * io/Makefile: Likewise.
70589         * libio/Makefile: Likewise.
70590         * malloc/Makefile: Likewise.
70591         * posix/Makefile: Likewise.
70592         * stdio-common/Makefile: Likewise.
70593         * stdlib/Makefile: Likewise.
70594         * sysdeps/x86_64/Makefile: Likewise.
70596         * io/ftwtest-sh: Add copyright header.
70597         * posix/globtest.sh: Likewise.
70598         * posix/tst-getconf.sh: Likewise.
70599         * posix/wordexp-tst.sh: Likewise.
70600         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
70602 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
70604         [BZ #13679]
70605         * Makeconfig (+link): Defined as $(+link-static) if
70606         $(build-shared) isn't yes.
70607         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
70608         isn't yes.
70609         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
70611         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
70613         [BZ #14562]
70614         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
70615         new chunk size with MALLOC_ALIGN_MASK.
70617 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
70619         [BZ #5044]
70620         * stdio-common/printf_fphex.c: Include <stdbool.h> and
70621         <rounding-mode.h>.
70622         (__printf_fphex): Determine rounding using get_rounding_mode and
70623         round_away.
70624         * stdio-common/tst-printf-round.c (struct hex_test): New
70625         structure.
70626         (hex_tests): New variable.
70627         (test_hex_in_one_mode): New function.
70628         (do_test): Also run tests for hex float output.
70630 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
70632         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70633         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70634         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
70635         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
70636         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
70637         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
70638         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70639         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
70641 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
70643         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
70644         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
70645         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
70646         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
70648 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
70650         [BZ #14579]
70651         * elf/rtld.c (dl_main): Limit the check for self loading to normal
70652         mode only.
70653         * elf/tst-rtld-load-self.sh: New test.
70654         * elf/Makefile: Run it.
70656 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
70658         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
70659         (tst-writev-ENV): Remove.
70660         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
70662 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
70664         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
70666 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
70668         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
70669         unconditional.
70670         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
70671         Likewise.
70672         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
70673         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
70674         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
70675         Likewise.
70677 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
70679         [BZ #14587]
70680         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
70681         * config.make.in (have-cpp-asm-debuginfo): Removed.
70682         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
70683         * configure: Regenerated.
70685 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
70687         [BZ #5044]
70688         * stdio-common/printf_fp.c: Include <stdbool.h> and
70689         <rounding-mode.h>.
70690         (___printf_fp): Determine rounding using get_rounding_mode and
70691         round_away.
70692         * stdio-common/tst-printf-round.c: New file.
70693         * stdio-common/Makefile (tests): Add tst-printf-round.
70694         (link-libm): New variable.
70695         ($(objpfx)tst-printf-round): Depend in $(link-libm).
70697 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
70699         [BZ #14576]
70700         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
70701         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
70702         Likewise.
70703         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
70704         Likewise.
70706 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
70708         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
70709         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70710         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70711         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
70713 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
70715         [BZ #14518]
70716         * include/rounding-mode.h: New file.
70717         * sysdeps/generic/get-rounding-mode.h: Likewise.
70718         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
70719         * stdlib/strtod_l.c: Include <rounding-mode.h>.
70720         (MAX_VALUE): New macro.
70721         (MIN_VALUE): Likewise.
70722         (overflow_value): New function.
70723         (underflow_value): Likewise.
70724         (round_and_return): Use overflow_value and underflow_value to
70725         determine return values in overflow and underflow cases.  Use
70726         round_away to determine rounding depending on rounding mode.
70727         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
70728         determine return values in overflow and underflow cases.
70729         * stdlib/tst-strtod-round.c: Include <fenv.h>.
70730         (struct test_results): New structure.
70731         (struct test): Use struct test_results to store expected results
70732         for all rounding modes.
70733         (TEST): Include expected results for all rounding modes.
70734         (test_in_one_mode): New function.
70735         (do_test): Use test_in_one_mode to compute and check results.
70736         Check results for all rounding modes.
70737         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
70738         $(link-libm).
70740 2012-12-09  Allan McRae  <allan@archlinux.org>
70742         * sysdeps/i386/fpu/libm-test-ulps: Update
70744 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
70746         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
70747         (_G_int32_t): Likewise.
70748         (_G_uint16_t): Likewise.
70749         (_G_uint32_t): Likewise.
70750         (_G_HAVE_BOOL): Likewise.
70751         (_G_HAVE_ATEXIT): Likewise.
70752         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70753         (_G_HAVE_IO_FILE_OPEN): Likewise.
70754         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
70755         (_G_int32_t): Likewise.
70756         (_G_uint16_t): Likewise.
70757         (_G_uint32_t): Likewise.
70758         (_G_HAVE_BOOL): Likewise.
70759         (_G_HAVE_ATEXIT): Likewise.
70760         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70761         (_G_HAVE_IO_FILE_OPEN): Likewise.
70762         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
70763         (_G_int32_t): Likewise.
70764         (_G_uint16_t): Likewise.
70765         (_G_uint32_t): Likewise.
70766         (_G_HAVE_BOOL): Likewise.
70767         (_G_HAVE_ATEXIT): Likewise.
70768         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
70769         (_G_HAVE_IO_FILE_OPEN): Likewise.
70771 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
70773         * csu/libc-tls.c: Update copyright years.
70775 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
70777         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
70778         [!_G_USING_THUNKS]: Remove conditional code.
70779         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
70780         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
70782         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
70783         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
70784         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70785         (_G_VTABLE_LABEL_PREFIX): Likewise.
70786         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70787         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70788         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70789         (_G_VTABLE_LABEL_PREFIX): Likewise.
70790         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70791         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
70792         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
70793         (_G_VTABLE_LABEL_PREFIX): Likewise.
70794         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
70796 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
70798         * libio/Makefile: Include ../Makeconfig before tests.
70799         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
70800         only if $(build-shared) is yes.
70802         * iconv/gconv_db.c: Update copyright years.
70804 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70806         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
70807         unwind info if defined PIC. Fix special cases description.
70808         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
70810         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
70811         DP_HI_MASK entry.
70812         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
70814 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
70816         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
70818         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
70819         is NULL.
70821         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
70822         (LDLIBS-tst-chk4): This.
70823         (LDFLAGS-tst-chk5): Renamed to ...
70824         (LDLIBS-tst-chk5): This.
70825         (LDFLAGS-tst-chk6): Renamed to ...
70826         (LDLIBS-tst-chk6): This.
70827         (LDFLAGS-tst-lfschk4): Renamed to ...
70828         (LDLIBS-tst-lfschk4): This.
70829         (LDFLAGS-tst-lfschk5): Renamed to ...
70830         (LDLIBS-tst-lfschk5): This.
70831         (LDFLAGS-tst-lfschk6): Renamed to ...
70832         (LDLIBS-tst-lfschk6): This.
70834         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
70835         on $(common-objpfx)soversions.mk.
70837 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
70839         [BZ #10014]
70840         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
70841         example host name.
70843 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
70845         * malloc/arena.c (arena_get_retry): New function that gets
70846         another arena for the caller to try its request on.
70847         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
70848         current arena cannot fulfill the request.
70849         (__libc_memalign): Likewise.
70850         (__libc_memalign): Likewise.
70851         (__libc_pvalloc): Likewise.
70852         (__libc_calloc): Likewise.
70854 2012-09-05  John Tobey  <john.tobey@gmail.com>
70856         [BZ #13542]
70857         * manual/arith.texi (Operations on Complex): Fix description
70858         of carg branch cut.
70860 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70862         [BZ #10014]
70863         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
70864         host name.
70866         [BZ #10038]
70867         * manual/memory.texi (Memory): Make order of menu items match
70868         order of sections.
70870 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70872         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
70873         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
70874         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
70876 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70878         * csu/libc-tls.c (static_dtv): Renamed to ...
70879         (_dl_static_dtv): This.  Make it global.
70880         (_dl_initial_dtv): Removed.
70881         (__libc_setup_tls): Updated.
70882         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
70883         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
70884         DL_INITIAL_DTV.
70886 2012-09-06  Petr Machata  <pmachata@redhat.com>
70888         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
70889         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
70890         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
70891         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
70893 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70895         [BZ #14545]
70896         * csu/libc-tls.c (_dl_initial_dtv): New variable.
70897         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
70898         freeing dtv[-1].
70900 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
70902         [BZ #14544]
70903         * Makeconfig (link-static-before-libc): Replace $(+prector)
70904         with $(+prectorT).
70905         (link-static-after-libc): Replace $(+postctor) with
70906         $(+postctorT).
70907         (link-bounded): Replace $(+prector)/$(+postctor) with
70908         $(+prectorT)/$(+postctorT).
70909         (+prectorT): New macro.
70910         (+postctorT): Likewise.
70912 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
70914         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
70915         (round_str): Handle values above the maximum for IBM long double
70916         as inexact.
70917         * stdlib/tst-strtod-round.c (tests): Regenerated.
70919 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70921         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
70922         assembler flag.
70923         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
70924         zarch_nohighgprs around the zarch optimized routines.
70925         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
70926         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
70927         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
70928         for zarch.
70930 2012-09-05  David S. Miller  <davem@davemloft.net>
70932         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70934         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
70935         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
70936         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
70937         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
70938         entries.
70940 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70942         * malloc/arena.c: Fold copyright years.
70943         * malloc/mcheck.c, malloc/memusage.c: Likewise.
70945 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70947         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70949 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70951         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70953 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70955         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70956         change internal state upon failure.
70958 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70960         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70961         * malloc/memusage.c (mmap): Likewise.
70962         (mmap64, mremap): Likewise.  Adjust name in comment.
70964 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70966         * libio/fileops.c: Fix typos in comments.
70967         * libio/oldfileops.c: Likewise.
70968         * libio/wfileops.c: Likewise.
70970 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70972         [BZ #1349]
70973         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70974         (tst-malloc-usable-ENV): Set environment for test case.
70975         * malloc/hooks.c (malloc_check_get_size): New function to get
70976         requested size.
70977         * malloc/malloc.c (musable): Use malloc_check_get_size.
70978         * malloc/tst-malloc-usable.c: New test case.
70980 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70982         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70984 2012-09-05  Allan McRae  <allan@archlinux.org>
70986         [BZ #13966]
70987         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70988         determine header location.
70989         * configure: Regenerated.
70991 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70993         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70994         float format.
70995         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70996         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70997         format.
70998         (test): Regenerate.
71000 2012-09-04  David S. Miller  <davem@davemloft.net>
71002         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71003         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71004         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71006 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71008         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71009         failures.
71011         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71013 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71015         [BZ #9914]
71016         * libio/iogetdelim.c: Include <limits.h>.
71017         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71018         + len + 1 would overflow.
71020 2012-09-03  Andreas Jaeger  <aj@suse.de>
71022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71023         * sysdeps/i386/fpu/libm-test-ulps: Update.
71025 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71027         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71028         Add s_sinf-sse2, s_conf-sse2.
71030         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71031         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71032         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71033         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71035         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71036         for using routine as __sinf_ia32.
71037         Use macro for function declaration and weak_alias.
71038         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71039         for using routine as __cosf_ia32.
71040         Use macro for function declaration and weak_alias.
71042         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71043         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71045         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71046         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71047         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71049         * math/libm-test.inc (cos_test): Add more test cases.
71050         (sin_test): Likewise.
71051         (sincos_test): Likewise.
71053 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71055         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71056         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71057         hidden.
71058         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71060 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71062         [BZ #14538]
71063         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71064         first element of the GOT.
71065         (elf_machine_load_address): Return the difference between
71066         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71068 2012-09-01  Allan McRae  <allan@archlinux.org>
71070         [BZ #13412]
71071         * configure.in (AWK): Require gawk version 3.0 or later.
71072         * configure: Regenerated.
71074 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71076         * sysdeps/unix/sysv/linux/kernel-features.h
71077         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71078         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71079         [__NR_clock_getres]: Make code unconditional.
71080         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71081         (clock_getcpuclockid): Remove code left unreachable by removal of
71082         conditionals.
71083         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71084         code unconditional.
71085         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71086         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71087         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71088         Make code unconditional.
71089         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71090         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71091         * sysdeps/unix/sysv/linux/clock_settime.c
71092         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71093         conditional code.
71094         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71095         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71097 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71099         [BZ #14476]
71100         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71101         scripts/test-installation.pl.
71103         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71104         and $ld_so_version if it is set.
71106 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71108         [BZ #14516]
71109         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71110         failure if reading from procfs failed.
71111         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71113 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71115         * sysdeps/unix/sysv/linux/kernel-features.h
71116         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71117         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71118         Remove conditional code.
71119         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71120         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71121         Remove conditional code.
71122         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71123         * sysdeps/unix/sysv/linux/i386/fxstat.c
71124         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71125         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71126         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71127         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71128         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71129         * sysdeps/unix/sysv/linux/i386/lxstat.c
71130         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71131         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71132         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71133         Remove conditional code.
71134         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71135         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71136         Remove conditional code.
71137         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71138         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71139         <kernel-features.h>.
71140         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71141         Remove.
71142         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71143         Remove conditional code.
71144         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71145         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71146         Remove conditional.
71148 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71150         [BZ #5400]
71151         * NEWS: Add fixed bug number.
71153 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71155         [BZ #14519]
71156         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71157         underflowing exponent in case of negative sign.
71158         * stdlib/tst-strtod-round-data: Add more tests.
71159         * stdlib/tst-strtod-round.c (tests): Regenerated.
71161         [BZ #3479]
71162         * stdlib/strtod_l.c (NDIG): Remove.
71163         (HEXNDIG): Likewise.
71164         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71165         smallest representable value.
71166         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71167         lie within an exact representation of 1/2 ulp of the result.
71168         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71169         unconditionally.
71170         (TENS_P9_IDX): Define unconditionally.
71171         (TENS_P9_SIZE): Likewise.
71172         (TENS_P10_IDX): Likewise.
71173         (TENS_P10_SIZE): Likewise.
71174         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71175         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71176         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71177         entries for 10^2^13 and 10^2^14.
71178         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71179         (TENS_P13_IDX): Define.
71180         (TENS_P13_SIZE): Likewise.
71181         (TENS_P14_IDX): Likewise.
71182         (TENS_P14_SIZE): Likewise.
71183         (_fpioconst_pow10): Change array size to
71184         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71185         unconditional.
71186         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71187         1024]: Add entries for 10^2^13 and 10^2^14.
71188         [LAST_POW10 > _LAST_POW10]: Remove #error.
71189         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71190         (_fpioconst_pow10): Change array size to
71191         FPIOCONST_POW10_ARRAY_SIZE.
71192         * stdlib/gen-fpioconst.c: New file.
71193         * stdlib/gen-tst-strtod-round.c: Likewise.
71194         * stdlib/tst-strtod-round-data: Likewise.
71195         * stdlib/tst-strtod-round.c: Likewise.
71196         * stdlib/Makefile (tests): Add tst-strtod-round.
71198         [BZ #14459]
71199         * stdlib/strtod_l.c: Include <stdint.h>.
71200         (NDEBUG): Do not define.
71201         (round_and_return): Change EXPONENT parameter to type intmax_t.
71202         Rearrange calculations to avoid internal overflow possibilities.
71203         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71204         Rearrange calculations to avoid internal overflow possibilities.
71205         Assert that number fits inside MPNSIZE limbs.
71206         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71207         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71208         calculations and add assertions to avoid internal overflow
71209         possibilities.  Add casts to avoid signed/unsigned operations.
71210         * stdlib/tst-strtod-overflow.c: New file.
71211         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71213 2012-08-25  Marek Polacek  <polacek@redhat.com>
71215         * time/time.h: Fix some typos in comments.
71217 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71219         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71220         * posix/tst-rfc3484-2.c: Likewise.
71221         * posix/tst-rfc3484-3.c: Likewise.
71223 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
71225         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
71226         (EF_ARM_ABI_FLOAT_HARD): Likewise.
71228 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
71230         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
71231         #include of fxstatat64.c.
71233 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71235         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
71236         * shadow/getspent_r.c: Likewise.
71237         * shadow/getspnam.c: Likewise.
71238         * shadow/getspnam_r.c: Likewise.
71239         * gshadow/getsgent.c: Likewise.
71240         * gshadow/getsgent_r.c: Likewise.
71241         * gshadow/getsgnam.c: Likewise.
71242         * gshadow/getsgnam_r.c: Likewise.
71243         * inet/getnetbyad.c: Likewise.
71244         * inet/getnetbyad_r.c: Likewise.
71245         * inet/getnetbynm.c: Likewise.
71246         * inet/getnetbynm_r.c: Likewise.
71247         * inet/getnetent.c: Likewise.
71248         * inet/getnetent_r.c: Likewise.
71249         * inet/getproto.c: Likewise.
71250         * inet/getproto_r.c: Likewise.
71251         * inet/getprtent.c: Likewise.
71252         * inet/getprtent_r.c: Likewise.
71253         * inet/getprtname.c: Likewise.
71254         * inet/getprtname_r.c: Likewise.
71255         * inet/getrpcbyname.c: Likewise.
71256         * inet/getrpcbyname_r.c: Likewise.
71257         * inet/getrpcbynumber.c: Likewise.
71258         * inet/getrpcbynumber_r.c: Likewise.
71259         * inet/getrpcent.c: Likewise.
71260         * inet/getrpcent_r.c: Likewise.
71261         * inet/getaliasent.c: Likewise.
71262         * inet/getaliasent_r.c: Likewise.
71263         * inet/getaliasname.c: Likewise.
71264         * inet/getaliasname_r.c: Likewise.
71265         * nscd/getgrgid_r.c: Likewise.
71266         * nscd/getgrnam_r.c: Likewise.
71267         * nscd/gethstbyad_r.c: Likewise.
71268         * nscd/gethstbynm3_r.c: Likewise.
71269         * nscd/getpwnam_r.c: Likewise.
71270         * nscd/getpwuid_r.c: Likewise.
71271         * nscd/getsrvbynm_r.c: Likewise.
71272         * nscd/getsrvbypt_r.c: Likewise.
71273         * nscd/gai.c: Likewise.
71275         * configure.in (build_nscd): New substituted variable, set
71276         by --disable-build-nscd and defaults to $use_nscd.
71277         * configure: Regenerated.
71278         * config.make.in (build-nscd): New substituted variable.
71279         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
71280         Change conditional to require [$(build-nscd) = yes] as well.
71281         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
71283         [BZ #13696]
71284         * configure.in (use_nscd): New substituted variable, set by
71285         --disable-nscd.  If enabled, define USE_NSCD.
71286         * configure: Regenerated.
71287         * config.h.in: Add USE_NSCD.
71288         * config.make.in (use-nscd): New substituted variable.
71289         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
71290         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
71291         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
71292         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
71293         (CFLAGS-getgrnam_r.c): Likewise.
71294         (CFLAGS-initgroups.c): Likewise.
71295         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
71296         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
71297         Variables removed.
71298         * inet/getnetgrent_r.c
71299         (nscd_setnetgrent): New function, broken out of ...
71300         (setnetgrent): ... here.  Call it.
71301         (innetgr): Conditionalize nscd bits on [USE_NSCD].
71302         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
71303         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
71304         * nscd/Makefile (routines, aux): Move definitions after include of
71305         Makeconfig.  Conditionalize on [$(use-nscd) != no].
71306         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
71307         Conditionalize on [USE_NSCD].
71308         (is_nscd, nscd_init_cb): Likewise.
71309         (nss_load_library): Conditionalize init callback on [USE_NSCD].
71310         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
71311         * nss/nss_db/db-init.c: Likewise.
71312         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
71313         [USE_NSCD].
71314         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
71315         (make_request): Use it.
71316         (cache_valid_p): New function.
71317         (__check_pf): Use it.
71318         * NEWS: Add item for --disable-nscd.
71320 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
71322         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
71323         to support sed >= 4.2.1-20-ga9bf076.
71324         * configure: Regenerated.
71326 2012-08-22  Roland McGrath  <roland@hack.frob.com>
71328         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
71329         Conditionalize whole body on [IREL].
71331 2012-08-22  Jeff Law <law@redhat.com>
71333         [BZ #14505]
71334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
71335         if the family is PF_UNSPEC.
71337 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
71339         * Makerules (lib-version): Rename from V.
71340         (install-lib-nosubdir): Change V to lib-version.
71342 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
71344         [BZ #14252]
71345         * powerpc32/power6/wcschr.c: New file.
71346         * powerpc32/power6/wcscpy.c: New file.
71347         * powerpc32/power6/wcsrchr.c: New file.
71348         * powerpc64/power6/wcschr.c: New file.
71349         * powerpc64/power6/wcscpy.c: New file.
71350         * powerpc64/power6/wcsrchr.c: New file.
71352 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71354         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
71355         (two_way_short_needle): Use it.
71356         * string/strstr.c (AVAILABLE1_USES_J): Define.
71357         * string/strcasestr.c: Likewise.
71359         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
71360         array references.
71361         * string/strcasestr.c (TOLOWER): Make side-effect safe.
71363         [BZ #11607]
71364         * NEWS: Add an entry.
71365         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
71366         define their defaults.
71367         (two_way_short_needle): Detect end-of-string on-the-fly.
71368         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
71369         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
71370         * string/bug-strcasestr1.c: New test.
71371         * string/Makefile: Run it.
71373 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
71375         [BZ #11607]
71376         * string/str-two-way.h (two_way_short_needle): Optimize matching of
71377         the first character.
71379 2012-08-21  Roland McGrath  <roland@hack.frob.com>
71381         * csu/elf-init.c (__libc_csu_irel): Function removed.
71382         * csu/libc-start.c (apply_irel): New function.
71383         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
71385 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
71387         * sysdeps/unix/sysv/linux/kernel-features.h
71388         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
71389         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
71390         <kernel-features.h>.
71391         [__NR_fadvise64_64]: Make code unconditional.
71392         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
71393         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71394         !__NR_fadvise64_64)]: Likewise.
71395         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
71396         !__NR_fadvise64_64))]: Likewise.
71397         [__NR_fadvise64]: Make code unconditional.
71398         [!__NR_fadvise64]: Remove conditional code.
71399         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
71400         <kernel-features.h>.
71401         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71402         unconditional.
71403         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71404         conditional code.
71405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
71406         not include <kernel-features.h>.
71407         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71408         unconditional.
71409         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71410         conditional code.
71411         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
71412         include <kernel-features.h>.
71413         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
71414         unconditional.
71415         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
71416         conditional code.
71418 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
71420         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
71421         slight instruction rearrangements per scrollpipe analysis.
71422         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
71424 2012-08-20  Roland McGrath  <roland@hack.frob.com>
71426         * manual/syslog.texi (syslog; vsyslog, closelog):
71427         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
71428         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
71430         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
71431         DSOCAPS to match condition on defining it.
71433 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
71435         * sysdeps/unix/sysv/linux/kernel-features.h
71436         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
71437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
71438         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71439         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
71441         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71442         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
71444         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
71445         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
71447         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
71448         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
71450         * sysdeps/unix/sysv/linux/kernel-features.h
71451         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
71452         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
71453         unconditional.
71454         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71455         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
71456         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71457         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71458         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
71459         Make code unconditional.
71460         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71461         (__mmap64) [!__NR_mmap2]: Likewise.
71462         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
71463         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
71464         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71465         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
71466         [__NR_mmap2]: Make code unconditional.
71467         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
71468         (__mmap64) [!__NR_mmap2]: Likewise.
71470 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71472         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
71474 2012-08-18  Andreas Jaeger  <aj@suse.de>
71476         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
71478 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71480         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
71481         * include/unistd.h (__have_sock_cloexec): Likewise.
71482         (__have_pipe2): Likewise.
71483         (__have_dup3): Likewise.
71485 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
71487         [BZ #9685]
71488         * include/unistd.h (__have_pipe2): Change define into an extern int.
71489         (__have_dup3): Likewise.
71490         * socket/have_sock_cloexec.c: Include fcntl.h.
71491         (__have_pipe2): New variable.
71492         (__have_dup3): Likewise.
71494 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
71496         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
71498 2012-08-17  Marek Polacek  <polacek@redhat.com>
71500         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
71501         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
71503 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71505         * configure.in: Add AC_SUBST for sysheaders.
71506         * configure: Regenerated.
71507         * config.make.in (sysheaders): New substituted variable.
71509         * sysdeps/unix/mkfifo.c: Moved ...
71510         * sysdeps/posix/mkfifo.c: ... here.
71511         * sysdeps/unix/mkfifoat.c: Moved ...
71512         * sysdeps/posix/mkfifoat.c: ... here.
71514         * sysdeps/unix/utime.c: Moved ...
71515         * sysdeps/posix/utime.c: ... here.
71517         * sysdeps/unix/time.c: Moved ...
71518         * sysdeps/posix/time.c: ... here.
71519         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
71520         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
71522         * sysdeps/unix/nice.c: Moved ...
71523         * sysdeps/posix/nice.c: ... here.
71525         * sysdeps/unix/alarm.c: Moved ...
71526         * sysdeps/posix/alarm.c: ... here.
71528         * intl/Makefile ($(codeset_mo)): Depend on the input file.
71530 2012-08-17  Jeff Law <law@redhat.com>
71532         * intl/Makefile (codeset_mo): New variable.
71533         ($(codeset_mo)): New target.
71534         (tst-codeset.out): Depend on that.  Remove explicit rule.
71535         (tst-gettext3.out, tst-gettext5.out): Likewise.
71536         (LOCPATH-ENV, tst-codeset-ENV): New variables.
71537         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
71538         * intl/tst-codeset.sh: Remove.
71539         * intl/tst-gettext3.sh: Likewise.
71540         * intl/tst-gettext5.sh: Likewise.
71542 2012-08-17  Roland McGrath  <roland@hack.frob.com>
71544         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
71545         * sysdeps/unix/syscalls.list: ... here.
71547         * sysdeps/posix/getaddrinfo.c
71548         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
71549         (gaiconf_init, gaiconf_reload): Use them.
71550         [!_STATBUF_ST_NSEC]
71551         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
71552         Define using time_t rather than struct timespec.
71554         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
71555         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
71556         Macros removed.
71557         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
71558         [!NO_THREADS].
71559         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
71560         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
71561         Likewise.
71563         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
71564         __libc_cleanup_push argument.
71566         * bits/param.h: New file.
71567         * misc/sys/param.h: New file.
71568         * include/sys/param.h: New file.
71569         * misc/Makefile (headers): Add bits/param.h.
71570         * sysdeps/generic/sys/param.h: File removed.
71571         * sysdeps/unix/sysv/linux/bits/param.h: New file.
71572         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
71573         * sysdeps/mach/hurd/bits/param.h: New file.
71574         * sysdeps/mach/hurd/sys/param.h: File removed.
71576         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
71577         last change.
71579         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
71580         [_IO_MTSAFE_IO].
71581         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
71582         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
71583         New macros.
71585         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
71586         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
71587         rather than -D_IO_MTSAFE_IO conditionally.
71588         * stdio-common/Makefile (CPPFLAGS): Likewise.
71589         * wcsmbs/Makefile (CPPFLAGS): Likewise.
71590         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
71591         Use $(libio-mtsafe).
71592         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
71593         of -D_IO_MTSAFE_IO.
71594         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
71595         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
71596         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
71597         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
71598         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
71599         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
71600         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
71601         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
71602         (CFLAGS-fread_u_chk.c): Likewise.
71603         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
71604         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
71605         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
71606         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
71607         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
71608         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
71609         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
71610         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
71611         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
71613         * libio/Makefile: Test [$(libc-reentrant) = yes]
71614         instead of [$(filter %REENTRANT, $(defines)) nonempty].
71616         * Makeconfig
71617         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
71618         * sysdeps/pthread/configure: File removed.
71619         * sysdeps/pthread/Makeconfig: New file.
71620         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
71621         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
71623 2012-08-16  Gary Benson  <gbenson@redhat.com>
71625         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
71626         unmapping the first object in a namespace.
71628 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71630         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
71631         (__internal_setnetgrent): ... this.  Add internal_function to
71632         definition.  Add libc_hidden_def.
71633         (setnetgrent): Update caller.
71634         (internal_endnetgrent): Renamed to ...
71635         (__internal_endnetgrent): ... this.  Add internal_function to
71636         definition.  Add libc_hidden_def.
71637         (endnetgrent): Update caller.
71638         (internal_getnetgrent_r): Renamed to ...
71639         (__internal_getnetgrent_r): ... this.  Add internal_function to
71640         definition.  Add libc_hidden_def.
71641         (__getnetgrent_r): Update caller.
71642         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
71644 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71646         * stdlib/longlong.h: Update from GCC.
71648 2012-08-16  Roland McGrath  <roland@hack.frob.com>
71650         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
71651         on _QL, which is set by umul_ppmm but never used.
71652         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
71653         variables, which are set by GMP macros but never used.
71654         * stdio-common/_itowa.c (_itowa): Likewise.
71655         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
71656         * stdlib/mod_1.c (mpn_mod_1): Likewise.
71658 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
71660         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
71661         struct La_sh_regs is not constant.
71662         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
71663         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
71664         and struct La_sparc64_regs are not constant.
71666 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
71668         * sysdeps/unix/sysv/linux/kernel-features.h
71669         (__ASSUME_POSIX_TIMERS): Remove.
71670         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71671         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71672         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
71673         Make code unconditional.
71674         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71675         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
71676         Make code unconditional.
71677         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71678         * sysdeps/unix/sysv/linux/clock_nanosleep.c
71679         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
71680         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71681         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
71682         Make code unconditional.
71683         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
71684         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
71685         (__libc_missing_posix_timers): Remove.
71687 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71689         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
71690         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
71692         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
71694         * elf/dl-sym.c: Include <stdlib.h>.
71696         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
71697         constants, which avoids warnings in 32-bit builds.
71699         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
71700         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
71702         * misc/lseek.c: File moved to ...
71703         * io/lseek.c: ... here.
71705         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
71707         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
71708         shifting LEN more than 31 bits at once.
71710 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71712         [BZ #14195]
71713         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
71714         segmentation fault for a case of two empty input strings.
71715         * string/test-strncasecmp.c (check1): Renamed to...
71716         (bz12205): ...this.
71717         (bz14195): Add new testcase for two empty input strings and N > 0.
71718         (test_main): Call new testcase, adapt for renamed function.
71720 2012-08-15  Andreas Jaeger  <aj@suse.de>
71722         [BZ #14090]
71723         * crypt/md5test2.c: New test, based on test supplied by Serge
71724         Belyshev <belyshev@depni.sinp.msu.ru>.
71725         * crypt/Makefile (xtests): Add md5test-giant..
71726         * crypt/Makefile ($(objpfx)md5test-giant): Add.
71728 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
71730         [BZ #14090]
71731         * crypt/md5.c (md5_process_block): Don't assume the buffer
71732         length is less than 2**32.
71733         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
71734         length is less than 2**64.
71736 2012-08-15  Roland McGrath  <roland@hack.frob.com>
71738         * string/str-two-way.h: Include <sys/param.h>.
71739         (MAX): Macro removed.
71741         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
71742         Move #define and #undef of memmove to just before and after
71743         including <string.h>.
71745         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
71746         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
71747         and after including <string.h>.  Move declarations of
71748         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
71749         to before #include "string/memmove.c".
71751         * include/dirent.h: Declare __getdirentries.
71753         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
71754         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
71756 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
71758         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
71759         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
71760         * sysdeps/i386/configure: Regenerated.
71761         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
71762         STABS_CURRENT_FILE, and STABS_FUN.
71763         (END): Remove call to STABS_FUN_END.
71764         (STABS_CURRENT_FILE1): Delete.
71765         (STABS_CURRENT_FILE): Likewise.
71766         (STABS_FUN): Likewise.
71767         (STABS_FUN_END): Likewise.
71768         (STABS_FUN2): Likewise.
71769         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
71770         * sysdeps/x86_64/configure: Regenerated.
71772 2012-08-14  Roland McGrath  <roland@hack.frob.com>
71774         * elf/dl-open.c: Include <atomic.h>.
71775         * elf/dl-lookup.c: Likewise.
71777 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
71779         * sysdeps/unix/sysv/linux/kernel-features.h
71780         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
71781         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
71782         unconditionally.
71783         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
71784         unconditionally.
71785         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
71786         condition on __ASSUME_CLONE_THREAD_FLAGS.
71788 2012-08-14  Andreas Jaeger  <aj@suse.de>
71790         * sysdeps/i386/fpu/libm-test-ulps: Update.
71792 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
71794         * include/atomic.h (atomic_exchange_and_add): Split into ...
71795         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
71796         New atomic macros.
71798 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
71800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71802 2012-08-13  Jeff Law <law@redhat.com>
71804         * manual/stdio.texi (snprintf): Clarify handling of the trailing
71805         null byte in the output string.
71807 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
71809         * sysdeps/unix/sysv/linux/kernel-features.h
71810         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
71811         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
71812         (__ASSUME_ARG_MAX_STACK_BASED): Define.
71813         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
71814         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
71815         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
71816         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
71818 2012-08-09  Jeff Law <law@redhat.com>
71820         [BZ #13939]
71821         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
71822         When avoid_arena is set, don't retry in the that arena.  Pick the
71823         next one, whatever it might be.
71824         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
71825         (arena_lock): Pass in new parameter to arena_get2.
71826         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
71827         arena_get2.
71828         (__libc_malloc): Unify retrying after main arena failure with
71829         __libc_memalign version.
71830         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
71832 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
71834         [BZ #14166]
71835         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
71836         to __redirect_strstr.
71837         (__strstr_sse42): Use typeof __redirect_strstr.
71838         (__strstr_ia32): Likewise.
71839         (__libc_strstr): New prototype.
71840         (strstr): Renamed to ...
71841         (__libc_strstr): This.
71842         (strstr): New strong alias of __libc_strstr.
71843         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
71844         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
71845         __redirect_time.
71846         Include <time.h>.
71847         (__libc_time): New prototype.
71848         (time_ifunc): Replace time with __libc_time.
71849         (time): New strong alias and hidden definition of __libc_time.
71850         (__GI_time): Remove strong alias.
71851         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
71852         Include <stddef.h>.
71853         (memmove): Redefined to __redirect_memmove.
71854         (__memmove_sse2): Use typeof __redirect_memmove.
71855         (__memmove_ssse3): Likewise.
71856         (__memmove_ssse3_back): Likewise.
71857         (__libc_memmove): New prototype.
71858         (memmove): Renamed to ...
71859         (__libc_memmove): This.
71860         (memmove): New strong alias of __libc_memmove.
71862 2012-08-08  Mark Salter  <msalter@redhat.com>
71864         * elf/elf.h
71865         (R_MN10300_TLS_GD): Define.
71866         (R_MN10300_TLS_LD): Likewise.
71867         (R_MN10300_TLS_LDO): Likewise.
71868         (R_MN10300_TLS_GOTIE): Likewise.
71869         (R_MN10300_TLS_IE): Likewise.
71870         (R_MN10300_TLS_LE): Likewise.
71871         (R_MN10300_TLS_DTPMOD): Likewise.
71872         (R_MN10300_TLS_DTPOFF): Likewise.
71873         (R_MN10300_TLS_TPOFF): Likewise.
71874         (R_MN10300_SYM_DIFF): Likewise.
71875         (R_MN10300_ALIGN): Likewise.
71876         (R_MN10300_NUM): Update.
71878 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
71880         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
71881         Remove.
71883 2012-08-08  Roland McGrath  <roland@hack.frob.com>
71885         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
71887         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
71888         sysdeps/unix -> sysdeps/posix move.
71889         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
71891 2012-08-07      Allan McRae     <allan@archlinux.org>
71893         [BZ #14303]
71894         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
71895         (SUNOS_CPP): Likewise.
71896         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
71897         not found.
71898         (open_input): Call CPP using execvp.
71900 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71902         * sysdeps/unix/sysv/linux/kernel-features.h
71903         (__ASSUME_PROT_GROWSUPDOWN): Remove.
71904         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71905         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71906         (__ASSUME_WAITID_SYSCALL): Likewise.
71907         * sysdeps/unix/sysv/linux/dl-execstack.c
71908         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
71909         code unconditional.
71910         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
71911         conditional code.
71912         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
71913         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
71914         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
71915         code.
71916         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
71917         unconditional.
71918         [__ASSUME_WAITID_SYSCALL]: Likewise.
71919         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
71921 2012-08-07  Roland McGrath  <roland@hack.frob.com>
71923         * sysdeps/unix/closedir.c: Renamed to ...
71924         * sysdeps/posix/closedir.c: ... here.
71925         * sysdeps/unix/dirfd.c: Renamed to ...
71926         * sysdeps/posix/dirfd.c: ... here.
71927         * sysdeps/unix/dirstream.h: Renamed to ...
71928         * sysdeps/posix/dirstream.h: ... here.
71929         * sysdeps/unix/fdopendir.c: Renamed to ...
71930         * sysdeps/posix/fdopendir.c: ... here.
71931         * sysdeps/unix/opendir.c: Renamed to ...
71932         * sysdeps/posix/opendir.c: ... here.
71933         * sysdeps/unix/readdir.c: Renamed to ...
71934         * sysdeps/posix/readdir.c: ... here.
71935         * sysdeps/unix/readdir_r.c: Renamed to ...
71936         * sysdeps/posix/readdir_r.c: ... here.
71937         * sysdeps/unix/rewinddir.c: Renamed to ...
71938         * sysdeps/posix/rewinddir.c: ... here.
71939         * sysdeps/unix/seekdir.c: Renamed to ...
71940         * sysdeps/posix/seekdir.c: ... here.
71941         * sysdeps/unix/telldir.c: Renamed to ...
71942         * sysdeps/posix/telldir.c: ... here.
71943         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
71944         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71945         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71946         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71948         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71949         * bits/fcntl.h: ... here.
71951         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71952         not 0.
71953         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71954         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71955         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71956         (struct flock): Move l_start, l_len to the beginning.
71957         Use __pid_t for l_pid.
71958         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71959         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71960         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71961         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71962         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71963         [__USE_LARGEFILE64] (struct flock64): New type.
71964         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71966         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71967         * bits/dirent.h: ... here.
71969         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71970         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71972 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71974         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71975         Change from 2.6.0 to 2.6.16.
71976         * sysdeps/unix/sysv/linux/configure: Regenerated.
71977         * sysdeps/unix/sysv/linux/kernel-features.h
71978         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71979         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71980         version.
71981         (__ASSUME_UTIMES): Likewise.
71982         (__ASSUME_CLONE_STOPPED): Remove.
71983         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71984         architectures, not kernel version.
71985         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71986         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71987         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71988         (__ASSUME_WAITID_SYSCALL): Likewise.
71989         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71990         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71991         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71992         refer to older versions.
71994 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71996         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71997         Define alphasort64 as an alias.
71998         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71999         Define versionsort64 as an alias.
72000         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72001         Define scandir64 as an alias.
72002         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72003         Define scandirat64 as an alias.
72004         * dirent/alphasort64.c (alphasort64):
72005         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72006         * dirent/versionsort64.c: Likewise.
72007         * dirent/scandir64.c: Likewise.
72008         * dirent/scandirat64.c: Likewise.
72009         * sysdeps/wordsize-64/alphasort.c: File removed.
72010         * sysdeps/wordsize-64/alphasort64.c: File removed.
72011         * sysdeps/wordsize-64/scandir.c: File removed.
72012         * sysdeps/wordsize-64/scandir64.c: File removed.
72013         * sysdeps/wordsize-64/scandirat.c: File removed.
72014         * sysdeps/wordsize-64/scandirat64.c: File removed.
72015         * sysdeps/wordsize-64/versionsort.c: File removed.
72016         * sysdeps/wordsize-64/versionsort64.c: File removed.
72017         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72018         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72019         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72020         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72021         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72022         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72023         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72024         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72026         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72027         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72028         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72029         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72030         [defined __arch64__ || defined __sparcv9]
72031         (__INO_T_MATCHES_INO64_T): New macro.
72032         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72033         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72034         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72035         * sysdeps/unix/sysv/linux/bits/dirent.h
72036         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72037         (_DIRENT_MATCHES_DIRENT64): New macro.
72039         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72040         Define lockf64 as an alias.
72041         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72042         Define fseeko64 as an alias.
72043         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72044         Define ftello64 as an alias.
72045         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72046         Define _IO_fgetpos64 and fgetpos64 as aliases.
72047         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72048         Define _IO_fsetpos64 and fsetpos64 as aliases.
72049         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72050         Conditionalize body on this.
72051         * libio/fseeko64.c: Likewise.
72052         * libio/ftello64.c: Likewise.
72053         * libio/iofgetpos64.c: Likewise.
72054         * libio/iofsetpos64.c: Likewise.
72055         * sysdeps/wordsize-64/lockf.c: File removed.
72056         * sysdeps/wordsize-64/lockf64.c: File removed.
72057         * sysdeps/wordsize-64/fseeko.c: File removed.
72058         * sysdeps/wordsize-64/fseeko64.c: File removed.
72059         * sysdeps/wordsize-64/ftello.c: File removed.
72060         * sysdeps/wordsize-64/ftello64.c: File removed.
72061         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72062         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72063         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72064         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72065         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72066         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72067         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72068         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72069         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72070         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72071         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72072         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72073         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72074         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72076         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72077         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72078         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72079         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72080         [defined __arch64__ || defined __sparcv9]
72081         (__OFF_T_MATCHES_OFF64_T): New macro.
72082         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72083         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72084         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72085         (__OFF_T_MATCHES_OFF64_T): New macro.
72087 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72089         * stdlib/secure-getenv.c (__secure_getenv): Replace
72090         GLIBC_2_16 with GLIBC_2_17.
72092 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72094         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72095         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72097 2012-08-03  David S. Miller  <davem@davemloft.net>
72099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72101 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72103         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72104         Remove.
72105         (__ASSUME_CORRECT_SI_PID): Likewise.
72106         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72107         (__ASSUME_TMPFS_NAME): Likewise.
72108         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72109         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72110         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72111         (HAVE_AUX_SECURE): Make definition unconditional.
72112         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72113         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72115 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72117         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72118         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72119         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72120         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72121         __eloop_threshold instead of SYMLOOP_MAX.
72123         * sysdeps/generic/eloop-threshold.h: New file.
72124         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72125         of MAXSYMLINKS.
72126         * elf/chroot_canon.c (chroot_canon): Likewise.
72128 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72130         [BZ #13717]
72131         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72132         Change to 2.6.0 everywhere.
72133         * sysdeps/unix/sysv/linux/configure: Regenerated.
72134         * sysdeps/unix/sysv/linux/kernel-features.h
72135         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72136         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72137         kernel versions.
72138         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72139         (__ASSUME_FUTEX_REQUEUE): Remove.
72140         (__ASSUME_STATFS64): Define unconditionally.
72141         (__ASSUME_AT_SECURE): Likewise.
72142         (__ASSUME_CORRECT_SI_PID): Likewise.
72143         (__ASSUME_TGKILL): Define without depending on kernel version for
72144         i386.
72145         (__ASSUME_UTIMES): Likewise.
72146         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72147         kernel version.
72148         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72149         (__ASSUME_TMPFS_NAME): Likewise.
72150         * README: Update reference to Linux kernel versions.
72152 2012-08-02  Marek Polacek  <polacek@redhat.com>
72154         [BZ #14150]
72155         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72156         libc_cv_asm_type_prefix with %.
72157         * configure: Regenerated.
72158         * include/libc-symbols.h: Remove comment about
72159         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72160         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72161         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72162         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72163         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72164         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72165         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72166         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72167         * elf/tst-unique2mod1.c: Likewise.
72168         * elf/tst-unique1mod2.c: Likewise.
72169         * elf/tst-unique1mod1.c: Likewise.
72170         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72171         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72172         Replace ASM_TYPE_DIRECTIVE with .type.
72173         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72174         * sysdeps/i386/sysdep.h: Likewise.
72175         * sysdeps/x86_64/sysdep.h: Likewise.
72176         * sysdeps/sh/sysdep.h: Likewise.
72177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72178         Do not define ASM_TYPE_DIRECTIVE.
72179         * sysdeps/powerpc/sysdep.h: Likewise.
72180         * sysdeps/powerpc/powerpc32/sysdep.h:
72181         Replace ASM_TYPE_DIRECTIVE with .type.
72182         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72183         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72184         * sysdeps/i386/fpu/e_powf.S: Likewise.
72185         * sysdeps/i386/fpu/e_expl.S: Likewise.
72186         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72187         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72188         * sysdeps/i386/fpu/e_pow.S: Likewise.
72189         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72190         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72191         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72192         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72193         * sysdeps/i386/fpu/e_log2.S: Likewise.
72194         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72195         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72196         * sysdeps/i386/fpu/e_powl.S: Likewise.
72197         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72198         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72199         * sysdeps/i386/fpu/e_logl.S: Likewise.
72200         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72201         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72202         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72203         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72204         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72205         * sysdeps/i386/fpu/e_log.S: Likewise.
72206         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72207         * sysdeps/i386/fpu/e_logf.S: Likewise.
72208         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72209         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72210         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72211         * sysdeps/i386/fpu/e_log10.S: Likewise.
72212         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72213         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72214         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72215         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72216         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72217         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72218         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72219         * sysdeps/i386/i686/strtok.S: Likewise.
72220         * sysdeps/i386/i386-mcount.S: Likewise.
72221         * sysdeps/i386/strtok.S: Likewise.
72222         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
72223         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
72224         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
72225         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
72226         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
72227         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
72228         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
72229         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
72230         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
72231         * sysdeps/x86_64/_mcount.S: Likewise.
72232         * sysdeps/x86_64/strtok.S: Likewise.
72233         * sysdeps/sh/_mcount.S: Likewise.
72235 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72237         * libio/iofopen.c: Include <fcntl.h>.
72238         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
72239         (_IO_fopen64, fopen64): Define as aliases.
72240         * libio/iofopen64.c: Include <fcntl.h>.
72241         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
72242         Conditionalize body on this.
72243         * sysdeps/wordsize-64/iofopen.c: File removed.
72244         * sysdeps/wordsize-64/iofopen64.c: File removed.
72246 2012-08-01  Marek Polacek  <polacek@redhat.com>
72248         * libc/Makeconfig: Use elf in place of binfmt-subdir.
72249         Use dlfcn directly instead of a variable.
72250         (binfmt-subdir): Do not define.
72251         (dlfcn): Likewise.
72253 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
72255         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
72256         Remove all definitions.
72257         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
72258         <kernel-features.h>.
72259         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72260         (miss_F_GETOWN_EX): Remove all definitions.
72261         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
72262         macro definition.
72263         [!__ASSUME_FCNTL64]: Remove conditional code.
72264         [__ASSUME_FCNTL64]: Make code unconditional.
72265         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
72266         <kernel-features.h>.
72267         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
72268         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
72269         (lockf64) [__NR_fcntl64]: Make code unconditional.
72270         (lockf64) [__ASSUME_FCNTL64]: Likewise.
72272         * sysdeps/unix/sysv/linux/kernel-features.h
72273         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
72274         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
72275         Make code unconditional.
72276         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72277         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
72279         [__NR_vfork]: Make code unconditional.
72280         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72281         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
72283         [__NR_vfork]: Make code unconditional.
72284         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
72285         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
72287 2012-08-01  Roland McGrath  <roland@hack.frob.com>
72289         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
72290         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
72292         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72293         Define mkstemp64 as an alias.
72294         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72295         Define mkstemps64 as an alias.
72296         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72297         Define mkostemp64 as an alias.
72298         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
72299         Define mkostemps64 as an alias.
72300         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
72301         Conditionalize body on this.
72302         * misc/mkostemp64.c: Likewise.
72303         * misc/mkostemps64.c: Likewise.
72304         * misc/mkstemps64.c: Likewise.
72305         * sysdeps/wordsize-64/mkstemp64.c: File removed.
72306         * sysdeps/wordsize-64/mkostemp64.c: File removed.
72307         * sysdeps/wordsize-64/mkostemp.c: File removed.
72308         * sysdeps/wordsize-64/mkstemp.c: File removed.
72309         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
72310         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
72311         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
72312         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
72314         [BZ #14138]
72315         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
72316         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
72317         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
72318         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
72320         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
72321         compat_symbol macros from <shlib-compat.h> rather than the underlying
72322         default_symbol_version and symbol_version macros, so that DEFAULT
72323         lines in shlib-versions are respected.
72324         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
72326 2012-08-01  Florian Weimer  <fweimer@redhat.com>
72328         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
72329         Declare with warn_unused_result.
72330         (setgid, setregid, setegid, setresgid): Likewise.
72331         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
72332         Likewise.
72333         * WUR-REPORT: Remove set*id functions.
72335 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
72337         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
72339 2012-07-31  Roland McGrath  <roland@hack.frob.com>
72341         [BZ #10191]
72342         * include/sys/socket.h (__libc_accept, __libc_accept4):
72343         Add attribute_hidden.
72344         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
72346         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
72347         use of PTR_MANGLE.
72348         * inet/getnetgrent_r.c (setup): Likewise.
72350         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
72352 2012-07-31  David S. Miller  <davem@davemloft.net>
72354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72356 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
72358         [BZ #13629]
72359         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
72360         value between 1.0 and 2.0 and smaller part has absolute value less
72361         than 1.0.
72362         * math/s_clog10.c (__clog10): Likewise.
72363         * math/s_clog10f.c (__clog10f): Likewise.
72364         * math/s_clog10l.c (__clog10l): Likewise.
72365         * math/s_clogf.c (__clogf): Likewise.
72366         * math/s_clogl.c (__clogl): Likewise.
72367         * math/libm-test.inc (clog_test): Add more tests.
72368         (clog10_test): Likewise.
72369         * sysdeps/i386/fpu/libm-test-ulps: Update.
72370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72372 2012-07-31  Florian Weimer  <fweimer@redhat.com>
72374         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
72375         Exit with zero in case no suitable GID is found, and write a
72376         message to standard error.
72378 2012-07-30  Roland McGrath  <roland@hack.frob.com>
72380         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
72381         rather than to 1.
72382         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
72383         (MAXPATHLEN): Removed.
72384         (NOGROUP, NODEV): New macros.
72385         (setbit, clrbit, isset, isclr): New macros.
72386         (howmany, roundup, powerof2): New macros.
72387         (DEV_BSIZE): New macro.
72389         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
72390         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
72392         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
72393         definition on [!__NO_LONG_DOUBLE_MATH].
72395         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
72396         PTR_MANGLE and PTR_DEMANGLE.
72398         * socket/accept4.c (accept4): Rename to __libc_accept4.
72399         Define accept4 as a weak alias.
72401         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
72402         on [_DIRENT_HAVE_D_TYPE].
72403         * io/ftw.c (ftw_dir): Likewise.
72405         * io/xmknod.c (__xmknod): Don't check PATH for being null.
72407         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
72409         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
72410         Use the BSD numbers rather than the arbitrary ones we had.
72411         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
72412         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
72413         (SIGXCPU, SIGXFSZ): New macros.
72414         (_NSIG): Now 32.
72416         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
72417         initializer on [_LIBC_REENTRANT].
72419         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
72420         definitions inside [_POSIX_MAPPED_FILES].
72422         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
72424         * dirent/opendir.c: Include <fcntl.h>.
72426         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
72427         (__libc_getspecific): Likewise.
72428         (__libc_key_create): Likewise.
72430         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
72431         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
72432         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
72433         (tmpfile64): Define as alias.
72434         * sysdeps/wordsize-64/tmpfile.c: File removed.
72435         * sysdeps/wordsize-64/tmpfile64.c: File removed.
72436         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
72437         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
72439         * stdio-common/vfscanf.c: Include <stdbool.h>.
72440         * nss/makedb.c: Likewise.
72441         * stdio-common/_i18n_number.h: Likewise.
72442         * argp/argp-help.c: Likewise.
72443         * posix/wordexp.c: Likewise.
72444         * sysdeps/posix/spawni.c: Likewise.
72445         * nss/nss_files/files-initgroups.c: Likewise.
72446         * stdio-common/reg-modifier.c: Include <stdlib.h>.
72447         * nss/nss_files/files-initgroups.c: Likewise.
72448         * nss/nss_db/db-netgrp.c: Likewise.
72449         * nss/nss_db/db-initgroups.c: Likewise.
72450         * io/fchmodat.c: Include <sys/stat.h>.
72452         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
72453         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
72455         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
72456         [HAVE_MMAP].
72458         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
72459         Add multiple inclusion protection.
72461 2012-07-27  David S. Miller  <davem@davemloft.net>
72463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72465 2012-07-27  Gary Benson  <gbenson@redhat.com>
72467         [BZ #14298]
72468         * elf/rtld.c: Include <stap-probe.h>.
72469         (dl_main): Added static probes "init_start" and "init_complete".
72470         * elf/dl-load.c: Include <stap-probe.h>.
72471         (lose): Take new parameter "nsid".
72472         Added static probe "map_failed".
72473         (_dl_map_object_from_fd): Pass namespace id to lose.
72474         Added static probe "map_start".
72475         (open_verify): Pass namespace id to lose.
72476         * elf/dl-open.c: Include <stap-probe.h>.
72477         (dl_open_worker) Added static probes "map_complete", "reloc_start"
72478         and "reloc_complete".
72479         * elf/dl-close.c: Include <stap-probe.h>.
72480         (_dl_close_worker): Added static probes "unmap_start" and
72481         "unmap_complete".
72482         * elf/rtld-debugger-interface.txt: New file documenting the above.
72484 2012-07-26  Roland McGrath  <roland@hack.frob.com>
72486         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
72487         rather than a string variable.
72488         * sunrpc/rpc_main.c (h_output): Likewise.
72489         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
72491 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
72493         * inet/check_native.c: New file.
72495 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
72497         [BZ #13629]
72498         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
72499         if larger part has absolute value 1.0.
72500         * math/s_clog10.c (__clog10): Likewise.
72501         * math/s_clog10f.c (__clog10f): Likewise.
72502         * math/s_clog10l.c (__clog10l): Likewise.
72503         * math/s_clogf.c (__clogf): Likewise.
72504         * math/s_clogl.c (__clogl): Likewise.
72505         * math/libm-test.inc (clog_test): Add more tests.
72506         (clog10_test): Likewise.
72507         * sysdeps/i386/fpu/libm-test-ulps: Update.
72508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72510         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
72511         (pltexit): Likewise.
72512         (La_regs): Likewise.
72513         (La_retval): Likewise.
72514         (int_retval): Likewise.
72515         Update #error for removed macros to refer only to definitions in
72516         tst-audit.h.
72517         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
72518         macro.
72519         (pltexit): Likewise.
72520         (La_regs): Likewise.
72521         (La_retval): Likewise.
72522         (int_retval): Likewise.
72523         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
72524         macro.
72525         (pltexit): Likewise.
72526         (La_regs): Likewise.
72527         (La_retval): Likewise.
72528         (int_retval): Likewise.
72529         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
72530         macro.
72531         (pltexit): Likewise.
72532         (La_regs): Likewise.
72533         (La_retval): Likewise.
72534         (int_retval): Likewise.
72535         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
72536         macro.
72537         (pltexit): Likewise.
72538         (La_regs): Likewise.
72539         (La_retval): Likewise.
72540         (int_retval): Likewise.
72541         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
72542         macro.
72543         (pltexit): Likewise.
72544         (La_regs): Likewise.
72545         (La_retval): Likewise.
72546         (int_retval): Likewise.
72547         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
72548         macro.
72549         (pltexit): Likewise.
72550         (La_regs): Likewise.
72551         (La_retval): Likewise.
72552         (int_retval): Likewise.
72553         * sysdeps/generic/tst-audit.h: Update comment to refer only to
72554         macro definitions in tst-audit.h.
72555         * sysdeps/i386/tst-audit.h: New file.
72556         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
72557         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
72558         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
72559         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
72560         * sysdeps/sh/tst-audit.h: Likewise.
72561         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
72562         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
72563         * sysdeps/x86_64/tst-audit.h: Likewise.
72565 2012-07-26  Andreas Jaeger  <aj@suse.de>
72567         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
72568         ptrace.
72570         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
72571         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
72572         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
72573         PTRACE_O_MASK.
72574         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
72575         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
72576         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
72578         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
72579         value.
72581         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
72582         _sigsys.
72583         (si_call_addr, si_syscall, si_arch): Define new macro.
72584         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
72585         _sigsys.
72586         (si_call_addr, si_syscall, si_arch): Define new marcro.
72587         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
72588         _sigsys.
72589         (si_call_addr, si_syscall, si_arch): Define new macro.
72590         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
72591         _sigsys.
72592         (si_call_addr, si_syscall, si_arch): Define new macro.
72594 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72596         [BZ #13717]
72597         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72598         Change to 2.4.21 where previously 2.4.1.
72599         * sysdeps/unix/sysv/linux/configure: Regenerated.
72600         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
72601         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
72602         Linux kernel version.
72603         (__ASSUME_STD_AUXV): Remove.
72604         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
72605         kernel version.
72606         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
72607         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
72608         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
72609         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
72610         (__ASSUME_NETLINK_SUPPORT): Likewise.
72611         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
72612         (__no_netlink_support): Remove conditional definition.
72613         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
72614         Remove.
72615         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72616         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
72617         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
72618         (if_nameindex_ioctl): Remove.
72619         (if_nameindex_netlink): Do not handle __no_netlink_support.
72620         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72621         code.
72622         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
72623         Remove conditional code.
72624         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
72625         code.
72626         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
72627         unconditional.
72628         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
72629         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
72630         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
72631         Remove.
72632         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
72633         [!__ASSUME_STD_AUXV]: Remove conditional code.
72634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
72635         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
72636         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
72637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
72638         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
72639         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72640         code.
72641         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
72643         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
72644         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72645         conditional code.
72646         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
72647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
72648         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
72649         code.
72650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
72651         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
72652         conditional code.
72653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
72654         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72655         code unconditional.
72656         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72657         conditional code.
72658         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72659         unconditional.
72660         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72661         conditional code.
72662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72663         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72664         unconditional.
72665         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72666         conditional code.
72667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
72668         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72669         code unconditional.
72670         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72671         conditional code.
72672         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72673         unconditional.
72674         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72675         conditional code.
72676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
72677         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
72678         code unconditional.
72679         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72680         conditional code.
72681         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
72682         unconditional.
72683         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
72684         conditional code.
72686 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
72688         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
72689         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
72690         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
72691         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
72692         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
72693         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
72694         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
72695         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
72696         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
72697         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
72698         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
72699         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
72700         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
72701         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
72702         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
72703         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
72704         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
72705         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
72706         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
72707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
72708         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
72709         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
72710         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72712 2012-07-25  Florian Weimer  <fweimer@redhat.com>
72714         * Versions.def: Add GLIBC_2.17.
72715         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
72716         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
72717         Introduce __libc_secure_getenv.
72718         * stdlib/Versions (2.17): Add secure_getenv
72719         (GLIBC_PRIVATE): Add __libc_secure_getenv.
72720         * stdlib/secure-getenv.c: Rename __secure_getenv to
72721         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
72722         symbol __secure_getenv for GLIBC_2.0.
72723         * stdlib/tst-secure-getenv.c: New.
72724         * stdlib/Makefile (tests): Add testcase.
72725         * manual/startup.texi (Environment Access): Document
72726         secure_getenv.
72727         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
72728         __libc_secure_getenv.
72729         * inet/ruserpass.c (ruserpass): Likewise.
72730         * malloc/mtrace.c (mtrace): Likewise.
72731         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
72732         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
72733         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
72734         * sysdeps/posix/tempname.c: Likewise.  Evaluate
72735         HAVE_SECURE_GETENV.
72736         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
72737         __secure_getenv to __libc_secure_getenv.
72738         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
72739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72740         Likewise.
72741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72742         Likewise.
72743         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72745         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72748         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72751 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
72753         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
72754         (struct La_i86_retval): Likewise.
72755         (struct La_x86_64_regs): Likewise.
72756         (struct La_x86_64_retval): Likewise.
72757         (struct La_x32_regs): Likewise.
72758         (struct La_x32_retval): Likewise.
72759         (struct La_ppc32_regs): Likewise.
72760         (struct La_ppc32_retval): Likewise.
72761         (struct La_ppc64_regs): Likewise.
72762         (struct La_ppc64_retval): Likewise.
72763         (struct La_sh_regs): Likewise.
72764         (struct La_sh_retval): Likewise.
72765         (struct La_s390_32_regs): Likewise.
72766         (struct La_s390_32_retval): Likewise.
72767         (struct La_s390_64_regs): Likewise.
72768         (struct La_s390_64_retval): Likewise.
72769         (struct La_sparc32_regs): Likewise.
72770         (struct La_sparc32_retval): Likewise.
72771         (struct La_sparc64_regs): Likewise.
72772         (struct La_sparc64_retval): Likewise.
72773         (struct audit_ifaces): Remove architecture-specific pltenter and
72774         pltexit members.
72775         * sysdeps/i386/ldsodefs.h: New file.
72776         * sysdeps/powerpc/ldsodefs.h: Likewise.
72777         * sysdeps/s390/ldsodefs.h: Likewise.
72778         * sysdeps/sh/ldsodefs.h: Likewise.
72779         * sysdeps/sparc/ldsodefs.h: Likewise.
72780         * sysdeps/x86_64/ldsodefs.h: Likewise.
72782 2012-07-25  Marek Polacek  <polacek@redhat.com>
72784         [BZ #6808]
72785         * math/libm-test.inc (yn_test): Add another test.
72786         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
72787         to ERANGE when the result is +-Inf.
72788         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
72789         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
72790         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
72791         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
72793 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
72795         * conform/data/time.h-data (NULL): Use macro-constant.  Require
72796         equal to 0.
72797         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
72798         clock_t.
72799         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
72801 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
72803         * configure.in <sysdeps resolving>: Correct printing
72804         Implies_before.
72805         * configure: Regenerate.
72807 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
72809         * math/w_ilogb.c: Include <limits.h>.
72810         * math/w_ilogbl.c: Likewise.
72812 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72814         * manual/lang.texi (__va_copy): Document primarily as ISO C99
72815         va_copy.  Document allowing for unavailable va_copy only as
72816         pre-C99 compatibility.
72817         * manual/string.texi (Copying and Concatenation): Use va_copy
72818         instead of __va_copy in concat example.
72820 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
72822         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
72823         (__sendto): Use create_address_port.  Initialize APORT and deallocate
72824         it if not null.
72826         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
72827         with O_NOLINK passed to __file_name_lookup.
72829         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
72830         with O_NOLINK passed to __file_name_lookup.
72832         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
72833         negative N or less than NGIDS.
72835         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
72836         type to string_t.  Set ERANGE as errno and return it if NAME is not big
72837         enough.  Use memcpy instead of strncpy.
72839 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
72841         * elf/Makefile (check-data): Remove.
72842         (localplt.data): New vpath directive.
72843         ($(objpfx)check-localplt.out): Use localplt.data from vpath
72844         instead of $(check-data).
72845         * scripts/data/localplt-generic.data: Move to ...
72846         * sysdeps/generic/localplt.data: ... here.
72847         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
72848         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
72849         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
72850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
72851         ... here.
72852         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
72853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
72854         ... here.
72855         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
72856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
72857         ... here.
72858         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
72859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
72860         ... here.
72861         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
72862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
72863         ... here.
72864         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
72865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
72866         ... here.
72868 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72870         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
72871         PPC32 and PPC64 files.
72872         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
72873         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
72875 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72877         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
72878         __makecontext_ret to ...
72879         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
72880         ... here and call exit if uc_link is NULL.  New file.
72881         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
72882         __makecontext_ret.S.
72883         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
72884         __makecontext_ret to ...
72885         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
72886         ... here and call exit if uc_link is NULL.  New file.
72887         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
72888         __makecontext_ret.S.
72890 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72892         * elf/elf.h (R_390_IRELATIVE): New definition.
72893         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
72894         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
72895         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
72896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
72897         (elf_machine_lazy_rel): Likewise.
72898         * sysdeps/s390/dl-irel.h: New file.
72899         * sysdeps/s390/s390-64/memcpy.S: New asm code.
72900         * sysdeps/s390/s390-64/memset.S: New asm code.
72901         * sysdeps/s390/s390-64/memcmp.S: New asm code.
72902         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
72903         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
72904         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
72905         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
72906         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
72907         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
72908         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
72909         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
72910         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
72911         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
72912         * sysdeps/s390/s390-32/memcpy.S: New asm code.
72913         * sysdeps/s390/s390-32/memset.S: New asm code.
72914         * sysdeps/s390/s390-32/memcmp.S: New asm code.
72916 2012-07-17  Marek Polacek  <polacek@redhat.com>
72918         [BZ #14349]
72919         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
72920         * sysdeps/s390/s390-64/configure.in: Likewise.
72921         * sysdeps/sparc/configure.in: Likewise.
72922         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
72923         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
72924         * sysdeps/i386/configure.in: Likewise.
72925         * sysdeps/x86_64/configure.in: Likewise.
72926         * sysdeps/sh/configure.in: Likewise.
72927         * sysdeps/s390/s390-32/configure: Regenerated.
72928         * sysdeps/s390/s390-64/configure: Likewise.
72929         * sysdeps/x86_64/configure: Likewise.
72930         * sysdeps/sh/configure: Likewise.
72931         * sysdeps/powerpc/powerpc64/configure: Likewise.
72932         * sysdeps/powerpc/powerpc32/configure: Likewise.
72933         * sysdeps/sparc/configure: Likewise.
72934         * sysdeps/i386/configure: Likewise.
72936         * elf/dl-open.c: Comment fixes.
72938 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
72940         * Makefile [CXX] (check-data): Remove.
72941         [CXX] (c++-types.data): New vpath directive.
72942         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
72943         vpath.  Do not allow for C++ type data being missing.
72944         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72945         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72946         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72947         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72948         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72949         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72950         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72952         ... here.
72953         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72955         ... here.
72956         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72958         ... here.
72959         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72961         ... here.
72962         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72964         ... here.
72965         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72967         ... here.
72968         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72970         ... here.
72971         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72974         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72975         definitions to architecture-specific files.
72976         (TLS_IE): Likewise.
72977         (TLS_LD): Likewise.
72978         (TLS_GD): Likewise.
72979         * sysdeps/i386/tls-macros.h: New file.
72980         * sysdeps/powerpc/tls-macros.h: Likewise.
72981         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72982         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72983         * sysdeps/sh/tls-macros.h: Likewise.
72984         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72985         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72986         * sysdeps/x86_64/tls-macros.h: Likewise.
72988 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72990         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72991         zero value for regular exit case.
72993         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72994         (__start_context): Preserve zero value for regular exit case.
72996 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72997             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72999         * manual/setjmp.texi (setcontext): Clarify normal process
73000         termination when uc_link is the null pointer.
73001         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73002         exit call.
73004 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73006         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73007         preprocessor.  Test for each exception mask separately.
73009 2012-07-16  Andreas Jaeger  <aj@suse.de>
73011         * po/ru.po: Update from translation team.
73013 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73015         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73016         equal to 0.
73017         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73018         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73019         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73020         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73021         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73023 2012-07-13  Andreas Jaeger  <aj@suse.de>
73025         * po/fr.po: Update from translation team.
73027 2012-07-12  Marek Polacek  <polacek@redhat.com>
73029         [BZ #14173]
73030         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73031         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73032         loop condition.
73034 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73036         [BZ #13717]
73037         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73038         Change to 2.4.1 where previously 2.4.0.
73039         * sysdeps/unix/sysv/linux/configure: Regenerated.
73040         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73041         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73042         version.
73043         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73044         (__ASSUME_AT_CLKTCK): Remove.
73045         (__ASSUME_AT_PAGESIZE): Likewise.
73046         (__ASSUME_AT_XID): Likewise.
73047         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73048         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73049         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73050         unconditionally.
73051         (HAVE_AUX_PAGESIZE): Likewise.
73052         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73053         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73054         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73056 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73058         [BZ #14307]
73059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73060         the temporary buffer used to invoke __gethostbyname2_r,
73061         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73062         host_data / struct gaih_addrtuple.
73063         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73064         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73065         header file nss/nsswitch.h.
73066         * nss/nsswitch.h (global scope): Add definition of implementation
73067         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73068         resolv/nss_dns/dns-host.c).
73070 2012-07-11  Andreas Jaeger  <aj@suse.de>
73072         * po/fr.po: Update from translation team.
73074         * po/sv.po: Update from translation team
73075         * po/fr.po: Another update from translation team.
73077 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73079         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73080         for subnormals or multiply small sinh result by itself.
73081         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73084 2012-07-11  David S. Miller  <davem@davemloft.net>
73086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73088 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73090         [BZ #14347]
73091         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73092         (INTERNAL_MARK): Shift it here.
73094 2012-07-10  Marek Polacek  <polacek@redhat.com>
73096         [BZ #14151]
73097         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73098         libc_cv_asm_global_directive with .globl.
73099         * configure: Regenerated.
73100         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73101         with .globl.
73102         * sysdeps/i386/configure: Regenerated.
73103         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73104         with .globl.
73105         * sysdeps/x86_64/configure: Regenerated.
73106         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73107         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73108         * elf/tst-unique2mod2.c: Likewise.
73109         * elf/tst-unique2mod1.c: Likewise.
73110         * elf/tst-unique1mod2.c: Likewise.
73111         * elf/tst-unique1mod1.c: Likewise.
73112         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73113         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73114         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73115         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73116         * sysdeps/mach/sysdep.h: Likewise.
73117         * sysdeps/i386/sysdep.h: Likewise.
73118         * sysdeps/i386/i386-mcount.S: Likewise.
73119         * sysdeps/x86_64/_mcount.S: Likewise.
73120         * sysdeps/x86_64/sysdep.h: Likewise.
73121         * sysdeps/sh/_mcount.S: Likewise.
73122         * sysdeps/sh/sysdep.h: Likewise.
73123         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73124         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73125         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73126         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73127         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73128         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73129         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73130         * locale/localeinfo.h: Likewise.
73131         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73132         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73134 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73136         [BZ #14336]
73137         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73138         system".
73139         * manual/message.texi (The Uniforum approach): Likewise.
73140         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73141         (glibc iconv Implementation): Likewise.
73143 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73145         [BZ #14337]
73146         * math/s_clog.c (__clog): Avoid scaling a value down where that
73147         could result in underflow.
73148         * math/s_clog10.c (__clog10): Likewise.
73149         * math/s_clog10f.c (__clog10f): Likewise.
73150         * math/s_clog10l.c (__clog10l): Likewise.
73151         * math/s_clogf.c (__clogf): Likewise.
73152         * math/s_clogl.c (__clogl): Likewise.
73153         * math/libm-test.inc (clog_test): Add more tests.
73154         (clog10_test): Likewise.
73155         * sysdeps/i386/fpu/libm-test-ulps: Update.
73156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73158 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73160         [BZ #14283]
73161         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73162         by 7 not 8 to examine high bit of fractional part.
73164         [BZ #14042]
73165         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73166         for call to __mcount_internal.
73167         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73168         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73169         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73171 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73173         [BZ #14154]
73174         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73175         approximation for values within 0x1p-13f of an odd multiple of
73176         pi/4.
73177         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73178         exception.  Add more tests.
73179         * sysdeps/i386/fpu/libm-test-ulps: Update.
73181         [BZ #6778]
73182         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73183         inputs and return -1 for them.  Do not check for +Inf in case not
73184         reachable for +Inf.
73185         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73186         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73187         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73188         and return -1 for them.  Do not check for +Inf in case not
73189         reachable for +Inf.
73190         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73191         define.
73192         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73193         and return -1 for them.  Do not check for +Inf in case not
73194         reachable for +Inf.
73195         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73196         spurious underflow.
73197         * sysdeps/i386/fpu/libm-test-ulps: Update.
73198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73200 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73202         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73204 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73206         [BZ #14157]
73207         [BZ #14331]
73208         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73209         could result in spurious underflow.  Scale down values above
73210         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73211         * math/s_csqrtf.c (__csqrtf): Likewise.
73212         * math/s_csqrtl.c (__csqrtl): Likewise.
73213         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73214         spurious underflow.
73215         * sysdeps/i386/fpu/libm-test-ulps: Update.
73216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73218 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73220         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73221         xopen-msg.sed.
73222         * catgets/xopen-msg.awk: New file.
73223         * catgets/xopen-msg.sed: Removed.
73225         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
73226         po2text.sed.
73227         * intl/po2test.awk: New file.
73228         * intl/po2test.sed: Removed.
73230 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
73232         [BZ #14328]
73233         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
73234         or multiply small sinh result by itself.
73235         * math/s_ctanf.c (__ctanf): Likewise.
73236         * math/s_ctanh.c (__ctanh): Likewise.
73237         * math/s_ctanhf.c (__ctanhf): Likewise.
73238         * math/s_ctanhl.c (__ctanhl): Likewise.
73239         * math/s_ctanl.c (__ctanl): Likewise.
73240         * math/libm-test.inc (ctan_test_tonearest): New function.
73241         (ctan_test_towardzero): Likewise.
73242         (ctan_test_downward): Likewise.
73243         (ctan_test_upward): Likewise.
73244         (ctanh_test_tonearest): Likewise.
73245         (ctanh_test_towardzero): Likewise.
73246         (ctanh_test_downward): Likewise.
73247         (ctanh_test_upward): Likewise.
73248         (main): Call these new functions.
73249         * sysdeps/i386/fpu/libm-test-ulps: Update.
73250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73252 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
73254         * .gitignore: Delete /ports entry.
73256 2012-07-03  Andreas Jaeger  <aj@suse.de>
73258         * po/bg.po: Update from translation team.
73259         * po/cs.po: Likewise.
73260         * po/de.po: Likewise.
73261         * po/hr.po: Likewise.
73262         * po/nl.pl: Likewise.
73263         * po/pl.po: Likewise.
73264         * po/vi.po: Likewise.
73266 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
73268         * Makeconfig [!+link] (+link-before-libc): New variable.
73269         [!+link] (+link-after-libc): Likewise.
73270         [!+link] (+link-tests): Likewise.
73271         [!+link] (+link): Define in terms of $(+link-before-libc) and
73272         $(+link-after-libc).
73273         [!+link-static] (+link-static-before-libc): New variable.
73274         [!+link-static] (+link-static-after-libc): Likewise.
73275         [!+link-static] (+link-static-tests): Likewise.
73276         [!+link-static] (+link-static): Define in terms of
73277         $(+link-static-before-libc) and $(+link-static-after-libc).
73278         [build-shared] (link-libc-before-gnulib): New variable.
73279         [build-shared] (link-libc-tests): Likewise.
73280         [build-shared] (link-libc): Define in terms of
73281         $(link-libc-before-gnulib).
73282         [!build-shared] (link-libc-tests): New variable.
73283         (link-libc-static-tests): New variable.
73284         [!gnulib] (gnulib-arch): New variable.
73285         [!gnulib] (gnulib-tests): Likewise.
73286         [!gnulib] (static-gnulib-arch): Likewise.
73287         [!gnulib] (static-gnulib-tests): Likewise.
73288         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
73289         Define with "=" instead of ":=".
73290         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
73291         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
73292         * Rules (binaries-all-notests): New variable.
73293         (binaries-all-tests): Likewise.
73294         (binaries-static-notests): Likewise.
73295         (binaries-static-tests): Likewise.
73296         (binaries-all): Define using $(binaries-all-notests) and
73297         $(binaries-all-tests).
73298         (binaries-static): Define using $(binaries-static-notests) and
73299         $(binaries-static-tests).
73300         (binaries-shared-tests): New variable.
73301         (binaries-shared-notests): Likewise.
73302         (binaries-shared): Remove variable.
73303         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
73304         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
73305         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
73306         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
73307         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
73308         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
73309         * elf/Makefile (sln-modules): New variable.
73310         (extra-objs): Add $(sln-modules:=.o).
73311         (ldconfig-modules): Add static-stubs.
73312         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
73313         * elf/static-stubs.c: New file.
73315         [BZ #14283]
73316         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
73317         by 7 not 8 to examine high bit of fractional part.  Use volatile
73318         variables when splitting into final array of floats if
73319         __FLT_EVAL_METHOD__ != 0.
73320         * math/libm-test.inc (cos_test): Add another test.
73321         (sin_test): Likewise.
73322         * sysdeps/i386/fpu/libm-test-ulps: Update.
73324         [BZ #14273]
73325         * math/libm-test.inc (cosh_test): Add more tests.
73327         * version.h (RELEASE): Set to "development".
73328         (VERSION): Set to "2.16.90".
73330 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
73332         * NEWS: Update copyright. Remove last-updated date.
73333         Mention math library bug fixes and timezone data changes.
73334         * README: Mention GNU/Hurd, x32, and HPPA support status.
73336 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
73338         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
73340 2012-06-27  Andreas Jaeger  <aj@suse.de>
73342         * manual/contrib.texi (Contributors): Add Samuel Thibault.
73344 2012-06-25  Andreas Jaeger  <aj@suse.de>
73346         * sysdeps/s390/fpu/libm-test-ulps: Update.
73348 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
73349             Thomas Schwinge  <thomas@codesourcery.com>
73351         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
73352         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
73353         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
73354         fanotify_mark.
73356 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
73358         * sysdeps/mach/start.c: Remove file.
73359         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
73360         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
73361         * sysdeps/sh/init-first.c: Likewise.
73363         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
73364         registers for frame unwinding purposes, add CFI directives.
73365         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73366         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
73367         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
73368         Likewise.
73370         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
73371         __fortify_fail returning.
73372         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
73374         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
73375         sysdeps/sh/____longjmp_chk.S.
73376         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
73377         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
73378         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
73379         (gen-as-const-headers): Append sigaltstack-offsets.sym.
73381         * sysdeps/sh/abort-instr.h: New file.
73382         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
73383         process in case exit returns.
73385         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
73386         initialize the GOT register before use.
73388         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
73389         calculation of ARGC > 4.
73391         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
73392         meaningful names to some local labels.
73394 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73395             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73397         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
73398         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
73399         (__arch_compare_and_exchange_val_16_acq): Likewise.
73400         (__arch_compare_and_exchange_val_32_acq): Likewise.
73401         (atomic_exchange_and_add): Fix gUSA sequence.
73402         (atomic_add): Likewise.
73403         (atomic_add_negative): Likewise.
73404         (atomic_add_zero): Likewise.
73405         (atomic_bit_test_set): Likewise.
73407 2012-06-22  Andreas Schwab  <schwab@redhat.com>
73409         [BZ #13579]
73410         * include/link.h (struct link_map): Add l_free_initfini.
73411         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
73412         l_initfini.
73413         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
73414         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
73415         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
73416         set.
73418 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
73420         * configure.in: Use AC_LANG_SOURCE.
73421         * configure: Regenerate.
73423 2012-06-22  Roland McGrath  <roland@hack.frob.com>
73425         * configure.in (libc_cv_localstatedir): New substituted variable.
73426         * configure: Regenerated.
73427         * config.make.in (localstatedir): New variable, substituted from
73428         libc_cv_localstatedir.
73429         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
73430         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
73431         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
73432         * sysdeps/gnu/configure: Regenerated.
73434 2012-06-21  Jeff Law  <law@redhat.com>
73436         [BZ #14277]
73437         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
73438         free.  Simplify list management for _LIBC case.
73440 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
73442         [BZ #14273]
73443         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
73444         Clear sign bit of 64-bit integer value before comparing against
73445         overflow value.
73447         * sysdeps/mach/configure: Regenerated.
73449 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
73451         [BZ #14278]
73452         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
73454 2012-06-21  Jeff Law  <law@redhat.com>
73456         [BZ #13882]
73457         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
73458         uint16_t for elements in the "seen" array to avoid char overflows.
73459         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73460         * elf/dl-open.c (dl_open_worker): Likewise.
73462 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
73464         * scripts/list-sources.sh: Scan PORTS for translations.
73465         * po/libc.pot: Regenerated.
73467 2012-06-21  Andreas Jaeger  <aj@suse.de>
73469         [BZ #12194]
73470         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
73471         warning.
73472         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
73473         * bits/byteswap-16.h (__bswap_16): Likewise.
73474         * bits/byteswap.h (__bswap_constant_16): Likewise.
73476 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
73478         [BZ #14117]
73479         * sysdeps/i386/fpu_control.h: Removed.
73480         * sysdeps/x86_64/fpu_control.h: Moved to ...
73481         * sysdeps/x86/fpu_control.h: Here.
73483         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
73484         (_FPU_SETCW): Likewise.
73486 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
73488         [BZ #14117]
73489         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
73490         * sysdeps/x86/fpu/bits/mathinline.h: This.
73491         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
73493         [BZ #14050]
73494         [BZ #14117]
73495         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
73496         functions if __x86_64__ is defined.
73498 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
73500         * string/endian.h: Add !__ASSEMBLER__ condition for including
73501         conversion interfaces.
73503 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
73505         [BZ #14241]
73506         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
73507         of ABS(x) in calculating zero to negative powers other than odd
73508         integers.
73509         * math/libm-test.inc (pow_test): Add more tests.
73511 2012-06-15  Andreas Jaeger  <aj@suse.de>
73513         * manual/contrib.texi (Contributors): Update entry of Liubov
73514         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
73515         Machado Filho.
73517 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
73519         * string/string.h: Add __wur to GNU version of strerror_r.
73521 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
73523         [BZ #14229]
73524         * string/Makefile (tests): Add tst-strtok_r.
73525         * string/tst-strtok_r.c: New file.
73526         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
73527         RAX_LP/RDX_LP on SAVE_PTR.
73529 2012-06-14  Roland McGrath  <roland@hack.frob.com>
73531         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
73533 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
73535         * libm_test.inc (csqrt_test): Allow more spurious underflow
73536         exceptions.
73537         (j0_test): Likewise.
73538         (j1_test): Likewise.
73539         (y0_test): Likewise.
73540         (y1_test): Likewise.
73542 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
73544         * po/Makefile (libc.pot): Use UTF-8 charset.
73546 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
73548         [BZ #14210]
73549         Suppress sign-conversion warning from FD_SET.
73550         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
73551         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
73552         not unsigned long int.
73553         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
73555 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
73557         [BZ #14050]
73558         [BZ #14117]
73559         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
73560         __extern_always_inline instead of __extern_inline.
73561         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
73562         (__signbit): Likewise.
73563         (__signbitl): Support C++ namespace.
73564         (lrintf): New inline function.
73565         (lrint): Likewise.
73566         (llrintf): Likewise.
73567         (llrint): Likewise.
73568         (fmaxf): Likewise.
73569         (fmax): Likewise.
73570         (fminf): Likewise.
73571         (fmin): Likewise.
73572         (rint): Likewise.
73573         (rintf): Likewise.
73574         (ceil): Likewise.
73575         (ceilf): Likewise.
73576         (floor): Likewise.
73577         (floorf): Likewise.
73578         (nearbyint): Likewise.
73579         (nearbyintf): Likewise.
73581 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
73583         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
73584         non-default versions.
73586 2012-06-11  Roland McGrath  <roland@hack.frob.com>
73588         [BZ #14218]
73589         * manual/argp.texi (Argp): Reword argp_parse description slightly.
73591 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
73593         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
73594         (FE_UPWARD, FE_DOWNWARD): Don't define.
73595         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
73596         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73598         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
73599         reading it.
73600         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73601         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73603 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73605         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73606         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
73607         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
73608         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
73610 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
73612         [BZ #14117]
73613         * sysdeps/i386/fpu/bits/fenv.h: Removed.
73614         * sysdeps/i386/fpu/Implies: New file.
73615         * sysdeps/x86_64/fpu/Implies: Likewise.
73616         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
73617         * sysdeps/x86/fpu/bits/fenv.h: This.
73619         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
73620         __SSE_MATH__.
73622 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73624         [BZ #14134]
73625         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
73626         character 0xffff that matches the last element of the
73627         conversion table.
73629 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73631         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
73632         fmodl commit.
73634 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73636         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
73637         values higher than 25.6283.
73639 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73641         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
73642         subnormal exponent extraction and add some __builtin_expect.
73643         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
73644         Fix for subnormal mantissa calculation.
73646 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
73648         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
73649         cpu2 is -1 and errno is not ENOSYS.
73651 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
73653         [BZ #14117]
73654         * sysdeps/i386/i486/bits/string.h: Renamed to ...
73655         * sysdeps/x86/bits/string.h: This.
73656         * sysdeps/x86_64/bits/string.h: Removed.
73658         * sysdeps/i386/i486/bits/string.h: Define inline functions only
73659         if not compiling for x86-64, but compiling for >= i486.
73661         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
73662         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
73664         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
73665         New macro from Linux kernel 3.4.0.
73666         (FP_XSTATE_MAGIC2): Likewise.
73667         (FP_XSTATE_MAGIC2_SIZE): Likewise.
73668         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
73669         (struct _fpx_sw_bytes): New struct.
73670         (struct _xsave_hdr): Likewise.
73671         (struct _ymmh_state): Likewise.
73672         (struct _xstate): Likewise.
73674         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
73675         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
73676         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
73677         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
73678         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
73679         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
73681         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
73682         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
73683         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
73684         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
73685         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
73686         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
73688 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73690         [BZ #13743]
73691         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
73692         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
73693         (sysdep_headers): Include sys/platform/ppc.h.
73694         * sysdeps/powerpc/test-gettimebase.c: Test for
73695         __ppc_get_timebase() to catch future ISA opcode/insn changes.
73696         * manual/Makefile (appendices): Include platform.texi.
73697         * manual/contrib.texi (Contributors): Update @node pointers.
73698         * manual/maint.texi (Maintenance): Likewise.
73699         (Platform): New node.
73700         * manual/platform.texi: New file.  Document the new features.
73702 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73703             Jakub Jelinek  <jakub@redhat.com>
73705         [BZ #14188]
73706         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
73707         where __builtin_expect is unavailable.
73709 2012-06-03  David S. Miller  <davem@davemloft.net>
73711         * stdlib/longlong.h: Updated from GCC.
73713 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
73715         [BZ #14042]
73716         * sysdeps/powerpc/powerpc32/mcount.c: New file.
73717         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
73718         __mcount_internal.
73719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73720         (GLIBC_2.16): Likewise.
73722 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73724         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
73726 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
73729         (default-abi): New variable.
73730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
73731         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
73732         variable.
73733         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
73734         Likewise.
73735         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
73736         Likewise.
73737         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
73738         Likewise.
73740         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
73741         definition.  Document in comment.
73743 2012-06-01  David S. Miller  <davem@davemloft.net>
73745         * stdlib/longlong.h: Updated from GCC.
73747 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73749         [BZ #14117]
73750         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
73751         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
73752         sys/debugreg.h sys/io.h here.
73753         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
73754         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
73755         sys/io.h.
73756         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
73757         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
73758         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
73759         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
73760         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
73761         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
73763         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
73764         Define only if __x86_64__ is defined.
73766 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
73768         [BZ #14048]
73769         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
73770         Use int64_t for variable i.
73771         * math/libm-test.inc (fmod_test): Add more tests.
73773         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
73774         z computation is not scheduled after fetestexcept.
73775         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
73776         Use math_force_eval instead of asm to ensure calculation scheduled
73777         before exception test.
73778         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
73779         Ensure a1 + u.d computation is not scheduled after fetestexcept.
73781 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
73783         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
73784         computation is not scheduled after fetestexcept.
73786 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
73788         [BZ #14117]
73789         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
73790         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
73792 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73794         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
73795         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73797 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73799         [BZ #14117]
73800         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
73801         <bits/wordsize.h>.
73802         (__WCHAR_MIN): Support __WORDSIZE == 64.
73803         (__WCHAR_MAX): Likewise.
73805         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
73806         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
73808         [BZ #14183]
73809         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
73810         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
73812         [BZ #14117]
73813         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
73814         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
73816         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
73817         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
73819         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
73820         Defined to 1 if __x86_64__ isn't defined.
73821         (_STAT_VER_LINUX_OLD): New.
73822         (st_atime): Remove duplicate.
73823         (st_mtime): Likewise.
73824         (st_ctime): Likewise.
73826 2012-05-31  David S. Miller  <davem@davemloft.net>
73828         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
73829         entries.
73831 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
73833         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
73834         gen-libm-test.pl.
73836         [BZ #14132]
73837         * elf/dl-reloc.c: Include <_itoa.h>.
73838         (_dl_reloc_bad_type): Remove use of INTUSE.
73839         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
73840         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
73841         * stdio-common/psiginfo.c (psiginfo): Likewise.
73842         * stdio-common/psignal.c (psignal): Likewise.
73843         * string/strsignal.c (strsignal): Likewise.
73844         * include/signal.h (_sys_siglist): Declare hidden proto.
73845         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
73846         INTVARDEF with libc_hidden_data_def.
73847         * stdio-common/itoa-udigits.c: Likewise.
73848         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
73849         (_itoa_lower_digits_internal): Remove declaration.
73850         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
73851         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
73852         (_sys_sigabbrev_internal): Remove aliases.
73853         (_sys_siglist): Define hidden alias.
73855 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
73857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73858         bits/sysctl.h.
73860 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
73862         [BZ #14117]
73863         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
73864         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
73866         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
73867         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
73868         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
73869         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
73870         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
73871         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
73873         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
73874         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
73875         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
73877         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
73878         with __addr.
73879         (insw): Likewise.
73880         (insl): Likewise.
73881         (outsb): Likewise.
73882         (outsw): Likewise.
73883         (outsl): Likewise.
73885         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
73886         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
73887         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
73889         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
73890         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
73891         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
73892         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
73893         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
73894         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
73896         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
73897         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
73899         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
73900         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
73902         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
73903         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
73904         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
73906         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
73907         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
73908         to ...
73909         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
73911         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
73912         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
73913         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
73915         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
73916         for x86-64.
73917         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
73919 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
73921         * math/math.h (M_El): Use two more decimal places.
73922         (M_LOG2El): Likewise.
73923         (M_LOG10El): Likewise.
73924         (M_LN2l): Likewise.
73925         (M_LN10l): Likewise.
73926         (M_PIl): Likewise.
73927         (M_PI_2l): Likewise.
73928         (M_PI_4l): Likewise.
73929         (M_1_PIl): Likewise.
73930         (M_2_PIl): Likewise.
73931         (M_2_SQRTPIl): Likewise.
73932         (M_SQRT2l): Likewise.
73933         (M_SQRT1_2l): Likewise.
73935 2012-05-31  David S. Miller  <davem@davemloft.net>
73937         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
73938         values between float registers.
73939         * sysdeps/sparc/sparc64/memset.S: Likewise.
73940         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
73942 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
73944         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73945         -D_FORTIFY_SOURCE=1.
73946         (CPPFLAGS-tst-longjmp_chk.c): Define.
73947         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73948         (CPPFLAGS-tst-longjmp_chk2.c): Define.
73949         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73950         CFLAGS-tst-wchar-h.c.
73952 2012-05-31  Marek Polacek  <polacek@redhat.com>
73954         [BZ #14132]
73955         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73956         __endmntent_internal): Remove declaration.
73957         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73958         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73959         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73961 2012-05-30  David S. Miller  <davem@davemloft.net>
73963         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73964         (___Q_simulate_exceptions): Use real FP ops rather than writing
73965         into the %fsr.
73966         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73967         Likewise.
73969 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73971         [BZ #14117]
73972         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73973         * sysdeps/x86/bits/xtitypes.h: This.
73975         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73976         * sysdeps/x86/bits/wordsize.h: This.
73978         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73979         * sysdeps/x86/bits/huge_vall.h: This.
73981         * sysdeps/i386/bits/select.h: Removed.
73982         * sysdeps/x86_64/bits/select.h: Renamed to ...
73983         * sysdeps/x86/bits/select.h: This.
73985         * sysdeps/i386/bits/setjmp.h: Removed.
73986         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73987         * sysdeps/x86/bits/setjmp.h: This.
73989         * sysdeps/i386/bits/mathdef.h: Removed.
73990         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73991         * sysdeps/x86/bits/mathdef.h: This.
73993 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73995         [BZ #14132]
73996         * include/sys/socket.h (__connect_internal)
73997         (__libc_sa_len_internal): Remove declaration.
73998         (__connect, __libc_sa_len): Declare hidden_proto.
73999         (SA_LEN): Remove use of INTUSE.
74000         * socket/connect.c: Add libc_hidden_def.
74001         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74002         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74003         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74004         alias.
74005         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74006         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74007         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74008         of adding _internal alias.
74010 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74012         [BZ #14117]
74013         * sysdeps/i386/bits/link.h: Removed.
74014         * sysdeps/i386/bits/linkmap.h: Likewise.
74015         * sysdeps/x86_64/bits/link.h: Renamed to ...
74016         * sysdeps/x86/bits/link.h: This.
74017         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74018         * sysdeps/x86/bits/linkmap.h: This.
74020         * sysdeps/i386/bits/endian.h: Removed.
74021         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74022         * sysdeps/x86/bits/endian.h: This.
74024         * sysdeps/i386/bits/byteswap.h: Removed.
74025         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74026         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74027         * sysdeps/x86/bits/byteswap.h: This.
74028         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74029         * sysdeps/x86/bits/byteswap-16.h: This.
74030         * sysdeps/i386/Implies: Add x86.
74031         * sysdeps/x86_64/Implies: Likewise.
74033 2012-05-30  David S. Miller  <davem@davemloft.net>
74035         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74036         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74037         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74038         (FP_TRAPPING_EXCEPTIONS): Define.
74039         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74040         (FP_TRAPPING_EXCEPTIONS): Define.
74041         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74042         subnormals only when inexact has been signalled or underflow
74043         exceptions are enabled.
74044         (_FP_PACK_CANONICAL): Likewise.
74046 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74048         [BZ #14183]
74049         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74050         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74052 2012-05-30  Richard Henderson  <rth@twiddle.net>
74054         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74055         with #ifndef NOT_IN_libc.
74057         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74058         marked to avoid plt entry.
74060 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74062         [BZ #14112]
74063         * Makeconfig (default-abi): New macro.
74064         (abi-includes): Likewise.
74065         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74066         $(abi-$(default-abi)-lib-soname) for soname if defined.
74067         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74068         abi-variants.
74069         * Makefile (installed-stubs): Likewise.
74070         * include/stubs-biarch.h: Removed.
74071         * scripts/lib-names.awk: Only handle one library at a time.
74072         * scripts/soversions.awk: Remove WORDSIZE support.
74073         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74074         entries.
74075         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74076         Removed.
74077         (syscall-list-default-condition): Likewise.
74078         (syscall-list-default-condition): Likewise.
74079         (syscall-list-includes): Likewise.
74080         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74081         syscall-list-* with abi-*.  Handle undefined abi-variants.
74082         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74083         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74084         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74085         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74086         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74087         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74088         Removed.
74089         (syscall-list-32-options): Likewise.
74090         (syscall-list-32-condition): Likewise.
74091         (syscall-list-64-options): Likewise.
74092         (syscall-list-64-condition): Likewise.
74093         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74094         macro.
74095         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74096         Renamed to ...
74097         (abi-*): This.
74098         (abi-64-ld-soname): New macro.
74099         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74100         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74101         Renamed to ...
74102         (abi-*): This.
74103         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74104         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74106 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74108         * sysdeps/unix/sysv/linux/kernel-features.h
74109         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74110         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74111         include <kernel-features.h>.
74112         [!__NR_ftruncate64]: Remove conditional code.
74113         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74114         [__NR_ftruncate64]: Make code unconditional.
74115         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74116         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74117         include <kernel-features.h>.
74118         [!__NR_ftruncate64]: Remove conditional code.
74119         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74120         [__NR_ftruncate64]: Make code unconditional.
74121         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74123         include <kernel-features.h>.
74124         [!__NR_ftruncate64]: Remove conditional code.
74125         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74126         [__NR_ftruncate64]: Make code unconditional.
74127         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74129         include <kernel-features.h>.
74130         [!__NR_ftruncate64]: Remove conditional code.
74131         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74132         [__NR_ftruncate64]: Make code unconditional.
74133         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74135         * configure.in (libc_cv_fpie): Weaken to a compile test using
74136         LIBC_TRY_CC_OPTION.
74137         * configure: Regenerated.
74139 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74145         Refreshed.
74146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74152         Refreshed.
74154 2012-05-27  David S. Miller  <davem@davemloft.net>
74156         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74157         (___Q_zero): New.
74158         (__Q_simulate_exceptions): Return void.  Change to simulate
74159         exceptions by writing into the %fsr.
74160         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74161         (__Qp_handle_exceptions): Likewise.
74162         (numbers): Delete.
74163         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74164         __Qp_handle_exceptions.
74165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74166         __Qp_handle_exceptions.
74167         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74168         as unused and give dummy FP_RND_NEAREST initializer.
74169         (FP_INHIBIT_RESULTS): Define.
74170         (___Q_simulate_exceptions): Update declaration.
74171         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74172         formatting.
74173         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74174         as unused and give dummy FP_RND_NEAREST initializer.
74175         (__Qp_handle_exceptions): Update declaration.
74176         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74177         formatting.
74179 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74181         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74182         the temporary FPU control word.
74183         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74184         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74185         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74186         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74187         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74188         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74189         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74190         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74191         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74192         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74193         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74195 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74197         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74198         fields.
74200 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74202         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74203         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74204         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74205         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74206         Likewise.
74207         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74208         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74209         Likewise.
74211 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74213         * po/h.po: Update from translation team.
74215 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74217         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74219         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74220         handling of denormals.
74221         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74222         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
74223         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
74224         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
74225         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
74226         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
74227         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
74228         Likewise.
74230 2012-05-26  Marek Polacek  <polacek@redhat.com>
74232         [BZ #14152]
74233         * math/libm-test.inc (fma_test): Don't always expect underflow
74234         exception.
74236 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74238         [BZ #12416]
74239         * elf/tst-execstack.c: Include stackinfo.h.
74240         (do_test): Adjust test case to ensure that pthread_getattr_np
74241         behaviour remains the same after marking stack executable.
74243 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74245         * sysdeps/unix/sysv/linux/kernel-features.h
74246         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
74247         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
74248         kernel-features.h.
74249         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74250         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74251         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74252         kernel-features.h.
74253         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
74254         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
74256 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
74258         * configure.in: Define the default includes to being none.
74259         * configure: Regenerated.
74261 2012-05-25  Roland McGrath  <roland@hack.frob.com>
74263         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
74264         * sysdeps/x86_64/setjmp.S: Likewise.
74265         * sysdeps/i386/bsd-setjmp.S: Likewise.
74266         * sysdeps/i386/bsd-_setjmp.S: Likewise.
74267         * sysdeps/i386/setjmp.S: Likewise.
74268         * sysdeps/i386/__longjmp.S: Likewise.
74269         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74270         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
74272         * include/stap-probe.h: New file.
74273         * configure.in: Handle --enable-systemtap.
74274         * configure: Regenerated.
74275         * config.h.in (USE_STAP_PROBE): New #undef.
74276         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
74277         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
74278         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
74280 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
74282         [BZ #13717]
74283         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74284         to 2.4.0 where earlier.
74285         * sysdeps/unix/sysv/linux/configure: Regenerated.
74286         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
74287         <kernel-features.h>.
74288         [__ASSUME_32BITUIDS]: Make code unconditional.
74289         [!__ASSUME_32BITUIDS]: Remove conditional code.
74290         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
74291         <kernel-features.h>.
74292         [__ASSUME_32BITUIDS]: Make code unconditional.
74293         [!__ASSUME_32BITUIDS]: Remove conditional code.
74294         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
74295         [__ASSUME_32BITUIDS]: Make code unconditional.
74296         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
74297         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
74298         <kernel-features.h>.
74299         [__ASSUME_32BITUIDS]: Make code unconditional.
74300         [!__ASSUME_32BITUIDS]: Remove conditional code.
74301         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
74302         <kernel-features.h>.
74303         [__ASSUME_32BITUIDS]: Make code unconditional.
74304         [!__ASSUME_32BITUIDS]: Remove conditional code.
74305         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
74306         <kernel-features.h>.
74307         [__ASSUME_32BITUIDS]: Make code unconditional.
74308         [!__ASSUME_32BITUIDS]: Remove conditional code.
74309         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
74310         <kernel-features.h>.
74311         [__ASSUME_32BITUIDS]: Make code unconditional.
74312         [!__ASSUME_32BITUIDS]: Remove conditional code.
74313         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
74314         <kernel-features.h>.
74315         [__ASSUME_32BITUIDS]: Make code unconditional.
74316         [!__ASSUME_32BITUIDS]: Remove conditional code.
74317         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
74318         <kernel-features.h>.
74319         [__ASSUME_32BITUIDS]: Make code unconditional.
74320         [!__ASSUME_32BITUIDS]: Remove conditional code.
74321         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
74322         <kernel-features.h>.
74323         [__ASSUME_32BITUIDS]: Make code unconditional.
74324         [!__ASSUME_32BITUIDS]: Remove conditional code.
74325         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
74326         <kernel-features.h>.
74327         [__ASSUME_32BITUIDS]: Make code unconditional.
74328         [!__ASSUME_32BITUIDS]: Remove conditional code.
74329         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
74330         <kernel-features.h>.
74331         [__ASSUME_32BITUIDS]: Make code unconditional.
74332         [!__ASSUME_32BITUIDS]: Remove conditional code.
74333         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
74334         <kernel-features.h>.
74335         [__ASSUME_32BITUIDS]: Make code unconditional.
74336         [!__ASSUME_32BITUIDS]: Remove conditional code.
74337         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
74338         <kernel-features.h>.
74339         [__NR_setresgid] (__setresgid): Do not declare.
74340         [__ASSUME_32BITUIDS]: Make code unconditional.
74341         [!__ASSUME_32BITUIDS]: Remove conditional code.
74342         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
74343         <kernel-features.h>.
74344         [__NR_setresuid] (__setresuid): Do not declare.
74345         [__ASSUME_32BITUIDS]: Make code unconditional.
74346         [!__ASSUME_32BITUIDS]: Remove conditional code.
74347         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
74348         <kernel-features.h>.
74349         [__ASSUME_32BITUIDS]: Make code unconditional.
74350         [!__ASSUME_32BITUIDS]: Remove conditional code.
74351         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
74352         <kernel-features.h>.
74353         [__ASSUME_32BITUIDS]: Make code unconditional.
74354         [!__ASSUME_32BITUIDS]: Remove conditional code.
74355         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
74356         <kernel-features.h>.
74357         [__ASSUME_32BITUIDS]: Make code unconditional.
74358         [!__ASSUME_32BITUIDS]: Remove conditional code.
74359         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
74360         <kernel-features.h>.
74361         [__ASSUME_32BITUIDS]: Make code unconditional.
74362         [!__ASSUME_32BITUIDS]: Remove conditional code.
74363         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
74364         <kernel-features.h>.
74365         [__ASSUME_32BITUIDS]: Make code unconditional.
74366         [!__ASSUME_32BITUIDS]: Remove conditional code.
74367         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
74368         <kernel-features.h>.
74369         [__ASSUME_32BITUIDS]: Make code unconditional.
74370         [!__ASSUME_32BITUIDS]: Remove conditional code.
74371         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
74372         <kernel-features.h>.
74373         [__ASSUME_32BITUIDS]: Make code unconditional.
74374         [!__ASSUME_32BITUIDS]: Remove conditional code.
74375         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
74376         <kernel-features.h>.
74377         [__ASSUME_32BITUIDS]: Make code unconditional.
74378         [!__ASSUME_32BITUIDS]: Remove conditional code.
74379         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
74380         <kernel-features.h>.
74381         [__ASSUME_32BITUIDS]: Make code unconditional.
74382         [!__ASSUME_32BITUIDS]: Remove conditional code.
74383         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
74384         <kernel-features.h>.
74385         [__ASSUME_32BITUIDS]: Make code unconditional.
74386         [!__ASSUME_32BITUIDS]: Remove conditional code.
74387         * sysdeps/unix/sysv/linux/kernel-features.h
74388         (__ASSUME_SETRESUID_SYSCALL): Remove.
74389         (__ASSUME_SETRESGID_SYSCALL): Likewise.
74390         (__ASSUME_32BITUIDS): Likewise.
74391         (__ASSUME_LDT_WORKS): Likewise.
74392         (__ASSUME_O_DIRECTORY): Likewise.
74393         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
74394         architecture but not kernel version.
74395         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
74396         (__ASSUME_MMAP2_SYSCALL): Likewise.
74397         (__ASSUME_STAT64_SYSCALL): Likewise.
74398         (__ASSUME_IPC64): Likewise.
74399         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
74400         <kernel-features.h>.
74401         [__ASSUME_32BITUIDS]: Make code unconditional.
74402         [!__ASSUME_32BITUIDS]: Remove conditional code.
74403         * sysdeps/unix/sysv/linux/opendir.c: Do not include
74404         <kernel-features.h>.
74405         [__ASSUME_O_DIRECTORY]: Make code unconditional.
74406         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
74407         132096]: Remove conditional code.
74408         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
74409         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
74410         <kernel-features.h>.
74411         [__ASSUME_32BITUIDS]: Make code unconditional.
74412         [!__ASSUME_32BITUIDS]: Remove conditional code.
74413         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
74414         <kernel-features.h>.
74415         [__ASSUME_32BITUIDS]: Make code unconditional.
74416         [!__ASSUME_32BITUIDS]: Remove conditional code.
74417         * sysdeps/unix/sysv/linux/setegid.c: Do not include
74418         <kernel-features.h>.
74419         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
74420         unconditional.
74421         (__setresgid): Do not declare.
74422         [__ASSUME_32BITUIDS]: Make code unconditional.
74423         [!__ASSUME_32BITUIDS]: Remove conditional code.
74424         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
74425         <kernel-features.h>.
74426         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
74427         unconditional.
74428         (__setresuid): Do not declare.
74429         [__ASSUME_32BITUIDS]: Make code unconditional.
74430         [!__ASSUME_32BITUIDS]: Remove conditional code.
74431         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
74432         <kernel-features.h>.
74433         [__ASSUME_32BITUIDS]: Make code unconditional.
74434         [!__ASSUME_32BITUIDS]: Remove conditional code.
74435         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
74436         <kernel-features.h>.
74437         [__ASSUME_32BITUIDS]: Make code unconditional.
74438         [!__ASSUME_32BITUIDS]: Remove conditional code.
74440 2012-05-25  Richard Henderson  <rth@twiddle.net>
74442         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
74443         dl_hwcap to ifunc resolver.
74444         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
74445         elf_ifunc_invoke.
74446         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
74447         dl_hwcap to ifunc resolver.
74448         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
74450 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74452         [BZ #14153]
74453         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
74454         for |x| <= 2**-26, not 2**-57.
74455         * math/libm-test.inc (acos_test): Do not allow spurious underflow
74456         exception.
74458 2012-05-24  Jeff Law  <law@redhat.com>
74460         * stdio-common/Makefile (tests): Add bug25.
74461         * stdio-common/bug25.c: New test.
74463 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74465         [BZ #13576]
74466         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
74467         multiple of MALLOC_ALIGNMENT in size.
74468         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
74470 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74472         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
74473         Require >= 256.
74474         (FILENAME_MAX): Use macro-int-constant.
74475         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
74476         (_IOFBF): Use macro-int-constant.
74477         (_IOLBF): Likewise.
74478         (_IONBF): Likewise.
74479         (SEEK_CUR): Likewise.
74480         (SEEK_END): Likewise.
74481         (SEEK_SET): Likewise.
74482         (TMP_MAX): Likewise.
74483         (EOF): Use macro-int-constant.  Require < 0.
74484         (NULL): Use macro-constant.  Require == 0.
74485         (stdin): Require type to be FILE *.
74486         (stdout): Likewise.
74487         (stderr): Likewise.
74488         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
74489         macro-int-constant.
74490         (EXIT_SUCCESS): Likewise.
74491         (NULL): Use macro-constant.  Require == 0.
74492         (RAND_MAX): Use macro-int-constant.
74493         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
74494         [C99-based standards] (strtof): Require function.
74495         [C99-based standards] (strtold): Likewise.
74496         [C99-based standards] (strtoll): Likewise.
74497         [C99-based standards] (strtoull): Likewise.
74498         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
74499         [ISO || ISO99 || ISO11] (limits.h): Likewise.
74500         [ISO || ISO99 || ISO11] (math.h): Likewise.
74501         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
74502         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
74503         [ISO || ISO99 || ISO11] (*_t): Do not allow.
74505 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
74507         [BZ #14132]
74508         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
74509         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
74510         * intl/dgettext.c (DCGETTEXT): Likewise.
74511         * intl/gettext.c (DCGETTEXT): Likewise.
74512         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
74513         * posix/regex_internal.h (gettext): Likewise.
74514         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
74515         Remove declaration.
74516         * include/argz.h (__argz_count_internal)
74517         (__argz_stringify_internal): Remove declaration.
74518         (__argz_count, __argz_stringify): Declare hidden proto.
74519         * intl/dcgettext.c: Remove use of INTDEF.
74520         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
74521         * string/argz-stringify.c: Likewise.
74522         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74523         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74524         Declare hidden proto.
74525         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
74526         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
74527         Declare hidden proto.
74528         * include/stdio.h (__asprintf_internal): Don't declare.
74529         (__asprintf): Don't define as macro.  Declare hidden proto.
74530         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
74531         (__fsetlocking): Declare hidden proto.
74532         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
74533         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
74534         hidden proto.
74535         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
74536         (_IO_setlinebuf): Remove use of INTUSE.
74537         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
74538         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
74539         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
74540         Remove declaration.
74541         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
74542         (_IO_do_flush): Remove use of INTUSE.
74543         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
74544         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
74545         (_IO_adjust_column, _IO_least_wmarker)
74546         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
74547         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
74548         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
74549         (_IO_default_doallocate, _IO_wdefault_doallocate)
74550         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
74551         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
74552         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
74553         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
74554         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
74555         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
74556         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
74557         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
74558         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
74559         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
74560         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
74561         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
74562         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
74563         proto.
74564         (_IO_flush_all_internal, _IO_adjust_column_internal)
74565         (_IO_default_uflow_internal, _IO_default_finish_internal)
74566         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
74567         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
74568         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
74569         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
74570         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
74571         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
74572         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
74573         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
74574         (_IO_file_close_internal, _IO_file_close_it_internal)
74575         (_IO_file_underflow_internal, _IO_file_overflow_internal)
74576         (_IO_file_init_internal, _IO_file_attach_internal)
74577         (_IO_file_fopen_internal, _IO_file_read_internal)
74578         (_IO_file_sync_internal, _IO_file_seek_internal)
74579         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
74580         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
74581         (_IO_str_underflow_internal, _IO_str_overflow_internal)
74582         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
74583         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
74584         (_IO_list_all_internal, _IO_link_in_internal)
74585         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
74586         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
74587         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
74588         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
74589         (_IO_do_write_internal, _IO_padn_internal)
74590         (_IO_getline_info_internal, _IO_getline_internal)
74591         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
74592         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
74593         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
74594         (_IO_vfscanf_internal, _IO_vfprintf_internal)
74595         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
74596         (_IO_init_internal, _IO_un_link_internal): Don't declare.
74597         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
74598         with libc_hidden_ver, remove use of INTUSE.
74599         * libio/genops.c: Likewise.
74600         * libio/freopen.c: Likewise.
74601         * libio/freopen64.c: Likewise.
74602         * libio/iofclose.c: Likewise.
74603         * libio/iofdopen.c: Likewise.
74604         * libio/iofflush.c: Likewise.
74605         * libio/iofflush_u.c: Likewise.
74606         * libio/iofgets.c: Likewise.
74607         * libio/iofgets_u.c: Likewise.
74608         * libio/iofopen.c: Likewise.
74609         * libio/iofopncook.c: Likewise.
74610         * libio/iofread.c: Likewise.
74611         * libio/iofread_u.c: Likewise.
74612         * libio/ioftell.c: Likewise.
74613         * libio/iofwrite.c: Likewise.
74614         * libio/iogetline.c: Likewise.
74615         * libio/iogets.c: Likewise.
74616         * libio/iogetwline.c: Likewise.
74617         * libio/iopadn.c: Likewise.
74618         * libio/iopopen.c: Likewise.
74619         * libio/ioseekoff.c: Likewise.
74620         * libio/ioseekpos.c: Likewise.
74621         * libio/iosetbuffer.c: Likewise.
74622         * libio/iosetvbuf.c: Likewise.
74623         * libio/ioungetc.c: Likewise.
74624         * libio/ioungetwc.c: Likewise.
74625         * libio/iovdprintf.c: Likewise.
74626         * libio/iovsprintf.c: Likewise.
74627         * libio/iovsscanf.c: Likewise.
74628         * libio/memstream.c: Likewise.
74629         * libio/obprintf.c: Likewise.
74630         * libio/oldfileops.c: Likewise.
74631         * libio/oldiofclose.c: Likewise.
74632         * libio/oldiofdopen.c: Likewise.
74633         * libio/oldiofopen.c: Likewise.
74634         * libio/oldiopopen.c: Likewise.
74635         * libio/oldstdfiles.c: Likewise.
74636         * libio/putc.c: Likewise.
74637         * libio/setbuf.c: Likewise.
74638         * libio/setlinebuf.c: Likewise.
74639         * libio/stdfiles.c: Likewise.
74640         * libio/strops.c: Likewise.
74641         * libio/vasprintf.c: Likewise.
74642         * libio/vscanf.c: Likewise.
74643         * libio/vsnprintf.c: Likewise.
74644         * libio/vswprintf.c: Likewise.
74645         * libio/wfiledoalloc.c: Likewise.
74646         * libio/wfileops.c: Likewise.
74647         * libio/wgenops.c: Likewise.
74648         * libio/wmemstream.c: Likewise.
74649         * libio/wstrops.c: Likewise.
74650         * libio/__fpurge.c: Likewise.
74651         * libio/__fsetlocking.c: Likewise.
74652         * assert/assert.c: Likewise.
74653         * debug/fgets_chk.c: Likewise.
74654         * debug/fgets_u_chk.c: Likewise.
74655         * debug/fread_chk.c: Likewise.
74656         * debug/fread_u_chk.c: Likewise.
74657         * debug/gets_chk.c: Likewise.
74658         * debug/obprintf_chk.c: Likewise.
74659         * debug/vasprintf_chk.c: Likewise.
74660         * debug/vdprintf_chk.c: Likewise.
74661         * debug/vsnprintf_chk.c: Likewise.
74662         * debug/vsprintf_chk.c: Likewise.
74663         * malloc/mtrace.c: Likewise.
74664         * misc/error.c: Likewise.
74665         * misc/syslog.c: Likewise.
74666         * stdio-common/asprintf.c: Likewise.
74667         * stdio-common/fxprintf.c: Likewise.
74668         * stdio-common/getw.c: Likewise.
74669         * stdio-common/isoc99_fscanf.c: Likewise.
74670         * stdio-common/isoc99_scanf.c: Likewise.
74671         * stdio-common/isoc99_vfscanf.c: Likewise.
74672         * stdio-common/isoc99_vscanf.c: Likewise.
74673         * stdio-common/isoc99_vsscanf.c: Likewise.
74674         * stdio-common/printf-prs.c: Likewise.
74675         * stdio-common/printf_fp.c: Likewise.
74676         * stdio-common/printf_fphex.c: Likewise.
74677         * stdio-common/printf_size.c: Likewise.
74678         * stdio-common/putw.c: Likewise.
74679         * stdio-common/scanf.c: Likewise.
74680         * stdio-common/sprintf.c: Likewise.
74681         * stdio-common/tmpfile.c: Likewise.
74682         * stdio-common/vfprintf.c: Likewise.
74683         * stdio-common/vfscanf.c: Likewise.
74684         * stdlib/strfmon_l.c: Likewise.
74685         * sunrpc/openchild.c: Likewise.
74686         * sunrpc/xdr_stdio.c: Likewise.
74687         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
74688         * sysdeps/mach/hurd/tmpfile.c: Likewise.
74690 2012-05-24  Roland McGrath  <roland@hack.frob.com>
74692         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74694         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
74695         in the third column, to generate for the shared library an IFUNC
74696         that uses _dl_vdso_vsym.
74697         * Makerules (COMPILE.c, compile-stdin.c): New variables.
74698         * Makeconfig (object-suffixes-noshared): New variable.
74700         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
74701         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
74702         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
74703         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
74705         [BZ #14132]
74706         * include/sys/time.h (__gettimeofday): Remove macro.
74707         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
74708         * time/gettimeofday.c (__gettimeofday): Remove #undef.
74709         Remove INTDEF.
74710         (__gettimeofday): Add libc_hidden_def.
74711         (gettimeofday): Add libc_hidden_weak.
74712         * sysdeps/mach/gettimeofday.c: Likewise.
74713         * sysdeps/posix/gettimeofday.c: Likewise.
74714         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
74715         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
74716         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
74717         (__gettimeofday_internal): Remove strong_alias.
74718         (__gettimeofday): Add libc_hidden_def.
74719         (gettimeofday): Add libc_hidden_weak.
74720         * sysdeps/unix/syscalls.list (gettimeofday):
74721         Remove __gettimeofday_internal alias.
74723 2012-05-24  Daniel Jacobowitz  <drow@false.org>
74724             H.J. Lu  <hongjiu.lu@intel.com>
74726         [BZ #12495]
74727         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
74728         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
74729         (largebin_index_32_big): New.
74730         (largebin_index): Use it for 16-byte alignment.
74731         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
74732         correction with front_misalign.
74734 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
74736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
74737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
74738         Likewise.
74739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
74740         Likewise.
74741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
74742         Likewise.
74743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
74744         Likewise.
74745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
74746         Likewise.
74747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
74748         Likewise.
74749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
74750         Likewise.
74751         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
74752         Likewise.
74753         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
74754         Likewise.
74755         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
74756         Likewise.
74757         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
74758         Likewise.
74759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
74760         Likewise.
74762         * scripts/data/c++-types-x32-linux-gnu.data: New file.
74763         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
74765 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
74767         [BZ #10846]
74768         [BZ #14036]
74769         * math/libm-test.inc (exp_test): Add test from bug 14036.
74770         (pow_test): Add test from bug 10846.
74772         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
74773         and other flags.
74774         (special_function): Do not include flags in test name.
74775         (parse_args): Likewise.
74776         * sysdeps/i386/fpu/libm-test-ulps: Update.
74777         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74778         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
74779         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
74780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74782         * math/gen-libm-test.pl (%beautify): Add entries for underflow
74783         exceptions.
74784         * math/libm-test.inc ("Philosophy"): Update comment about
74785         exception testing.
74786         (UNDERFLOW_EXCEPTION): New macro.
74787         (UNDERFLOW_EXCEPTION_OK): Likewise.
74788         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
74789         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
74790         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
74791         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
74792         (INVALID_EXCEPTION_OK): Update value.
74793         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74794         (OVERFLOW_EXCEPTION_OK): Likewise.
74795         (IGNORE_ZERO_INF_SIGN): Likewise.
74796         (test_exceptions): Handle underflow exceptions.
74797         (acos_test): Update for underflow exception expectations.
74798         (cexp_test): Likewise.
74799         (clog_test): Likewise.
74800         (clog10_test): Likewise.
74801         (csqrt_test): Likewise.
74802         (ctan_test): Likewise.
74803         (ctanh_test): Likewise.
74804         (exp_test): Likewise.
74805         (exp10_test): Likewise.
74806         (exp2_test): Likewise.
74807         (expm1_test): Likewise.
74808         (fma_test): Likewise.
74809         (j0_test): Likewise.
74810         (jn_test): Likewise.
74811         (nexttoward_test): Likewise.
74812         (pow_test): Likewise.
74813         (scalbn_test): Likewise.
74814         (scalbln_test): Likewise.
74815         (tan_test): Likewise.
74816         (y1_test): Likewise.
74817         * sysdeps/i386/fpu/libm-test-ulps: Update.
74818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74820 2012-05-23  David S. Miller  <davem@davemloft.net>
74822         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
74823         (__libc_sigaction): Remove unused local variables.
74825 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74827         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
74829 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
74831         mktime: avoid signed integer overflow
74832         * time/mktime.c (__mktime_internal): Do not mishandle the case
74833         where diff == INT_MIN.
74835         mktime: simplify computation of average
74836         * time/mktime.c (ranged_convert): Use new time_t_avg function
74837         instead of rolling our own (probably-slower) code.
74839         mktime: do not assume signed right shift propagates sign bit
74840         * time/mktime.c (isdst_differ): New static function.
74841         (__mktime_internal): No need to normalize tm_isdst now.
74842         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
74843         tm_isdst values.
74845         mktime: merge another wrapv change from gnulib
74846         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
74847         from some compilers.
74849         mktime: remove incorrect attempt at unusual arithmetics
74850         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
74851         The code didn't really work on such machines anyway.
74852         (TYPE_MINIMUM): Assume two's complement.
74853         (twos_complement_arithmetic): Verify that long_int and time_t
74854         are two's complement (or unsigned, in the latter case).
74856         mktime: check signed shifts on long_int and time_t, too
74857         * time/mktime.c (SHR): Check that shifts work as desired
74858         on the types long_int and time_t too, as SHR is used on
74859         such types.
74861         mktime: do not assume 'long' is wide enough
74862         * time/mktime.c (verify): Move decl up.
74863         (long_int): New type.
74864         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
74865         to remove assumption in the code that 'long' is wide enough to
74866         store year values.  This assumption is not true on x32 and on
74867         some non-glibc platforms.
74869         mktime: merge wrapv change from gnulib
74870         * time/mktime.c (WRAPV): New macro.
74871         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
74872         (guess_time_tm, __mktime_internal): Do not assume that signed
74873         integer overflow wraps around; modern compilers generate code
74874         where this assumption is no longer valid.
74876 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74878         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74879         Replace "jmp L(pseudo_end)" with "ret".
74880         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
74881         Likewise.
74883 2012-05-23  Andreas Jaeger  <aj@suse.de>
74885         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
74886         * sysdeps/unix/sysv/linux/poll.c: Remove file.
74888 2012-05-23  Andreas Jaeger  <aj@suse.de>
74889             Maximilian Attems  <max@stro.at>
74891         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
74892         New macros.
74894 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
74896         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
74897         code so that pseudo_end is just ret and the stack pointer is
74898         correct also for static library in error case.
74900 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
74902         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
74903         move to syscalls.list.
74904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
74905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
74906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
74907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
74909         * manual/install.texi (Running make install): Do not mention Linux
74910         kernel version for which pt_chown is not needed.
74911         (Linux): Do not mention problems with nscd with 2.0 kernels.
74912         * INSTALL: Regenerated.
74914 2012-05-23  Andreas Jaeger  <aj@suse.de>
74916         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
74917         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
74918         macro.
74919         * sysdeps/unix/sysv/linux/s390/bits/mman.h
74920         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74921         * sysdeps/unix/sysv/linux/sh/bits/mman.h
74922         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74923         * sysdeps/unix/sysv/linux/i386/bits/mman.h
74924         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74925         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
74926         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74927         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
74928         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
74929         * sysdeps/unix/sysv/linux/bits/in.h
74930         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
74932 2012-05-22  Roland McGrath  <roland@hack.frob.com>
74934         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
74935         (PREPARE_VERSION): Just use assert instead, it will be elided
74936         under [NDEBUG] anyway.
74938 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74940         * sysdeps/unix/sysv/linux/Makefile: Include
74941         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
74942         (sysdep_routines): Remove sysctl.
74943         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
74944         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74945         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74946         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74947         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74949 2012-05-22  Andreas Jaeger  <aj@suse.de>
74951         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74952         that pseudo_end is just ret and the stack pointer is correct also
74953         for static library in error case.
74955 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74957         [BZ #14122]
74958         * nss/nsswitch.c (defconfig_entries): New variable.
74959         (__nss_database_lookup): Don't leak defconfig entries.
74960         (nss_parse_service_list): Don't leak on error paths.
74961         (free_database_entries): New function.
74962         (free_defconfig): New function.
74963         (free_mem): Move common code to free_database_entries.
74965 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74967         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74968         Add arch_prctl.
74969         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74971         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74972         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74974         New macro.
74975         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74976         (INTERNAL_SYSCALL_TYPES): Likewise.
74977         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74978         (LOAD_REGS_TYPES_[1-6]): Likewise.
74979         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74980         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74982 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74984         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74985         copysignl for GLIBC_2_0.
74986         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74987         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74988         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74989         logbl for GLIBC_2_0.
74990         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74991         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74993 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74995         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74996         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74998         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74999         Use "neg %eax".
75001         * time/mktime.c: Update copyright years.
75003 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75005         mktime: merge comment-quoting-style change from gnulib
75006         * time/mktime.c: Quote 'like this' in comments.
75007         The GNU coding standards suggest that we no longer quote `like this',
75008         as "`" and "'" are typically rendered asymmetrically nowadays.
75009         The typical gnulib style is to quote 'like this' when quoting
75010         code, and "like this" when quoting English.
75012         * time/mktime.c (compile-command): Add "-I.".
75014         mktime: merge mktime-internal.h change from gnulib
75015         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75017         mktime: merge time_r change from gnulib
75018         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75020         mktime: merge DEBUG change from gnulib
75021         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75022         case system <time.h> has a #define.
75024         mktime: merge <sys/types.h> change from gnulib
75025         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75026         since <time.t> is now guaranteed to define time_t.
75028         mktime: merge HAVE_CONFIG_H change from gnulib
75029         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75031 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75033         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75034         Use "neg %eax".
75036         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75037         __rlim_t cast.
75038         (struct rusage): Use anonymous union to pad each field to
75039         __syscall_slong_t.
75041 2012-05-21  David S. Miller  <davem@davemloft.net>
75043         * Makefules (o-iterator): Remove .s cases.
75044         (compile-command.s): Delete.
75045         (COMPILE.s): Delete.
75046         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75048 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75050         * configure.in (libc_cv_predef_stack_protector): Only consider
75051         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75052         * configure: Regenerated.
75054 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75057         New macro.  Use R*LP on int and pointer.
75058         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75059         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75060         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75061         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75063         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75064         [__WORDSIZE_TIME64_COMPAT32] instead of
75065         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75066         (struct utmp): Likewise.
75067         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75068         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75069         Renamed to ...
75070         (__WORDSIZE_TIME64_COMPAT32): This.
75071         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75072         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75073         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75074         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75075         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75076         (__WORDSIZE_TIME64_COMPAT32): New macro.
75078 2012-05-21  Andreas Jaeger  <aj@suse.de>
75080         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75081         only if [SHARED]. Add prototype for __wcschr_ia32.
75083 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75085         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75086         of %rbp unmolested in the jmp_buf while mangling the low bits.
75087         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75088         unmolested high bits of %rbp while demangling the low bits.
75089         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75091 2012-05-21  Andreas Jaeger  <aj@suse.de>
75093         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75094         * sunrpc/svc_simple.c: Use it for registerrpc.
75095         * sunrpc/xcrypt.c: Use it for passwd2des.
75097         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75099 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75101         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75102         Don't define if [__SYSCALL_WORDSIZE != 32].
75103         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75104         New macro.
75106 2012-05-21  Bruno Haible  <bruno@clisp.org>
75107             Andreas Jaeger  <aj@suse.de>
75109         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75110         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75111         inptr and inend for must_buffer_ch.
75112         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75113         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75114         * stdio-common/Makefile (tests): Remove bug15.
75115         (bug15-ENV): Remove macro.
75116         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75117         anymore.
75119 2012-05-19  Andreas Jaeger  <aj@suse.de>
75120             Roland McGrath  <roland@hack.frob.com>
75122         * manual/contrib.texi: Completely rewritten. It contains now an
75123         alphabetical list of contributors and their contributions.
75125 2012-05-21  Richard Henderson  <rth@twiddle.net>
75127         * misc/getauxval.c (__getauxval): Use unsigned long int.
75128         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75129         (getauxval): Use unsigned long int.
75131 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75133         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75135 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75137         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75138         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75139         __alignof__ (long double).
75141 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75145 2012-05-20  Richard Henderson  <rth@twiddle.net>
75147         * misc/getauxval.c: New file.
75148         * misc/sys/auxv.h: New file.
75149         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75150         (routines): Add getauxval.
75151         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75152         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75153         * elf/dl-sysdep.c (_dl_auxv): Remove.
75154         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75155         * elf/dl-support.c (_dl_auxv): New variable.
75156         (_dl_aux_init): Initialize it.
75157         * manual/startup.texi (Auxiliary Vector): New node.
75158         * sysdeps/generic/bits/hwcap.h: New file.
75159         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75160         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75161         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75162         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75163         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75164         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75166         Update.
75167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75170         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75171         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75176 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75180 2012-05-19  David S. Miller  <davem@davemloft.net>
75182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75184 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75186         [BZ #14123]
75187         * math/s_ccosh.c: Include <float.h>
75188         (__ccosh): Avoid internal overflow calculating sinh and cosh
75189         values before multiplying by sin and cos values.
75190         * math/s_ccoshf.c: Likewise.
75191         * math/s_ccoshl.c: Likewise.
75192         * math/s_csin.c: Likewise.
75193         * math/s_csinf.c: Likewise.
75194         * math/s_csinl.c: Likewise.
75195         * math/s_csinh.c: Likewise.
75196         * math/s_csinhf.c: Likewise.
75197         * math/s_csinhl.c: Likewise.
75198         * math/libm-test.inc (ccos_test): Add more tests.
75199         (ccosh_test): Likewise.
75200         (csin_test): Likewise.
75201         (csinh_test): Likewise.
75202         * sysdeps/i386/fpu/libm-test-ulps: Update.
75203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75205 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75207         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75208         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75210         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75212 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75214         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75215         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75216         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75217         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75218         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75219         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75220         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75221         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75222         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
75223         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
75224         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
75225         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
75226         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
75227         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
75228         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
75229         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
75230         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
75231         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
75232         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
75233         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
75234         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
75235         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
75236         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
75237         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
75238         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
75239         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
75240         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
75241         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
75242         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
75243         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
75244         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
75246 2012-05-18  Andreas Jaeger  <aj@suse.de>
75248         * csu/.gitignore: Delete.
75250 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75252         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
75253         (timex): Use __syscall_slong_t.
75255 2012-05-18  Andreas Jaeger  <aj@suse.de>
75256             Carlos O'Donell  <carlos_odonell@mentor.com>
75258         * manual/install.texi (Configuring and compiling): Update
75259         description about files modified in the source directory.
75260         * INSTALL: Regenerated.
75262 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75264         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
75265         value.  Use "or" to set return value to -1.
75266         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
75267         negate return value.
75269 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75271         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
75272         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
75273         failure if the compiler has Graphite support disabled.
75274         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
75275         Likewise.
75276         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
75277         (CFLAGS-memmove.c): Likewise.
75278         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
75279         Likewise.
75281 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
75283         * sysdeps/x86_64/x32/_itoa.h: New file.
75285         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
75286         getdents system call only if kernel and user dirents have the
75287         same d_ino and d_off.
75289         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75290         LLONG_MAX != LONG_MAX.
75291         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75292         (_fitoa_word): Likewise.
75294         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
75295         years.
75296         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
75297         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
75298         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
75300         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
75301         include <bits/wordsize.h>.  Check __x86_64__ instead of
75302         __WORDSIZE.
75303         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
75304         if __x86_64__ is defined.  Use anonymous union on fpstate.
75306         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
75307         anonymous union.
75309 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
75311         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
75312         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
75313         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
75314         Refer to _rtld_local_ro instead of _rtld_global_ro.
75315         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
75316         Likewise.
75317         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
75318         Likewise.
75319         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
75320         Likewise.
75321         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
75322         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
75323         of _rtld_global, and rtld_progname instead of _dl_argv[0].
75325         [BZ #10882]
75326         * sysdeps/powerpc/powerpc32/dl-machine.c
75327         (__elf_machine_runtime_setup) [PROF]: Don't reference
75328         _dl_prof_resolve.
75330 2012-05-18  Andreas Jaeger  <aj@suse.de>
75332         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
75333         function only available for GCCs before 3.4 since GCC 3.4
75334         introduced a builtin.
75335         (lrint): Likewise.
75336         (llrintf): Likewise.
75337         (llrint): Likewise.
75338         (fmaxf): Likewise.
75339         (fmax): Likewise.
75340         (fminf): Likewise.
75341         (fmin): Likewise.
75342         (rint): Likewise.
75343         (rintf): Likewise.
75344         (nearbyint): Likewise.
75345         (nearbyintf): Likewise.
75346         (ceil): Likewise.
75347         (ceilf): Likewise.
75348         (floor): Likewise.
75349         (floorf): Likewise.
75351 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75353         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
75354         on both fields and cast pointer to __syscall_ulong_t.
75356         * bits/types.h (__fsword_t): New type.
75357         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
75358         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
75359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75360         (__FSWORD_T_TYPE): Likewise.
75361         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75362         (__FSWORD_T_TYPE): Likewise.
75363         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75364         (__FSWORD_T_TYPE): Likewise.
75365         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
75366         (__FSWORD_T_TYPE): Likewise.
75367         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
75368         __SWORD_TYPE with __fsword_t.
75369         (statfs64): Likewise.
75371 2012-05-17  David S. Miller  <davem@davemloft.net>
75373         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
75375 2012-05-17  Andreas Jaeger  <aj@suse.de>
75377         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
75378         warning.
75380 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75382         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
75384 2012-05-17  Andreas Jaeger  <aj@suse.de>
75386         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
75387         when it is used.
75389 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75391         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
75393 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
75395         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
75396         * sysdeps/x86_64/tst-mallocalign1.c: New file.
75398 2012-05-17  Andreas Jaeger  <aj@suse.de>
75399             Carlos O'Donell  <carlos_odonell@mentor.com>
75401         [BZ #14059]
75402         * sysdeps/x86_64/multiarch/init-arch.h
75403         (bit_YMM_Usable): Rename to...
75404         (bit_AVX_Usable): ... this.
75405         (bit_FMA4_Usable): New macro.
75406         (bit_XMM_state): New macro.
75407         (bit_YMM_state): New macro.
75408         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
75409         [__ASSEMBLER__] (index_AVX_Usable): ... this.
75410         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
75411         (CPUID_OSXSAVE): New macro.
75412         (CPUID_AVX): New macro.
75413         (CPUID_FMA4): New macro.
75414         (index_YMM_Usable): Rename to...
75415         (index_AVX_Usable): ... this.
75416         (HAS_AVX): Use HAS_ARCH_FEATURE.
75417         (HAS_FMA4): Likewise.
75418         (HAS_YMM_USABLE): Remove.
75419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75420         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
75421         are present.
75422         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
75423         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
75424         * sysdeps/x86_64/multiarch/Makefile: Likewise.
75425         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
75426         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
75428 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
75430         * math/libm-test.c: Support platforms without multiple rounding modes.
75431         * math/bug-nextafter.c: Support platforms without FP exceptions.
75432         * math/bug-nexttoward.c: Likewise.
75433         * math/test-fenv.c: Likewise.
75434         * math/test-misc.c: Likewise.
75435         * stdlib/bug-getcontext.c: Likewise.
75437 2012-05-17  Andreas Jaeger  <aj@suse.de>
75439         * manual/examples/search.c (critter_cmp): Change signature to
75440         avoid warnings.
75441         * manual/string.texi (Collation Functions): Likewise.
75443 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75445         * bits/types.h: Fold copyright years.
75446         * bits/typesizes.h: Likewise.
75447         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
75448         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
75449         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
75450         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
75451         * time/time.h: Likewise.
75453 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
75455         [BZ #208]
75456         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
75457         in instead of returning them.  Return void.
75458         (__libc_mallinfo): Accumulate over all arenas.
75459         (__malloc_stats): Adjust for change in int_mallinfo interface.
75461 2012-05-16  Roland McGrath  <roland@hack.frob.com>
75463         [BZ #10375]
75464         * configure.in (NM): Add AC_CHECK_TOOL for it.
75465         (libc_extra_cflags): New substituted variable.
75466         Check for -fstack-protector being used implicitly.
75467         * configure: Regenerated.
75468         * config.make.in (config-extra-cflags): New variable,
75469         gets @libc_extra_cflags@.
75470         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
75472         [BZ #10375]
75473         * configure.in: Check for _FORTIFY_SOURCE being predefined.
75474         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
75475         * configure: Regenerated.
75476         * config.make.in (CPPUNDEFS): New substituted variable.
75477         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
75478         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
75479         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
75481 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75483         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
75484         (mq_attr): Use __syscall_slong_t.
75486 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75488         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
75489         Check __x86_64__ instead of __WORDSIZE.
75490         (_STAT_VER_LINUX): Likewise.
75491         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
75492         __syscall_ulong_t and __syscall_slong_t.
75493         (stat64): Likewise.
75495 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75497         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
75499 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75501         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
75503 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75505         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
75506         __syscall_ulong_t.
75508         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
75509         include <bits/wordsize.h>.  Check __x86_64__ instead of
75510         __WORDSIZE.
75511         (greg_t): Use "__extension__ long long int" if __x86_64__ is
75512         defined.
75513         (mcontext_t): Replace "unsigned long" with "unsigned long long".
75515         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
75516         include <bits/wordsize.h>.  Check __x86_64__ instead of
75517         __WORDSIZE.
75518         (user_regs_struct): Use "__extension__ unsigned long long"
75519         instead of "unsigned long" if __x86_64__ is defined.
75520         (user): Likewise.  Pad after pointer field if __ILP32__ is
75521         defined.
75523 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
75525         * configure.in (makeinfo): Require version 4.5 or later.  Allow
75526         versions 5 to 9.
75527         * configure: Regenerated.
75528         * manual/install.texi (texinfo): Increase version requirement to
75529         4.5 or later.
75530         * INSTALL: Regenerated.
75532         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
75534 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
75536         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
75538         * sysdeps/x86_64/x32/ffs.c: New file.
75540         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
75541         __syscall_ulong_t.
75542         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
75543         defined.  Use __syscall_ulong_t.
75544         (shminfo): Use __syscall_ulong_t.
75545         (shm_info): Likewise.
75547         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
75548         __syscall_ulong_t.
75550         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
75551         <bits/wordsize.h>.
75552         (msgqnum_t): Use __syscall_ulong_t.
75553         (msglen_t): Likewise.
75554         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
75555         __syscall_ulong_t.
75557         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
75558         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75560         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
75562         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
75563         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
75565         * sysvipc/sys/msg.h (msgbuf): Replace long int with
75566         __syscall_slong_t.
75568         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
75569         include <bits/wordsize.h>.  Check __x86_64__ instead of
75570         __WORDSIZE.
75572         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
75573         "unsigned long long int" if __x86_64__ is defined.
75574         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
75576         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
75577         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75578         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
75580         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
75581         <stdint.h>.
75582         (GET_PC): Cast to uintptr_t first.
75583         (GET_FRAME): Likewise.
75584         (GET_STACK): Likewise.
75586         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
75587         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
75588         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
75589         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
75590         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
75591         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
75592         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
75593         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
75594         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
75595         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
75596         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
75597         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
75598         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75599         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
75600         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
75601         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
75602         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
75603         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
75604         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
75605         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
75606         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
75607         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
75608         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
75609         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
75610         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
75611         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
75612         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
75613         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
75614         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
75616 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
75618         * Makerules (+depfiles): Also collect depfiles from .oS in
75619         $(extra-objs).
75620         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
75621         .oS, $(libnldbl-routines)).
75623         * Makerules (native-compile-mkdep-flags): Define.
75624         * sunrpc/Makefile (extra-objs): Add $(addprefix
75625         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
75626         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
75627         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
75628         calling $(make-target-directory).
75630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75632         * bits/types.h (__snseconds_t): Removed.
75633         * time/time.h (struct timespec): Replace __snseconds_t with
75634         __syscall_slong_t.
75635         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
75636         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
75637         Likewise.
75638         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75639         (__SNSECONDS_T_TYPE): Likewise.
75640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75641         (__SNSECONDS_T_TYPE): Likewise.
75642         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75643         (__SNSECONDS_T_TYPE): Likewise.
75645 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75647         * sysdeps/mach/hurd/bits/typesizes.h
75648         (__SYSCALL_SLONG_TYPE): New macro.
75649         (__SYSCALL_ULONG_TYPE): Likewise.
75651 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75653         * bits/types.h (__syscall_slong_t): New type.
75654         (__syscall_ulong_t): Likewise.
75656         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
75657         (__SYSCALL_ULONG_TYPE): Likewise.
75658         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75659         (__SYSCALL_SLONG_TYPE): Likewise.
75660         (__SYSCALL_ULONG_TYPE): Likewise.
75661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
75662         (__SYSCALL_SLONG_TYPE): Likewise.
75663         (__SYSCALL_ULONG_TYPE): Likewise.
75664         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75665         (__SYSCALL_SLONG_TYPE): Likewise.
75666         (__SYSCALL_ULONG_TYPE): Likewise.
75668 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75670         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
75671         Add sigaltstack-offsets.sym.
75672         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
75673         <sigaltstack-offsets.h>.
75674         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
75675         longjmp_msg pointer.
75676         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
75677         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
75678         signal stack.
75679         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
75681 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75683         * elf/stackguard-macros.h: Remove file.
75684         * sysdeps/generic/stackguard-macros.h: New file.
75685         * sysdeps/i386/stackguard-macros.h: Likewise.
75686         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
75687         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
75688         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
75689         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
75690         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
75691         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
75692         * sysdeps/x86_64/stackguard-macros.h: Likewise.
75693         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
75694         <elf/stackguard-macros.h>.
75696         [BZ #14109]
75697         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
75698         __aligned__ in attribute.
75699         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
75700         (gregset_t): Likewise.
75702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75704         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
75705         * sysdeps/x86_64/64/Implies-after: Here.  New file.
75706         * sysdeps/x86_64/x32/Implies-after: New file.
75708 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75710         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
75711         and access return value for _dl_profile_fixup.  Use R10_LP to
75712         load frame size.
75714 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75716         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
75718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75720         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
75721         * sysdeps/x86_64/x32/sysdep.h: New file.
75723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75725         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
75726         * sysdeps/x86_64/setjmp.S: Likewise.
75728 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75730         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
75731         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
75732         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
75733         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
75734         remove unused global constant.
75736 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
75738         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
75739         include of <not-cancel.h>.
75741 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75743         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
75745 2012-05-15  Jeff Law  <law@redhat.com>
75746             Andreas Jaeger  <aj@suse.de>
75748         [BZ #13594]
75749         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
75750         out from...
75751         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
75752         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
75753         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
75754         code changing __hst_map_handle.map.
75756 2012-05-15  Roland McGrath  <roland@hack.frob.com>
75758         * configure.in (sysnames): Look for Implies-before and Implies-after
75759         files.
75760         * configure: Regenerated.
75762 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75764         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
75765         8-byte data alignment with LP_SIZE alignment.
75767 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75769         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
75770         into R10_LP.
75772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75774         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
75776 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75778         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
75779         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
75780         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
75781         Likewise.
75782         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
75784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75786         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
75787         (stackinfo_sub_sp): Likewise.
75789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75791         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
75792         RAX_LP.
75794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75796         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
75797         into R*_LP.
75799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75801         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
75802         sizes into R*_LP.
75804 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75806         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
75808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75810         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
75811         into R11_LP and load __x86_64_shared_cache_size_half into
75812         R8_LP.
75814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
75816         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
75817         R8_LP.
75819 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75821         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
75822         logb for POWER7.
75823         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
75824         logbf for POWER7.
75825         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
75826         logbl for POWER7.
75827         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
75828         powerpc32/power7/fpu/s_logb.c via #include.
75829         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
75830         powerpc32/power7/fpu/s_logbf.c via #include.
75831         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
75832         powerpc32/power7/fpu/s_logbl.c via #include.
75834 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
75836         * README.libm: Remove file.
75838 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75840         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
75841         count for x32.  Use R*_LP and omit operand-size suffix.
75843 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75845         * shlib-versions: Move x86_64-.*-linux.* entries to ...
75846         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
75847         * sysdeps/x86_64/x32/shlib-versions: New file.
75849 2012-05-14  Roland McGrath  <roland@hack.frob.com>
75851         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
75852         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
75853         Use _dl_fatal_printf instead.
75855 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75857         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
75858         set if not set by the user.  Do not allow for being unset.
75859         * sysdeps/unix/sysv/linux/configure: Regenerated.
75861 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75863         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
75864         the `q' suffix from lea and replace .quad with ASM_ADDR.
75866 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
75869         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
75870         instead of $17.
75871         (PTR_DEMANGLE): Likewise.
75873 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75875         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
75876         (LP_OP): Likewise.
75877         (ASM_ADDR): Likewise.
75878         (RAX_LP): Likewise.
75879         (RBP_LP): Likewise.
75880         (RBX_LP): Likewise.
75881         (RCX_LP): Likewise.
75882         (RDI_LP): Likewise.
75883         (RSI_LP): Likewise.
75884         (RSP_LP): Likewise.
75885         (R8_LP): Likewise.
75886         (R9_LP): Likewise.
75887         (R10_LP): Likewise.
75888         (R10_LP): Likewise.
75889         (R11_LP): Likewise.
75890         (R12_LP): Likewise.
75891         (R13_LP): Likewise.
75892         (R14_LP): Likewise.
75893         (R15_LP): Likewise.
75895 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75897         * sysdeps/x86_64/x32/dl-machine.h: New file.
75899 2012-05-14  Andreas Jaeger  <aj@suse.de>
75901         * manual/Makefile (subdir): Remove export of subdir.
75902         (all): Remove target.
75903         (.PHONY): Remove all from list.
75904         (mkinstalldirs): Remove.
75905         (.PHONY): Remove installdirs from list.
75906         ($(inst_infodir)/libc.info): Use make-target-directory.
75907         (installdirs): Remove.
75908         (subdir_%): Remove.
75909         (glibc-targets): Remove.
75910         (lib): Remove.
75911         (stubs): Remove.
75912         ($(objpfx)stubs ../po/manual.pot): Remove.
75913         ($(objpfx)stamp%): Remove.
75914         (make-target-directory): Remove.
75915         (subdir_install): Remove.
75916         (routines): Remove.
75917         (aux): Remove.
75918         (sources): Remove.
75919         (objects): Remove.
75920         (headers): Remove.
75922         [BZ #13750]
75923         * manual/.gitignore: Remove, it's not needed anymore.
75924         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
75925         all files in it.
75926         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
75927         directory.
75928         (texis): Renamed to $(objpfx)texis.
75929         (texis-path): New, contains path to generated files.
75930         (chapters.%): Use texis-path for complete path, add extra argument
75931         libc-texinfo.sh.
75932         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
75933         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
75934         (summary,texi, stamp-summary): Use complete path of
75935         files. Generate files in build dir.
75936         (dir-add.texi): Build in build dir.
75937         (libm-err.texi,stamp-libm-err): Likewise.
75938         (version.texi, stamp-version): Likewise.
75939         (.%c.texi): Likewise.
75940         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
75941         (mostlyclean): Remove target.
75942         (realclean): Remove target.
75943         (generated): Add new variable with contents from mostlyclean and
75944         realclean, remove entries duplicated in common-mostlyclean, add
75945         stamp-libm-err and stamp-version.
75946         (generated-dirs): Add libc directory.
75947         ($(inst_infodir)/libc.info): Install files from build dir.
75949         * manual/install.texi (Configuring and compiling): Adjust since
75950         the info files are not part of the tar ball anymore.
75952 2012-05-14  Andreas Jaeger  <aj@suse.de>
75954         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75955         variable.
75957 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75959         [BZ #13717]
75960         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75961         to 2.2.0 where earlier.
75962         * sysdeps/unix/sysv/linux/configure: Regenerated.
75963         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75964         Remove conditional code.
75965         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75966         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75967         Remove conditional code.
75968         [!__NR_lchown]: Likewise.
75969         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75970         [__NR_lchown]: Likewise.
75971         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75972         comment referencing __ASSUME_LCHOWN_SYSCALL.
75973         * sysdeps/unix/sysv/linux/i386/sigaction.c
75974         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75975         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75976         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75977         Remove conditional code.
75978         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75979         (__protocol_available): Remove #if 0 code.
75980         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75981         conditional code.
75982         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75983         * sysdeps/unix/sysv/linux/kernel-features.h
75984         (__ASSUME_GETCWD_SYSCALL): Don't define.
75985         (__ASSUME_REALTIME_SIGNALS): Likewise.
75986         (__ASSUME_PREAD_SYSCALL): Likewise.
75987         (__ASSUME_PWRITE_SYSCALL): Likewise.
75988         (__ASSUME_POLL_SYSCALL): Likewise.
75989         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75990         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75991         non-SPARC.
75992         (__ASSUME_SIOCGIFNAME): Don't define.
75993         (__ASSUME_MSG_NOSIGNAL): Likewise.
75994         (__ASSUME_SENDFILE): Define unconditionally.
75995         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75996         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75997         conditional code.
75998         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75999         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76000         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76001         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76002         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76003         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76004         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76006         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76007         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76009         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76010         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76012         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76013         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76015         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76016         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76018         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76019         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76021         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76022         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76024         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76025         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76027         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76028         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76029         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76030         Remove conditional code.
76031         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76032         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76033         Remove conditional code.
76034         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76035         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76036         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76037         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76038         Remove conditional code.
76039         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76040         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76041         Remove conditional code.
76042         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76043         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76044         Remove conditional code.
76045         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76046         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76047         Remove conditional code.
76048         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76049         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76050         Remove conditional code.
76051         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76052         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76053         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76054         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76055         * sysdeps/unix/sysv/linux/sigaction.c
76056         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76057         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76058         * sysdeps/unix/sysv/linux/sigpending.c
76059         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76060         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76061         * sysdeps/unix/sysv/linux/sigprocmask.c
76062         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76063         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76064         * sysdeps/unix/sysv/linux/sigsuspend.c
76065         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76066         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76067         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76068         (__libc_missing_rt_sigs): Remove.
76069         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76070         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76071         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76072         Remove conditional code.
76073         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76074         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76075         return 1.
76076         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76077         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76078         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76079         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76081 2012-05-14  Andreas Jaeger  <aj@suse.de>
76083         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76084         it's not used in glibc.
76085         (__coshm1): Likewise.
76086         (__acosh1p): Likewise.
76087         (__sgn): Likewise.
76089         * manual/string.texi (Copying and Concatenation): Add missing
76090         variable in concat example.
76091         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76093 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76095         [BZ #14103]
76096         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76097         __builtin_clzl with __builtin_clzll.
76099 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76101         [BZ #14104]
76102         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76103         libc_freeres_ptr.
76105 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76107         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76108         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76109         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76110         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76112 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76114         * NEWS: Update ia64 info.
76116 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76118         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76119         used as bcopy.
76121 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76123         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76124         * sysdeps/unix/syscalls.list (dup3): Likewise.
76125         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76126         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76128 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76130         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76131         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76133 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76135         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76136         thread pointer.
76137         (TLS_IE): Use mov/add instead of movq/addq to load thread
76138         pointer.
76139         (TLS_GD_PREFIX): New.
76140         (TLS_GD): Use it.
76142 2012-05-11  David S. Miller  <davem@davemloft.net>
76144         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76145         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76146         (_FPU_SETCW): Likewise.
76148 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76150         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76151         is 32-byte aligned.
76153 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76155         [BZ #11837]
76156         * iconvdata/gb18030.c: Update tables.
76157         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76158         characters specially.
76159         (BODY for TO_LOOP): Add encoding of missing ranges.
76161 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76163         [BZ #13673]
76164         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76165         * sysdeps/mach/hurd/dup3.c: Likewise.
76166         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76167         * sysdeps/powerpc/memmove.c:: Likewise.
76169 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76171         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76172         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76174 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76176         * elf/elf.h (R_X86_64_RELATIVE64): New.
76177         (R_X86_64_NUM): Updated.
76178         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76179         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76180         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76181         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76182         tst-quad1pie tst-quad2pie
76183         (modules-names): Add tst-quadmod1 tst-quadmod2.
76184         ($(objpfx)tst-quad1): New dependency.
76185         ($(objpfx)tst-quad2): Likewise.
76186         ($(objpfx)tst-quad1pie): Likewise.
76187         ($(objpfx)tst-quad2pie): Likewise.
76188         * sysdeps/x86_64/tst-quad1.c: New file.
76189         * sysdeps/x86_64/tst-quad1pie.c: New file.
76190         * sysdeps/x86_64/tst-quad2.c: Likewise.
76191         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76192         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76193         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76194         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76195         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76197 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76199         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76200         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76201         * streams/stropts.h (t_scalar_t): Define type.
76203         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76204         (_PATH_PRESERVE): Set to "/var/lib".
76205         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76207         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76208         instead of int.
76210         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76211         if __dir_mkfile succeeded.
76213         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76214         checking for _hurd_dtablesize.  Unlock it right after having
76215         finished _hurd_dtable allocation.
76217 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76219         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76220         * sysdeps/mach/hurd/configure: Regenerated.
76221         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76222         special-casing to...
76223         * sysdeps/gnu/configure.in: ... this new file.
76224         * sysdeps/unix/sysv/linux/configure: Regenerated.
76225         * sysdeps/gnu/configure: New generated file.
76227         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
76228         for Linux: use nsec instead of usec, as well as:
76229         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
76230         members of type struct timespec.
76231         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
76232         New macros.
76233         (struct stat64): Likewise.
76234         (_STATBUF_ST_NSEC): New macro.
76235         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
76237         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
76238         __strtoul_internal rather than strtoul.
76240 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76242         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
76243         and reject them.
76245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76247         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
76248         which preserves existing values.
76249         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
76251 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76253         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
76254         TIMEOUT values.  Return EINVAL for NFDS values either negative or
76255         greater than FD_SETSIZE.
76257 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76259         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
76260         allocated, call __vm_protect to finish enabling the existing space, and
76261         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
76262         allocate the remainder.
76264 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76266         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
76267         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
76269 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76271         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
76272         sysdeps/mach/hurd/readlink.c.
76274         * posix/tst-sysconf.c (posix_options): Only use
76275         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
76276         _POSIX_SYNCHRONIZED_IO when they are defined
76277         * sysdeps/mach/hurd/bits/posix_opt.h:
76278         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
76279         (_XOPEN_REALTIME): Undefine macro.
76280         (_XOPEN_REALTIME_THREADS): Undefine macro.
76281         (_XOPEN_SHM): Undefine macro.
76282         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
76283         macro to -1.
76284         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
76285         macro to -1.
76286         (_POSIX_ASYNC_IO): Undefine macro.
76287         (_POSIX_PRIORITIZED_IO): Undefine macro.
76288         (_POSIX_SPIN_LOCKS): Define macro to -1.
76290         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
76291         SA_NODEFER, SA_RESETHAND.
76292         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
76293         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
76294         F_DUPFD_CLOEXEC.
76296 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76298         * elf/Makefile (pldd-modules): Define unconditionally.
76300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76302         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
76304 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76306         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
76307         Return ENOENT when name is empty.
76308         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
76310 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76312         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
76314         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
76316 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76318         Fix mlock in all cases except non-readable pages.
76319         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
76320         instead of VM_PROT_ALL as parameter to __vm_wire function.
76322         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
76323         (__mkdir): When path is `/', just fail with EEXIST.
76324         * sysdeps/mach/hurd/mkdirat.c: Likewise.
76326 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76328         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
76329         <sys/uio.h> (for writev).
76330         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
76331         and <sys/param.h> (for MIN).
76333 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
76335         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
76336         REQUESTED_TIME.  Properly set the remaining time and return EINTR
76337         if interrupted.
76339 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76341         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
76342         Depend on against $(link-rpcuserlibs).
76344 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76346         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
76347         (__libc_stack_end): Do not use attribute_relro.
76348         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
76349         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
76350         to libthread-provided value.
76351         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
76352         attribute_relro.
76354 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76356         [BZ #3748]
76357         * bits/libc-lock.h (__libc_once_get): New macro.
76358         * sysdeps/mach/bits/libc-lock.h: Likewise.
76359         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
76360         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
76361         instead of using implementation details.
76363         * libio/fileops.c: Unconditionally include <kernel-features.h>.
76364         * libio/freopen.c: Likewise.
76365         * libio/freopen64.c: Likewise.
76366         * misc/syslog.c: Likewise.
76367         * nscd/connections.c: Likewise.
76368         * nscd/netgroupcache.c: Likewise.
76369         * sysdeps/posix/getcwd.c: Likewise.
76371 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76373         * math/w_ilogbf.c: Add #include <limits.h>.
76375 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76377         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
76378         path instead of returning without unlocking.
76380         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
76381         immediate-write ioctls.
76382         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
76384 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76386         * sysdeps/mach/hurd/i386/init-first.c (init): Use
76387         __builtin_frame_address instead of making assumptions about the
76388         location of the return address relative to DATA.  Force early load of
76389         the return address.
76390         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
76391         __builtin_frame_address.
76393         dup3 for GNU Hurd.
76394         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
76395         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
76396         implement dup3 and do some further code clean-ups.
76397         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
76398         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
76400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76402         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
76404         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
76405         HURD_CRITICAL_END around holding _hurd_dtable_lock.
76406         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
76407         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
76408         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
76409         d->port.lock.
76411         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
76412         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
76413         when handler == SIG_ERR, not when handler != SIG_ERR.
76415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76417         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
76418         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
76419         definitions.
76421         accept4 for GNU Hurd.
76422         * include/sys/socket.h (__libc_accept4): New prototype.
76423         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
76424         to implement __libc_accept4.
76425         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
76426         __libc_accept4.
76427         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
76429         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
76430         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
76431         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
76432         signal-defines.sym.
76434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76436         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
76438 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76440         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
76441         assertion on O_CLOEXEC flag.
76442         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
76443         * hurd/intern-fd.c: Likewise.
76444         * hurd/port2fd.c: Likewise.
76446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76448         [BZ #3906]
76449         * bits/in.h (IPV6_PKTINFO): Define new macro.
76450         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
76452 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76454         [BZ #13954]
76455         [BZ #13955]
76456         [BZ #13956]
76457         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
76458         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
76459         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
76460         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
76461         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
76462         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
76463         * math/libm-test.inc (logb_test) : Additional logb tests.
76465 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
76466             Andreas Jaeger  <aj@suse.de>
76468         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
76469         * configure: Regenerated.
76470         * config.h.in (LINK_OBSOLETE_RPC): New macro.
76471         * config.make.in (link-obsolete-rpc): New substituted variable.
76472         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
76473         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
76474         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76475         (shared-only-routines): Don't set it under [link-obsolete-rpc],
76476         so that libc.a contains the symbols.
76477         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
76478         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
76479         * sunrpc/auth_none.c: Likewise.
76480         * sunrpc/auth_unix.c: Likewise.
76481         * sunrpc/authdes_prot.c: Likewise.
76482         * sunrpc/authuxprot.c: Likewise.
76483         * sunrpc/clnt_gen.c: Likewise.
76484         * sunrpc/clnt_perr.c: Likewise.
76485         * sunrpc/clnt_raw.c: Likewise.
76486         * sunrpc/clnt_simp.c: Likewise.
76487         * sunrpc/clnt_tcp.c: Likewise.
76488         * sunrpc/clnt_udp.c: Likewise.
76489         * sunrpc/clnt_unix.c: Likewise.
76490         * sunrpc/des_crypt.c: Likewise.
76491         * sunrpc/des_soft.c: Likewise.
76492         * sunrpc/get_myaddr.c: Likewise.
76493         * sunrpc/key_call.c: Likewise.
76494         * sunrpc/key_prot.c: Likewise.
76495         * sunrpc/netname.c: Likewise.
76496         * sunrpc/pm_getmaps.c: Likewise.
76497         * sunrpc/pm_getport.c: Likewise.
76498         * sunrpc/pmap_clnt.c: Likewise.
76499         * sunrpc/pmap_prot.c: Likewise.
76500         * sunrpc/pmap_prot2.c: Likewise.
76501         * sunrpc/pmap_rmt.c: Likewise.
76502         * sunrpc/publickey.c: Likewise.
76503         * sunrpc/rpc_cmsg.c: Likewise.
76504         * sunrpc/rpc_common.c: Likewise.
76505         * sunrpc/rpc_dtable.c: Likewise.
76506         * sunrpc/rpc_prot.c: Likewise.
76507         * sunrpc/rpc_thread.c: Likewise.
76508         * sunrpc/rtime.c: Likewise.
76509         * sunrpc/svc.c: Likewise.
76510         * sunrpc/svc_auth.c: Likewise.
76511         * sunrpc/svc_raw.c: Likewise.
76512         * sunrpc/svc_run.c: Likewise.
76513         * sunrpc/svc_tcp.c: Likewise.
76514         * sunrpc/svc_udp.c: Likewise.
76515         * sunrpc/svc_unix.c: Likewise.
76516         * sunrpc/svcauth_des.c: Likewise.
76517         * sunrpc/xcrypt.c: Likewise.
76518         * sunrpc/xdr.c: Likewise.
76519         * sunrpc/xdr_array.c: Likewise.
76520         * sunrpc/xdr_float.c: Likewise.
76521         * sunrpc/xdr_intXX_t.c: Likewise.
76522         * sunrpc/xdr_mem.c: Likewise.
76523         * sunrpc/xdr_rec.c: Likewise.
76524         * sunrpc/xdr_ref.c: Likewise.
76525         * sunrpc/xdr_sizeof.c: Likewise.
76526         * sunrpc/xdr_stdio.c: Likewise.
76528 2012-05-10  Roland McGrath  <roland@hack.frob.com>
76530         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
76531         change.  Update copyright years.
76533 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76535         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
76537 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
76538             Joseph Myers  <joseph@codesourcery.com>
76539             Paul Pluzhnikov  <ppluzhnikov@google.com>
76541         [BZ #14012]
76542         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
76543         requiring rpcgen.
76544         [cross-compiling] (extra-libs): Likewise.
76545         [cross-compiling] (extra-libs-others): Likewise.
76546         [cross-compiling] (librpcsvc-routines): Likewise.
76547         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
76548         [cross-compiling] (omit-deps): Likewise.
76549         (sunrpc-CPPFLAGS): New variable.
76550         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
76551         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
76552         (cross-rpcgen-objs): New variable.
76553         (extra-objs): Append $(cross-rpcgen-objs).
76554         ($(cross-rpcgen-objs)): New rule.
76555         ($(objpfx)cross-rpcgen): Likewise.
76556         (rpcgen-cmd): Define to use $(built-program-file).  Expand
76557         comment.
76558         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
76559         ($(objpfx)x%.stmp): Likewise.
76560         * sunrpc/proto.h [IS_IN_build] (_): Define.
76561         [IS_IN_build] (_libc_intl_domainname): Likewise.
76563 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76565         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
76566         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
76567         and R_X86_64_TPOFF64.
76569 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
76571         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
76572         sysdeps/unix/sysv/syscalls.list.
76573         (stime): Likewise.
76574         (utime): Likewise.
76575         * sysdeps/unix/sysv/syscalls.list: Remove file.
76577 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
76579         [BZ #3440]
76580         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
76581         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
76582         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
76583         (__LC_IDENTIFICATION): Make these macros useful in #if
76584         expressions, as required by C99.
76586 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
76588         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
76589         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
76590         after this.
76592 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
76594         * stdlib/longlong.h: Updated from GCC.
76596 2012-05-09  Andreas Jaeger  <aj@suse.de>
76598         * nscd/nscd.c (run_modes): Make named enum, reorder so that
76599         default is first entry.
76600         (run_mode): Set type.
76601         (main): Remove informal message about syslog.
76602         (options): Fix typo.
76604         [BZ #14053]
76605         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
76606         to asm.
76607         (lrint): Likewise.
76608         (llrintf): Likewise.
76609         (llrint): Likewise.
76610         (rint): Likewise.
76611         (rintf): Likewise.
76612         (nearbyint): Likewise.
76613         (nearbyintf): Likewise.
76615 2012-05-09  Andreas Jaeger  <aj@suse.de>
76616             Pedro Alves  <palves@redhat.com>
76618         * nscd/nscd.c (run_mode): Use enum.
76619         (main): Cleanup coding style issue.
76621 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
76622             Andreas Jaeger  <aj@suse.de>
76624         * nscd/nscd.c (go_background): Replaced with...
76625         (run_mode): ... this.
76626         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
76627         (options): Add -F --foreground.
76628         (main): Implement it.
76629         (parse_opt): Parse it.
76631 2012-05-09  Andreas Jaeger  <aj@suse.de>
76633         [BZ #14083]
76634         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
76635         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
76636         -Wconversion warning.
76637         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
76638         Likewise.
76640 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
76642         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
76643         == 0.
76644         (LC_ALL): Use macro-int-constant.
76645         (LC_COLLATE): Likewise.
76646         (LC_CTYPE): Likewise.
76647         (LC_MESSAGES): Likewise.
76648         (LC_MONETARY): Likewise.
76649         (LC_NUMERIC): Likewise.
76650         (LC_TIME): Likewise.
76651         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
76652         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76653         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76654         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
76655         Specify type.
76656         [C99-based standards] (float_t): Expect type.
76657         [C99-based standards] (double_t): Expect type.
76658         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
76659         type.
76660         [C99-based standards] (HUGE_VALL): Likewise.
76661         [C99-based standards] (INFINITY): Likewise.
76662         [C99-based standards] (NAN): Likewise.
76663         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
76664         [C99-based standards] (FP_NAN): Likewise.
76665         [C99-based standards] (FP_NORMAL): Likewise.
76666         [C99-based standards] (FP_SUBNORMAL): Likewise.
76667         [C99-based standards] (FP_ZERO): Likewise.
76668         [C99-based standards] (FP_FAST_FMA): Use
76669         optional-macro-int-constant.  Specify type.  Require == 1.
76670         [C99-based standards] (FP_FAST_FMAF): Likewise.
76671         [C99-based standards] (FP_FAST_FMAL): Likewise.
76672         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
76673         [C99-based standards] (FP_ILOGBNAN): Likewise.
76674         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
76675         Specify type.
76676         [C99-based standards] (MATH_ERREXCEPT): Likewise.
76677         [C99-based standards] (math_errhandling): Specify type.
76678         [ISO99 || ISO11] (signgam): Do not allow.
76679         [non-C99-based standards] (copysignf): Do not allow.
76680         [non-C99-based standards] (exp2f): Likewise.
76681         [non-C99-based standards] (log2f): Likewise.
76682         [non-C99-based standards] (modff): Allow.
76683         [non-C99-based standards] (erff): Do not allow.
76684         [non-C99-based standards] (erfcf): Likewise.
76685         [non-C99-based standards] (gammaf): Likewise.
76686         [non-C99-based standards] (hypotf): Likewise.
76687         [non-C99-based standards] (j0f): Likewise.
76688         [non-C99-based standards] (j1f): Likewise.
76689         [non-C99-based standards] (jnf): Likewise.
76690         [non-C99-based standards] (lgammaf): Likewise.
76691         [non-C99-based standards] (tgammaf): Likewise.
76692         [non-C99-based standards] (y0f): Likewise.
76693         [non-C99-based standards] (y1f): Likewise.
76694         [non-C99-based standards] (ynf): Likewise.
76695         [non-C99-based standards] (isnanf): Likewise.
76696         [non-C99-based standards] (acoshf): Likewise.
76697         [non-C99-based standards] (asinhf): Likewise.
76698         [non-C99-based standards] (atanhf): Likewise.
76699         [non-C99-based standards] (cbrtf): Likewise.
76700         [non-C99-based standards] (expm1f): Likewise.
76701         [non-C99-based standards] (ilogbf): Likewise.
76702         [non-C99-based standards] (log1pf): Likewise.
76703         [non-C99-based standards] (logbf): Likewise.
76704         [non-C99-based standards] (nextafterf): Likewise.
76705         [non-C99-based standards] (remainderf): Likewise.
76706         [non-C99-based standards] (rintf): Likewise.
76707         [non-C99-based standards] (scalbf): Likewise.
76708         [non-C99-based standards] (copysignl): Likewise.
76709         [non-C99-based standards] (exp2l): Likewise.
76710         [non-C99-based standards] (log2l): Likewise.
76711         [non-C99-based standards] (modfl): Allow.
76712         [non-C99-based standards] (erfl): Do not allow.
76713         [non-C99-based standards] (erfcl): Likewise.
76714         [non-C99-based standards] (gammal): Likewise.
76715         [non-C99-based standards] (hypotl): Likewise.
76716         [non-C99-based standards] (j0l): Likewise.
76717         [non-C99-based standards] (j1l): Likewise.
76718         [non-C99-based standards] (jnl): Likewise.
76719         [non-C99-based standards] (lgammal): Likewise.
76720         [non-C99-based standards] (tgammal): Likewise.
76721         [non-C99-based standards] (y0l): Likewise.
76722         [non-C99-based standards] (y1l): Likewise.
76723         [non-C99-based standards] (ynl): Likewise.
76724         [non-C99-based standards] (isnanl): Likewise.
76725         [non-C99-based standards] (acoshl): Likewise.
76726         [non-C99-based standards] (asinhl): Likewise.
76727         [non-C99-based standards] (atanhl): Likewise.
76728         [non-C99-based standards] (cbrtl): Likewise.
76729         [non-C99-based standards] (expm1l): Likewise.
76730         [non-C99-based standards] (ilogbl): Likewise.
76731         [non-C99-based standards] (log1pl): Likewise.
76732         [non-C99-based standards] (logbl): Likewise.
76733         [non-C99-based standards] (nextafterl): Likewise.
76734         [non-C99-based standards] (remainderl): Likewise.
76735         [non-C99-based standards] (rintl): Likewise.
76736         [non-C99-based standards] (scalbl): Likewise.
76737         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76738         [non-C99-based standards] (FP_*): Do not allow.
76739         [C99-based standards] (FP_*): Change to
76740         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
76741         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76742         allow.
76743         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
76744         (SIG_ERR): Likewise.
76745         [X/Open-based standards] (SIG_HOLD): Likewise.
76746         (SIG_IGN): Likewise.
76747         (SIGABRT): Use macro-int-constant.  Specify type.  Require
76748         positive value.
76749         (SIGFPE): Likewise.
76750         (SIGILL): Likewise.
76751         (SIGINT): Likewise.
76752         (SIGSEGV): Likewise.
76753         (SIGTER): Likewise.
76754         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
76755         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
76756         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
76757         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
76758         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
76759         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
76760         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
76761         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
76762         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
76763         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
76764         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
76765         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
76766         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
76767         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
76768         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
76769         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
76770         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
76771         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
76772         [X/Open-based standards] (SIGTRAP): Likewise.
76773         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
76774         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
76775         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
76776         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
76777         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76778         allow.
76780 2012-05-08  Ian Wienand  <ianw@vmware.com>
76782         [BZ #14080]
76783         * time/tzset.c (__tzset_parse_tz): Update default rules for
76784         daylight time changes in the Energy Policy Act of 2005.
76786 2012-05-09  Andreas Jaeger  <aj@suse.de>
76788         [BZ #13983]
76789         * elf/ldconfig.c (parse_conf): Change string to make clear that
76790         ldconfig only issued a warning if ld.so.conf does not exist.
76792 2012-05-08  David S. Miller  <davem@davemloft.net>
76794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
76795         movxtod instead of popping the value on the stack.
76797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76799 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
76801         * config.h.in: Add HAVE_ARM_PCS_VFP.
76803 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
76805         [BZ #13979]
76806         * include/features.h: Warn if user requests __FORTIFY_SOURCE
76807         checking but the checks are disabled for any reason.
76809 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
76811         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
76812         and ELF64_R_TYPE with ELFW(R_TYPE).
76814 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
76816         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
76817         (ulimit): Likewise.
76819         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
76820         (settimeofday): Likewise.
76822 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
76824         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
76825         a struct th_u2 inside the union, and move tu_block/tu_code into
76826         a new th_u3 union of tu_block/tu_code inside of that.  Move
76827         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
76828         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
76829         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
76830         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
76831         (th_stuff): Change to th_u1.tu_stuff.
76832         (th_data): Define.
76833         (th_msg): Change to th_u1.th_u2.tu_data.
76835 2012-05-07  David S. Miller  <davem@davemloft.net>
76837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76839         [BZ #14074]
76840         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
76841         (SETUP_PIC_REG): Use it.
76842         (SETUP_PIC_REG_LEAF): Use it.
76844 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
76846         [BZ #13885]
76847         [BZ #13923]
76848         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76849         USE_AS_EXPM1L.
76850         (EXPL_FINITE): Likewise.
76851         (FLDLOG): Likewise.
76852         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76853         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76854         e_expl.S.
76855         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76856         USE_AS_EXPM1L.
76857         (EXPL_FINITE): Likewise.
76858         (FLDLOG): Likewise.
76859         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
76860         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
76861         e_expl.S.
76862         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
76863         test of -max_value argument for long double.
76864         * sysdeps/i386/fpu/libm-test-ulps: Update.
76865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76867 2012-05-06  David S. Miller  <davem@davemloft.net>
76869         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
76870         quad soft-float symbols whose references which are compiler
76871         generated.
76872         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
76874 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
76876         [BZ #13884]
76877         [BZ #13914]
76878         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76879         USE_AS_EXP10L.
76880         (EXPL_FINITE): Likewise.
76881         (FLDLOG): Likewise.
76882         (c0): Likewise.
76883         (c1): Likewise.
76884         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76885         Adjust comments for base varying.
76886         (__expl_finite): Change alias to EXPL_FINITE.
76887         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
76888         e_expl.S.
76889         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
76890         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
76891         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
76892         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
76893         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
76894         USE_AS_EXP10L.
76895         (EXPL_FINITE): Likewise.
76896         (FLDLOG): Likewise.
76897         (c0): Likewise.
76898         (c1): Likewise.
76899         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
76900         Adjust comments for base varying.
76901         (__expl_finite): Change alias to EXPL_FINITE.
76902         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
76903         tests for bugs.
76904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76906         [BZ #14064]
76907         * math/libm-test.inc (check_float_internal): Correct ulp
76908         calculation for subnormal expected results.
76910 2012-05-06  Andreas Jaeger  <aj@suse.de>
76912         * Makeconfig (+math-flags): New, set to -frounding-math.
76913         (+cflags): Add +math-flags so that all of glibc gets compiled with
76914         it.
76916         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
76918 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
76920         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
76921         Disable one test.
76923         [BZ #13787]
76924         [BZ #13922]
76925         [BZ #14036]
76926         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
76927         (__ieee754_expl): Allow for and saturate large arguments.
76928         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
76929         (u_threshold): Likewise.
76930         (__exp): Call __ieee754_exp before checking for overflow and
76931         underflow.
76932         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
76933         (u_threshold): Likewise.
76934         (__expf): Call __ieee754_expf before checking for overflow and
76935         underflow.
76936         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
76937         (u_threshold): Likewise.
76938         (__expl): Call __ieee754_expl before checking for overflow and
76939         underflow.
76940         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
76941         (__ieee754_expl): Allow for and saturate large arguments.
76942         * math/libm-test.inc (exp_test): Add another test.  Do not allow
76943         missing overflow exception on overflow.
76944         (expm1_test): Do not allow missing overflow exception on overflow.
76946         * sysdeps/i386/fpu/e_expl.c: Move to ...
76947         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
76948         rather than using inline asm.
76949         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76950         * sysdeps/x86_64/fpu/e_expl.S: Copy from
76951         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76953         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76954         (nice): Likewise.
76955         (poll): Likewise.
76956         (signal): Likewise.
76957         (time): Likewise.
76958         (times): Likewise.
76960 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76962         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76963         sysdeps/unix/common/syscalls.list.
76964         (fchmod): Likewise.
76965         (fchown): Likewise.
76966         (ftruncate): Likewise.
76967         (getrusage): Likewise.
76968         (gettimeofday): Likewise.
76969         (setpgid): Likewise.
76970         (setregid): Likewise.
76971         (setreuid): Likewise.
76972         (sigaction): Likewise.
76973         (truncate): Likewise.
76974         (vhangup): Likewise.
76975         * sysdeps/unix/common/syscalls.list: Remove file.
76976         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76977         * sysdeps/unix/sysv/linux/Implies: Likewise.
76979 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76981         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76983         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76984         Moved to ...
76985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76986         Here.
76987         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76988         to ...
76989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76990         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76991         to ...
76992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76993         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76994         to ...
76995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76996         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76997         to ...
76998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76999         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77000         to ...
77001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77002         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77003         to ...
77004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77005         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77006         to ...
77007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77008         Here.
77009         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77010         to ...
77011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77012         Here.
77013         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77014         to ...
77015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77016         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77017         Moved to ...
77018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77019         Here.
77020         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77021         to ...
77022         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77024 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77026         * sysdeps/unix/common/bits/dirent.h: Remove file.
77027         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77029         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77030         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77031         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77032         * sysdeps/unix/bsd/isatty.c: Likewise.
77033         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77034         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77035         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77037 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77039         [BZ #13563]
77040         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77041         long double comparison inaccuracies.
77042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77045 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77047         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77048         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77050 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77052         [BZ #14049]
77053         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77054         nonzero digits before rounding a hex value.
77055         * stdlib/tst-strtod.c (tests): Add another test.
77057 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77059         * sysdeps/s390/fpu/libm-test-ulps: Update.
77061 2012-05-03  Andreas Jaeger  <aj@suse.de>
77063         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77064         does not get optimized out.
77065         (malloc_opt_barrier): New.
77067 2012-05-03  Andreas Jaeger  <aj@suse.de>
77068             Roland McGrath  <roland@hack.frob.com>
77070         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77071         intermediate file deletion.
77072         (generated): Add .symlist files.
77074 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77076         [BZ #13775]
77077         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77078         Redirect under this condition.
77079         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77080         [__USE_GNU] (__dprintf_chk): Not under this condition.
77081         [__USE_GNU] (__vdprintf_chk): Likewise.
77082         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77083         under this condition.
77084         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77085         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77086         [__USE_XOPEN2K8] (vdprintf): Likewise.
77087         [__USE_GNU] (__dprintf_chk): Not under this condition.
77088         [__USE_GNU] (__vdprintf_chk): Likewise.
77089         [__USE_GNU] (dprintf): Likewise.
77090         [__USE_GNU] (vdprintf): Likewise.
77092 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77094         * elf/Makefile (common-generated): Set this instead of generated for
77095         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77096         $(all-built-dso)-derived lists.
77098 2012-05-03  Andreas Jaeger  <aj@suse.de>
77100         * sysdeps/i386/fpu/libm-test-ulps: Update.
77102         * FAQ: Removed.
77103         * FAQ.in: Likewise.
77104         * scripts/gen-FAQ.pl: Likewise.
77105         * manual/install.texi (Installation): Point to online location of
77106         FAQ.
77107         * Makefile (files-for-dist): Remove FAQ.
77108         (FAQ): Remove.
77110 2012-05-02  Allan McRae  <allan@archlinux.org>
77112         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77113         (LDFLAGS-reldepmod5.so): Likewise.
77114         (LDFLAGS-reldep6mod1.so): Likewise.
77115         (LDFLAGS-reldep6mod4.so): Likewise.
77116         (LDFLAGS-reldep8mod3.so): Likewise.
77117         (LDFLAGS-unload4mod1.so): Likewise.
77118         (LDFLAGS-unload4mod2.so): Likewise.
77119         (LDFLAGS-tst-initorder): Likewise.
77120         (LDFLAGS-tst-initordera2.so): Likewise.
77121         (LDFLAGS-tst-initordera3.so): Likewise.
77122         (LDFLAGS-tst-initordera4.so): Likewise.
77123         (LDFLAGS-tst-initorderb2.so): Likewise.
77124         (LDFLAGS-noload): Likewise.
77125         (LDFLAGS-next): Likewise.
77126         (LDFLAGS-order2mod1.so): Likewise.
77127         (LDFLAGS-order2mod2.so): Likewise.
77128         (LDFLAGS-tst-initorder2): Likewise.
77129         (LDFLAGS-tst-initorder2a.so): Likewise.
77130         (LDFLAGS-tst-initorder2b.so): Likewise.
77131         (LDFLAGS-tst-initorder2c.so): Likewise.
77132         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77134 2012-05-02  David S. Miller  <davem@davemloft.net>
77136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77138 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77140         [BZ #14055]
77141         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77143 2012-05-02  Andreas Jaeger  <aj@suse.de>
77145         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77146         since we manipulate rounding mode.
77147         (CPPFLAGS-test-idouble.c): Likewise.
77148         (CPPFLAGS-test-ifloat.c): Likewise.
77149         (CFLAGS-test-ldouble.c): Likewise.
77150         (CFLAGS-test-double.c): Likewise.
77151         (CFLAGS-test-float.c): Likewise.
77152         (CFLAGS-test-misc.c): Likewise.
77153         (CFLAGS-test-test-fenv.c): Likewise.
77155 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77157         [BZ #2550]
77158         [BZ #2570]
77159         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77160         comparisons to determine direction to adjust input.
77162 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77164         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77165         output to the target.
77167         * scripts/localplt.awk: New file.
77168         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77169         (check-localplt-CFLAGS): Variable removed.
77170         ($(all-built-dso:=.jmprel)): New static pattern rule.
77171         (generated): Add those targets.
77172         (localplt-built-dso): New variable.
77173         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77175         * elf/check-localplt.c: File removed.
77177         * scripts/check-execstack.awk: New file.
77178         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77179         (check-execstack-CFLAGS): Variable removed.
77180         ($(objpfx)check-execstack.h): Target removed.
77181         ($(objpfx)execstack-default): New target.
77182         (generated): Add that instead of check-execstack.h.
77183         ($(all-built-dso:=.phdr)): New static pattern rule.
77184         (generated): Add those targets.
77185         * elf/check-execstack.c: File removed.
77187         * scripts/check-textrel.awk: New file.
77188         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77189         (check-textrel-CFLAGS): Variable removed.
77190         (all-built-dso): Use := to define.o
77191         ($(all-built-dso:=.dyn)): New static pattern rule.
77192         (generated): Add those targets.
77193         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77194         * config.make.in (READELF): New substituted variable.
77195         * elf/check-textrel.c: File removed.
77197 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77199         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77200         allow.
77201         * conform/data/ctype.h-data [C99-based standards] (isblank):
77202         Expect function.
77203         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77204         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77205         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77206         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77207         Specify type.  Require positive value.
77208         (EILSEQ): Likewise.
77209         (ERANGE): Likewise.
77210         [ISO || POSIX] (EILSEQ): Do not expect.
77211         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77212         Specify type.  Require positive value.
77213         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77214         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77215         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77216         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77217         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77218         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77219         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77220         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77221         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77222         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
77223         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
77224         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
77225         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
77226         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
77227         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
77228         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
77229         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
77230         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
77231         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
77232         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
77233         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
77234         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
77235         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
77236         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
77237         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
77238         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
77239         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
77240         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
77241         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
77242         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
77243         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
77244         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
77245         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
77246         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
77247         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
77248         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
77249         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
77250         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
77251         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
77252         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
77253         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
77254         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
77255         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
77256         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
77257         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
77258         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
77259         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
77260         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
77261         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
77262         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
77263         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
77264         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
77265         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
77266         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
77267         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
77268         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
77269         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
77270         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
77271         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
77272         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
77273         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
77274         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
77275         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
77276         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
77277         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
77278         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
77279         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
77280         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
77281         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
77282         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
77283         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
77284         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
77285         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
77286         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
77287         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
77288         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
77289         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
77290         Require >= 2.
77291         (FLT_ROUNDS): Expect as macro, not constant.
77292         (FLT_MANT_DIG): Use macro-int-constant.
77293         (DBL_MANT_DIG): Likewise.
77294         (LDBL_MANT_DIG): Likewise.
77295         (FLT_DIG): Likewise.
77296         (DBL_DIG): Likewise.
77297         (LDBL_DIG): Likewise.
77298         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
77299         (DBL_MIN_EXP): Likewise.
77300         (LDBL_MIN_EXP): Likewise.
77301         (FLT_MAX_EXP): Use macro-int-constant.
77302         (DBL_MAX_EXP): Likewise.
77303         (LDBL_MAX_EXP): Likewise.
77304         (FLT_MAX_10_EXP): Likewise.
77305         (DBL_MAX_10_EXP): Likewise.
77306         (LDBL_MAX_10_EXP): Likewise.
77307         (FLT_MAX): Use macro-constant.
77308         (DBL_MAX): Likewise.
77309         (LDBL_MAX): Likewise.
77310         (FLT_EPSILON): Use macro-constant.  Give upper bound.
77311         (DBL_EPSILON): Likewise.
77312         (LDBL_EPSILON): Likewise.
77313         (FLT_MIN): Likewise.
77314         (DBL_MIN): Likewise.
77315         (LDBL_MIN): Likewise.
77316         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
77317         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
77318         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
77319         [ISO11] (FLT_HAS_SUBNORM): Likewise.
77320         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
77321         [ISO11] (DBL_DECIMAL_DIG): Likewise.
77322         [ISO11] (FLT_DECIMAL_DIG): Likewise.
77323         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
77324         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
77325         [ISO11] (FLT_TRUE_MIN): Likewise.
77326         [ISO11] (LDBL_TRUE_MIN): Likewise.
77327         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77328         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
77329         (SCHAR_MIN): Use macro-int-constant.  Specify type.
77330         (SCHAR_MAX): Likewise.
77331         (UCHAR_MAX): Likewise.
77332         (CHAR_MIN): Likewise.
77333         (CHAR_MAX): Likewise.
77334         (MB_LEN_MAX): Use macro-int-constant.
77335         (SHRT_MIN): Use macro-int-constant.  Specify type.
77336         (SHRT_MAX): Likewise.
77337         (USHRT_MAX): Likewise.
77338         (INT_MAX): Likewise.
77339         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
77340         bound negative.
77341         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77342         bound with "U".
77343         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77344         bound with "L".
77345         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
77346         bound negative.  Suffix upper bound with "L".
77347         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
77348         bound with "UL".
77349         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
77350         Specify type.
77351         [C99-based standards] (LLONG_MAX): Likewise.
77352         [C99-based standards] (ULLONG_MAX): Likewise.
77353         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
77354         == 0.
77355         [ISO11] (max_align_t): Require type.
77356         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77358         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
77359         from $CFLAGS, without defining away __attribute__ calls.
77360         (checknamespace): Use $CFLAGS_namespace.
77362         * conform/conformtest.pl (@keywords): Only include C99 keywords
77363         for standards based on C99 or C11.
77365         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
77366         Disable tests.
77367         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
77368         UNIX98]: Likewise.
77370         * conform/conformtest.pl: Handle "macro-int-constant" and test for
77371         usability of symbols in #if.
77373         * conform/conformtest.pl: If macro or constant types start
77374         "promoted:", expect the symbol to be of the following type
77375         promoted by the integer promotions.
77377         * conform/conformtest.pl: Parse all "constant" and "macro" lines
77378         in one place.  Also handle "macro-constant".
77380         * conform/conformtest.pl: Only accept expected macro values with
77381         "==".  Parse all "macro" lines in one place.
77382         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
77384         * conform/conformtest.pl: Handle braced types on "constant" lines
77385         instead of handling "typed-constant".
77386         * conform/data/signal.h-data: Use "constant" instead of
77387         "typed-constant".
77389         * conform/conformtest.pl: Handle "optional-" at start of lines in
77390         one place rather than duplicating several cases.  Handle each
77391         format of "macro" line with initial "optional-".
77393         * conform/conformtest.pl: Only accept expected constant or
77394         optional-constant values with "==".  Parse all "constant" lines in
77395         one place.  Parse all "optional-constant" lines in one place.
77396         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
77397         * conform/data/fmtmsg.h-data: Likewise.
77398         * conform/data/netinet/in.h-data: Likewise.
77399         * conform/data/tar.h-data: Likewise.
77400         * conform/data/limits.h-data: Use "==" form on "constant" and
77401         "optional-constant" lines.
77403         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
77404         Use -std=c99 for XOPEN2K.
77405         (@knownproblems): Remove.
77406         (newtoken): Don't check %isknown.
77408         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
77409         Do not expect macro.
77410         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
77411         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
77412         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
77413         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
77414         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
77415         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
77416         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
77417         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
77418         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
77419         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
77420         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
77421         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
77422         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
77423         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
77424         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
77425         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
77426         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
77427         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
77428         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
77429         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
77430         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
77431         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
77432         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
77433         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
77434         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
77435         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
77436         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
77437         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
77438         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
77439         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
77440         [XPG3] (acosh): Likewise.
77441         [XPG3] (asinh): Likewise.
77442         [XPG3] (atanh): Likewise.
77443         [XPG3] (cbrt): Likewise.
77444         [XPG3] (expm1): Likewise.
77445         [XPG3] (ilogb): Likewise.
77446         [XPG3] (log1p): Likewise.
77447         [XPG3] (logb): Likewise.
77448         [XPG3] (nextafter): Likewise.
77449         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
77450         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
77451         [XPG3] (remainder): Likewise.
77452         [XPG3] (rint): Likewise.
77453         [XPG3 || XPG4 || UNIX98] (round): Likewise.
77454         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
77455         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
77456         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
77457         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
77458         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
77459         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
77460         [UNIX98 || XOPEN2K] (scalb): Expect.
77461         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
77462         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
77463         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
77464         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
77465         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
77466         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
77467         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
77468         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
77469         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
77470         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
77471         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
77472         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
77473         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
77474         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
77475         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
77476         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
77477         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
77478         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
77479         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
77480         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
77481         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
77482         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
77483         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
77484         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
77485         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
77486         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
77487         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
77488         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
77489         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
77490         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
77491         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
77492         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
77493         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
77494         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
77495         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
77496         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
77497         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
77498         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
77499         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
77500         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
77501         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
77502         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
77503         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
77504         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
77505         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
77506         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
77507         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
77508         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
77509         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
77510         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
77511         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
77512         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
77513         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
77514         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
77515         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
77516         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
77517         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
77518         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
77519         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
77520         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
77521         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
77522         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
77523         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
77524         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
77525         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
77526         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
77527         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
77528         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
77529         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
77530         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
77531         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
77532         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
77533         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
77534         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
77535         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
77536         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
77537         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
77538         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
77539         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
77540         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
77541         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
77542         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
77543         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
77544         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
77545         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
77546         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
77547         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
77548         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
77549         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
77550         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
77551         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
77552         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
77553         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
77554         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
77555         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
77556         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
77557         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
77558         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
77559         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
77560         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
77561         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
77562         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
77563         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
77564         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
77565         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
77566         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
77567         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
77568         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
77569         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
77570         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
77571         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
77572         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
77573         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
77574         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
77575         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
77576         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
77577         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
77578         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
77579         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
77580         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
77581         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
77582         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
77583         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
77584         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
77585         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
77586         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
77587         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
77588         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
77589         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
77590         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
77591         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
77592         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
77593         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
77594         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
77595         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
77596         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
77597         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
77599         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
77600         _XOPEN_SOURCE_EXTENDED for XPG4.
77602         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
77604         * Makeconfig (localtime): Remove variable.
77605         (inst_localtime-file): Likewise.
77607 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
77610         Update.
77611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
77612         Update.
77613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
77614         Update.
77615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
77616         Update.
77617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
77618         Update.
77619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
77620         Update.
77621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
77622         Update.
77623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
77624         Update.
77625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77626         Update.
77628 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77630         [BZ #2550]
77631         [BZ #2570]
77632         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
77633         comparisons to determine direction to adjust input.
77634         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
77635         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
77636         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
77637         Likewise.
77638         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
77639         Likewise.
77640         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
77641         Likewise.
77642         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
77643         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
77644         Likewise.
77645         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
77646         Likewise.
77647         * math/libm-test.inc (nexttoward_test): Add more tests.
77649 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
77651         [BZ #14040]
77652         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
77653         in version GLIBC_2.1, not GLIBC_2.0.
77654         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
77655         Likewise.
77657 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
77659         [BZ #13942]
77660         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
77661         (1 - x) * (1 + x).
77662         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77663         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
77664         * math/libm-test.inc (acos_test): Add more tests.
77665         (asin_test): Likewise.
77666         * sysdeps/i386/fpu/libm-test-ulps: Update.
77667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77669         [BZ #14034]
77670         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
77671         of square root.
77672         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
77673         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
77674         * math/libm-test.inc (acos_test_tonearest): New function.
77675         (acos_test_towardzero): Likewise.
77676         (acos_test_downward): Likewise.
77677         (acos_test_upward): Likewise.
77678         (asin_test_tonearest): Likewise.
77679         (asin_test_towardzero): Likewise.
77680         (asin_test_downward): Likewise.
77681         (asin_test_upward): Likewise.
77682         (main): Call the new functions.
77683         * sysdeps/i386/fpu/libm-test-ulps: Update.
77684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77686         [BZ #13884]
77687         [BZ #13924]
77688         * math/e_exp10.c: Include <float.h>.
77689         (__ieee754_exp10): Handle underflow here rather than multiplying
77690         large negative argument by M_LN10.
77691         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
77692         of __ieee754_expf.
77693         * math/e_exp10l.c: Include <float.h>.
77694         (__ieee754_exp10l): Handle underflow here rather than multiplying
77695         large negative argument by M_LN10l.
77696         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
77697         spurious overflow exception on underflow.
77699 2012-04-29  Marek Polacek  <polacek@redhat.com>
77701         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
77702         (__fortify_function): New macro.
77703         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
77704         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
77705         __extern_always_inline.
77706         * libio/bits/stdio2.h: Likewise.
77707         * libio/bits/stdio.h: Likewise.
77708         * string/string.h: Likewise.
77709         * string/bits/string3.h: Likewise.
77710         * include/stdio.h: Likewise.
77711         * stdlib/bits/stdlib.h: Likewise.
77712         * stdlib/stdlib.h: Likewise.
77713         * rt/bits/mqueue2.h: Likewise.
77714         * rt/mqueue.h: Likewise.
77715         * posix/bits/unistd.h: Likewise.
77716         * posix/unistd.h: Likewise.
77717         * io/bits/poll2.h: Likewise.
77718         * io/bits/fcntl2.h: Likewise.
77719         * io/fcntl.h: Likewise.
77720         * io/sys/poll.h: Likewise.
77721         * misc/bits/syslog.h: Likewise.
77722         * misc/bits/syslog-ldbl.h: Likewise.
77723         * misc/sys/syslog.h: Likewise.
77724         * socket/bits/socket2.h: Likewise.
77725         * socket/sys/socket.h: Likewise.
77726         * debug/tst-chk1.c: Likewise.
77727         * wcsmbs/bits/wchar2.h: Likewise.
77728         * wcsmbs/bits/wchar-ldbl.h: Likewise.
77729         * wcsmbs/wchar.h: Likewise.
77731 2012-04-29  Andreas Jaeger  <aj@suse.de>
77733         * Makerules (tests): Remove enable-check-abi protection.
77734         (check-abi-warn): Remove.
77735         (check-abi-%): Remove check-abi-warn usage.
77737         * configure.in: Remove check-abi configure option.
77738         * configure: Regenerated.
77739         * config.make.in (enable-check-abi): Remove.
77741 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
77743         [BZ #14033]
77744         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
77745         double functions to double *_finite functions.
77747         [BZ #13941]
77748         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
77749         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
77750         LDBL_MIN_EXP.
77751         * stdio-common/Makefile (tests): Add tst-sprintf3.
77752         * stdio-common/tst-sprintf3.c: New file.
77754         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
77755         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
77757 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77759         * conform/conformtest.pl: Remove duplicate typed-constant
77760         handling.
77762 2012-04-28  David S. Miller  <davem@davemloft.net>
77764         * Makerules (%.abilist): Add vpath on sysdep_dirs.
77765         (check-abi-%): Remove AWK script prerequisite and explicit
77766         abilist directory.
77767         (check-abi): Rewrite to just diff the symlist with the abilist.
77768         (config-tls, config-abi-config): Delete, no longer used.
77769         (update-abi-%): Remove AWK script and explicit abilist directory.
77770         (update-abi): Rewrite to simply compare and conditionally copy the
77771         symlist and the sysdep abilist file.  Remove update-abi-config
77772         checks.
77773         * abilist/ld.abilist: Remove.
77774         * abilist/libBrokenLocale.abilist: Remove.
77775         * abilist/libanl.abilist: Remove.
77776         * abilist/libcrypt.abilist: Remove.
77777         * abilist/libdl.abilist: Remove.
77778         * abilist/librt.abilist: Remove.
77779         * abilist/libthread_db.abilist: Remove.
77780         * abilist/libutil.abilist: Remove.
77781         * scripts/extract-abilist.awk: Remove.
77782         * scripts/merge-abilist.awk: Remove.
77783         * sysdeps/generic/libcidn.abilist: New file.
77784         * sysdeps/generic/libnss_compat.abilist: New file.
77785         * sysdeps/generic/libnss_db.abilist: New file.
77786         * sysdeps/generic/libnss_dns.abilist: New file.
77787         * sysdeps/generic/libnss_files.abilist: New file.
77788         * sysdeps/generic/libnss_hesiod.abilist: New file.
77789         * sysdeps/generic/libnss_nis.abilist: New file.
77790         * sysdeps/generic/libnss_nisplus.abilist: New file.
77791         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
77792         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
77793         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
77794         file.
77795         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
77796         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
77797         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
77798         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
77799         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
77800         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
77801         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
77802         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
77803         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
77804         file.
77805         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
77806         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
77807         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
77808         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
77809         file.
77810         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
77811         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
77812         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
77813         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
77814         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
77815         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
77816         file.
77817         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
77818         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
77819         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
77820         file.
77821         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
77822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
77823         New file.
77824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
77825         New file.
77826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
77827         New file.
77828         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
77829         New file.
77830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
77831         New file.
77832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
77833         New file.
77834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
77835         New file.
77836         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
77837         New file.
77838         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
77839         New file.
77840         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
77841         New file.
77842         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
77843         New file.
77844         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
77845         New file.
77846         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
77847         New file.
77848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
77849         file.
77850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
77851         New file.
77852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
77853         New file.
77854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
77855         file.
77856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
77857         New file.
77858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
77859         New file.
77860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
77861         file.
77862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
77863         New file.
77864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
77865         New file.
77866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
77867         New file.
77868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
77869         New file.
77870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
77871         New file.
77872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
77873         New file.
77874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
77875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
77876         file.
77877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
77878         New file.
77879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
77880         file.
77881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
77882         file.
77883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
77884         file.
77885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
77886         file.
77887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
77888         file.
77889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77890         New file.
77891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
77892         file.
77893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
77894         file.
77895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
77896         New file.
77897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
77898         file.
77899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
77900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
77901         file.
77902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
77903         New file.
77904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
77905         file.
77906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
77907         file.
77908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
77909         file.
77910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
77911         file.
77912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
77913         file.
77914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77915         New file.
77916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
77917         file.
77918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
77919         file.
77920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
77921         New file.
77922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
77923         file.
77924         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77925         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
77926         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
77927         file.
77928         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
77929         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
77930         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
77931         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
77932         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
77933         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
77934         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
77935         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
77936         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
77937         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
77938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
77939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
77940         file.
77941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
77942         New file.
77943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
77944         file.
77945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77946         file.
77947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77948         file.
77949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77950         file.
77951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77952         file.
77953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77954         New file.
77955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77956         New file.
77957         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77958         file.
77959         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77960         New file.
77961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77962         file.
77963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77965         file.
77966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77967         New file.
77968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77969         file.
77970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77971         file.
77972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77973         file.
77974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77975         file.
77976         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77977         file.
77978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77979         New file.
77980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77981         New file.
77982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77983         file.
77984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77985         New file.
77986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77987         file.
77989 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77991         * conform/conformtest.pl: Fix typo in handling typed-constant from
77992         allow-header.
77994 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77996         * README: Cut down references to pre-2.6 Linux kernels and
77997         Linuxthreads.  Update lists of configurations in libc and ports
77998         and sort alphabetically.  Say "or newer" with Linux kernel version
77999         requirements.
78001         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78003 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78005         [BZ #887]
78006         * math/libm-test.inc (logb_test_downward): New test to expose
78007         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78008         rounding mode.
78010 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78012         [BZ #14027]
78013         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78014         to be done.
78015         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78016         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78018 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78020         * sysdeps/unix/i386/brk.S: Remove file.
78021         * sysdeps/unix/i386/dl-brk.S: Likewise.
78022         * sysdeps/unix/i386/pipe.S: Likewise.
78023         * sysdeps/unix/i386/sigreturn.S: Likewise.
78024         * sysdeps/unix/i386/syscall.S: Likewise.
78025         * sysdeps/unix/i386/vfork.S: Likewise.
78026         * sysdeps/unix/i386/wait.S: Likewise.
78028         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78029         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78031         * configure.in (arm*-none*): Do not allow without
78032         --enable-hacker-mode.
78033         (netbsd*): Remove case setting base_os.
78034         (386bsd*): Likewise.
78035         (freebsd*): Likewise.
78036         (bsdi*): Likewise.
78037         (osf*): Likewise.
78038         (sunos*): Likewise.
78039         (ultrix*): Likewise.
78040         (newsos*): Likewise.
78041         (dynix*): Likewise.
78042         (*bsd*): Likewise.
78043         (sysv*): Likewise.
78044         (isc*): Likewise.
78045         (esix*): Likewise.
78046         (sco*): Likewise.
78047         (minix*): Likewise.
78048         (irix4*): Likewise.
78049         (irix6*): Likewise.
78050         (solaris[2-9]*): Likewise.
78051         (none): Likewise.
78052         * configure: Regenerated.
78054 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78056         [BZ #11521]
78057         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78058         overflow or cancellation in calculating denominator.
78059         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78060         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78061         down expression to avoid unexpected rounding in newer GCCs.
78062         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78064 2012-04-26  David S. Miller  <davem@davemloft.net>
78066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78067         long-double compat symbols.
78068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78082 2012-04-25  David S. Miller  <davem@davemloft.net>
78084         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78085         HWCAP_* values only after the memory barriers have been defined.
78086         (atomic_full_barrier): Define.
78087         (atomic_read_barrier): Define.
78088         (atomic_write_barrier): Define.
78090 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78092         * shlib-versions: Add libgcc_s version information.
78093         * sysdeps/generic/libgcc_s.h: Remove.
78094         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78095         libgcc_s.h.
78096         * sysdeps/gnu/unwind-resume.c: Likewise.
78097         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78099 2012-04-25  David S. Miller  <davem@davemloft.net>
78101         * sysdeps/unix/sparc/brk.S: Delete.
78102         * sysdeps/unix/sparc/dl-brk.S: Delete.
78103         * sysdeps/unix/sparc/pipe.S: Delete.
78104         * sysdeps/unix/sparc/sysdep.S: Delete.
78105         * sysdeps/unix/sparc/sysdep.h: Delete.
78106         * sysdeps/unix/sparc/vfork.S: Delete.
78107         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78108         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78109         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78110         (ret_ERRVAL, r0, r1, MOVE): Define.
78111         (JUMPTARGET): Remove.
78112         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78113         sysdeps/unix/sparc/sysdep.h
78114         (ENTRY, END): Remove.
78115         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78117 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78119         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78120         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78121         -DIS_IN_build.
78123         * timezone/README: Update upstream location and email address for
78124         tzcode and tzdata.
78125         * timezone/zdump.c: Update from tzcode 2012b.
78126         * timezone/zic.c: Likewise.
78128         * configure.in (libc_cv_as_needed): Remove test.
78129         * configure: Regenerated.
78130         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78131         conditional definition.
78132         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78133         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78134         * config.make.in (have-as-needed): Remove variable.
78136 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78137             Paul Pluzhnikov  <ppluzhnikov@google.com>
78139         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78140         strings correctly.
78142 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78144         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78145         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78146         * sysdeps/sh/strlen.S: Likewise.
78148 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78150         * sysdeps/unix/fork.S: Remove file.
78151         * sysdeps/unix/i386/fork.S: Likewise.
78152         * sysdeps/unix/sparc/fork.S: Likewise.
78154         * sysdeps/unix/system.c: Remove file.
78155         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78157         * sysdeps/unix/getegid.S: Remove file.
78158         * sysdeps/unix/geteuid.S: Likewise.
78160 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78162         * scripts/check-localplt.awk: New file.
78163         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78164         of diff.
78165         * scripts/data/localplt-generic.data: Add a comment.
78167         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78168         NODE when __dir_mkfile failed.
78169         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78170         Reported by Ludovic Courtès <ludo@gnu.org>.
78172 2012-04-24  Andreas Jaeger  <aj@suse.de>
78174         * Makerules (common-clean): Also remove gen-as-const-headers
78175         files.
78177 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78179         * Makerules (native-compile): Do not change working directory for
78180         build.  Use $(OUTPUT_OPTION) in command.
78181         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78183 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78185         [BZ #13886]
78186         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78187         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78188         * math/libm-test.inc (floor_test): Add more tests.
78189         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78191 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78193         * sysdeps/unix/getdents.c: Remove file.
78194         * sysdeps/unix/sysv/getdents.c: Likewise.
78195         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78197         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78198         sysdeps/unix/mman/syscalls.list.
78199         (mmap): Likewise.
78200         (mprotect): Likewise.
78201         (msync): Likewise.
78202         (munmap): Likewise.
78203         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78204         * sysdeps/unix/mman/syscalls.list: Remove.
78205         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78207         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78208         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78209         * configure: Regenerated.
78210         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78211         $(libgcc_s_suffix).
78212         * config.make.in (libgcc_s_suffix): Remove variable.
78214 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78216         * sysdeps/unix/sysv/gethostname.c: Move to ...
78217         * sysdeps/posix/gethostname.c: ... here.
78219         * sysdeps/unix/execve.S: Remove file.
78221         * sysdeps/unix/_exit.S: Remove file.
78223 2012-04-23  Andreas Jaeger  <aj@suse.de>
78225         [BZ #13739]
78226         * manual/Makefile: Remove make dist support, there's no
78227         need for a stand-alone documentation tar ball.
78228         (TEXI2DVI): Define always, it's not in Makeconfig.
78229         (dist): Removed.
78230         (tar-it): Removed.
78231         (edition): Removed.
78232         (glibc-doc-$(edition).tar): Removed
78233         (%.Z): Removed.
78234         (%.gz): Removed.
78235         (%.uu): Removed.
78236         (ETAGS): Remove, it's in Makeconfig.
78237         (move-if-change): Remove, it's in Makeconfig.
78239 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
78241         [BZ #13970]
78242         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
78243         (strtod, strtof, strtold, strtol, strtoul, strtoq)
78244         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
78245         (strtod_l, strtof_l, strtold_l): Remove __wur.
78246         It is not necessarily an error to ignore strtol's return value.
78247         One can reliably look at the stored endptr to decide whether
78248         the number had valid syntax.
78250 2012-04-21  Andreas Jaeger  <aj@suse.de>
78252         [BZ #13739]
78253         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
78255 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
78257         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
78258         * sysdeps/unix/sysv/Versions: Remove file.
78260 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
78262         [BZ #13927]
78263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78265 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
78267         [BZ #7064]
78268         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
78269         version from __vm86.
78271 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
78273         * sysdeps/unix/common/lxstat.c: Remove file.
78274         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
78276         * sysdeps/unix/sysv/Makefile: Remove file.
78278         * sysdeps/unix/sysv/direct.h: Remove file.
78280         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
78281         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
78282         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
78283         * sysdeps/unix/sysv/bits/signum.h: Likewise.
78284         * sysdeps/unix/sysv/bits/stat.h: Likewise.
78285         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
78286         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
78288         * sysdeps/unix/sysv/setrlimit.c: Remove file.
78290         * sysdeps/unix/xmknod.c: Remove file.
78291         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
78293         * sysdeps/unix/sysv/settimeofday.c: Remove file.
78295         * sysdeps/unix/sysv/i386/time.S: Remove file.
78297         * sysdeps/unix/fxstat.c: Remove file.
78298         * sysdeps/unix/xstat.c: Likewise.
78299         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
78301         * sysdeps/unix/sysv/sigaction.c: Remove file.
78303         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
78304         (sysdep_headers): Remove variable.
78305         [termio.h not in sysdep_headers] (generated): Likewise.
78306         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
78307         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
78308         * sysdeps/unix/sysv/tcdrain.c: Likewise.
78309         * sysdeps/unix/sysv/tcflow.c: Likewise.
78310         * sysdeps/unix/sysv/tcflush.c: Likewise.
78311         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
78312         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
78313         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
78314         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
78315         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
78317         * sysdeps/unix/siglist.c: Remove file.
78319         * sysdeps/unix/getppid.S: Remove file.
78321         * sysdeps/unix/mkdir.c: Remove file.
78322         * sysdeps/unix/rmdir.c: Likewise.
78324 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
78326         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
78327         ERR_MAX value.
78328         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
78329         errlist-compat value.
78331 2012-04-18  David S. Miller  <davem@davemloft.net>
78333         * sysdeps/generic/memcopy.h (reg_char): Delete.
78334         * debug/strcat_chk.c: Use char, not reg_char.
78335         * debug/strcpy_chk.c: Likewise.
78336         * debug/strncat_chk.c: Likewise.
78337         * debug/strncpy_chk.c: Likewise.
78338         * string/memchr.c: Likewise.
78339         * string/memrchr.c: Likewise.
78340         * string/rawmemchr.c: Likewise.
78341         * string/strcat.c: Likewise.
78342         * string/strchr.c: Likewise.
78343         * string/strchrnul.c: Likewise.
78344         * string/strcmp.c: Likewise.
78345         * string/strcpy.c: Likewise.
78346         * string/strncat.c: Likewise.
78347         * string/strncmp.c: Likewise.
78348         * string/strncpy.c: Likewise.
78350 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78352         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
78353         __builtin_memcopy is called when src and dest ranges are known to not
78354         overlap.
78356 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78358         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
78359         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
78360         fwd_align_merge macro call.
78361         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
78362         bwd_align_merge macro call.
78363         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78365 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
78367         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
78368         bwd_align_merge macros.
78369         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
78370         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
78371         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
78373 2012-04-18  David S. Miller  <davem@davemloft.net>
78375         * sysdeps/sparc/sparc64/memcopy.h: Delete.
78377 2012-04-18  Andreas Jaeger  <aj@suse.de>
78379         [BZ #6794]
78380         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
78381         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
78382         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78384         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
78385         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
78386         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78388         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
78389         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
78390         Adjust for changed ldbl-128 files.
78392         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
78393         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
78394         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
78396 2012-04-17  David S. Miller  <davem@davemloft.net>
78398         * sysdeps/sparc/sparc32/memcopy.h: Delete.
78400 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
78402         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
78403         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
78404         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
78405         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
78406         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
78407         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78409 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78411         [BZ #6794]
78412         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
78413         * math/libm-test.inc: Add ilogb errno and exception tests.
78414         * math/w_ilogb.c: New file: ilogb wrapper.
78415         * math/w_ilogbf.c: New file: ilogbf wrapper.
78416         * math/w_ilogbl.c: New file: ilogbl wrapper.
78417         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
78418         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
78419         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
78420         exception being thrown with 0.0 as argument.
78421         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
78422         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
78423         exception being thrown with 0.0 as argument.
78424         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
78425         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78426         exception being thrown with 0.0 as argument.
78427         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
78428         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
78429         exception being thrown with 0.0 as argument.
78430         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
78431         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
78432         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
78433         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
78434         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
78435         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
78436         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
78437         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
78438         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
78440 2012-04-17  Petr Baudis  <pasky@ucw.cz>
78442         * include/sys/uio.h: Change __vector to __iovec to avoid clash
78443         with altivec.
78445 2012-04-16  Marek Polacek  <polacek@redhat.com>
78447         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
78449 2012-04-16  Marek Polacek  <polacek@redhat.com>
78451         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
78452         operands of fdivp instruction.
78454 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78456         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
78457         * elf/tst-auditmod3b.c: Likewise.
78458         * elf/tst-auditmod4b.c: Likewise.
78459         * elf/tst-auditmod5b.c: Likewise.
78460         * elf/tst-auditmod6b.c: Likewise.
78461         * elf/tst-auditmod6c.c: Likewise.
78462         * elf/tst-auditmod7b.c: Likewise.
78463         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
78464         * sysdeps/x86_64/preconfigure.in: Likewise.
78465         * sysdeps/x86_64/preconfigure: Regenerated.
78467 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
78469         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
78470         __ILP32__.
78472 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
78474         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
78475         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
78477 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
78479         [BZ #13973]
78480         * locale/iso-639.def: Fix gl language name. Spotted by
78481         Yaron Shahrabani.
78483 2012-04-12  Roland McGrath  <roland@hack.frob.com>
78485         [BZ #2074]
78486         * libio/libio.h (__io_write_fn): Update comment.
78488 2012-04-12  Petr Baudis  <pasky@ucw.cz>
78490         [BZ #2074]
78491         * stdio.texi (Hook Functions): The user provided writer function
78492         is not allowed to return -1.
78494 2012-04-11  David S. Miller  <davem@davemloft.net>
78496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78498 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
78500         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
78501         Add a leading slash to rtkaio.
78503 2012-04-11  Jim Meyering  <meyering@redhat.com>
78505         [BZ #11959]
78506         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
78507         It is not necessarily an error to ignore fwrite's return
78508         value.  One can reliably use ferror to test for errors after
78509         the fact.
78511 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78513         * bits/types.h (__snseconds_t): New type.
78514         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
78516         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
78517         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78518         (__SNSECONDS_T_TYPE): Likewise.
78519         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78520         (__SNSECONDS_T_TYPE): Likewise.
78521         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78522         (__SNSECONDS_T_TYPE): Likewise.
78524 2012-04-10  Andreas Jaeger  <aj@suse.de>
78526         [BZ #2636]
78527         * manual/time.texi (Processor Time): Return type of times is
78528         elapsed real time since an arbitrary point in the past.
78529         (CPU Time): Move CLK_TCK from here...
78530         (Processor Time): ...to here.  Correct description.
78531         * manual/conf.texi (Constants for Sysconf): Correct description of
78532         _SC_CLK_TCK.
78534 2012-04-10  David S. Miller  <davem@davemloft.net>
78536         [BZ #13967]
78537         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
78538         where the is a gap between DT_REL(A) and DT_JMPREL.
78540 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
78542         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
78543         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78544         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78546 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
78548         * elf/dl-support.c (_dl_inhibit_cache): New variable.
78549         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
78550         (dl_main): Handle --inhibit-cache.
78551         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
78552         _dl_inhibit_cache.
78553         * elf/dl-load.c (_dl_map_object): Use it.
78554         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
78556 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78558         [BZ #13872]
78559         * sysdeps/i386/fpu/e_powl.S (p78): New object.
78560         (__ieee754_powl): Saturate large exponents rather than testing for
78561         overflow of y*log2(x).
78562         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78563         * math/libm-test.inc (pow_test): Do not permit spurious overflow
78564         exceptions.
78566         [BZ #11521]
78567         * math/s_ctan.c: Include <float.h>.
78568         (__ctan): Avoid internal overflow or cancellation in calculating
78569         denominator.
78570         * math/s_ctanf.c: Likewise.
78571         * math/s_ctanl.c: Likewise.
78572         * math/s_ctanh.c: Likewise.
78573         * math/s_ctanhf.c: Likewise.
78574         * math/s_ctanhl.c: Likewise.
78575         * math/libm-test.inc (ctan_test): Add more tests.
78576         (ctanh_test): Likewise.
78577         * sysdeps/i386/fpu/libm-test-ulps: Update.
78578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78580 2012-04-09  Andreas Jaeger  <aj@suse.de>
78582         [BZ #6894]
78583         * manual/filesys.texi (Directory Entries): Mention that d_namlen
78584         is an optional BSD extension.
78586         [BZ #10254]
78587         * manual/stdio.texi (Opening Streams): Document additional fopen
78588         parameters.
78590 2012-04-09  Roland McGrath  <roland@hack.frob.com>
78592         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
78593         %eax without telling the compiler.
78595 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
78597         [BZ # 13963]
78598         * manual/install.texi: Use sourceware.org.
78600 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
78602         [BZ #13873]
78603         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
78604         (__ieee754_pow): Generate overflow and underflow using huge*huge
78605         and tiny*tiny rather than just returning constant infinity or zero
78606         for large exponents.
78607         * math/libm-test.inc (pow_test): Require overflow exceptions for
78608         applicable cases of large exponents.
78610         [BZ #706]
78611         * sysdeps/i386/fpu/e_pow.S (p10): New object.
78612         (__ieee754_pow): Use iterative multiplication algorithm only for
78613         integer exponents with absolute value below 1024.  Check for odd
78614         integer exponents when using algorithm for real exponents.
78615         * math/libm-test.inc (pow_test): Add more tests.
78616         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78618 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
78620         [BZ #13705]
78621         * math/libm-test.inc (exp_test): Do not allow overflow exception
78622         on underflow test.
78624 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
78626         [BZ #13705]
78627         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
78628         instead of __kernel_standard_f.
78630 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
78632         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
78633         * sysdeps/x86_64/memset_chk.S: Likewise.
78635 2012-04-08  Andreas Jaeger  <aj@suse.de>
78637         [BZ #10153]
78638         * manual/startup.texi (Environment Access): Describe return value
78639         for putenv and setenv.
78641         [BZ #6895]
78642         * manual/filesys.texi (Directory Entries): Add description for
78643         DT_LNK.
78645         [BZ #6890]
78646         * manual/filesys.texi (Directory Entries): Clarify that it's file
78647         system not operating system in the description of DT_UNKNOWN.
78649         [BZ #6578]
78650         * manual/syslog.texi (closelog): Fix reference, it's openlog.
78652 2012-04-08  Stephen Compall  <s11@member.fsf.org>
78654         [BZ #6649]
78655         * manual/llio.texi (Opening and Closing Files): Add cross
78656         reference to explain mode argument.
78658 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
78660         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
78661         * sysdeps/x86_64/memset_chk.S: Likewise.
78663 2012-04-07  David S. Miller  <davem@davemloft.net>
78665         * elf/elf.h (R_SPARC_WDISP10): Define.
78666         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
78667         R_SPARC_SIZE32.
78668         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
78669         R_SPARC_SIZE64 and R_SPARC_H34.
78671 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
78673         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
78674         conditions and remove no longer applicable assertion.
78676 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78678         * bits/byteswap.h: Include <features.h>.
78679         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
78680         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
78682 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
78684         * bits/byteswap.h (__bswap_16): Removed.
78685         Include <bits/byteswap-16.h> to get __bswap_16.
78686         * sysdeps/i386/bits/byteswap.h: Likewise.
78687         * sysdeps/s390/bits/byteswap.h: Likewise.
78688         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78689         * bits/byteswap-16.h: New file.
78690         * sysdeps/i386/bits/byteswap-16.h: Likewise.
78691         * sysdeps/s390/bits/byteswap-16.h: Likewise.
78692         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
78693         * string/Makefile (headers): Add bits/byteswap-16.h.
78695 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78697         [BZ #13895]
78698         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
78699         extra indirection.
78700         * nss/Makefile (tests-static, tests): Add tst-nss-static.
78701         * nss/tst-nss-static.c: New.
78703 2012-04-06  Robert Millan  <rmh@gnu.org>
78705         [BZ #6486]
78706         * manual/llio.texi (File Position Primitive): lseek
78707         refers to WHENCE when it really means OFFSET.
78709 2012-04-06  Andreas Jaeger  <aj@suse.de>
78711         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
78712         strncmp declarations.
78714         * abilist/libc.abilist: Add __poll and __ppoll.
78716 2012-04-05  David S. Miller  <davem@davemloft.net>
78718         * scripts/check-local-headers.sh: Accept a host triplet in the
78719         path matched by the exclude regexp.
78721         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78722         definition.
78723         * sysdeps/powerpc/powerpc32/dl-machine.h
78724         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
78725         * sysdeps/s390/s390-32/dl-machine.h
78726         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78727         * sysdeps/sparc/sparc32/dl-machine.h
78728         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78729         * sysdeps/sparc/sparc64/dl-machine.h
78730         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
78732         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
78733         lazy binding.
78734         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
78735         undefined symbol errors.
78737         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
78738         DT_NEEDED entries.
78740 2012-04-05  Michael Matz  <matz@suse.de>
78742         [BZ #13592]
78743         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
78745 2012-04-05  Andreas Jaeger  <aj@suse.de>
78747         [BZ #13908]
78748         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
78749         comment.
78751 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78753         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
78754         which ROUND is no valid rounding mode.
78756 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78758         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
78759         read again.
78760         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
78762 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78764         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
78765         an exception using FPU order intentionally.
78767 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78769         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
78770         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
78771         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
78772         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
78774 2012-04-05  Simon Josefsson  <simon@josefsson.org>
78776         [BZ #12340]
78777         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
78778         EINVAL when BUFLEN is too smal.
78780 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
78782         [BZ #13553]
78783         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
78784         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
78786 2012-04-03  Andreas Jaeger  <aj@suse.de>
78788         [BZ #13938]
78789         * manual/setjmp.texi (System V contexts): Fix sentence.
78791         [BZ #13926]
78792         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
78793         New macro for this case.
78794         [!__GNUC__] (__bswap_64): New inline function for this case.
78795         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78796         * bits/byteswap.h: Likewise.
78797         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
78798         ull, guard with __GLIBC_HAVE_LONG_LONG.
78800         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
78801         __GLIBC_HAVE_LONG_LONG.
78803         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
78804         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
78806 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
78808         [BZ #13691]
78809         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
78810         inptr and inend, rather than using last_ch.
78812 2012-04-02  David S. Miller  <davem@davemloft.net>
78814         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
78815         * stdio-common/printf-parse.h (read_int): Change return type to
78816         'int', return -1 on INT_MAX overflow.
78817         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
78818         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
78819         overflows INT_MAX.  Check for overflow of in-format-string precision
78820         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
78821         SIZE_MAX not INT_MAX for integer overflow test.
78822         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
78823         skip the construct in the format string but do not record anything.
78824         * stdio-common/bug22.c: Adjust to test both width/prevision
78825         INT_MAX overflow as well as total length INT_MAX overflow.  Check
78826         explicitly for proper errno values.
78828 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
78830         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
78831         CHAR_MAX.
78832         * string/test-strcmp.c [! WIDE]: Likewise.
78833         * time/tst-mktime2.c: Likewise for INT_MAX.
78834         * string/test-string.h: #include <sys/param.h> for MIN.
78836         * csu/init-first.c (__libc_init_first): Call __ctype_init.
78837         * sysdeps/i386/init-first.c (init): Likewise.
78838         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
78839         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
78840         * sysdeps/sh/init-first.c (init): Likewise.
78842 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
78844         * po/ru.po: Update from translation team.
78845         * po/vi.po: Likewise.
78847 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
78849         * resolv/nss_dns/dns-host.c: Merge copyright years.
78851 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78853         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
78854         Optimize memcpy with prefetch if
78855         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
78856         src, dst pointers have unequal 16 byte alignments.
78858 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
78860         [BZ #13928]
78861         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
78862         from a CNAME entry and return the minimum ttl for the query.
78863         (gaih_getanswer_slice): Likewise.
78865 2012-03-30  Jeff Law  <law@redhat.com>
78867         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
78868         due to long keys.
78869         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
78870         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
78872         * resolv/nss_dns/dns-host.c: Update copyright year.
78874 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
78876         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
78877         requests to save a system call.  Fix check that all bytes are sent.
78879         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
78880         comments for sendmmsg.
78882 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78884         [BZ #13691]
78885         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
78886         with only 1 character between 0x0041 and 0x01b0.
78887         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
78888         * wcsmbs/tst-mbsnrtowcs.c: New file.
78890 2012-03-29  David S. Miller  <davem@davemloft.net>
78892         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
78893         small copies by hand.
78895 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
78897         [BZ #13761]
78898         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
78899         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
78900         group memberships.
78902 2012-03-28  David S. Miller  <davem@davemloft.net>
78904         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
78905         that branches into memcpy.
78906         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
78907         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
78908         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
78909         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
78910         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
78911         bits.
78912         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
78913         implementation too.
78914         * sysdeps/sparc/mempcpy.S: New file.
78916         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
78917         the IFUNC routine in the libc case.
78918         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78920         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
78921         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
78922         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
78923         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
78924         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
78925         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
78926         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
78927         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
78929         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
78930         loop to 256 bytes instead of 64 bytes and fix test signedness.
78932         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
78933         * sysdeps/sparc/sparc32/Makefile: rather than here...
78934         * sysdeps/sparc/sparc64/Makefile: and here.
78936 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
78938         * malloc/mallocbug.c: Avoid warnings about unused variables.
78940 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
78942         [BZ #13760]
78943         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
78944         in the right place. Discard and retry query if response is
78945         larger than input buffer size.
78947 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
78949         [BZ #369]
78950         [BZ #2678]
78951         [BZ #3866]
78952         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78953         x for large integer exponent.
78954         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78955         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78956         sign of result as needed afterwards.
78957         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78958         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78959         result for underflowing pow the same as for overflow.
78960         (__kernel_standard_l): Handle powl overflow and underflow here
78961         rather than calling __kernel_standard.
78962         * math/libm-test.inc (pow_test): Add more tests.
78964         [BZ #3868]
78965         [BZ #13879]
78966         [BZ #13910]
78967         [BZ #13911]
78968         [BZ #13912]
78969         [BZ #13913]
78970         [BZ #13915]
78971         [BZ #13916]
78972         [BZ #13917]
78973         [BZ #13918]
78974         [BZ #13919]
78975         [BZ #13920]
78976         [BZ #13921]
78977         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78978         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78979         (__kernel_standard_l): New function.
78980         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78981         __kernel_standard.
78982         * math/w_acosl.c (__acosl): Likewise.
78983         * math/w_asinl.c (__asinl): Likewise.
78984         * math/w_atan2l.c (__atan2l): Likewise.
78985         * math/w_atanhl.c (__atanhl): Likewise.
78986         * math/w_coshl.c (__coshl): Likewise.
78987         * math/w_exp10l.c (__exp10l): Likewise.
78988         * math/w_exp2l.c (__exp2l): Likewise.
78989         * math/w_fmodl.c (__fmodl): Likewise.
78990         * math/w_hypotl.c (__hypotl): Likewise.
78991         * math/w_j0l.c (__j0l, __y0l): Likewise.
78992         * math/w_j1l.c (__j1l, __y1l): Likewise.
78993         * math/w_jnl.c (__jnl, __ynl): Likewise.
78994         * math/w_lgammal.c (__lgammal): Likewise.
78995         * math/w_log10l.c (__log10l): Likewise.
78996         * math/w_log2l.c (__log2l): Likewise.
78997         * math/w_logl.c (__logl): Likewise.
78998         * math/w_powl.c (__powl): Likewise.
78999         * math/w_remainderl.c (__remainderl): Likewise.
79000         * math/w_scalbl.c (sysv_scalbl): Likewise.
79001         * math/w_sinhl.c (__sinhl): Likewise.
79002         * math/w_sqrtl.c (__sqrtl): Likewise.
79003         * math/w_tgammal.c (__tgammal): Likewise.
79004         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79005         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79006         * math/libm-test.inc (acos_test): Add more tests.
79007         (acosh_test): Likewise.
79008         (asin_test): Likewise.
79009         (atanh_test): Likewise.
79010         (exp_test): Likewise.
79011         (exp10_test): Likewise.
79012         (exp2_test): Likewise.
79013         (expm1_test): Likewise.
79014         (lgamma_test): Likewise.
79015         (log_test): Likewise.
79016         (log10_test): Likewise.
79017         (log1p_test): Likewise.
79018         (log2_test): Likewise.
79019         (pow_test): Do not allow some spurious overflow exceptions.
79020         (sqrt_test): Add more tests.
79021         (tgamma_test): Likewise.
79022         (y0_test): Likewise.
79023         (y1_test): Likewise.
79024         (yn_test): Likewise.
79026 2012-03-27  Anton Blanchard  <anton@samba.org>
79028         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79029         MAP_HUGETLB.
79030         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79031         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79032         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79034 2012-03-27  David S. Miller  <davem@davemloft.net>
79036         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79038         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79039         have-as-vis3 check.
79041 2012-03-27  Andreas Jaeger  <aj@suse.de>
79043         * sysdeps/x86_64/elf/configure.in: Moved to ...
79044         * sysdeps/x86_64/configure.in: ... here.
79045         * sysdeps/x86_64/elf/start.S: Moved to ...
79046         * sysdeps/x86_64/start.S: ... here.
79047         * sysdeps/x86_64/elf/configure: Delete.
79049         * sysdeps/x86_64/configure.in: Merge contents from
79050         sysdeps/i386/configure.in (without i686 check).
79052         * sysdeps/i386/elf/Versions: Merge into ...
79053         * sysdeps/i386/Versions: ... this.
79054         * sysdeps/i386/elf/Versions: Delete file.
79055         * sysdeps/i386/elf/start.S: Moved to ...
79056         * sysdeps/i386/start.S: ...here.
79057         * sysdeps/i386/elf/configure.in: Merge into...
79058         * sysdeps/i386/configure.in: ...here.
79059         * sysdeps/i386/elf/configure.in: Delete file.
79060         * sysdeps/i386/elf/configure: Delete file.
79062         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79063         * debug/backtracesyms.c: ... here.
79064         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79065         * debug/backtracesymsfd.c: ... here.
79066         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79067         * sysdeps/generic/ifunc-sel.h: ... here.
79069         * sysdeps/unix/i386/start.c: Delete file.
79070         * sysdeps/unix/sparc/start.c: Delete file.
79071         * sysdeps/unix/start.c: Delete file.
79073         * sysdeps/sh/elf/configure.in: Moved to ...
79074         * sysdeps/sh/configure.in: ... here.
79075         * sysdeps/sh/elf/start.S: Moved to ...
79076         * sysdeps/sh/start.S: ... here.
79077         * sysdeps/sh/elf/configure: Delete file.
79079         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79080         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79081         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79082         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79083         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79084         * sysdeps/powerpc/powerpc64/start.S: here.
79085         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79086         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79087         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79088         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79089         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79091         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79092         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79093         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79094         * sysdeps/powerpc/powerpc32/start.S: ... here.
79095         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79096         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79097         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79099         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79100         * sysdeps/powerpc/ifunc-sel.h: ... here.
79101         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79102         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79104         * sysdeps/sparc/elf/configure.in: Moved to ...
79105         * sysdeps/sparc/configure.in: ... here.
79106         * sysdeps/sparc/elf/configure: Delete file.
79107         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79108         * sysdeps/sparc/sparc32/start.S: ... here.
79109         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79110         * sysdeps/sparc/sparc64/start.S: ... here.
79111         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79112         * sysdeps/sparc/sparc32/Makefile: ... this.
79113         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79114         * sysdeps/sparc/sparc64/Makefile: ... this.
79116         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79117         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79118         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79119         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79120         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79121         * sysdeps/s390/s390-32/setjmp.S: ... here.
79122         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79123         * sysdeps/s390/s390-32/configure.in: ... here.
79124         * sysdeps/s390/s390-32/elf/configure: Delete file.
79125         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79126         * sysdeps/s390/s390-32/start.S: ... here.
79128         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79129         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79130         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79131         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79132         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79133         * sysdeps/s390/s390-64/setjmp.S: ... here.
79134         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79135         * sysdeps/s390/s390-64/configure.in: ... here
79136         * sysdeps/s390/s390-64/elf/configure: Delete file.
79137         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79138         * sysdeps/s390/s390-64/start.S: ... here.
79139         * sysdeps/s390/s390-64/elf/configure: Delete.
79141         * configure.in: Remove support for elf directories in sysdeps.
79143         * configure: Regenerated.
79144         * sysdeps/i386/configure: Regenerated.
79145         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79146         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79147         * sysdeps/s390/s390-32/configure: Regenerated.
79148         * sysdeps/s390/s390-64/configure: Regenerated.
79149         * sysdeps/sh/configure: Regenerated.
79150         * sysdeps/sparc/configure: Regenerated.
79151         * sysdeps/x86_64/configure: Regenerated.
79153 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79157         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79158         denormal result into account.
79160 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79162         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79163         Reported by Allan McRae <allan@archlinux.org>.
79165 2012-03-23  Jeff Law  <law@redhat.com>
79167         * nss/getnssent.c (__nss_getent): Fix typo.
79169 2012-03-23  David S. Miller  <davem@davemloft.net>
79171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79173 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79175         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79176         to pad to uint64_t for each field.
79177         (dl_tls_index): Replace unsigned long with uint64_t.
79179 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79180         Paul Pluzhnikov  <ppluzhnikov@google.com>
79182         [BZ #6528]
79183         * grp/Makefile (otherlibs): Don't set it.
79184         * inet/Makefile (otherlibs): Likewise.
79185         * login/Makefile (otherlibs): Likewise.
79186         * nscd/Makefile (otherlibs): Likewise.
79187         * posix/Makefile (otherlibs): Likewise.
79188         * pwd/Makefile (otherlibs): Likewise.
79189         * rt/Makefile (otherlibs): Likewise.
79190         * sunrpc/Makefile (otherlibs): Likewise.
79191         * nss/Makefile (otherlibs): Likewise.
79192         Add libnss_files to routines and static-only-routines.
79193         ($(objpfx)getent): Remove rule.
79194         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79195         static-only-routines.
79197 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79199         [BZ #13892]
79200         * math/s_cexp.c: Include <float.h>.
79201         (__cexp): Handle exp result overflowing not necessarily
79202         overflowing both real and imaginary parts of result.
79203         * math/s_cexpf.c: Likewise.
79204         * math/s_cexpl.c: Likewise.
79205         * math/libm-test.inc (cexp_test): Add more tests.
79206         * sysdeps/i386/fpu/libm-test-ulps: Update.
79207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79209 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79211         * include/link.h (ELFW): New macro.
79212         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79213         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79215 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79217         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79218         with uint64_t.
79220 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79222         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
79223         declaration.
79224         (struct La_x32_retval): Likewise.
79226 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79228         * sysdeps/x86_64/preconfigure.in: New file.
79229         * sysdeps/x86_64/preconfigure: New generated file.
79231 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79233         [BZ #13824]
79234         * math/e_exp2l.c: Include <float.h>.
79235         (__ieee754_exp2l): Handle overflow and underflow cases
79236         separately.  Only pass fractional part of argument to
79237         __ieee754_expl.
79238         * math/libm-test.inc (exp2_test): Add more tests.
79240         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
79241         negating x to take absolute value.
79242         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
79243         Likewise.
79244         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
79245         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
79246         Likewise.
79247         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
79248         computing low part if x was negated.
79249         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79251 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79253         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
79254         la_x32_gnu_pltexit.
79255         (pltexit): Cast int_retval to ptrdiff_t.
79256         * elf/tst-auditmod3b.c: Likewise.
79257         * elf/tst-auditmod4b.c: Likewise.
79258         * elf/tst-auditmod5b.c: Likewise.
79259         * elf/tst-auditmod6b.c: Likewise.
79260         * elf/tst-auditmod6c.c: Likewise.
79261         * elf/tst-auditmod7b.c: Likewise.
79263         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
79264         and x32_gnu_pltexit.
79266         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
79267         __ELF_NATIVE_CLASS.
79268         (La_x32_regs): New macro.
79269         (La_x32_retval): Likewise.
79270         (la_x32_gnu_pltenter): New function prototype.
79271         (la_x32_gnu_pltexit): Likewise.
79273 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
79275         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
79276         exponent.
79278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79280         * configure.in (libc_cv_cc_nofma): Check for option to disable
79281         generation of FMA instructions.
79282         * configure: Regenerate.
79283         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
79284         * sysdeps/ieee754/dbl-64/Makefile: New file.
79285         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
79286         Remove brandred-fma4.
79287         (CFLAGS-brandred-fma4.c): Remove.
79288         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
79289         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
79290         define.
79291         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
79292         define.
79294 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79296         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
79297         LLONG_MAX != LONG_MAX.
79298         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79299         (_fitoa_word): Likewise.
79300         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
79301         LLONG_MAX != LONG_MAX.
79302         * stdio-common/_itowa.h: Include <_itoa.h>.
79303         (_itowa_word): Use _ITOA_WORD_TYPE on value.
79304         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
79305         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
79306         only if not defined.
79307         (_ITOA_WORD_TYPE): Likewise.
79308         (_itoa_word): Use _ITOA_WORD_TYPE on value.
79309         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
79311 2012-03-21  David S. Miller  <davem@davemloft.net>
79313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79315 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
79317         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
79318         of x86_64 when setting libc_cv_slibdir, libdir and
79319         libc_cv_localedir.
79320         * sysdeps/unix/sysv/linux/configure: Regenerated.
79322 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79324         * manual/lang.texi (Old Varargs): Remove section.
79325         (How Variadic): Update menu.
79326         (va_start): Do not mention varargs.h.
79328 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79329             Joseph Myers  <joseph@codesourcery.com>
79331         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
79332         link test.
79333         * configure: Regenerated.
79335 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
79337         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
79338         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
79339         conformtest.pl
79341 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79343         * NOTES: Remove.
79344         * Makefile (files-for-dist): Remove NOTES.
79345         (NOTES): Remove rule.
79346         * README: Don't refer to NOTES.
79347         * manual/creature.texi: Don't include macros.texi.
79348         * manual/intro.texi (creature.texi): Remove comment referring to
79349         NOTES.
79351         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
79352         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
79353         * configure: Regenerated.
79354         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
79355         LIBC_TRY_CC_OPTION.
79356         (libc_cv_as_i686): Likewise.
79357         (libc_cv_cc_avx): Likewise.
79358         (libc_cv_cc_sse2avx): Likewise.
79359         (libc_cv_cc_fma4): Likewise.
79360         (libc_cv_cc_novzeroupper): Likewise.
79361         * sysdeps/i386/configure: Regenerated.
79363         [BZ #13883]
79364         * sysdeps/i386/fpu/s_cexp.S: Remove.
79365         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
79366         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
79367         * math/libm-test.inc (cexp_test): Add more tests.
79368         * sysdeps/i386/fpu/libm-test-ulps: Update.
79369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79371 2012-03-21  Allan McRae  <allan@archlinux.org>
79373         * timezone/Makefile: Do not install iso3166.tab and zone.tab
79375 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
79377         [BZ #13871]
79378         * math/w_exp2.c: Do not include <float.h>.
79379         (o_threshold, u_threshold): Remove.
79380         (__exp2): Calculate result before checking finiteness and calling
79381         __kernel_standard.
79382         * math/w_exp2f.c: Likewise.
79383         * math/w_exp2l.c: Likewise.
79384         * math/libm-test.inc (exp2_test): Require overflow exception for
79385         1e6 input.
79387         [BZ #3866]
79388         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
79389         range of signed 64-bit integers before using fistpll.  Remove
79390         checks for whether integers fit in mantissa bits.
79391         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
79392         the range of signed 32-bit integers before using fistpl.  Remove
79393         checks for whether integers fit in mantissa bits.
79394         * sysdeps/i386/fpu/e_powl.S (p64): New object.
79395         (__ieee754_powl): Test for y outside the range of signed 64-bit
79396         integers before using fistpll.  Reduce 64-bit values to 63-bit
79397         ones as needed.
79398         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
79399         divide-by-zero is raised for zero to large negative powers.
79400         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
79401         (__ieee754_powl): Test for y outside the range of signed 64-bit
79402         integers before using fistpll.  Reduce 64-bit values to 63-bit
79403         ones as needed.
79404         * math/libm-test.inc (pow_test): Add more tests.
79406 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79408         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
79409         <stdio-common/_itoa.h>.
79410         * debug/segfault.c: Likewise.
79411         * elf/dl-cache.c: Likewise.
79412         * elf/dl-minimal.c: Likewise.
79413         * elf/dl-misc.c: Likewise.
79414         * elf/dl-sysdep.c: Likewise.
79415         * elf/dl-version.c: Likewise.
79416         * elf/rtld.c: Likewise.
79417         * hurd/hurdsock.c: Likewise.
79418         * hurd/lookup-retry.c: Likewise.
79419         * malloc/malloc.c: Likewise.
79420         * malloc/mtrace.c: Likewise.
79421         * nscd/nscd_getgr_r.c: Likewise.
79422         * nscd/nscd_getpw_r.c: Likewise.
79423         * nscd/nscd_getserv_r.c: Likewise.
79424         * posix/getopt_init.c: Likewise.
79425         * posix/wordexp.c: Likewise.
79426         * stdio-common/_itoa.c: Likewise.
79427         * stdio-common/printf_fphex.c: Likewise.
79428         * stdio-common/vfprintf.c: Likewise.
79429         * string/_strerror.c: Likewise.
79430         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
79431         * sysdeps/i386/i686/hp-timing.h: Likewise.
79432         * sysdeps/mach/_strerror.c: Likewise.
79433         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
79434         * sysdeps/mach/hurd/sethostid.c: Likewise.
79435         * sysdeps/mach/hurd/xmknodat.c: Likewise.
79436         * sysdeps/mach/xpg-strerror.c: Likewise.
79437         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
79438         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
79439         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
79440         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
79441         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
79442         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
79443         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
79444         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
79445         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
79446         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
79447         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
79448         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
79449         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
79450         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
79451         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
79452         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
79453         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
79454         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
79455         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
79456         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
79457         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
79459         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
79461         * stdio-common/_itoa.h: Moved to ...
79462         * sysdeps/generic/_itoa.h: Here.
79464         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
79466         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
79467         instead of "_itoa.h" and "_itowa.h".
79468         * stdio-common/vfprintf.: Likewise.
79470 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79472         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
79473         <bits/wordsize.h>.
79474         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
79475         (__signbit): Likewise.
79476         (llrintf): Likewise.
79477         (llrint): Likewise.
79479 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79481         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
79482         __WORDSIZE != 64.
79484 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
79486         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
79487         OVERFLOW_EXCEPTION_OK.
79488         * math/libm-test.inc ("Philosophy"): Update comment about
79489         exception testing.
79490         (OVERFLOW_EXCEPTION): Define.
79491         (OVERFLOW_EXCEPTION_OK): Likewise.
79492         (INVALID_EXCEPTION_OK): Renumber.
79493         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
79494         (IGNORE_ZERO_INF_SIGN): Likewise.
79495         (test_exceptions): Handle FE_OVERFLOW.
79496         (exp10_test): Expect overflow exceptions.
79497         (exp2_test): Likewise.
79498         (expm1_test): Likewise.
79499         (nextafter_test): Likewise.
79500         (pow_test): Likewise.
79501         (scalbn_test): Likewise.
79502         (scalbln_test): Likewise.
79504 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79506         * sysdeps/x86_64/bits/atomic.h
79507         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
79508         64bit integer.
79509         (atomic_exchange_acq): Likewise.
79510         (__arch_exchange_and_add_body): Likewise.
79511         (__arch_add_body): Likewise.
79512         (atomic_add_negative): Likewise.
79513         (atomic_add_zero): Likewise.
79515 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79517         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
79518         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
79520 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79522         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
79523         Check __x86_64__ instead of __WORDSIZE.
79525 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79527         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
79529 2012-03-19  David S. Miller  <davem@davemloft.net>
79531         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79533         * sysdeps/sparc/fpu/fenv_private.h: New file.
79534         * sysdeps/sparc/fpu/math_private.h: Use it.
79535         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
79536         Remove.
79537         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
79538         (libc_feholdexcept_setroundl): Remove.
79539         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
79540         Remove.
79541         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
79542         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
79544 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79546         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
79547         int64_t instead of long int.
79548         (INSERT_WORDS64): Likewise.
79550 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
79552         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
79553         _Unwind_GetCFA return to _Unwind_Ptr first.
79555 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
79557         [BZ #13629]
79558         * math/s_clog.c: Include <float.h>.
79559         (__clog): Scale large or subnormal inputs.
79560         * math/s_clogf.c: Likewise.
79561         * math/s_clogl.c: Likewise.
79562         * math/s_clog10.c: Include <float.h>.
79563         (M_LOG10_2): Define.
79564         (__clog10): Scale large or subnormal inputs.
79565         * math/s_clog10f.c: Likewise.
79566         * math/s_clog10l.c: Likewise.
79567         * math/libm-test.inc (clog_test): Add more tests.
79568         (clog10_test): Likewise.
79569         * sysdeps/i386/fpu/libm-test-ulps: Update.
79570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79572         [BZ #11451]
79573         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
79574         x and y.
79575         * math/libm-test.inc (atan2_test): Add another test.
79577         * Makerules (common-objdir-compile): Remove.
79578         * sysdeps/unix/Makefile (config-generated): Do not add
79579         $(unix-generated) to variable.
79580         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
79581         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
79582         Remove rule.
79583         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
79584         Likewise.
79585         [generic bits/local_lim.h] (before-compile): Do not append to
79586         variable.
79587         [generic bits/local_lim.h] (common-generated): Likewise.
79588         [generic sys/param.h] (before-compile): Do not append to variable.
79589         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
79590         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
79591         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
79592         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
79593         include.
79594         [generic sys/param.h] (sys/param.h-includes): Remove variable.
79595         [generic sys/param.h] (sys/param.h-includes): Remove rule.
79596         [generic sys/param.h] ($(addprefix
79597         $(common-objpfx),$(sys/param.h-includes))): Likewise.
79598         [generic sys/param.h] (common-generated): Do not append to
79599         variable.
79600         [generic sys/param.h] (sysdep_headers): Likewise.
79601         [generic bits/errno.h] (before-compile): Do not append to
79602         variable.
79603         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
79604         rule.
79605         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
79606         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
79607         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
79608         [generic bits/errno.h] (common-generated): Do not append to
79609         variable.
79610         [generic bits/ioctls.h] (before-compile): Do not append to
79611         variable.
79612         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
79613         rule.
79614         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
79615         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
79616         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
79617         rule.
79618         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
79619         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
79620         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
79621         [generic bits/ioctls.h] (common-generated): Do not append to
79622         variable.
79623         [generic sys/syscall.h] (syscall.h): Remove variable.
79624         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
79625         rule.
79626         [generic sys/syscall.h] (before-compile): Do not append to
79627         variable.
79628         [generic sys/syscall.h] (common-generated): Likewise.
79629         * sysdeps/unix/errnos-tmpl.c: Remove file.
79630         * sysdeps/unix/errnos.awk: Likewise.
79631         * sysdeps/unix/ioctls-tmpl.c: Likewise.
79632         * sysdeps/unix/ioctls.awk: Likewise.
79633         * sysdeps/unix/mk-local_lim.c: Likewise.
79634         * sysdeps/unix/snarf-ioctls: Likewise.
79636 2012-03-19  Richard Henderson  <rth@twiddle.net>
79638         * sysdeps/i386/fpu/fenv_private.h: New file.
79639         * sysdeps/i386/fpu/math_private.h: Use it.
79640         (math_opt_barrier, math_force_eval): Remove.
79641         (libc_feholdexcept_setround_53bit): Remove.
79642         (libc_feupdateenv_53bit): Remove.
79643         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79644         (math_opt_barrier, math_force_eval): Remove.
79645         (libc_feholdexcept): Remove.
79646         (libc_feholdexcept_setround): Remove.
79647         (libc_fetestexcept, libc_fesetenv): Remove.
79648         (libc_feupdateenv_test): Remove.
79649         (libc_feupdateenv, libc_feholdsetround): Remove.
79650         (libc_feresetround): Remove.
79652         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
79653         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
79655         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
79656         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
79657         (libc_feupdateenv_testl): New.
79658         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
79659         (libc_feupdateenv_testf): New.
79660         (libc_feupdateenv): Use libc_feupdateenv_test.
79661         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
79662         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
79664         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
79665         (libc_feholdsetroundf, libc_feholdsetroundl): New.
79666         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
79667         (libc_feresetround_noex): New.
79668         (libc_feresetround_noexf): New.
79669         (libc_feresetround_noexl): New.
79670         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
79671         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
79672         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
79673         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
79674         SET_RESTORE_ROUND.
79675         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
79676         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
79677         (__cos): Likewise.
79678         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
79679         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
79680         SET_RESTORE_ROUND_NOEX.
79681         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
79682         SET_RESTORE_ROUND_NOEXF.
79683         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
79684         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
79685         (libc_feholdsetroundf): New.
79686         (libc_feresetround, libc_feresetroundf): New.
79688         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
79689         (libc_feholdexcept_setround_53bit): Convert from macro to function.
79690         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
79692         * sysdeps/generic/math_private.h: Include <fenv.h>.
79693         (default_libc_feholdexcept): New.
79694         (default_libc_feholdexcept_setround): New.
79695         (default_libc_fesetenv, default_libc_feupdateenv): New.
79696         (libc_feholdexcept): Only define if undefined.
79697         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
79698         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
79699         (libc_feholdexcept_setroundl): Likewise.
79700         (libc_feholdexcept_setround_53bit): Likewise.
79701         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
79702         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
79703         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
79704         (libc_feupdateenv_53bit): Likewise.
79705         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
79706         (libc_feholdexcept): Convert from macro to inline function.
79707         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
79708         (libc_fesetenv, libc_feupdateenv): Likewise.
79710         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
79711         not previously defined.
79712         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
79713         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
79714         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
79715         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
79716         * sysdeps/ieee754/flt-32/math_private.h: New file.
79717         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
79718         math_private.h below SET_FLOAT_WORD.
79719         (__isnan, __isinf_ns, __finite): Remove.
79720         (__isnanf, __isinf_nsf, __finitef): Remove.
79722 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
79724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79726 2012-03-17  David S. Miller  <davem@davemloft.net>
79728         [BZ #6471]
79729         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
79730         for 2.16.
79732 2012-03-16  David S. Miller  <davem@davemloft.net>
79734         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
79735         warnings.
79737         [BZ #6471]
79738         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
79739         properly.
79740         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
79741         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
79742         sysdep_routines when subdir is sysvipc.
79743         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
79744         __getshmlba helper.
79746         * sysdeps/sparc/fpu/libm-test/ulps: Update.
79748 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79750         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
79751         [__LP64__].
79753 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79755         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
79756         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
79757         (__lround): Renamed to ...
79758         (__llround): This.  Replace long int with long long int.
79759         Define lround functions as aliases of llround functions.
79760         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
79762 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79764         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
79765         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
79766         adresses to uintptr_t.  Replace "long int" and "unsigned long
79767         int" with "greg_t" on va_arg.
79769 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79771         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
79772         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
79774         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
79775         Move e_machine check before EI_CLASS check.  Handle x32
79776         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
79777         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
79778         SKIP_EM_IA_64 and include
79779         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
79781         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
79782         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
79783         (add_system_dir): New macro.
79785         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
79786         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
79788 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79790         [BZ #2551]
79791         [BZ #2552]
79792         [BZ #2553]
79793         [BZ #2554]
79794         [BZ #2562]
79795         [BZ #2563]
79796         [BZ #2565]
79797         [BZ #2566]
79798         [BZ #2576]
79799         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
79800         (y0): Likewise.
79801         * math/w_j0f.c (j0f): Likewise.
79802         (y0f): Likewise.
79803         * math/w_j0l.c (__j0l): Likewise.
79804         (__y0l): Likewise.
79805         * math/w_j1.c (j1): Likewise.
79806         (y1): Likewise.
79807         * math/w_j1f.c (j1f): Likewise.
79808         (y1f): Likewise.
79809         * math/w_j1l.c (__j1l): Likewise.
79810         (__y1l): Likewise.
79811         * math/w_jn.c (jn): Likewise.
79812         (yn): Likewise.
79813         * math/w_jnf.c (jnf): Likewise.
79814         (ynf): Likewise.
79815         * math/w_jnl.c (__jnl): Likewise.
79816         (__ynl): Likewise.
79817         * math/libm-test.inc (j0_test): Add more tests.
79818         (j1_test): Likewise.
79819         (jn_test): Likewise.  Add trailing semicolon to existing test.
79820         (y0_test): Likewise.
79821         (y1_test): Likewise.
79822         * sysdeps/i386/fpu/libm-test-ulps: Update.
79823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79825         [BZ #13851]
79826         [BZ #13854]
79827         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
79828         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
79829         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
79830         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
79831         (__tanl): Set errno for infinite argument.
79832         * sysdeps/i386/fpu/mptan.c: Remove.
79833         * sysdeps/i386/fpu/s_tan.S: Likewise.
79834         * sysdeps/i386/fpu/s_tanl.S: Likewise.
79835         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
79836         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
79837         * math/libm-test.inc (tan_test): Add more tests and enable more
79838         tests for double and long double.
79839         * sysdeps/i386/fpu/libm-test-ulps: Update.
79840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79842 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
79844         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
79845         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
79847 2012-03-16  Roland McGrath  <roland@hack.frob.com>
79849         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
79850         * configure.in: Use it for both main tree and add-ons.
79851         * configure: Regenerated.
79853 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
79855         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
79857 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
79859         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
79860         in comment.
79862         [BZ #13851]
79863         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
79864         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
79865         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
79866         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
79867         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
79868         infinite argument.
79869         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
79870         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
79871         != 0 for prec == 2.
79872         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
79873         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
79874         * sysdeps/i386/fpu/s_cosl.S: Likewise.
79875         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
79876         * sysdeps/i386/fpu/s_sinl.S: Likewise.
79877         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
79878         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
79879         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
79880         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
79881         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
79882         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
79883         * math/libm-test.inc (cos_test): Add more tests and enable more
79884         tests for long double.
79885         (sin_test): Likewise.
79886         (sincos_test): Likewise.
79887         * sysdeps/i386/fpu/libm-test-ulps: Update.
79888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79890 2012-03-16  David S. Miller  <davem@davemloft.net>
79892         * sysdeps/sparc/fpu/math_private.h: New file.
79894 2012-03-15  David S. Miller  <davem@davemloft.net>
79896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
79897         file.
79898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
79899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
79900         file.
79901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
79902         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
79903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
79904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
79905         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
79906         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
79907         sysdep routines.
79908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79910         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
79911         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
79913         * sysdeps/sparc/sparc-ifunc.h: New file.
79914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
79915         sparc-ifunc.h
79916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
79917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
79918         Likewise.
79919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
79920         Likewise.
79921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
79922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
79923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
79924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
79925         Likewise.
79926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
79927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
79928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
79929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
79930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
79931         Likewise.
79932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
79933         Likewise.
79934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
79935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
79936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
79937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
79938         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
79939         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
79940         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
79941         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
79942         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
79943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
79944         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79948         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79951         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79952         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79953         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79954         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79955         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79956         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79957         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79959 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79961         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79962         scaling.
79963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79965 2012-03-15  Andreas Jaeger  <aj@suse.de>
79967         [BZ #13852]
79968         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79969         ieee754/flt-32 implementation for sin, cos and sincos.
79970         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79971         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79972         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79973         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79974         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79975         ieee754/flt-32 implementation for tan.
79977         * math/libm-test.inc (cos_test): Enable some large input tests for
79978         float as well
79979         (sin_test): Likewise.
79980         (sincos_test): Likewise.
79981         (tan_test): Add tests for large input.
79983         * sysdeps/i386/fpu/libm-test-ulps: Update.
79985 2012-03-15  Andreas Jaeger  <aj@suse.de>
79987         [BZ #13658]
79988         * math/libm-test.inc (cos_test): Add more test cases.
79989         (sin_test): Likewise.
79990         (sincos_test): Likewise.
79992 2012-03-15  Andreas Jaeger  <aj@suse.de>
79994         [BZ #13837]
79995         * math/libm-test.inc (cos_test): Add a test case for large input
79996         value.
79997         (sin_test): Likewise.
79998         (sincos_test): Likewise.
80000 2012-03-15  Andreas Jaeger  <aj@suse.de>
80001             Joseph Myers  <joseph@codesourcery.com>
80003         [BZ #13658]
80004         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80005         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80006         * sysdeps/i386/fpu/branred.c: Likewise.
80007         * sysdeps/i386/fpu/dosincos.c: Likewise.
80008         * sysdeps/i386/fpu/mpa.c: Likewise.
80009         * sysdeps/i386/fpu/s_cos.S: Likewise.
80010         * sysdeps/i386/fpu/s_sin.S: Likewise.
80011         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80012         * sysdeps/i386/fpu/sincos32.c: Likewise.
80014         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80015         Define.
80016         (libc_feupdateenv_53bit): Define.
80017         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80018         Define.
80019         (libc_feupdateenv_53bit): Define.
80021         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80022         53 bit (without extend i386 double precision).
80024         * math/libm-test.inc (sincos_test): Add tests for large input.
80025         (sin): Likewise.
80026         (cos): Likewise.
80028         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80030 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80034 2012-03-15  David S. Miller  <davem@davemloft.net>
80036         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80037         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80038         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80039         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80044         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80052         file.
80053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80055         file.
80056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80058         file.
80059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80061         file.
80062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80063         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80064         fmin/fmax sysdep routines.
80065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80067 2012-03-14  David S. Miller  <davem@davemloft.net>
80069         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80070         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80072         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80073         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80074         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80075         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80076         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80081         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80082         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80084         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80085         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80086         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80087         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80088         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80089         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80090         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80091         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80092         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80093         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80094         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80095         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80096         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80097         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80098         routines.
80099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80100         file.
80101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80103         file.
80104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80106         file.
80107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80109         file.
80110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80112         file.
80113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80115         file.
80116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80117         file.
80118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80119         file.
80120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80121         file.
80122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80123         New file.
80124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80125         file.
80126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80127         file.
80128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80130         file.
80131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80133         file.
80134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80136         file.
80137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80139         VIS3 routines.
80141         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80142         New file.
80144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80146         * sysdeps/sparc/configure.in: New file.
80147         * sysdeps/sparc/configure: Generate.
80148         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80149         * configure: Regenerate.
80150         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80151         * config.make.in (have-as-vis3): New.
80152         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80153         available use -Av9d instead of -Av9a.
80154         * sysdeps/sparc/sparc64/Makefile: Likewise.
80155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80157         New file.
80158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80159         file.
80160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80161         New file.
80162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80163         file.
80164         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80165         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80166         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80167         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80168         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80170         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80171         fzeros/fnegs to load 0x80000000 into a float register instead of
80172         using the stack.
80173         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80175 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80177         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80178         bits/syscall.h.
80179         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80180         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80181         ($(inst_includedir)/bits/syscall.h): Remove rule.
80182         ($(objpfx)bits/syscall.d): Include instead of
80183         $(objpfx)syscall-list.d.
80184         (generated): Change syscall-list.h and syscall-list.d to
80185         bits/syscall.h and bits/syscall.d.
80187 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80189         [BZ #13846]
80190         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80192 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80194         [BZ #13841]
80195         * math/s_csqrt.c: Include <float.h>.
80196         (__csqrt): Scale large or subnormal inputs.
80197         * math/s_csqrtf.c: Likewise.
80198         * math/s_csqrtl.c: Likewise.
80199         * math/libm-test.inc (csqrt_test): Add more tests.
80200         * sysdeps/i386/fpu/libm-test-ulps: Update.
80201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80203         [BZ #13840]
80204         * math/libm-test.inc (hypot_test): Add more tests.
80206 2012-03-13  David S. Miller  <davem@davemloft.net>
80208         [BZ #13840]
80209         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80210         double-precision for the calculation instead of scaling.
80212 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80214         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80215         manipulate bits before adding and subtracting TWO52[sx].
80216         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80217         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80218         Likewise.
80219         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80221 2012-03-13  David S. Miller  <davem@davemloft.net>
80223         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
80224         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
80225         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
80226         rtld-global-offsets.h
80227         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80229         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
80230         large parameters.
80232         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
80234         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
80235         'err' in the ifdef scope in which it is actually used.
80237         * nss/nss_db/db-init.c: Include string.h
80239 2012-03-12  David S. Miller  <davem@davemloft.net>
80241         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80242         masking out of the most significant byte of random value used.
80243         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80244         Fix coding style in previous change.
80246         * sysdeps/unix/sysv/linux/kernel-features.h
80247         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
80248         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
80249         expression.
80250         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
80251         later.
80253 2012-03-11  David S. Miller  <davem@davemloft.net>
80255         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
80256         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
80257         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
80258         for 'resultvar' otherwise things get truncated on 64-bit.
80260         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80261         Fix masking out of the most significant byte of random value used.
80263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80265 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
80267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80269 2012-03-09  David S. Miller  <davem@davemloft.net>
80271         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
80272         variables with appropriate CPP guards.
80273         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
80274         from the frame pointer, not the stack pointer.  Correct layout
80275         comments.  Fix test on resulting framesize and the management of
80276         the outregs buffer for pltexit.  Preserve floating point return
80277         values across _dl_call_pltexit call.
80278         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
80279         framesize and the management of the outregs buffer for pltexit.
80280         Preserve floating point return values across _dl_call_pltexit
80281         call.
80282         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
80283         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
80284         (la_sparc64_gnu_pltexit): New functions.
80285         (print_exit): Fix format string for return register value.
80287 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
80289         * sunrpc/Makefile (others): Add rpcgen.
80290         ($(objpfx)rpcgen): Remove special build rule and dependency on
80291         libc.
80292         * sunrpc/rpcgen.c: New file.
80294 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
80296         [BZ #13673]
80297         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
80298         * stdio-common/bug-vfprintf-nargs.c: Likewise.
80299         * sysdeps/i386/crti.S: Likewise.
80300         * sysdeps/i386/crtn.S: Likewise.
80301         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
80302         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
80303         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
80304         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
80305         * sysdeps/sh/crti.S: Likewise.
80306         * sysdeps/sh/crtn.S: Likewise.
80307         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
80309         [BZ #13673]
80310         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
80311         with URL.
80312         * locale/programs/locfile-kw.gperf: Likewise.
80313         * locale/programs/charmap-kw.h: Regenerated.
80314         * locale/programs/locfile-kw.h: Likewise.
80316         [BZ #13673]
80317         * intl/plural.y: Replace FSF snail mail address with URL.
80318         * intl/plural.c: Regenerated.
80320 2012-03-09  Richard Henderson  <rth@twiddle.net>
80322         * include/math_private.h: Remove file.
80323         * math/math_private.h: Move file ...
80324         * sysdeps/generic/math_private.h: ... here.
80326         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
80327         * sysdeps/powerpc/fpu/math_private.h: Likewise.
80328         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80330         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
80331         and <math_private.h>.
80332         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
80333         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
80334         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
80335         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
80336         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
80337         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
80338         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80339         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80340         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80341         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80342         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80343         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80344         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80345         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80346         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80347         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80348         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80349         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80350         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80351         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80352         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80353         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80354         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80355         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80356         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
80357         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80358         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80359         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80360         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80361         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
80362         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80363         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80364         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
80365         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80366         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
80367         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
80368         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80369         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
80370         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
80371         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80372         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
80373         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
80374         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
80375         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
80376         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
80377         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
80378         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
80379         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
80380         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80381         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
80382         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
80383         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
80384         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
80385         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
80386         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
80387         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80388         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80389         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
80390         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
80391         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
80392         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80393         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
80394         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80395         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
80396         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
80397         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80398         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80399         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80400         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
80401         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
80402         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
80403         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80404         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
80405         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80406         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
80407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
80408         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
80409         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
80410         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
80411         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
80412         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
80413         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
80414         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
80415         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80416         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80417         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
80418         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
80419         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
80420         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80421         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80422         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80423         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80424         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80425         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80426         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80427         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80428         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80429         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80430         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80431         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80432         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80433         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80434         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80435         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80436         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
80437         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80438         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80439         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80440         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
80441         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
80442         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
80443         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
80444         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80445         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
80446         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
80447         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80448         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
80449         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
80450         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
80451         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80452         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
80453         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
80454         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80455         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
80456         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
80457         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
80458         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80459         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
80460         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
80461         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
80462         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
80463         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80464         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
80465         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
80466         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
80467         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
80468         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80469         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
80470         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
80471         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80472         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80473         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
80474         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
80475         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
80476         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
80477         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
80478         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
80479         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
80480         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
80481         * sysdeps/ieee754/k_standard.c: Likewise.
80482         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80483         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80484         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80485         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80486         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80487         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80488         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80489         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80490         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80491         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80492         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80493         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80494         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80495         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80496         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80497         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80498         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
80499         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80500         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80501         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
80502         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
80503         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
80504         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
80505         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
80506         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
80507         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
80508         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
80509         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
80510         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
80511         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
80512         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
80513         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
80514         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
80515         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
80516         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
80517         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
80518         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
80519         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
80520         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
80521         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
80522         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
80523         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
80524         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
80525         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
80526         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
80527         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
80528         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
80529         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
80530         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
80531         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
80532         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
80533         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
80534         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
80535         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
80536         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
80537         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
80538         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
80539         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
80540         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
80541         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
80542         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
80543         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
80544         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
80545         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80546         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80547         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80548         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80549         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80550         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80551         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80552         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80553         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80554         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80555         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80556         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80557         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80558         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
80559         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80560         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80561         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
80562         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
80563         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
80564         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
80565         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
80566         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
80567         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
80568         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
80569         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
80570         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
80571         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
80572         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
80573         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
80574         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
80575         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
80576         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
80577         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
80578         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
80579         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
80580         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
80581         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
80582         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
80583         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
80584         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
80585         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
80586         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
80587         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
80588         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
80589         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
80590         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
80591         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
80592         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
80593         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
80594         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80595         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80596         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80597         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80598         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80599         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80600         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80601         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80602         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80603         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80604         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80605         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80606         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80607         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
80608         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
80609         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
80610         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
80611         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
80612         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
80613         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
80614         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
80615         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
80616         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
80617         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
80618         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
80619         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
80620         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
80621         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
80622         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
80623         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
80624         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
80625         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
80626         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
80627         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
80628         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
80629         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
80630         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
80631         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
80632         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
80633         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80634         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
80635         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
80636         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
80637         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
80638         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
80639         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
80640         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
80641         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
80642         * sysdeps/ieee754/s_lib_version.c: Likewise.
80643         * sysdeps/ieee754/s_matherr.c: Likewise.
80644         * sysdeps/ieee754/s_signgam.c: Likewise.
80645         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80646         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80647         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
80648         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
80649         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
80650         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80651         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
80652         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
80653         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
80654         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
80655         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
80656         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
80657         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
80658         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
80659         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
80660         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
80661         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
80662         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
80663         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
80664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
80665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
80667 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80669         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
80670         * sunrpc/rpc_main.c: Likewise.
80671         * sunrpc/rpc_svcout.c: Likewise.
80673 2012-03-09  David S. Miller  <davem@davemloft.net>
80675         * include/math_private.h: New file.
80677 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
80679         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
80680         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
80681         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
80682         from <bits/socket_type.h>.
80683         (enum __socket_type): Don't define here.
80684         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
80685         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80686         bits/socket_type.h.
80688         [BZ #13566]
80689         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
80690         checking __USE_GNU.
80692         * Makerules ($(inst_includedir)/%.h): New rule.
80693         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
80694         (install-others): Remove variable setting.
80695         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
80697 2012-03-08  Richard Henderson  <rth@twiddle.net>
80699         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
80700         from macro to inline function; merge with the
80701         !__LIBC_INTERNAL_MATH_INLINES version.
80702         (__ieee754_sqrtf): Likewise.
80704         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
80705         to inline function.
80706         (__rintf, __floor, __floorf): Likewise.
80708         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
80709         macro to inline function.
80710         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
80712         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
80713         not <math/math_private.h>.
80715 2012-03-08  David S. Miller  <davem@davemloft.net>
80717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
80718         copyright year.
80719         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
80721 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
80723         * resolv/gai_misc.c (handle_requests): Fix struct timespec
80724         normalization.
80725         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
80726         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
80728 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
80730         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
80731         be defined individually, they must be defined as a block.  Define
80732         S for printing a string instead of hidint the different by using a
80733         macro for adding the 'l'.
80734         * stdio-common/tst-fphex-wide.c: Adjust.
80736 2012-03-07  Marek Polacek  <polacek@redhat.com>
80738         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
80740 2012-03-08  Marek Polacek  <polacek@redhat.com>
80742         [BZ #13806]
80743         * stdio-common/Makefile (tests): Add tst-fphex-wide.
80744         * stdio-common/tst-fphex.c: Define a few macros to make the
80745         test reusable.  Use them.
80746         * stdio-common/tst-fphex-wide.c: New file.
80748 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
80750         [BZ #6911]
80751         * manual/macros.texi (gnusystems): New macro.
80752         (nongnusystems): Likewise.
80753         (gnulinuxhurdsystems): Likewise.
80754         (gnuhurdsystems): Likewise..
80755         (gnulinuxsystems): Likewise.
80756         * manual/charset.texi: Use new macros or @theglibc{} to refer to
80757         variants of the GNU system, not "GNU system".
80758         * manual/conf.texi: Likewise.
80759         * manual/errno.texi: Likewise.  Update example of errno macro
80760         expansion.
80761         * manual/filesys.texi: Likewise.
80762         (getumask): Document as specific to GNU/Hurd.
80763         * manual/install.texi: Likewise.  Reword some references to
80764         GNU/Linux.
80765         * manual/intro.texi: Likewise.
80766         * manual/io.texi: Likewise.
80767         (File Name Portability): Detail which constraints are inapplicable
80768         to all GNU systems and which are only inapplicable to GNU/Hurd.
80769         * manual/job.texi: Likewise.
80770         * manual/llio.texi: Likewise.
80771         (O_NOCTTY): Document as present on GNU/Linux.
80772         * manual/maint.texi: Likewise.
80773         * manual/memory.texi: Likewise.
80774         * manual/pattern.texi: Likewise.
80775         * manual/pipe.texi: Likewise.
80776         * manual/process.texi: Likewise.
80777         * manual/resource.texi: Likewise.
80778         (RUSAGE_CHILDREN): Remove statement about specifying a particular
80779         child on GNU/Hurd.
80780         * manual/setjmp.texi: Likewise.
80781         * manual/signal.texi: Likewise.
80782         * manual/startup.texi: Likewise.
80783         * manual/stdio.texi: Likewise.
80784         * manual/terminal.texi: Likewise.
80785         (ONLCR): Document as POSIX.
80786         (OXTABS): Document availability on GNU/Linux as XTABS.
80787         (ONOEOT): Document availability separately from other bits.
80788         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
80789         * manual/time.texi: Likewise.
80790         * manual/users.texi: Likewise.
80791         * INSTALL: Regenerated.
80792         * sysdeps/gnu/errlist.c: Regenerated.
80794         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
80795         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
80796         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
80797         puts.
80798         * configure: Regenerated.
80800 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
80802         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
80803         default includes instead of AC_HEADER_CHECK.
80804         * sysdeps/i386/configure: Regenerated.
80806         [BZ #10716]
80807         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
80808         * math/s_cacoshf.c (__cacoshf): Likewise.
80809         * math/s_cacoshl.c (__cacoshl): Likewise.
80810         * math/s_casinh.c (__casinh): Set signs of result from argument.
80811         * math/s_casinhf.c (__casinhf): Likewise.
80812         * math/s_casinhl.c (__casinhl): Likewise.
80813         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
80814         (casinh_test): Add more tests.
80815         * sysdeps/i386/fpu/libm-test-ulps: Update.
80816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80818 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
80820         * po/zh_TW.po: Update from translation team.
80822         * login/Makefile (distribute): Remove variable.
80823         * catgets/Makefile: Likewise.
80824         * mach/Makefile: Likewise.
80825         * malloc/Makefile: Likewise.
80826         * misc/Makefile: Likewise.
80827         * iconv/Makefile: Likewise.
80828         * nscd/Makefile: Likewise.
80829         * hurd/Makefile: Likewise.
80830         * manual/Makefile: Likewise.
80831         * locale/Makefile: Likewise.
80832         * intl/Makefile: Likewise.
80833         * conform/Makefile: Likewise.
80834         * nss/Makefile: Likewise.
80835         * time/Makefile: Likewise.
80836         * soft-fp/Makefile: Likewise.
80837         * dirent/Makefile: Likewise.
80838         * gmon/Makefile: Likewise.
80839         * po/Makefile: Likewise.
80840         * rt/Makefile: Likewise.
80841         * socket/Makefile: Likewise.
80842         * math/Makefile: Likewise.
80843         * signal/Makefile: Likewise.
80844         * debug/Makefile: Likewise.
80845         * elf/Makefile: Likewise.
80846         * timezone/Makefile: Likewise.
80847         * stdlib/Makefile: Likewise.
80848         * iconvdata/Makefile: Likewise.
80849         * sunrpc/Makefile: Likewise.
80850         * io/Makefile: Likewise.
80851         * argp/Makefile: Likewise.
80852         * inet/Makefile: Likewise.
80853         * hesiod/Makefile: Likewise.
80854         * grp/Makefile: Likewise.
80855         * csu/Makefile: Likewise.
80856         * wctype/Makefile: Likewise.
80857         * crypt/Makefile: Likewise.
80858         * libio/Makefile: Likewise.
80859         * string/Makefile: Likewise.
80860         * nis/Makefile: Likewise.
80861         * resolv/Makefile: Likewise.
80862         * stdio-common/Makefile: Likewise.
80863         * wcsmbs/Makefile: Likewise.
80864         * dlfcn/Makefile: Likewise.
80865         * posix/Makefile: Likewise.
80867         [BZ #6959]
80868         * timezone/Makefile: Don't install timezone files, just the programs
80869         and scripts.
80871 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
80873         * nss/databases.def: Add missing gshadow entry.
80875         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
80877 2012-03-06  Marek Polacek  <polacek@redhat.com>
80879         [BZ #13726]
80880         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
80881         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
80882         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
80883         * stdio-common/tst-long-dbl-fphex.c: New file.
80885 2012-03-06  David S. Miller  <davem@davemloft.net>
80887         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
80888         (set_obp_int): New function.
80889         (get_obp_int): New function.
80890         (__get_clockfreq_via_dev_openprom): Likewise.
80891         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
80892         Avoid unused variable warnings on 'val' and use builtin_expect.
80893         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
80894         __builtin_expect.
80895         (INLINE_CLONE_SYSCALL): Likewise.
80897 2012-03-05  David S. Miller  <davem@davemloft.net>
80899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80901 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
80903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80905         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
80906         only for |x| >= 40.
80907         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80909 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
80911         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
80912         Replace gettimeofday with __vdso_gettimeofday.
80914         * sysdeps/unix/sysv/linux/x86_64/init-first.c
80915         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
80916         __vdso_clock_gettime and __vdso_getcpu.
80918         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
80919         time with __vdso_time.
80921 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80923         * manual/lang.texi (size_t): Note types to which size_t may be
80924         equivalent with the GNU C Library, but do not describe when
80925         differences between them are significant.
80927 2012-03-05  Andreas Jaeger  <aj@suse.de>
80929         * sysdeps/i386/fpu/libm-test-ulps: Update.
80931 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
80933         [BZ #3976]
80934         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
80935         (__ieee754_pow): Save and restore rounding mode and use
80936         round-to-nearest for main computations.
80937         * math/libm-test.inc (pow_test_tonearest): New function.
80938         (pow_test_towardzero): Likewise.
80939         (pow_test_downward): Likewise.
80940         (pow_test_upward): Likewise.
80941         (main): Call the new functions.
80942         * sysdeps/i386/fpu/libm-test-ulps: Update.
80943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80945         [BZ #3976]
80946         * math/libm-test.inc (cosh_test_tonearest): New function.
80947         (cosh_test_towardzero): Likewise.
80948         (cosh_test_downward): Likewise.
80949         (cosh_test_upward): Likewise.
80950         (sinh_test_tonearest): Likewise.
80951         (sinh_test_towardzero): Likewise.
80952         (sinh_test_downward): Likewise.
80953         (sinh_test_upward): Likewise.
80954         (main): Call the new functions.
80955         * sysdeps/i386/fpu/libm-test-ulps: Update.
80956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80958 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80960         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80961         default stack guard is set in last bytes.
80962         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80964 2012-03-05  Kees Cook  <keescook@chromium.org>
80966         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80968         [BZ #13656]
80969         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80970         possibly allocate from heap instead of stack.
80971         * stdio-common/bug-vfprintf-nargs.c: New file.
80972         * stdio-common/Makefile (tests): Add nargs overflow test.
80974 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80978 2012-03-03  Marek Polacek  <polacek@redhat.com>
80980         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80981         * math/math_private.h: Likewise.
80982         * stdlib/tst-strtod.c: Likewise.
80983         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80984         * sysdeps/x86_64/bits/atomic.h: Likewise.
80986 2012-03-02  David S. Miller  <davem@davemloft.net>
80988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80992         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80993         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80994         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80995         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80997 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80999         [BZ #13792]
81000         * manual/examples/README: New file, says the example source files
81001         can be used under GPL>=2.
81002         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81003         line containing just "*/".
81004         * manual/examples/add.c: Add copyright header (GPL>=2).
81005         * manual/examples/argp-ex1.c: Likewise.
81006         * manual/examples/argp-ex2.c: Likewise.
81007         * manual/examples/argp-ex3.c: Likewise.
81008         * manual/examples/argp-ex4.c: Likewise.
81009         * manual/examples/atexit.c: Likewise.
81010         * manual/examples/db.c: Likewise.
81011         * manual/examples/dir.c: Likewise.
81012         * manual/examples/dir2.c: Likewise.
81013         * manual/examples/execinfo.c: Likewise.
81014         * manual/examples/filecli.c: Likewise.
81015         * manual/examples/filesrv.c: Likewise.
81016         * manual/examples/fmtmsgexpl.c: Likewise.
81017         * manual/examples/genpass.c: Likewise.
81018         * manual/examples/inetcli.c: Likewise.
81019         * manual/examples/inetsrv.c: Likewise.
81020         * manual/examples/isockad.c: Likewise.
81021         * manual/examples/longopt.c: Likewise.
81022         * manual/examples/memopen.c: Likewise.
81023         * manual/examples/memstrm.c: Likewise.
81024         * manual/examples/mkfsock.c: Likewise.
81025         * manual/examples/mkisock.c: Likewise.
81026         * manual/examples/mygetpass.c: Likewise.
81027         * manual/examples/pipe.c: Likewise.
81028         * manual/examples/popen.c: Likewise.
81029         * manual/examples/rprintf.c: Likewise.
81030         * manual/examples/search.c: Likewise.
81031         * manual/examples/select.c: Likewise.
81032         * manual/examples/setjmp.c: Likewise.
81033         * manual/examples/sigh1.c: Likewise.
81034         * manual/examples/sigusr.c: Likewise.
81035         * manual/examples/stpcpy.c: Likewise.
81036         * manual/examples/strdupa.c: Likewise.
81037         * manual/examples/strftim.c: Likewise.
81038         * manual/examples/strncat.c: Likewise.
81039         * manual/examples/subopt.c: Likewise.
81040         * manual/examples/swapcontext.c: Likewise.
81041         * manual/examples/termios.c: Likewise.
81042         * manual/examples/testopt.c: Likewise.
81043         * manual/examples/testpass.c: Likewise.
81044         * manual/examples/timeval_subtract.c: Likewise.
81046         [BZ #13792]
81047         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81048         function to ...
81049         * manual/timeval_subtract.c.texi: ... here, new file.
81051 2012-03-02  David S. Miller  <davem@davemloft.net>
81053         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81055 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81057         [BZ #3976]
81058         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81059         (__sin): Save and restore rounding mode and use round-to-nearest
81060         for all computations.
81061         (__cos): Save and restore rounding mode and use round-to-nearest
81062         for all computations.
81063         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81064         <fenv.h>.
81065         (tan): Save and restore rounding mode and use round-to-nearest for
81066         all computations.
81067         * math/libm-test.inc (cos_test_tonearest): New function.
81068         (cos_test_towardzero): Likewise.
81069         (cos_test_downward): Likewise.
81070         (cos_test_upward): Likewise.
81071         (sin_test_tonearest): Likewise.
81072         (sin_test_towardzero): Likewise.
81073         (sin_test_downward): Likewise.
81074         (sin_test_upward): Likewise.
81075         (tan_test_tonearest): Likewise.
81076         (tan_test_towardzero): Likewise.
81077         (tan_test_downward): Likewise.
81078         (tan_test_upward): Likewise.
81079         (main): Call the new functions.
81080         * sysdeps/i386/fpu/libm-test-ulps: Update.
81081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81083         [BZ #10135]
81084         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81085         small n, then large n, before computing and testing k+n.
81086         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81087         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81088         Likewise.
81089         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81090         Likewise.
81091         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81092         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81093         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81094         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81095         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81096         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81097         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81098         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81099         * math/libm-test.inc (scalbn_test): Add more tests.
81100         (scalbln_test): Likewise.
81102         * manual/filesys.texi (mode_t): Describe constraints on size and
81103         signedness, not exact equivalence to a particular type.
81104         (ino_t): Likewise.
81105         (ino64_t): Likewise.
81106         (dev_t): Likewise.
81107         (nlink_t): Likewise.
81108         (blkcnt_t): Likewise.
81109         (blkcnt64_t): Likewise.
81110         * manual/llio.texi (off_t): Likewise.
81112         [BZ #3976]
81113         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81114         (__ieee754_exp): Save and restore rounding mode and use
81115         round-to-nearest for all computations.
81116         * math/libm-test.inc (exp_test_tonearest): New function.
81117         (exp_test_towardzero): Likewise.
81118         (exp_test_downward): Likewise.
81119         (exp_test_upward): Likewise.
81120         (main): Call the new functions.
81121         * sysdeps/i386/fpu/libm-test-ulps: Update.
81122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81124 2012-03-01  Chris Demetriou  <cgd@google.com>
81126         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81127         have predictable order.
81129 2012-03-01  David S. Miller  <davem@davemloft.net>
81131         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81133         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81134         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81135         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81136         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81138         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81139         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81140         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81142         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81143         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81144         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81145         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81146         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81150         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81151         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81152         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81154         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81155         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81156         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81157         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81158         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81159         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81160         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81161         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81162         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81163         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81164         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81165         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81166         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81167         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81168         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81169         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81170         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81171         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81172         * sysdeps/sparc/elf/configure: Regenerated.
81174 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81176         * configure.in (AS, LD): Require binutils 2.20 or later.
81177         * configure: Regenerated.
81178         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81179         as required minimum version.
81180         * INSTALL: Regenerated.
81182         [BZ #2541]
81183         [BZ #4108]
81184         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81185         before squaring exponent.
81186         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81187         bottom long double and 27 bits of top long double before squaring
81188         exponent.
81189         * math/libm-test.inc (erfc_test): Add more tests.
81190         * sysdeps/i386/fpu/libm-test-ulps: Update.
81191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81194 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81196         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81197         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81198         containing bit-fields.
81199         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81200         * soft-fp/single.h (_FP_UNION_S): Likewise.
81201         * soft-fp/double.h (_FP_UNION_D): Likewise.
81203 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81205         [BZ #13786]
81206         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81207         not include ../strcmp.S.
81208         [USE_AS_STRNCASECMP_L]: Likewise.
81209         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81210         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81211         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81212         (__strncasecmp_l_ia32): Define as alias to
81213         __strncasecmp_l_nonascii.
81215         [BZ #5794]
81216         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81217         * sysdeps/i386/fpu/libm-test-ulps: Update.
81218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81220         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81223 2012-02-29  Jeff Law  <law@redhat.com>
81225         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
81226         out of bounds read.
81228 2012-02-29  Marek Polacek  <polacek@redhat.com>
81230         [BZ #13706]
81231         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
81232         * elf/Makefile: Add rules to run tst-unused-dep.out.
81234 2012-02-28  David S. Miller  <davem@davemloft.net>
81236         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
81237         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
81238         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
81239         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
81240         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
81241         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
81243 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81245         * math/libm-test.inc (llround_test): Move one test from
81246         lround_test.  Use TEST_f_L in moved test.
81247         (lround_test): Move misplaced test to llround_test.  Add testcase
81248         from bug 2561.
81250 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
81252         * sysdeps/x86_64/fpu/e_expf.S: New file.
81253         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
81255 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
81257         [BZ #13637]
81258         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
81259         of remain_len that may cause incomplete multi-byte character and
81260         false match.
81261         * posix/bug-regex33.c: New file.
81262         * posix/Makefile (tests): Add bug-regex33.
81264 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
81266         * manual/macros.texi: New file.
81267         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
81268         * manual/libc.texinfo: Include macros.texi.
81269         * manual/creatute.texi: Likewise.
81270         * manual/install.texi: Likewise.
81271         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
81272         @glibcadj{} in references to the GNU C Library.
81273         * manual/charset.texi: Likewise.
81274         * manual/conf.texi: Likewise.
81275         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
81276         when not using those macros.
81277         * manual/creature.texi: Likewise.
81278         * manual/crypt.texi: Likewise.
81279         * manual/errno.texi: Likewise.
81280         * manual/filesys.texi: Likewise.
81281         * manual/header.texi: Likewise.
81282         * manual/install.texi: Likewise.
81283         * manual/intro.texi: Likewise.
81284         * manual/io.texi: Likewise.
81285         * manual/job.texi: Likewise.
81286         * manual/lang.texi: Likewise.
81287         * manual/libc.texiinfo: Likewise.
81288         * manual/llio.texi: Likewise.
81289         * manual/locale.texi: Likewise.
81290         * manual/maint.texi: Likewise.
81291         * manual/math.texi: Likewise.
81292         * manual/memory.texi: Likewise.
81293         * manual/message.texi: Likewise.
81294         * manual/nss.texi: Likewise.
81295         * manual/pattern.texi: Likewise.
81296         * manual/process.texi: Likewise.
81297         * manual/resource.texi: Likewise.
81298         * manual/search.texi: Likewise.
81299         * manual/setjmp.texi: Likewise.
81300         * manual/signal.texi: Likewise.
81301         * manual/socket.texi: Likewise.
81302         * manual/startup.texi: Likewise.
81303         * manual/stdio.texi: Likewise.
81304         * manual/string.texi: Likewise.
81305         * manual/sysinfo.texi: Likewise.
81306         * manual/syslog.texi: Likewise.
81307         * manual/terminal.texi: Likewise.
81308         * manual/time.texi: Likewise.
81309         * manual/users.texi: Likewise.
81310         * INSTALL: Regenerated.
81311         * NOTES: Regenerated.
81312         * sysdeps/gnu/errlist.c: Regenerated.
81314 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
81316         * include/dirent.h: Include <dirstream.h> before
81317         <dirent/dirent.h>.
81319 2012-02-28  David S. Miller  <davem@davemloft.net>
81321         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
81322         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
81323         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
81324         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
81326 2012-02-27  David S. Miller  <davem@davemloft.net>
81328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
81329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
81330         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
81331         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
81333         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
81334         frame pointer instead of stack pointer relative arg slot.
81335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81336         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81337         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81339 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
81341         [BZ #3992]
81342         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
81344 2012-02-27  David S. Miller  <davem@davemloft.net>
81346         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
81347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
81348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
81350         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
81351         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
81352         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
81353         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
81355 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81357         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
81358         later.  Allow versions 5-9.
81359         * configure: Regenerated.
81360         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
81361         required minimum version and 4.6 as recommended version.  Do not
81362         mention bugs in GCC 2.7 and 2.8.
81363         * INSTALL: Regenerated.
81365 2012-02-27  David S. Miller  <davem@davemloft.net>
81367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
81368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
81369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
81370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
81371         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
81372         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
81373         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
81374         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
81376         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
81377         manipulate bits before adding and subtracting TWO112[sx].
81378         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
81380 2012-02-27  Roland McGrath  <roland@hack.frob.com>
81382         [BZ #13775]
81383         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
81384         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
81385         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
81386         being in POSIX, because they are in 1003.1-2008.
81388         * rt/tst-aio.c: Include <fcntl.h>.
81389         * rt/tst-aio7.c: Likewise.
81390         * rt/tst-aio64.c: Likewise.
81392         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
81394 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
81396         * manual/install.texi (--with-headers): Describe headers as
81397         interface headers, not private headers.
81398         (Specific advice for GNU/Linux systems): Describe use of headers
81399         from "make headers_install", not private headers from older
81400         kernels.
81401         * INSTALL: Regenerated.
81402         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
81403         Change to 2.6.19.
81404         * sysdeps/unix/sysv/linux/configure: Regenerated.
81406         * manual/llio.texi (fclean): Remove documentation.
81408         * manual/Makefile (libc-texi-generated): New variable.  Include
81409         version.texi.
81410         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
81411         $(libc-texi-generated), not duplicated list of files.
81412         (version.texi, stamp-version): New rules.
81413         (realclean): Remove $(libc-texi-generated), not individual files
81414         from that list.  Do not remove dir-add.texinfo.
81415         * manual/libc.texinfo: Comment out uses of edition numbers and
81416         references to printed manual.  Remove last-updated dates.
81417         (EDITION): Comment out.
81418         (ISBN): Likewise.
81419         (VERSION, UPDATED): Remove.
81420         (version.texi): Include.
81422 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
81424         * sysdeps/posix/spawni.c: Include <signal.h>.
81425         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
81426         * sysdeps/pthread/aio_fsync.c: Likewise.
81428 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
81430         * conform/Makefile (tests): Run only when not cross-compiling and
81431         when fast-check is not defined.
81433         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
81434         * conform/data/limits.h-data: Fixes for POSIX2008.
81435         * conform/run-conformtest.sh: Run all tests.
81436         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
81437         headers.
81438         * include/bits/dlfcn.h: Likewise.
81439         * include/langinfo.h: Likewise.
81440         * include/monetary.h: Likewise.
81441         * include/sys/poll.h: Likewise.
81443         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
81444         for __USE_GNU.
81445         * posix/spawn.h: Define __need_sigset_t.
81446         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
81447         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
81448         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
81449         to get sigevent_t only.
81450         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
81451         only for __USE_GNU.
81452         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81453         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
81454         process_vm_writev only for __USE_GNU.
81455         * termios/termios.h: Declare tcgetsid also for POSIX2008.
81457         * conform/Makefile: For now ignore errors from run-conformtest.
81458         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
81459         POSIX to avoid namespace pollution.  Don't prepend headers.
81460         * conform/data/aio.h-data: Fixes for POSIX testing.
81461         * conform/data/fcntl.h-data: Likewise.
81462         * conform/data/glob.h-data: Likewise.
81463         * conform/data/grp.h-data: Likewise.
81464         * conform/data/pthread.h-data: Likewise.
81465         * conform/data/pwd.h-data: Likewise.
81466         * conform/data/signal.h-data: Likewise.
81467         * conform/data/spawn.h-data: Likewise.
81468         * conform/data/stdio.h-data: Likewise.
81469         * conform/data/stdlib.h-data: Likewise.
81470         * conform/data/stropts.h-data: Likewise.
81471         * conform/data/sys/mman.h-data: Likewise.
81472         * conform/data/sys/stat.h-data: Likewise.
81473         * conform/data/sys/types.h-data: Likewise.
81474         * conform/data/sys/wait.h-data: Likewise.
81475         * conform/data/time.h-data: Likewise.
81476         * conform/data/unistd.h-data: Likewise.
81477         * conform/data/utime.h-data: Likewise.
81479         * io/sys/stat.h: fchmod was always in POSIX.
81480         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
81481         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
81482         * rt/aio.h: Define __need_timespec before including <time.h>.
81483         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
81484         struct.  Add forward declaration of pthread_attr_t and use it in
81485         sigevent.
81486         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
81487         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
81488         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
81489         always remove CLK_TCK definition.
81491 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
81493         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
81495 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
81497         * conform/run-conformtest.sh: New file.
81498         * conform/Makefile: Run run-conformtest for tests.
81499         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
81500         support.
81502         * conform/data/uchar.h-data: New file.
81503         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
81504         * conform/data/arpa/inet.h-data: Likewise.
81505         * conform/data/assert.h-data: Likewise.
81506         * conform/data/complex.h-data: Likewise.
81507         * conform/data/cpio.h-data: Likewise.
81508         * conform/data/ctype.h-data: Likewise.
81509         * conform/data/dirent.h-data: Likewise.
81510         * conform/data/dlfcn.h-data: Likewise.
81511         * conform/data/errno.h-data: Likewise.
81512         * conform/data/fcntl.h-data: Likewise.
81513         * conform/data/float.h-data: Likewise.
81514         * conform/data/fmtmsg.h-data: Likewise.
81515         * conform/data/fnmatch.h-data: Likewise.
81516         * conform/data/ftw.h-data: Likewise.
81517         * conform/data/glob.h-data: Likewise.
81518         * conform/data/grp.h-data: Likewise.
81519         * conform/data/iconv.h-data: Likewise.
81520         * conform/data/inttypes.h-data: Likewise.
81521         * conform/data/langinfo.h-data: Likewise.
81522         * conform/data/libgen.h-data: Likewise.
81523         * conform/data/limits.h-data: Likewise.
81524         * conform/data/locale.h-data: Likewise.
81525         * conform/data/math.h-data: Likewise.
81526         * conform/data/monetary.h-data: Likewise.
81527         * conform/data/mqueue.h-data: Likewise.
81528         * conform/data/ndbm.h-data: Likewise.
81529         * conform/data/net/if.h-data: Likewise.
81530         * conform/data/netdb.h-data: Likewise.
81531         * conform/data/netinet/in.h-data: Likewise.
81532         * conform/data/nl_types.h-data: Likewise.
81533         * conform/data/poll.h-data: Likewise.
81534         * conform/data/pthread.h-data: Likewise.
81535         * conform/data/pwd.h-data: Likewise.
81536         * conform/data/regex.h-data: Likewise.
81537         * conform/data/sched.h-data: Likewise.
81538         * conform/data/search.h-data: Likewise.
81539         * conform/data/semaphore.h-data: Likewise.
81540         * conform/data/setjmp.h-data: Likewise.
81541         * conform/data/signal.h-data: Likewise.
81542         * conform/data/spawn.h-data: Likewise.
81543         * conform/data/stdarg.h-data: Likewise.
81544         * conform/data/stdio.h-data: Likewise.
81545         * conform/data/stdlib.h-data: Likewise.
81546         * conform/data/string.h-data: Likewise.
81547         * conform/data/strings.h-data: Likewise.
81548         * conform/data/stropts.h-data: Likewise.
81549         * conform/data/sys/ipc.h-data: Likewise.
81550         * conform/data/sys/mman.h-data: Likewise.
81551         * conform/data/sys/msg.h-data: Likewise.
81552         * conform/data/sys/resource.h-data: Likewise.
81553         * conform/data/sys/select.h-data: Likewise.
81554         * conform/data/sys/sem.h-data: Likewise.
81555         * conform/data/sys/shm.h-data: Likewise.
81556         * conform/data/sys/socket.h-data: Likewise.
81557         * conform/data/sys/stat.h-data: Likewise.
81558         * conform/data/sys/statvfs.h-data: Likewise.
81559         * conform/data/sys/time.h-data: Likewise.
81560         * conform/data/sys/timeb.h-data: Likewise.
81561         * conform/data/sys/times.h-data: Likewise.
81562         * conform/data/sys/types.h-data: Likewise.
81563         * conform/data/sys/uio.h-data: Likewise.
81564         * conform/data/sys/un.h-data: Likewise.
81565         * conform/data/sys/utsname.h-data: Likewise.
81566         * conform/data/sys/wait.h-data: Likewise.
81567         * conform/data/syslog.h-data: Likewise.
81568         * conform/data/tar.h-data: Likewise.
81569         * conform/data/termios.h-data: Likewise.
81570         * conform/data/utime.h-data: Likewise.
81571         * conform/data/utmpx.h-data: Likewise.
81572         * conform/data/varargs.h-data: Likewise.
81573         * conform/data/wchar.h-data: Likewise.
81574         * conform/data/wctype.h-data: Likewise.
81575         * conform/data/wordexp.h-data: Likewise.
81577         * include/stropts.h: New file.
81578         * include/uchar.h: New file.
81579         * include/aio.h: Changes to allow conformtest.pl to use the headers.
81580         * include/assert.h: Likewise.
81581         * include/ctype.h: Likewise.
81582         * include/dirent.h: Likewise.
81583         * include/dlfcn.h: Likewise.
81584         * include/fcntl.h: Likewise.
81585         * include/fnmatch.h: Likewise.
81586         * include/glob.h: Likewise.
81587         * include/grp.h: Likewise.
81588         * include/libio.h: Likewise.
81589         * include/locale.h: Likewise.
81590         * include/math.h: Likewise.
81591         * include/net/if.h: Likewise.
81592         * include/netdb.h: Likewise.
81593         * include/netinet/in.h: Likewise.
81594         * include/pthread.h: Likewise.
81595         * include/pwd.h: Likewise.
81596         * include/regex.h: Likewise.
81597         * include/sched.h: Likewise.
81598         * include/search.h: Likewise.
81599         * include/setjmp.h: Likewise.
81600         * include/signal.h: Likewise.
81601         * include/stdio.h: Likewise.
81602         * include/stdlib.h: Likewise.
81603         * include/string.h: Likewise.
81604         * include/sys/cdefs.h: Likewise.
81605         * include/sys/mman.h: Likewise.
81606         * include/sys/msg.h: Likewise.
81607         * include/sys/resource.h: Likewise.
81608         * include/sys/select.h: Likewise.
81609         * include/sys/socket.h: Likewise.
81610         * include/sys/stat.h: Likewise.
81611         * include/sys/statvfs.h: Likewise.
81612         * include/sys/time.h: Likewise.
81613         * include/sys/times.h: Likewise.
81614         * include/sys/uio.h: Likewise.
81615         * include/sys/utsname.h: Likewise.
81616         * include/sys/wait.h: Likewise.
81617         * include/termios.h: Likewise.
81618         * include/time.h: Likewise.
81619         * include/ulimit.h: Likewise.
81620         * include/unistd.h: Likewise.
81621         * include/utime.h: Likewise.
81622         * include/wchar.h: Likewise.
81623         * include/wctype.h: Likewise.
81624         * include/wordexp.h: Likewise.
81626         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
81628         * time/time.h: TIME_UTC must be a macro.
81629         Make timespec_get available for ISO C11 only as well.
81631 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
81633         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
81634         Reported by Peng Haitao <penght@cn.fujitsu.com>.
81636 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81638         * configure.in: Use -o not -a in test for unsupported multi-arch.
81640 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81642         * manual/texinfo.tex: Update to version 2012-01-19.16.
81644 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
81646         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
81648 2012-02-24  Roland McGrath  <roland@hack.frob.com>
81650         [BZ #13738]
81651         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
81652         * manual/fdl-1.3.texi: New file.
81653         * manual/fdl-1.1.texi: File removed.
81655         [BZ #13738]
81656         * manual/libc.texinfo (FDL_VERSION): New @set.
81657         Use it for mention of FDL in cover text.
81658         (Documentation License): Use it in @include file name.
81660 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81661             Roland McGrath  <roland@hack.frob.com>
81663         [BZ #5461]
81664         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
81665         (not LONG_LONG_MAX and LONG_LONG_MIN.
81666         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
81667         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
81668         name.
81669         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
81671 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81673         [BZ #2547]
81674         [BZ #11365]
81675         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
81676         manipulate bits before adding and subtracting TWO23[sx].
81677         * math/libm-test.inc (nearbyint_test): Add more tests.
81679 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81681         [BZ #2548]
81682         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
81683         bits before adding and subtracting TWO23[sx].
81684         * math/libm-test.inc (rint_test): Add more tests.
81685         (rint_test_tonearest): Likewise.
81686         (rint_test_towardzero): Likewise.
81687         (rint_test_downward): Likewise.
81688         (rint_test_upward: Likewise.
81690 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81692         [BZ #10110]
81693         * include/stdc-predef.h: New file.  Extracted from features.h.
81694         * include/features.h: Include stdc-predef.h.
81695         * Makefile (headers): Add stdc-predef.h.
81696         * CONFORMANCE (Compiler limitations): Update.
81698 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
81700         * manual/libc.texinfo (VERSION, UPDATED): Revert.
81702 2012-02-21  David S. Miller  <davem@davemloft.net>
81704         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
81705         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81707 2012-02-20  David S. Miller  <davem@davemloft.net>
81709         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
81710         using a normal save/restore sequence, rather than allocating a
81711         dummy stack frame just to store a frame pointer and restore.
81712         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81714 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81716         * manual/install.texi: Fix stray word in line-wrapped comment.
81718 2012-02-20  David S. Miller  <davem@davemloft.net>
81720         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
81721         both binutils and gcc support GOTDATA.
81723         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
81724         "rd %pc" in the PIC register setup sequences.
81726         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
81727         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
81728         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81729         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
81730         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81731         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
81732         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81733         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81734         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
81735         (SYSCALL_ERROR_HANDLER): Likewise.
81736         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81737         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81738         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
81739         (SYSCALL_ERROR_HANDLER): Likewise.
81741         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
81742         (HAVE_GCC_GOTDATA): New.
81743         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
81744         relocation support in both binutils and gcc.
81745         * sysdeps/sparc/elf/configure: Regenerate.
81747         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
81748         * sysdeps/sparc/sparc32/elf/configure: Delete.
81749         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
81750         * sysdeps/sparc/sparc64/elf/configure: Delete.
81751         * sysdeps/sparc/elf/configure.in: New file.
81752         * sysdeps/sparc/elf/configure: Generate.
81754         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
81755         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
81756         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81757         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
81758         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
81760 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81762         * manual/install.texi: Do not mention specific glibc version
81763         numbers.
81764         * manual/libc.texinfo (VERSION, UPDATED): Update.
81765         (@copying): Use @copyright{} and range of years.
81767 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
81769         [BZ #13695]
81770         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
81771         [crti.S not in sysdirs] (generated): Do not append.
81772         [crti.S not in sysdirs] (omit-deps): Likewise.
81773         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
81774         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
81775         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
81776         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
81777         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
81778         Likewise.
81779         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
81780         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
81781         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
81782         * csu/defs.awk: Remove file.
81783         * sysdeps/generic/initfini.c: Likewise.
81784         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
81785         variable.
81786         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
81787         Likewise.
81789 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81791         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
81792         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
81793         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
81794         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
81795         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
81796         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
81797         <bits/epoll.h>.
81798         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
81799         (__EPOLL_PACKED): Define to empty if not defined by
81800         <bits/epoll.h>.
81801         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
81802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81803         bits/epoll.h.
81805 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81807         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
81808         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
81809         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
81810         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
81811         <bits/timerfd.h>.
81812         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
81813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81814         bits/timerfd.h.
81816 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
81818         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
81819         in C locale.
81820         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81821         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
81822         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
81823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81825 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
81827         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81828         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
81830 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
81832         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
81833         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
81834         defined.
81835         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
81836         Likewise.
81837         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
81838         entry for 2.16.
81840 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
81842         * math/w_acos.c: Use non-signaling floating-point comparisons.
81843         * math/w_acosf.c: Likewise.
81844         * math/w_acosh.c: Likewise.
81845         * math/w_acoshf.c: Likewise.
81846         * math/w_acoshl.c: Likewise.
81847         * math/w_acosl.c: Likewise.
81848         * math/w_asin.c: Likewise.
81849         * math/w_asinf.c: Likewise.
81850         * math/w_asinl.c: Likewise.
81851         * math/w_atanh.c: Likewise.
81852         * math/w_atanhf.c: Likewise.
81853         * math/w_atanhl.c: Likewise.
81854         * math/w_exp2.c: Likewise.
81855         * math/w_exp2f.c: Likewise.
81856         * math/w_exp2l.c: Likewise.
81857         * math/w_j0.c: Likewise.
81858         * math/w_j0f.c: Likewise.
81859         * math/w_j0l.c: Likewise.
81860         * math/w_j1.c: Likewise.
81861         * math/w_j1f.c: Likewise.
81862         * math/w_j1l.c: Likewise.
81863         * math/w_jn.c: Likewise.
81864         * math/w_jnf.c: Likewise.
81865         * math/w_log.c: Likewise.
81866         * math/w_log10.c: Likewise.
81867         * math/w_log10f.c: Likewise.
81868         * math/w_log10l.c: Likewise.
81869         * math/w_log2.c: Likewise.
81870         * math/w_log2f.c: Likewise.
81871         * math/w_log2l.c: Likewise.
81872         * math/w_logf.c: Likewise.
81873         * math/w_logl.c: Likewise.
81874         * math/w_sqrt.c: Likewise.
81875         * math/w_sqrtf.c: Likewise.
81876         * math/w_sqrtl.c: Likewise.
81877         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81878         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
81879         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81880         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
81881         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
81883 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81885         [BZ #9739]
81886         * manual/string.texi (strnlen): Use correct parameter name in
81887         equivalent expression.
81889 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81891         [BZ #11174]
81892         * manual/users.texi (seteuid): Consistently use neweuid for
81893         argument name.
81895 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
81897         [BZ #13704]
81898         * manual/nss.texi (Services in the NSS configuration): Correct
81899         list of services in example configuration file.
81901 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
81903         [BZ #11322]
81904         * manual/arith.texi: Remove statements about negative zero
81905         behaving identically to zero.
81907 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81909         [BZ #5993]
81910         * manual/install.texi: Do not document upgrading from libc5.
81912 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
81914         [BZ #4596]
81915         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
81917 2012-02-18  David S. Miller  <davem@davemloft.net>
81919         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
81920         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
81921         %o7 across the call.
81922         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
81923         instead.
81924         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
81925         SETUP_PIC_REG_LEAF.
81926         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81927         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
81928         * sysdeps/sparc/crtn.S: Likewise.
81930 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
81932         * aout/Makefile: Remove.
81934 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
81936         [BZ #13058]
81937         * manual/examples/argp-ex1.c (main): Format definition in GNU
81938         style.
81939         * manual/examples/argp-ex2.c (main): Likewise.
81940         * manual/examples/argp-ex3.c (main): Likewise.
81941         * manual/examples/argp-ex4.c (main): Likewise.
81942         * manual/examples/longopt.c (main): Use new-style prototype
81943         definition.
81944         * manual/examples/strncat.c (main): Specify return type and use
81945         (void) for arguments.
81946         * manual/examples/subopt.c (main): Use char **argv argument.
81948 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81950         [BZ #5077]
81951         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81952         rounding modes.
81954 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81956         [BZ #6907]
81957         * manual/string.texi (strchr): Change when strchrnul is
81958         recommended.
81960 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81962         [BZ #174]
81963         * manual/locale.texi (setlocale): Document LOCPATH.
81965 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81967         [BZ #10210]
81968         * manual/process.texi (execle): Move @dots{} before last argument.
81970 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81972         [BZ #12047]
81973         * manual/charset.texi (Generic Charset Conversion): Fix typo
81974         (LC_TYPE -> LC_CTYPE).
81976 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81978         [BZ #5805]
81979         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81980         (scalbnf): Likewise.
81981         (scalbnl): Likewise.
81982         (scalbln): Likewise.
81983         (scalblnf): Likewise.
81984         (scalblnl): Likewise.
81985         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81986         (vwarnx): Likewise.
81987         (verr): Likewise.
81988         (verrx): Likewise.
81989         * manual/filesys.texi (telldir): Use braces around return type.
81990         * manual/llio.texi (mmap): Add space after comma.
81991         (mmap64): Likewise.
81992         * manual/math.texi (jn): Use @var{} on parameter names.
81993         (jnf): Likewise.
81994         (jnl): Likewise.
81995         (yn): Likewise.
81996         (ynf): Likewise.
81997         (ynl): Likewise.
81998         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81999         line.
82000         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82001         "...".
82002         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82003         (sched_get_priority_max): Likewise.
82004         * manual/signal.texi (sigvec): Add space after comma.
82005         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82006         names.
82007         (if_indextoname): Likewise.
82008         (if_freenameindex): Likewise.
82009         (sendto): Use ',' instead of '.' in prototype.
82010         * manual/startup.texi (syscall): Use @dots{} instead of literal
82011         "...".
82012         * manual/stdio.texi (__fpending): Separate initial words of
82013         paragraph from @deftypefun line.
82014         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82015         "...".
82016         (vsyslog): Use @var{} on parameter names.
82017         * manual/terminal.texi (stty): Use @var{} on parameter names.
82018         * manual/users.texi (getutmp): Use @var{} on parameter names.
82019         (getutmpx): Likewise.
82021 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82023         [BZ #6884]
82024         * manual/stdio.texi (fopen): Fix typos in description of
82025         ",ccs=STRING".
82027 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82029         [BZ #4026]
82030         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82031         get clock_id definition.
82033 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82035         [BZ #4822]
82036         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82037         (madvise): Cast every argument to void on its own.
82039 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82041         [BZ #9902]
82042         * manual/startup.texi (Exit Status): Fix typo.
82044 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82046         [BZ #10140]
82047         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82048         * manual/examples/argp-ex2.c: Likewise.
82049         * manual/examples/argp-ex3.c: Likewise.
82051 2012-02-16  Richard Henderson  <rth@redhat.com>
82053         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82054         * sysdeps/s390/s390-32/initfini.c: Remove.
82055         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82056         * sysdeps/s390/s390-64/initfini.c: Remove.
82058 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82060         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82061         compiler output for sysdeps/generic/initfini.c.
82062         * sysdeps/sh/elf/initfini.c: Remove file.
82064 2012-02-16  David S. Miller  <davem@davemloft.net>
82066         [BZ #11494]
82067         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82069         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82070         * sysdeps/sparc/crti.S: New file.
82071         * sysdeps/sparc/crtn.S: New file.
82072         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82073         * sysdeps/sparc/sparc64/Makefile: Likewise.
82075 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82077         [BZ #3335]
82078         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82080 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82082         [BZ #4822]
82083         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82085         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82086         (write, read, close): Likewise.
82087         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82089 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82091         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82092         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82093         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82094         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82095         <bits/signalfd.h>.
82096         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82097         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82098         bits/signalfd.h.
82100 2012-02-14  Marek Polacek  <polacek@redhat.com>
82102         * sysdeps/x86_64/crti.S: New file.
82103         * sysdeps/x86_64/crtn.S: New file.
82104         * sysdeps/x86_64/elf/initfini.c: Remove file.
82106 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82108         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82109         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82110         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82111         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82112         <bits/inotify.h>.
82113         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82115         bits/inotify.h.
82117 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82119         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82120         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82121         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82122         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82123         <bits/eventfd.h>.
82124         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82126         bits/eventfd.h.
82128 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82130         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82131         __feraiseexcept instead of feraiseexcept.
82133         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82134         nanosleep invocations.
82135         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82136         strings, and add error checking for a nanosleep invocations.
82138 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82140         Replace FSF snail mail address with URLs, as per GNU coding standards.
82141         Most of the snail mail addresses were wrong anyway, and omitting
82142         them makes the source code easier to maintain.  Almost all of the
82143         changes are to license notices and to locale LC_IDENTIFICATION
82144         addresses, except for this one:
82145         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82146         not its snail mail address.
82148 2012-02-09  Richard Henderson  <rth@twiddle.net>
82150         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82151         of kernel-features.h.
82153         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82155 2012-02-08  Marek Polacek  <polacek@redhat.com>
82157         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82158         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82159         * sysdeps/gnu/_G_config.h: Likewise.
82160         * sysdeps/generic/_G_config.h: Likewise.
82162 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82164         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82165         tests.
82166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82168         * sysdeps/powerpc/powerpc32/crti.S: New file.
82169         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82170         * sysdeps/powerpc/powerpc64/crti.S: New file.
82171         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82173         * Makeconfig (have-initfini): Don't set.
82174         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82175         * configure.in (nopic_initfini): Don't substitute.
82176         * config.h.in (HAVE_INITFINI): Don't #undef.
82177         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82178         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82180 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82182         Support crti.S and crtn.S provided directly by architectures.
82183         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82184         [crti.S in sysdirs] (omit-deps): Likewise.
82185         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82186         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82187         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82188         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82189         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82190         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82191         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82192         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82193         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82194         compiler output for sysdeps/generic/initfini.c.
82195         * sysdeps/i386/elf/Makefile: Remove file.
82196         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82198 2012-02-07  Marek Polacek  <polacek@redhat.com>
82200         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82201         * sysdeps/gnu/_G_config.h: Likewise.
82202         * sysdeps/mach/hurd/_G_config.h: Likewise.
82204 2012-02-07  Marek Polacek  <polacek@redhat.com>
82206         * math/Makefile (tests): Add tst-CMPLX2.
82207         * math/tst-CMPLX2.c: New file.
82209 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82211         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82213         * math/libm-test.inc (jn_test): Add missing L suffix.
82215 2012-02-06  Marek Polacek  <polacek@redhat.com>
82217         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82218         * sysdeps/i386/fpu/e_powf.S: Likewise.
82219         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82220         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82221         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82222         * sysdeps/i386/fpu/e_pow.S: Likewise.
82223         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
82224         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
82225         * sysdeps/i386/fpu/s_expm1.S: Likewise.
82226         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
82227         * sysdeps/i386/fpu/e_log2.S: Likewise.
82228         * sysdeps/i386/fpu/e_log2l.S: Likewise.
82229         * sysdeps/i386/fpu/e_scalb.S: Likewise.
82230         * sysdeps/i386/fpu/e_powl.S: Likewise.
82231         * sysdeps/i386/fpu/s_log1p.S: Likewise.
82232         * sysdeps/i386/fpu/e_log10f.S: Likewise.
82233         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
82234         * sysdeps/i386/fpu/e_logl.S: Likewise.
82235         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
82236         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
82237         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
82238         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
82239         * sysdeps/i386/fpu/e_log2f.S: Likewise.
82240         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
82241         * sysdeps/i386/fpu/e_log.S: Likewise.
82242         * sysdeps/i386/fpu/s_cexp.S: Likewise.
82243         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
82244         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
82245         * sysdeps/i386/fpu/e_logf.S: Likewise.
82246         * sysdeps/i386/fpu/e_log10l.S: Likewise.
82247         * sysdeps/i386/fpu/e_atanh.S: Likewise.
82248         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
82249         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
82250         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82251         * sysdeps/i386/fpu/e_log10.S: Likewise.
82252         * sysdeps/i386/fpu/s_frexp.S: Likewise.
82253         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
82254         * sysdeps/i386/fpu/s_asinh.S: Likewise.
82255         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
82256         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
82257         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
82258         * sysdeps/i386/asm-syntax.h: Likewise.
82259         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
82260         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82261         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
82262         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
82263         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
82264         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
82265         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
82266         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
82267         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
82268         * sysdeps/powerpc/sysdep.h: Likewise.
82269         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
82270         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
82272 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82274         [BZ #411]
82275         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
82277 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
82279         * sysdeps/i386/sysdep.h: Include <features.h>.
82280         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
82281         version.
82283 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
82285         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
82286         Define.
82287         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
82288         LOAD_PIC_REG_STR.
82290 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82292         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
82293         (SETUP_PIC_REG): Use GET_PC_THUNK.
82294         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
82295         macro.
82297 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82299         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
82300         for non-PIC compilation.
82301         (SETUP_PIC_REG): Add .p2align directive.
82302         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
82303         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
82304         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
82305         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
82306         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
82307         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
82308         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
82309         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
82310         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
82311         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
82312         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
82313         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
82314         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
82315         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
82316         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
82317         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
82318         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
82319         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
82320         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
82321         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
82322         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
82323         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
82324         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
82325         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
82326         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
82327         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
82328         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82329         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
82330         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
82331         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
82332         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
82333         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82334         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
82335         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
82336         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
82337         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
82338         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
82339         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
82340         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
82341         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
82342         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
82344 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
82346         * math/tst-CMPLX.c: Include <stdio.h>.
82348 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
82350         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
82351         float.
82352         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82353         * sysdeps/sparc/bits/mathdef.h: Likewise.
82355 2012-01-31  Marek Polacek  <polacek@redhat.com>
82357         * libio/libio.h: Don't define _PARAMS.
82358         * locale/programs/config.h: Don't define PARAMS.
82359         * stdlib/strtol_l.c: Likewise.
82360         (__strtol_l): Remove PARAMS from the prototype.
82362 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
82364         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
82365         names.  Just use the correct names.  Remove unnecessary wrapper
82366         functions.
82367         * malloc/arena.c: Likewise.
82368         * malloc/hooks.c: Likewise.
82370         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
82371         ARENA_TEST says not to.  Simplify test for creation of a new arena.
82372         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
82374 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
82376         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
82377         into tail calls.
82378         (update_get_addr): New function.
82379         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
82380         GET_ADDR_MODULE parameter.
82382 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82384         * crypt/cert.c: Remove __STDC__ conditionals.
82385         * crypt/crypt-entry.c: Likewise.
82386         * crypt/crypt_util.c: Likewise.
82387         * libio/filedoalloc.c: Likewise.
82388         * libio/fileops.c: Likewise.
82389         * libio/genops.c: Likewise.
82390         * libio/iofclose.c: Likewise.
82391         * libio/iofdopen.c: Likewise.
82392         * libio/iofopen.c: Likewise.
82393         * libio/iofopen64.c: Likewise.
82394         * libio/iogetdelim.c: Likewise.
82395         * libio/iopopen.c: Likewise.
82396         * libio/obprintf.c: Likewise.
82397         * libio/oldfileops.c: Likewise.
82398         * libio/oldiofclose.c: Likewise.
82399         * libio/oldiofdopen.c: Likewise.
82400         * libio/oldiofopen.c: Likewise.
82401         * libio/oldiopopen.c: Likewise.
82402         * libio/wfiledoalloc.c: Likewise.
82403         * libio/wgenops.c: Likewise.
82404         * locale/programs/xmalloc.c: Likewise.
82405         * misc/syslog.c: Likewise.
82406         * stdio-common/xbug.c: Likewise.
82407         * string/memchr.c: Likewise.
82408         * string/memcmp.c: Likewise.
82409         * string/memrchr.c: Likewise.
82410         * string/rawmemchr.c: Likewise.
82411         * sysdeps/posix/getcwd.c: Likewise.
82412         * time/strftime_l.c: Likewise.
82414 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
82416         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
82417         * config.make.in (config-cflags-sse2avx): Define.
82418         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
82419         Fix typo.
82421 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
82423         * scripts/config.guess: Update from upstream config git repository.
82424         * scripts/config.sub: Likewise.
82426 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
82428         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
82429         (EM_NUM): Update.
82430         (R_TILEPRO_*, R_TILEGX_*): New macros.
82432         * scripts/firstversions.awk: Fix bug in version range handling.
82434         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
82436         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
82438         * include/sys/epoll.h: New file.
82439         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
82440         libc_hidden_def.
82442 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
82444         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
82445         Avoid unnecessary __WORDSIZE == 64 test.
82446         (fmaxf): Use VEX format if possible.
82447         (fmax): Likewise.
82448         (fminf): Likewise.
82449         (fmin): Likewise.
82451         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
82452         * math/math_private.h: Remove libc_fegetround* and
82453         libc_fesetround*.
82454         * sysdeps/i386/configure.in: Check for -msse2avx.
82455         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
82456         also if SSE2AVX is defined.
82457         Remove libc_fegetround* and libc_fesetround*.
82458         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
82459         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
82460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
82461         of HAS_YMM_USABLE.
82462         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82463         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82464         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82465         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82466         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82468         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
82470 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82472         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
82473         size is not set.
82474         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
82476 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
82478         [BZ #13618]
82479         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
82480         relocation.
82481         * Makeconfig (libm): Define.
82482         * elf/Makefile: Add rules to build and run tst-relsort1.
82483         * elf/tst-relsort1.c: New file.
82484         * elf/tst-relsort1mod1.c: New file.
82485         * elf/tst-relsort1mod2.c: New file.
82487 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
82489         * math/s_ldexp.c: Remove __STDC__ conditionals.
82490         * math/s_ldexpf.c: Likewise.
82491         * math/s_ldexpl.c: Likewise.
82492         * math/s_nextafter.c: Likewise.
82493         * math/s_nexttowardf.c: Likewise.
82494         * math/s_significand.c: Likewise.
82495         * math/s_significandf.c: Likewise.
82496         * math/s_significandl.c: Likewise.
82497         * math/w_jnl.c: Likewise.
82498         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
82499         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
82500         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
82501         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
82502         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
82503         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
82504         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
82505         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
82506         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
82507         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
82508         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
82509         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
82510         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
82511         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
82512         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
82513         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
82514         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
82515         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
82516         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
82517         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
82518         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
82519         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
82520         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
82521         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
82522         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
82523         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
82524         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
82525         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
82526         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
82527         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
82528         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
82529         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
82530         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
82531         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
82532         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
82533         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
82534         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
82535         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
82536         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
82537         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
82538         * sysdeps/ieee754/k_standard.c: Likewise.
82539         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
82540         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
82541         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
82542         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
82543         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
82544         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
82545         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
82546         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
82547         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
82548         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
82549         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
82550         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
82551         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
82552         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
82553         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
82554         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
82555         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
82556         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
82557         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
82558         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
82559         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
82560         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
82561         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
82562         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
82563         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
82564         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
82565         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
82566         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
82567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82568         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
82569         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
82570         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
82571         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
82572         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
82573         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
82574         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
82575         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
82576         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
82577         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
82578         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
82579         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
82580         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
82581         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
82582         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
82583         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
82584         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
82585         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
82586         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
82587         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
82588         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
82589         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
82590         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
82591         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
82592         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
82593         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
82594         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
82595         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
82596         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
82597         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
82598         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
82599         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
82600         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
82601         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
82602         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
82603         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
82604         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
82605         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
82606         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
82607         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
82608         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
82609         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
82610         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
82611         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
82612         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
82613         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
82614         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
82615         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
82616         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
82617         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
82618         * sysdeps/ieee754/s_matherr.c: Likewise.
82619         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
82620         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
82621         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
82622         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
82624 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82626         * crypt/md5.h: Remove __STDC__ conditionals.
82627         * libio/libioP.h: Likewise.
82628         * locale/programs/config.h: Likewise.
82629         * sysdeps/generic/sysdep.h: Likewise.
82630         * sysdeps/i386/asm-syntax.h: Likewise.
82631         * sysdeps/s390/asm-syntax.h: Likewise.
82632         * sysdeps/unix/sysdep.h: Likewise.
82633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
82634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
82636 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
82638         * libio/libio.h: Remove __STDC__ conditionals.
82639         * malloc/obstack.h: Likewise.
82640         * math/complex.h: Likewise.
82641         * math/math.h: Likewise.
82642         * sysdeps/generic/_G_config.h: Likewise.
82643         * sysdeps/gnu/_G_config.h: Likewise.
82644         * sysdeps/mach/hurd/_G_config.h: Likewise.
82645         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82646         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
82647         * sysdeps/sparc/bits/mathdef.h: Likewise.
82649 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
82651         [BZ #13583]
82652         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
82653         Clean up HAS_* macros.
82654         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
82655         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
82656         possible.
82657         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
82658         HAS_AVX.
82659         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
82660         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
82661         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
82662         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
82663         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
82665 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
82667         * elf/tst-unique3.cc (gets): Remove declaration.
82668         * elf/tst-unique3lib.cc (gets): Likewise.
82669         * elf/tst-unique3lib2.cc (gets): Likewise.
82670         * elf/tst-unique4.cc (gets): Likewise.
82672 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
82674         * include/stdio.h: Add C++ protection.  Add gets declarations and
82675         definitions.
82676         * debug/tst-chk1.c: Don't declare gets here.
82677         * stdio-common/tst-gets.c: Likewise.
82679 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82681         * posix/glob: Remove directory.
82683 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
82685         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
82687 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
82689         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
82690         of the non-standard EPFNOSUPPORT.
82692 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82694         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
82695         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
82696         ANYWHERE set to 1 only on KERN_NO_SPACE error.
82698 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
82700         * wcsmbs/uchar.h: Test __STDC_VERSION__.
82702 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
82704         * nscd/aicache.c (addhstaiX): Do not cache negative results of
82705         transient errors.
82706         * nscd/grpcache.c (cache_addgr): Likewise.
82707         * nscd/hstcache.c (cache_addhst): Likewise.
82708         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82709         * nscd/pwdcache.c (cache_addpw): Likewise.
82710         * nscd/servicescache.c (cache_addserv): Likewise.
82712 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
82714         * malloc/malloc.c: Various cleanups.
82715         * malloc/hooks.c: Likewise.
82717         * stdlib/Makefile (tests): Add bug-fmtmsg1.
82718         * stdlib/bug-fmtmsg1.c: New file.
82720         * stdlib/fmtmsg.c (init): Add missing unlock.
82721         Patch by Peng Haitao <penght@cn.fujitsu.com>.
82723 2012-01-12  Marek Polacek  <polacek@redhat.com>
82725         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
82726         and _GNU_SOURCE.
82728 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82730         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
82731         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
82732         macro to ensure uniqueness of label name.
82733         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82734         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82736 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
82738         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
82740         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
82741         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
82742         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
82743         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
82745 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
82747         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
82749         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
82750         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
82751         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
82753         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
82755         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
82756         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
82757         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
82758         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
82760         * math/bits/math-finite.h: Add ldexp support.
82762 2012-01-10  Marek Polacek  <polacek@redhat.com>
82764         * locale/programs/localedef.h (show_archive_content): Add noreturn
82765         attribute.
82767 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
82769         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
82771 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82773         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
82775         * io/Makefile (headers): Add bits/poll2.h.
82777 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
82779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
82780         typo #include statement.
82782 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82784         * include/sys/cdefs.h: Define __attribute_alloc_size.
82785         * catgets/gencat.c: Add alloc_size attribute and apply consistently
82786         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
82787         * elf/pldd.c: Likewise.
82788         * iconv/iconv_charmap.c: Likewise.
82789         * iconv/iconvconfig.c: Likewise.
82790         * iconv/strtab.c: Likewise.
82791         * locale/programs/locale.c: Likewise.
82792         * locale/programs/localedef.h: Likewise.
82793         * locale/programs/simple-hash.c: Likewise.
82794         * nscd/nscd.h: Likewise.
82795         * nss/makedb.c: Likewise.
82796         * sysdeps/generic/ldconfig.h: Likewise.
82797         * locale/programs/localedef.c: Remove xmalloc prototype.
82798         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
82800 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82802         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
82803         appropriate.
82805 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
82807         * math/Makefile (tests): Add tst-CMPLX.
82808         * math/tst-CMPLX.c: New file.
82810         * math/complex.h (CMPLXL): Fix typo.
82812         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
82813         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
82814         GLIBC_2.16.
82815         * debug/tst-chk1.c: Add poll and ppoll tests.
82816         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
82817         * include/sys/poll.h: Add hidden proto for ppoll.
82818         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
82819         * sysdeps/mach/hurd/ppoll.c: Likewise.
82820         * io/ppoll.c: Likewise.
82821         * debug/poll_chk.c: New file.
82822         * debug/ppoll_chk.c: New file.
82823         * include/bits/poll2.h: New file.
82824         * io/bits/poll2.h: New file.
82826         [BZ #1350]
82827         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
82829         * configure.in: static is always set to yes.  Remove.
82830         * config.make.in: Don't set build-static.
82831         * Makeconfig: Remove use of build-static.
82832         * dlfcn/Makefile: Likewise.
82833         * elf/Makefile: Likewise.
82834         * math/Makefile: Likewise.
82835         * misc/Makefile: Likewise.
82836         * nptl/Makefile: Likewise.
82837         * sysdeps/mach/hurd/Makefile: Likewise.
82839         * configure.in: PWD_P is not used anymore.
82840         * config.make.in: Remove PWD_P entry.
82842         * configure.in: Remove last remnants of RANLIB.
82843         No need to check for signed size_t anymore.
82844         Don't set libc_commonpagesize and libc_relro_required here for Alpha
82845         and IA-64.
82846         Remove __builtin_expect test because we require at least gcc 3.4.
82847         * aclocal.m4: Likewise.
82849         * wcsmbs/mbrtoc16.c: Implement using towc function.
82850         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
82851         * wcsmbs/wcsmbsload.c: Likewise.
82852         * iconv/gconv_simple.c: Likewise.
82853         * iconv/gconv_int.h: Likewise.
82854         * iconv/gconv_builtin.h: Likewise.
82855         * iconv/iconv_prog.c: Remove CHAR16 handling.
82857         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
82859         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
82861         * configure.in: Remove --with-elf and --enable-bounded options.
82862         Dont set base_machine for ia64.  More non-ELF conditions removed.
82863         Remove testing and setting of leading underscore information.
82864         * config.make.in (build-bounded): Set to no.
82865         * config.h.in: Remove NO_UNDERSCORES entry.
82866         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
82867         them.
82868         * csu/start.c: Remove !NO_UNDERSCORE code.
82869         * locale/localeinfo.h: Likewise.
82870         * sysdeps/generic/machine-gmon.h: Likewise.
82871         * sysdeps/generic/sysdep.h: Likewise.
82872         * sysdeps/i386/sysdep.h: Likewise.
82873         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82874         * sysdeps/mach/sysdep.h: Likewise.
82875         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82876         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82877         * sysdeps/sh/sysdep.h: Likewise.
82878         * sysdeps/sparc/sparc32/alloca.S: Likewise.
82879         * sysdeps/unix/i386/sysdep.S: Likewise.
82880         * sysdeps/unix/sparc/start.c: Likewise.
82881         * sysdeps/unix/sparc/sysdep.S: Likewise.
82882         * sysdeps/unix/sparc/sysdep.h: Likewise.
82883         * sysdeps/unix/start.c: Likewise.
82884         * sysdeps/unix/x86_64/sysdep.S: Likewise.
82885         * sysdeps/x86_64/sysdep.h: Likewise.
82887 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
82889         [BZ #13553]
82890         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
82891         for non-gcc.
82892         * argp/argp-fmtstream.h: Use const instead __const.
82893         * argp/argp.h: Likewise.
82894         * assert/assert.h: Likewise.
82895         * bits/fenv.h: Likewise.
82896         * bits/sched.h: Likewise.
82897         * bits/sigset.h: Likewise.
82898         * bits/sigthread.h: Likewise.
82899         * catgets/nl_types.h: Likewise.
82900         * conform/data/pthread.h-data: Likewise.
82901         * crypt/crypt-private.h: Likewise.
82902         * crypt/crypt.h: Likewise.
82903         * crypt/crypt_util.c: Likewise.
82904         * ctype/ctype.h: Likewise.
82905         * debug/execinfo.h: Likewise.
82906         * debug/mbsnrtowcs_chk.c: Likewise.
82907         * debug/mbsrtowcs_chk.c: Likewise.
82908         * debug/wcsnrtombs_chk.c: Likewise.
82909         * debug/wcsrtombs_chk.c: Likewise.
82910         * debug/wcstombs_chk.c: Likewise.
82911         * dirent/dirent.h: Likewise.
82912         * dlfcn/dlfcn.h: Likewise.
82913         * elf/neededtest4.c: Likewise.
82914         * grp/grp.h: Likewise.
82915         * gshadow/gshadow.h: Likewise.
82916         * iconv/gconv.h: Likewise.
82917         * iconv/gconv_int.h: Likewise.
82918         * iconv/gconv_simple.c: Likewise.
82919         * iconv/iconv.h: Likewise.
82920         * iconv/loop.c: Likewise.
82921         * iconv/skeleton.c: Likewise.
82922         * include/aio.h: Likewise.
82923         * include/aliases.h: Likewise.
82924         * include/argz.h: Likewise.
82925         * include/arpa/inet.h: Likewise.
82926         * include/assert.h: Likewise.
82927         * include/dirent.h: Likewise.
82928         * include/dlfcn.h: Likewise.
82929         * include/execinfo.h: Likewise.
82930         * include/fcntl.h: Likewise.
82931         * include/fenv.h: Likewise.
82932         * include/glob.h: Likewise.
82933         * include/grp.h: Likewise.
82934         * include/libintl.h: Likewise.
82935         * include/mntent.h: Likewise.
82936         * include/netdb.h: Likewise.
82937         * include/pwd.h: Likewise.
82938         * include/rpc/netdb.h: Likewise.
82939         * include/sched.h: Likewise.
82940         * include/search.h: Likewise.
82941         * include/shadow.h: Likewise.
82942         * include/signal.h: Likewise.
82943         * include/stdio.h: Likewise.
82944         * include/stdlib.h: Likewise.
82945         * include/string.h: Likewise.
82946         * include/sys/socket.h: Likewise.
82947         * include/sys/stat.h: Likewise.
82948         * include/sys/statfs.h: Likewise.
82949         * include/sys/statvfs.h: Likewise.
82950         * include/sys/syslog.h: Likewise.
82951         * include/sys/time.h: Likewise.
82952         * include/sys/uio.h: Likewise.
82953         * include/time.h: Likewise.
82954         * include/unistd.h: Likewise.
82955         * include/utmp.h: Likewise.
82956         * include/wchar.h: Likewise.
82957         * include/wctype.h: Likewise.
82958         * inet/aliases.h: Likewise.
82959         * inet/arpa/inet.h: Likewise.
82960         * inet/netinet/ether.h: Likewise.
82961         * inet/netinet/in.h: Likewise.
82962         * intl/libintl.h: Likewise.
82963         * io/bits/fcntl2.h: Likewise.
82964         * io/fcntl.h: Likewise.
82965         * io/ftw.h: Likewise.
82966         * io/sys/poll.h: Likewise.
82967         * io/sys/stat.h: Likewise.
82968         * io/sys/statfs.h: Likewise.
82969         * io/sys/statvfs.h: Likewise.
82970         * io/utime.h: Likewise.
82971         * libio/bits/stdio.h: Likewise.
82972         * libio/bits/stdio2.h: Likewise.
82973         * libio/libio.h: Likewise.
82974         * libio/libioP.h: Likewise.
82975         * libio/stdio.h: Likewise.
82976         * locale/lc-ctype.c: Likewise.
82977         * locale/locale.h: Likewise.
82978         * login/utmp.h: Likewise.
82979         * malloc/arena.c: Likewise.
82980         * malloc/malloc.c: Likewise.
82981         * malloc/malloc.h: Likewise.
82982         * malloc/mcheck.c: Likewise.
82983         * malloc/mtrace.c: Likewise.
82984         * math/bits/mathcalls.h: Likewise.
82985         * math/fenv.h: Likewise.
82986         * math/math_private.h: Likewise.
82987         * misc/bits/error.h: Likewise.
82988         * misc/bits/syslog.h: Likewise.
82989         * misc/err.h: Likewise.
82990         * misc/error.h: Likewise.
82991         * misc/fstab.h: Likewise.
82992         * misc/mntent.h: Likewise.
82993         * misc/regexp.h: Likewise.
82994         * misc/search.h: Likewise.
82995         * misc/sgtty.h: Likewise.
82996         * misc/sys/mman.h: Likewise.
82997         * misc/sys/syslog.h: Likewise.
82998         * misc/sys/uio.h: Likewise.
82999         * misc/sys/xattr.h: Likewise.
83000         * misc/ttyent.h: Likewise.
83001         * nis/rpcsvc/ypclnt.h: Likewise.
83002         * nss/nss.h: Likewise.
83003         * posix/bits/unistd.h: Likewise.
83004         * posix/fnmatch.h: Likewise.
83005         * posix/glob.h: Likewise.
83006         * posix/sched.h: Likewise.
83007         * posix/spawn.h: Likewise.
83008         * posix/sys/wait.h: Likewise.
83009         * posix/unistd.h: Likewise.
83010         * posix/wordexp.h: Likewise.
83011         * pwd/pwd.h: Likewise.
83012         * resolv/netdb.h: Likewise.
83013         * resource/sys/resource.h: Likewise.
83014         * rt/aio.h: Likewise.
83015         * rt/bits/mqueue2.h: Likewise.
83016         * rt/mqueue.h: Likewise.
83017         * shadow/shadow.h: Likewise.
83018         * signal/signal.h: Likewise.
83019         * socket/send.c: Likewise.
83020         * socket/sendto.c: Likewise.
83021         * socket/sys/socket.h: Likewise.
83022         * stdio-common/printf.h: Likewise.
83023         * stdlib/bits/stdlib.h: Likewise.
83024         * stdlib/fmtmsg.h: Likewise.
83025         * stdlib/monetary.h: Likewise.
83026         * stdlib/stdlib.h: Likewise.
83027         * stdlib/ucontext.h: Likewise.
83028         * streams/stropts.h: Likewise.
83029         * string/argz.h: Likewise.
83030         * string/bits/string2.h: Likewise.
83031         * string/string.h: Likewise.
83032         * string/strings.h: Likewise.
83033         * sunrpc/rpc/auth.h: Likewise.
83034         * sunrpc/rpc/auth_des.h: Likewise.
83035         * sunrpc/rpc/clnt.h: Likewise.
83036         * sunrpc/rpc/netdb.h: Likewise.
83037         * sunrpc/rpc/pmap_clnt.h: Likewise.
83038         * sunrpc/rpc/xdr.h: Likewise.
83039         * sysdeps/generic/inttypes.h: Likewise.
83040         * sysdeps/generic/net/if.h: Likewise.
83041         * sysdeps/generic/sys/swap.h: Likewise.
83042         * sysdeps/gnu/net/if.h: Likewise.
83043         * sysdeps/gnu/utmpx.h: Likewise.
83044         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83045         * sysdeps/i386/i486/bits/string.h: Likewise.
83046         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83047         * sysdeps/s390/bits/string.h: Likewise.
83048         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83049         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83050         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83051         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83052         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83053         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83054         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83055         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83056         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83057         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83058         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83059         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83060         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83061         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83062         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83063         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83064         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83065         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83066         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83067         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83068         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83069         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83070         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83071         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83072         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83073         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83074         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83075         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83076         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83077         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83078         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83079         * sysvipc/sys/ipc.h: Likewise.
83080         * sysvipc/sys/msg.h: Likewise.
83081         * sysvipc/sys/sem.h: Likewise.
83082         * sysvipc/sys/shm.h: Likewise.
83083         * termios/termios.h: Likewise.
83084         * time/sys/time.h: Likewise.
83085         * time/time.h: Likewise.
83086         * wcsmbs/bits/wchar2.h: Likewise.
83087         * wcsmbs/uchar.h: Likewise.
83088         * wcsmbs/wchar.h: Likewise.
83089         * wctype/wctype.h: Likewise.
83091         [BZ #13551]
83092         * Makeconfig: Remove all but ELF support including AIX support.
83093         * Makerules: Likewise.
83094         * config.h.in: Likewise.
83095         * config.make.in: Likewise.
83096         * configure: Likewise.
83097         * configure.in: Likewise.
83098         * csu/Makefile: Likewise.
83099         * csu/version.c: Likewise.
83100         * debug/Makefile: Likewise.
83101         * dlfcn/Makefile: Likewise.
83102         * elf/Makefile: Likewise.
83103         * extra-lib.mk: Likewise.
83104         * iconv/Makefile: Likewise.
83105         * include/libc-symbols.h: Likewise.
83106         * include/shlib-compat.h: Likewise.
83107         * resolv/Makefile: Likewise.
83108         * resolv/res_libc.c: Likewise.
83109         * rt/Makefile: Likewise.
83110         * sysdeps/i386/asm-syntax.h: Likewise.
83111         * sysdeps/i386/sysdep.h: Likewise.
83112         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83113         * sysdeps/mach/sysdep.h: Likewise.
83114         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83115         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83116         * sysdeps/s390/asm-syntax.h: Likewise.
83117         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83118         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83119         * sysdeps/sh/sysdep.h: Likewise.
83120         * sysdeps/unix/sparc/sysdep.h: Likewise.
83121         * sysdeps/wordsize-32/divdi3.c: Likewise.
83122         * sysdeps/x86_64/sysdep.h: Likewise.
83124         * argp/Versions: Remove _argp_unlock_xxx.
83126         [BZ #13559]
83127         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83128         * abilist/libBrokenLocale.abilist: Likewise.
83129         * abilist/libanl.abilist: Likewise.
83130         * abilist/libc.abilist: Likewise.
83131         * abilist/libcrypt.abilist: Likewise.
83132         * abilist/libdl.abilist: Likewise.
83133         * abilist/libm.abilist: Likewise.
83134         * abilist/libnsl.abilist: Likewise.
83135         * abilist/libpthread.abilist: Likewise.
83136         * abilist/libresolv.abilist: Likewise.
83137         * abilist/librt.abilist: Likewise.
83138         * abilist/libthread_db.abilist: Likewise.
83139         * abilist/libutil.abilist: Likewise.
83140         * abilist/libnss_db.abilist: New file.
83142         * scripts/abilist.awk: Add support for indirect functions.
83144         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83146         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83148         * shlib-versions: Remove entries for ports architectures.
83150         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83151         files in ports.
83152         * elf/stackguard-macros.h: Remove support for IA-64.
83153         * elf/tst-auditmod1.c: Likewise.
83154         * sysdeps/generic/ldsodefs.h: Likewise.
83156         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83157         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83158         configure files.
83160         [BZ #13552]
83161         * configure.in: Remove --enable-omitfp support.
83162         * FAQ.in: Adjust.
83163         * config.make.in: Likewise.
83164         * Makeconfig: Likewise.
83165         * manual/install.texi: Likewise.
83167         In case anyone cares, the IA-64 architecture could move to ports.
83168         * sysdeps/ia64/*: Removed.
83169         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83170         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83172         [BZ #13555]
83173         * configure.in: Remove entries for unsupported architectures.
83175         [BZ #13533]
83176         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83177         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83178         routines.
83179         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83180         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83181         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83182         fall back to using wcrtomb.
83183         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83184         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83185         renaming.
83186         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83187         * wcsmbs/tst-c16c32-1.c: New file.
83189         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83190         local variable.
83192         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83194         * elf/tst-unique3.cc: Add explicit declaration of gets.
83195         * elf/tst-unique3lib.cc: Likewise.
83196         * elf/tst-unique3lib2.cc: Likewise.
83197         * elf/tst-unique4.cc: Likewise.
83199         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83201 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83203         [BZ #13566]
83204         * assert/assert.h (static_assert): Don't define for C++.
83205         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83206         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83208 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83210         * iconv/loop.c (single loop): Fix assertion in storing of
83211         remaining bytes.
83213         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83215 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83217         * posix/getconf.c: Update copyright year.
83218         * nss/getent.c: Likewise.
83219         * nss/makedb.c: Likewise.
83220         * iconv/iconvconfig.c: Likewise.
83221         * iconv/iconv_prog.c: Likewise.
83222         * elf/ldconfig.c: Likewise.
83223         * elf/pldd.c: Likewise.
83224         * elf/sotruss.ksh: Likewise.
83225         * catgets/gencat.c: Likewise.
83226         * csu/version.c: Likewise.
83227         * elf/ldd.bash.in: Likewise.
83228         * elf/sprof.c (print_version): Likewise.
83229         * locale/programs/locale.c: Likewise.
83230         * locale/programs/localedef.c: Likewise.
83231         * login/programs/pt_chown.c: Likewise.
83232         * nscd/nscd.c (print_version): Likewise.
83233         * debug/xtrace.sh: Likewise.
83234         * malloc/memusage.sh: Likewise.
83235         * malloc/mtrace.pl: Likewise.
83236         * debug/catchsegv.sh: Likewise.
83238 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
83240         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
83241         pure attribute.
83243 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
83245         [BZ #13533]
83246         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
83247         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
83248         transformations.
83249         * iconv/gconv_int.h: Likewise.
83250         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
83251         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
83252         from libc for GLIBC_2.16.
83253         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
83254         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
83255         * wcsmbs/uchar.h: Really define mbstate_t.
83256         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
83257         * wcsmbs/c16rtomb.c: New file.
83258         * wcsmbs/mbrtoc16.c: New file.
83259         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
83260         for C/POSIX locale.
83261         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
83262         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
83264         * wcsmbs/wchar.h: Add missing __restrict.
83266 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83268         [BZ #13532]
83269         * time/Makefile (routines): Add timespec_get.
83270         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
83271         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
83272         timespec for ISO C11.
83273         * time/timespec_get.c: New file.
83274         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
83275         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
83277         [BZ #13531]
83278         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
83279         * stdlib/stdlib.h: Declare aligned_alloc.
83280         * Versions.def: Add GLIBC_2.16 for libc.
83281         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
83283         [BZ 13527]
83284         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
83285         ISO C11.
83287         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
83288         code.
83290         [BZ #13528]
83291         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
83293         [BZ #13529]
83294         * assert/assert.h (static_assert): Define.
83296         * version.h: Update for 2.16 development version.
83298         [BZ #13526]
83299         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
83300         _ISOC11_SOURCE.
83302         * version.h (RELEASE): Bump for 2.15 release.
83303         * include/features.h (__GLIBC_MINOR__): Bump to 15.
83305         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
83306         Patch by Marek Polacek <mpolacek@redhat.com>.
83308         * bits/byteswap.h: Protect long long constants with __extension__.
83309         * sysdeps/i386/bits/byteswap.h: Likewise.
83310         * sysdeps/ia64/bits/byteswap.h: Likewise.
83311         * sysdeps/s390/bits/byteswap.h: Likewise.
83312         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83314 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83316         [BZ #13540]
83317         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
83318         destination buffer.
83319         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
83321 2011-12-23  Marek Polacek  <polacek@redhat.com>
83323         * elf/dl-addr.c (determine_info): Add inline keyword.
83324         * elf/tst-auditmod4b.c (check_avx): Likewise.
83325         * elf/tst-auditmod6b.c (check_avx): Likewise.
83326         * elf/tst-auditmod6c.c (check_avx): Likewise.
83327         * elf/tst-auditmod7b.c (check_avx): Likewise.
83329 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
83331         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
83332         !__SSE_MATH__.
83334 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83336         [BZ #13540]
83337         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
83338         processing for last bytes.
83340 2011-08-06  Bruno Haible  <bruno@clisp.org>
83342         [BZ #13061]
83343         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
83344         U+0385, not to U+1FEE.
83346         [BZ #13062]
83347         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
83348         entry for U+00A5 U+0301.
83350 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83352         [BZ #13166]
83353         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
83354         buffer for the output is too small.
83356         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
83357         optimization.
83359         [BZ #13185]
83360         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
83361         SSE flags if possible.
83363 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83365         [BZ #13540]
83366         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
83367         processing for last bytes.
83369 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
83371         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
83372         (syscall-list-default-options, syscall-list-default-condition)
83373         (syscall-list-includes): Define.
83374         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
83375         list of ABIs and options and #if conditions for each ABI.  Do not
83376         handle common syscalls between ABIs specially.
83377         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
83378         Remove.
83379         (syscall-list-variants, syscall-list-32bit-options)
83380         (syscall-list-32bit-condition, syscall-list-64bit-options)
83381         (syscall-list-64bit-condition): Define.
83382         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
83383         (syscall-list-variants, syscall-list-32bit-options)
83384         (syscall-list-32bit-condition, syscall-list-64bit-options)
83385         (syscall-list-64bit-condition): Define.
83386         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
83387         Remove.
83388         (syscall-list-variants, syscall-list-32bit-options)
83389         (syscall-list-32bit-condition, syscall-list-64bit-options)
83390         (syscall-list-64bit-condition): Define.
83391         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
83392         Remove.
83393         (syscall-list-variants, syscall-list-32bit-options)
83394         (syscall-list-32bit-condition, syscall-list-64bit-options)
83395         (syscall-list-64bit-condition): Define.
83397 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
83399         * locale/iso-639.def: Add brx entry.
83401         [BZ #13328]
83402         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
83403         Proposed by Mariusz_Cukr <marcukr@op.pl>.
83405         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
83406         __feraiseexcept_renamed.
83408 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83410         [BZ #13538]
83411         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
83412         EPOLLET with unsigned values.
83413         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83414         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83416         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
83417         to large cancellation.
83418         * math/s_cacoshf.c: Likewise.
83419         * math/s_cacoshl.c: Likewise.
83421 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
83423         [BZ #13305]
83424         [BZ #12786]
83425         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
83426         * math/s_cacoshf.c: Likewise.
83427         * math/s_cacoshl.c: Likewise.
83429 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
83431         [BZ #13439]
83432         * iconv/gconv.h: Define __GCONV_SWAP.
83433         * iconvdata/unicode.c: The swap bit must be stored in __flags.
83434         * iconvdata/utf-16.c: Likewise.
83435         * iconvdata/utf-32.c: Likewise.
83437 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
83439         [BZ #13524]
83440         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
83441         numerator after shifting it by one limb.
83443 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
83445         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
83446         under [__USE_EXTERN_INLINES].
83448 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83450         [BZ #13446]
83451         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
83453 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83455         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
83456         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
83457         optimized code.
83458         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
83459         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
83460         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
83461         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
83462         for strncasecmp/strncasecmp_l compilation.
83463         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
83464         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
83466 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
83468         [BZ #13484]
83469         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
83470         of __asm__.
83472 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
83474         [BZ #13506]
83475         * time/tzfile.c (__tzfile_read): Check values from file header.
83477 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
83479         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
83480         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
83481         * powerpc/powerpc32/dl-start.S: Likewise.
83482         * powerpc/powerpc32/elf/start.S: Likewise.
83483         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
83484         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
83485         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
83486         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
83487         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
83488         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
83489         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
83490         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
83491         * powerpc/powerpc32/fpu/s_round.S: Likewise.
83492         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
83493         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
83494         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
83495         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
83496         * powerpc/powerpc32/memset.S: Likewise.
83497         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
83498         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
83499         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83500         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
83501         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
83502         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83503         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
83504         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
83505         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
83506         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
83507         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
83508         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83509         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83511 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83513         * math/libm-test.inc: Added more nearbyint tests.
83514         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
83515         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
83516         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
83517         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
83519 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
83521         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
83522         FD_CLOEXEC.
83524 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83526         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
83527         Add wcscpy-ssse3 wcscpy-c.
83528         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
83529         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
83530         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
83531         * sysdeps/x86_64/wcschr.S: New file.
83532         * sysdeps/x86_64/wcsrchr.S: New file.
83533         * string/test-strcmp.c: Remove checking of wcscmp function for
83534         wrong alignments.
83535         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
83536         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
83537         wcsrchr-sse2 wcsrchr-c.
83538         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
83539         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
83540         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
83541         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
83542         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
83543         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
83544         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
83545         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
83546         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
83547         * wcsmbc/wcschr.c (WCSCHR): New macro.
83549 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83551         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
83552         * wcsmbs/test-wcsrchr.c: New file.
83553         * string/test-strrchr.c: Add wcsrchr support.
83554         (WIDE): New macro.
83555         * wcsmbs/test-wcscpy.c: New file.
83556         * string/test-strcpy.c: Add wcscpy support.
83557         (WIDE): New macro.
83559 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
83561         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
83562         the inner loop.
83564 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
83566         [BZ #13472]
83567         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
83569 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
83571         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
83572         Minor optimizations.
83574         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
83575         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
83576         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
83578 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
83580         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
83581         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
83582         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
83583         for gcc to avoid warnings.
83584         * inet/Makefile (tests): Add tst-checks.
83585         * inet/tst-checks.c: New file.
83587         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
83588         warning.
83590         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
83591         __wmemcmp_sse2.
83593         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
83594         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
83596         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
83598 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
83600         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
83601         problem.
83603         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
83605 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
83607         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
83608         conditional on GCC version.
83609         (__arch_compare_and_exchange_val_8_acq)
83610         (__arch_compare_and_exchange_val_16_acq)
83611         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
83612         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
83613         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
83615 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
83617         * sysdeps/sh/backtrace.c: New file.
83619 2011-12-02  Andreas Schwab  <schwab@redhat.com>
83621         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
83622         parenthesis.
83624 2011-12-01  Andreas Schwab  <schwab@redhat.com>
83626         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
83627         falling back to utime.
83629 2011-11-30  Andreas Schwab  <schwab@redhat.com>
83631         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
83632         expectations for float.
83634 2011-11-29  Andreas Schwab  <schwab@redhat.com>
83636         * locale/weight.h (findidx): Add parameter len.
83637         * locale/weightwc.h (findidx): Likewise.
83638         * posix/fnmatch_loop.c (FCT): Adjust caller.
83639         * posix/regcomp.c (build_equiv_class): Likewise.
83640         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
83641         * posix/regexec.c (check_node_accept_bytes): Likewise.
83642         * string/strcoll_l.c (STRCOLL): Likewise.
83643         * string/strxfrm_l.c (STRXFRM): Likewise.
83645 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
83647         * Makefile.in: Remove CVSOPT handling.
83648         * configure.in: Remove use of AC_REVISION.
83649         * iconvdata/Makefile (distribute): No need to filter out CVS.
83650         * scripts/list-sources.sh: Remove CVS, subversion and monotone
83651         handling.
83653 2011-11-16  Andreas Schwab  <schwab@redhat.com>
83655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
83656         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
83657         [USE_AS_STRNCASECMP_L]: Likewise.
83658         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
83659         NO_TLS_DIRECT_SEG_REFS.
83660         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
83661         Fix argument offsets for non-PIC.
83662         [USE_AS_STRNCASECMP_L]: Likewise.
83663         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
83664         NO_TLS_DIRECT_SEG_REFS.
83666 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83668         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
83669         O_CLOEXEC.
83670         * locale/loadlocale.c (_nl_load_locale): Likewise.
83672 2011-11-15  Andreas Schwab  <schwab@redhat.com>
83674         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
83675         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
83676         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
83677         (SYSCALL_GETTIME): Set errno on error.
83679         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
83680         count references to noai6ai_cached.
83682 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
83684         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
83686         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
83687         FD_CLOEXEC for /proc/self/maps.
83689         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
83690         FD_CLOEXEC for /proc/meminfo.
83692         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
83693         gai.conf.
83695         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
83696         FD_CLOEXEC for given file.
83698         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
83700         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
83701         FD_CLOEXEC for /etc/hosts.
83702         (_gethtent): Likewise.
83704         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
83706         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
83707         cancellation and set FD_CLOEXEC for /etc/netgroup.
83709         * nss/nss_files/files-key.c (search): Don't allow cancellation when
83710         reading /etc/publickey.
83712         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
83713         allow cancellation when reading /etc/group.
83715         * nss/nss_files/files-alias.c (internal_setent): Don't allow
83716         cancellation.
83717         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
83719         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
83720         when using data file.
83722         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
83724         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
83725         (write_nis_obj): Use "c" and "e" in fopen.
83727         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
83729         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
83731         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
83733         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
83735         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
83736         locale.alias.
83738         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
83740         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
83742         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
83744         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
83745         file parsing and set FD_CLOEXEC.
83747 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83749         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
83751 2011-11-14  Andreas Schwab  <schwab@redhat.com>
83753         * malloc/arena.c (arena_get2): Don't call reused_arena when
83754         _int_new_arena failed.
83756 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
83758         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
83759         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
83760         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
83761         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83762         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83763         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
83764         to compile strcasecmp and strncasecmp.
83765         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
83766         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
83768         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
83770 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
83772         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
83773         locale-defines.sym to gen-as-const-headers.
83774         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
83775         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
83776         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
83777         to compile strcasecmp and strncasecmp.
83778         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
83779         strcasecmp_l and strncasecmp_l.
83780         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
83781         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
83782         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
83783         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
83784         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
83785         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
83786         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
83787         * sysdeps/i386/i686/multiarch/strncase.S: New file.
83788         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
83789         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
83790         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
83792 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
83794         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
83795         result of SYSDEP_GETTIME_CPU to retval.
83796         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
83797         parameter list to macro.  Remove trailing semicolon.  Adjust users.
83799         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
83800         variable.
83802         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
83803         mantissa words.
83804         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
83806         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
83807         from unused variable.
83809         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
83810         DWARF definitions.
83811         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
83812         for assembling.
83814         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
83815         over namespaces.
83817         * sunrpc/rpc_prot.c (rejected): Fix case value.
83819         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
83820         unsigned long long int to avoid warnings in shift.
83822         * posix/regex_internal.c (re_string_reconstruct): Actually use result
83823         of use of trans.
83824         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
83825         variable tmp.
83827         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
83828         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
83829         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
83831         * nis/nis_table.c (nis_list): Use variable of correct type for
83832         result of __follow_path call.
83834 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83836         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
83837         of math functions ceil, trunc, floor, round, and sqrt, when
83838         avaliable on the platform.
83839         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
83840         name clash.
83841         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
83842         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
83843         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
83845 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
83847         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
83848         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
83850 2011-11-11  Roland McGrath  <roland@hack.frob.com>
83852         * include/unistd.h: Fix __readlink return type.
83853         Reported by Chris Metcalf <cmetcalf@tilera.com>.
83855 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
83857         * stdlib/ucontext.h: Undo last change for makecontext.
83859 2011-11-11  Andreas Schwab  <schwab@redhat.com>
83861         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
83863         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
83864         * setjmp/setjmp.h: Mark functions as non-leaf.
83865         * setjmp/bits/setjmp2.h: Likewise.
83866         * stdlib/ucontext.h: Likewise.
83868 2011-11-10  Andreas Schwab  <schwab@redhat.com>
83870         * malloc/arena.c (_int_new_arena): Don't increment narenas.
83871         (reused_arena): Don't check arena limit.
83872         (arena_get2): Atomically check arena limit.
83874 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
83876         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
83877         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
83879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
83880         instructions.
83882 2011-11-07  Andreas Schwab  <schwab@redhat.com>
83884         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
83885         handler when locking.
83887         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
83888         Fix size of allocated buffer.
83890 2011-11-04  Andreas Schwab  <schwab@redhat.com>
83892         [BZ #10103]
83893         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
83894         declarations for long double functions.
83895         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
83897         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
83899 2011-11-03  Andreas Schwab  <schwab@redhat.com>
83901         * nscd/nscd.c (main): Don't start AVC thread until credentials are
83902         installed.
83904         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
83905         is disabled.
83907 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83909         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
83911 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
83913         * include/alloca.h (stackinfo_alloca_round): Define.
83914         (extend_alloca): Use it.
83915         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
83916         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
83917         here.
83919         * scripts/check-local-headers.sh: Ignore libaudit.h.
83921         * nscd/Makefile (extra-objs): Make recursively expanded.
83923 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
83925         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
83926         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
83928         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
83929         * posix/tst-rfc3484-2.c: Likewise.
83930         * posix/tst-rfc3484-3.c: Likewise.
83932         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
83933         process_vm_writev.
83934         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
83935         process_vm_writev.
83936         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
83937         process_vm_writev from libc using GLIBC_2.15 version.
83939         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
83941 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
83943         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
83944         stack usage.
83946 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
83948         [BZ #13367]
83949         * nss/getent.c (initgroups_keys): Show error message in case no group
83950         names are given.
83952         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83953         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83954         __bump_nl_timestamp.
83955         * nscd/connections (nscd_init): When host database is served open
83956         netlink socket and request notification about configuration changes.
83957         (main_loop_poll): Track netlink file descriptor and bump timestamp
83958         in case data becomes available.
83959         (main_loop_epoll): Likewise.
83960         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83961         (database_pers_head): Add extra_data fileds.
83962         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83963         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83964         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83965         Adjust caller.
83966         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83967         in6ai data, call __free_in6ai.
83968         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83969         Add -DHAVE_NETLINK.
83970         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83971         interface information.  Reuse previous data if netlink timestamp
83972         is not changed.
83973         (__bump_nl_timestamp): New function.
83974         (__free_in6ai): New function.
83976 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83978         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83979         close_not_cancel_no_status here.
83980         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83982 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83984         [BZ #13276]
83985         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83986         return value.
83988         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83989         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83990         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83992 2011-07-03  Andreas Jaeger  <aj@suse.de>
83994         [BZ #10709]
83995         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83996         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83997         * math/libm-test.inc (sin_test): Add test case.
83999 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84001         [BZ #13337]
84002         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84003         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84005         * elf/chroot_canon.c (chroot_canon): Cleanups.
84007         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84009         [BZ #13335]
84010         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84011         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84013         * string/test-strchr.c: Make usable for strchrnul testing.
84014         * string/test-strchrnul.c: New file.
84015         * string/Makefile (strop-tests): Add strchrnul.
84017         * po/it.po: Update from translation team.
84018         * po/es.po: Likewise.
84020 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84022         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84023         the three constants needed as parameters.  Drop the others.
84024         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84025         __m128i_strloadu_tolower.
84026         Create and initialize variable zero and use it in all the places
84027         where _mm_setzero_si128 was used.
84029         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84030         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84031         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84032         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84033         anymore.
84034         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84035         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84036         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84037         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84038         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84039         __mpranred, __mptan.
84040         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84041         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84042         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84043         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84044         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84045         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84046         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84047         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84048         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84050 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84052         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84053         redefine if SHARED.
84054         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84056         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84057         wide char related routines to wcsmbs subdir.
84059 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84061         [BZ #13344]
84062         * misc/sys/cdefs.h (__THROWNL): Define.
84063         * posix/unistd.h: Use __THREADNL instead of __THREAD
84064         for memory synchronization functions.
84066 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84068         [BZ #13349]
84069         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84070         doesn't exist.
84071         * manual/stdio.texi (Obstack Streams): Node removed.
84073 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84075         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84076         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84077         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84079         * math/math_private.h (math_force_eval): Allow non-addressable
84080         arguments.
84081         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84083 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84085         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84086         file is not needed.
84088         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84089         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84090         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84091         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84092         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84093         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84094         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84095         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84096         Add AVX variants.
84097         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84098         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84099         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84100         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84101         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84102         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84103         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84104         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84105         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84106         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84107         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84108         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84109         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84110         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84111         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84112         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84113         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84114         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84115         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84117         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84118         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84120         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84121         place.  Use VEX encoding when compiling for AVX.
84123 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84125         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84126         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84128         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84130 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84132         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84133         useless if() expression.
84134         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84135         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84136         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84137         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84138         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84139         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84140         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84141         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84142         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84143         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84144         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84145         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84146         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84147         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84148         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84149         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84150         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84151         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84152         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84154         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84156 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84158         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84159         condition.
84160         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84162 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84164         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84165         .text section.  Avoid duplicate constants.
84166         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84167         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84168         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84169         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84170         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84171         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84172         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84173         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84174         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84175         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84176         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84177         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84178         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84179         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84180         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84181         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84182         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84183         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84184         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84185         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84186         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84187         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84188         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84189         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84190         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84191         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84192         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84193         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84194         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84195         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84196         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84197         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84198         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84199         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84200         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84201         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84202         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84203         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84204         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84205         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84206         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84207         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84208         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84209         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84210         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84212 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84214         * sysdeps/x86_64/dla.h: Move to ...
84215         * sysdeps/x86_64/fpu/dla.h: ...here.
84216         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84217         situations.  Use __builtin_fma only for gcc 4.6 and up.
84219         * config.make.in: Add have-mfma4 entry.
84220         * configure.in: Substitute libc_cv_cc_fma4.
84221         * math/Makefile (dbl-only-routines): Add sincostab.
84222         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
84223         Use __sincostab not sincos.
84224         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
84225         name is a macro.
84226         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84227         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84228         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84229         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
84230         using __copysign.
84231         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
84232         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
84233         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
84234         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
84235         and __inv.
84236         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
84237         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
84238         __copysign.
84239         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
84240         define aliases when function name is a macro.
84241         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
84242         sysdeps/ieee754/dbl-64/sincos.tbl.
84243         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
84244         fma4-enabled routines.
84245         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
84246         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
84247         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
84248         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
84249         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
84250         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
84251         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
84252         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
84253         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
84254         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
84255         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
84256         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
84257         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
84258         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
84259         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
84260         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
84261         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
84262         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
84263         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
84264         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
84265         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
84266         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
84267         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
84268         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
84269         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
84270         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
84271         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
84272         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
84273         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
84274         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
84276         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
84277         rename.
84278         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84279         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84280         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84281         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84282         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84283         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84284         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84285         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84287 2011-10-24  Andreas Schwab  <schwab@redhat.com>
84289         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
84291 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84293         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
84295         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
84296         prediction.
84297         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
84299         * string/strnlen.c: Don't define STRNLEN, reverse logic.
84300         Remove unused variable magic_bits.
84301         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
84303         * string/strnlen.c: Define and use STRNLEN macro.
84304         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
84305         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
84306         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
84307         * wcsmbs/wcslen.c: Define and use WCSLEN.
84308         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
84309         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
84310         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
84311         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
84312         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
84313         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
84314         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84316 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84318         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84319         strnlen-sse2-no-bsf.
84320         Rename strlen-no-bsf to strlen-sse2-no-bsf.
84321         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
84322         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
84323         Add strnlen support.
84324         (USE_AS_STRNLEN): New macro.
84325         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
84326         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
84327         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
84328         * sysdeps/x86_64/wcslen.S: New file.
84330 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
84332         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84333         XMM-moves are used for copying on small sizes.
84335 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84337         * wcsmbs/Makefile (strop-tests): Add wcschr.
84338         * wcsmbs/test-wcschr.c: New file.
84339         * string/test-strchr.c: Update.
84340         Add wcschr support.
84341         (WIDE): New macro.
84343 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84345         * wcsmbs/Makefile (strop-tests): Add wcslen.
84346         * wcsmbs/test-wcslen.c: New file.
84347         * string/test-strlen.c: Update.
84348         Add wcslen support.
84349         (WIDE): New macro.
84351 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84353         * po/it.po: Update from translation team.
84355 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84357         * sysdeps/x86_64/wcscmp.S: Update.
84358         Fix wrong comparison semantics.
84359         wcscmp shall use signed comparison not unsigned.
84360         Don't use substraction to avoid overflow bug.
84361         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
84362         * wcsmbc/wcscmp.c: Likewise.
84363         * string/test-strcmp.c: Likewise.
84364         Add new tests to check cases with negative values.
84366 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
84368         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
84369         * sysdeps/x86_64/dla.h: ...here.  New file.
84370         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
84371         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84372         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84373         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84374         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84375         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84377         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84378         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84380 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
84382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
84383         __ynl_finite aliases.
84385 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84387         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84389         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
84390         define DLA_FMA.
84391         [DLA_FMA] (EMULV): Use DLA_FMA.
84392         [DLA_FMA] (MUL12): Use EMULV.
84393         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
84394         that are not needed.
84395         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84396         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84397         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84398         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84399         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84400         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
84401         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84403 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
84405         * math/s_nan.c: Undef __nan.
84406         * math/s_nanf.c: Undef __nanf.
84407         * math/s_nanl.c: Undef __nanl.
84408         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
84409         "math_private.h".
84411 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
84413         * math/s_catan.c: Add branch predictions.
84414         * math/s_catanf.c: Likewise.
84415         * math/s_catanh.c: Likewise.
84416         * math/s_catanhf.c: Likewise.
84417         * math/s_catanhl.c: Likewise.
84418         * math/s_catanl.c: Likewise.
84419         * math/s_cexp.c: Likewise.
84420         * math/s_cexpf.c: Likewise.
84421         * math/s_cexpl.c: Likewise.
84422         * math/s_clog.c: Likewise.
84423         * math/s_clog10.c: Likewise.
84424         * math/s_clog10f.c: Likewise.
84425         * math/s_clog10l.c: Likewise.
84426         * math/s_clogf.c: Likewise.
84427         * math/s_clogl.c: Likewise.
84428         * math/s_csqrt.c: Likewise.
84429         * math/s_csqrtf.c: Likewise.
84430         * math/s_csqrtl.c: Likewise.
84431         * math/s_ctanf.c: Likewise.
84432         * math/s_ctanh.c: Likewise.
84433         * math/s_ctanhf.c: Likewise.
84434         * math/s_ctanhl.c: Likewise.
84435         * math/s_ctanl.c: Likewise.
84437         * math/math_private.h: Define __nan, __nanf, __nanl.
84438         * math/s_cacosh.c: Include <math_private.h>.
84439         * math/s_cacoshl.c: Likewise.
84440         * math/s_casinh.c: Likewise.
84441         * math/s_casinhf.c: Likewise.
84442         * math/s_casinhl.c: Likewise.
84443         * math/s_ccos.c: Rely entire on ccosh.
84444         * math/s_ccosf.c: Rely entire on ccoshf.
84445         * math/s_ccosl.c: Rely entirely on ccoshl.
84446         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
84447         Remove tests for FE_INVALID.
84448         * math/s_ccoshf.c: Likewise.
84449         * math/s_ccoshl.c: Likewise.
84450         * math/s_csin.c: Likewise.
84451         * math/s_csinf.c: Likewise.
84452         * math/s_csinh.c Likewise.
84453         * math/s_csinhf.c: Likewise.
84454         * math/s_csinhl.c: Likewise.
84455         * math/s_csinl.c: Likewise.
84456         * math/s_ctan.c: Likewise.
84457         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
84458         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
84459         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
84461 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
84463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
84464         compilation problems.
84466         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
84467         __builtin_expect.
84469 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
84471         * sysdeps/i386/configure.in: Test for -mfma4 option.
84472         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
84473         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
84474         COMMON_CPUID_INDEX_80000001.
84475         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
84476         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
84477         use it if FMA3 is not supported.
84478         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
84480         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
84481         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84483 2011-10-20  Andreas Schwab  <schwab@redhat.com>
84485         [BZ #12892]
84486         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
84487         it would create a cycle with a link time dependency.
84489 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
84491         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
84492         instruction.
84493         * string/Makefile (strop-tests): Add rawmemchr.
84494         * string/test-rawmemchr.c: New file.
84496         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
84497         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
84498         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
84499         when compiling str{,n}casecmp and when AVX is available.  Hook up
84500         new optimized code in initializers.
84502 2011-10-19  Andreas Schwab  <schwab@redhat.com>
84504         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
84505         __feraiseexcept instead of feraiseexcept.
84507 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
84509         * math/math_private.h: Define defaults for libc_fetestexcept and
84510         libc_feupdateenv.
84511         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
84512         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
84513         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84514         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84515         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
84516         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84517         libc_fetestexcept and libc_feupdateenv.
84519         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
84520         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
84521         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
84522         * sysdeps/x86_64/fpu/math_private.h: Define special version of
84523         libc_feholdexcept_setround.
84525         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
84526         Add s_nearbyint-c and s_nearbyintf-c.
84527         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
84528         nearbyintf inlines.
84529         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
84530         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
84531         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
84532         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
84534         * math/math_private.h: Define defaults for libc_fegetround,
84535         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
84536         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
84537         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
84538         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
84539         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
84540         standard functions.
84541         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84542         Remove comments and hacks for old compiler versions.
84543         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
84544         libc_fegetround, libc_fesetround, libc_feholdexcept, and
84545         libc_feholdexceptl.
84547 2011-10-18  Andreas Schwab  <schwab@redhat.com>
84549         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
84550         (__feraiseexcept_renamed): Add __NTH.
84551         (feraiseexcept): Add __NTH.  Rename local variables to fix
84552         namespace violations.
84554 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
84556         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
84558         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
84560         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
84561         recently added interfaces.
84562         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
84564         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
84565         about macro parameter expansion.
84567         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
84568         __NO_MATH_INLINES is defined.  Cleanups.
84570         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
84571         and __floorf is target has SSE4.1.
84572         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
84573         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
84574         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
84575         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
84577         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
84578         name.
84579         (floorf): Likewise.
84581         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
84583 2011-10-17  Andreas Schwab  <schwab@redhat.com>
84585         * misc/sys/cdefs.h: Fix last change.
84587         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
84588         database lookup.
84590 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
84592         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
84594         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
84595         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84596         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
84597         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84598         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84599         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
84600         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84601         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84602         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
84603         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
84604         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
84605         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
84606         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
84607         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
84608         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
84609         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
84610         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
84611         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
84612         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
84613         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
84614         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
84615         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
84617         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
84618         ceil, ceilf, floor, floorf.
84620         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
84621         Perform IRELATIVE relocations last.
84623         * elf/do-rel.h: Add another parameter nrelative, replacing the
84624         local variable with the same name.  Change name of the function
84625         to end in Rel or Rela (uppercase).
84626         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
84627         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
84628         elf_dynamic_do_##reloc function.
84630 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84632         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
84633         is sufficient, at least on modern CPUs.
84635         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
84637         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
84638         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
84640         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
84641         __expl_finite.
84642         * math/bits/math-finite.h: Add entries for exp.
84643         * math/e_expl.c: Add __*_finite alias.
84644         * sysdeps/i386/fpu/e_exp.S: Likewise.
84645         * sysdeps/i386/fpu/e_expf.S: Likewise.
84646         * sysdeps/i386/fpu/e_expl.c: Likewise.
84647         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84648         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
84649         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
84650         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
84651         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
84652         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
84653         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
84655         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
84656         is sufficient, at least on modern CPUs.
84658         * ctype/ctype-info.c (__ctype_init): Define.
84659         * include/ctype.h (__ctype_init): Declare.
84660         (__ctype_b_loc): The variable is always initialized.
84661         (__ctype_toupper_loc): Likewise.
84662         (__ctype_tolower_loc): Likewise.
84663         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
84664         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
84666 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
84668         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
84670         * configure.in: Also look in $cxxmachine/include for C++ system
84671         headers.
84673 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84675         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
84676         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
84677         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
84678         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
84679         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
84680         (USE_AS_WMEMCMP): New macro.
84681         Fixing indents.
84682         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
84683         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
84684         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
84685         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
84686         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84687         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
84688         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
84689         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
84690         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
84691         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
84692         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
84693         (USE_AS_WMEMCMP): New macro.
84694         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
84695         * sysdeps/string/test-memcmp.c: Update.
84696         Fix simple_wmemcmp.
84697         Add new tests.
84698         * wcsmbs/wmemcmp.c: Update.
84699         (WMEMCMP): New macro.
84700         Fix overflow bug.
84702 2011-10-12  Andreas Jaeger  <aj@suse.de>
84704         [BZ #13268]
84705         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
84707 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
84709         * libio/iofwide.c (do_length): Avoid warning.
84711         * ctype/ctype.h (__isctype_f): Add missing __THROW.
84713 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
84715         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
84717         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
84718         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
84719         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
84720         * sysdeps/i386/i686/fpu/e_log.S: New file.
84721         * sysdeps/i386/i686/fpu/e_logf.S: New file.
84722         * sysdeps/i386/i686/fpu/e_logl.S: New file.
84724         * ctype/ctype.h: Add support for inlined isXXX functions when
84725         compiling C++ code.
84727 2011-10-14  Andreas Schwab  <schwab@redhat.com>
84729         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84731         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
84733 2011-10-13  Roland McGrath  <roland@hack.frob.com>
84735         [BZ #13291]
84736         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
84738 2011-10-13  Andreas Schwab  <schwab@redhat.com>
84740         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
84741         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
84742         feraiseexcept.
84744         * sysdeps/x86_64/memrchr.S: Check for zero size.
84746         * string/stratcliff.c: Add memrchr tests.
84748 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84750         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84751         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
84752         rawmemchr-sse2 rawmemchr-sse2-bsf.
84753         * sysdeps/i386/i686/multiarch/memchr.S: New file.
84754         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
84755         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
84756         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
84757         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
84758         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
84759         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
84760         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
84761         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
84762         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
84763         * string/memrchr.c (MEMRCHR): New macro.
84765 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
84767         Add integration with gcc's -ffinite-math-only and optimize wrapper
84768         functions in libm.
84769         * Versions.def: Define GLIBC_2.15 version for libm.
84770         * math/Makefile (headers): Add bits/math-finite.h.
84771         * math/bits/math-finite.h: New file.
84772         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
84773         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
84774         * math/e_acoshl.c: Add __*_finite alias.
84775         * math/e_acosl.c: Likewise.
84776         * math/e_asinl.c: Likewise.
84777         * math/e_atan2l.c: Likewise.
84778         * math/e_atanhl.c: Likewise.
84779         * math/e_coshl.c: Likewise.
84780         * math/e_exp10.c: Likewise.
84781         * math/e_exp10f.c: Likewise.
84782         * math/e_exp10l.c: Likewise.
84783         * math/e_exp2l.c: Likewise.
84784         * math/e_fmodl.c: Likewise.
84785         * math/e_gammal_r.c: Likewise.
84786         * math/e_hypotl.c: Likewise.
84787         * math/e_j0l.c: Likewise.
84788         * math/e_j1l.c: Likewise.
84789         * math/e_jnl.c: Likewise.
84790         * math/e_lgammal_r.c: Likewise.
84791         * math/e_log10l.c: Likewise.
84792         * math/e_log2l.c: Likewise.
84793         * math/e_logl.c: Likewise.
84794         * math/e_powl.c: Likewise.
84795         * math/e_sinhl.c: Likewise.
84796         * math/e_sqrtl.c: Likewise.
84797         * math/e_scalb.c: Completely rewritten and optimized.
84798         * math/e_scalbf.c: Likewise.
84799         * math/e_scalbl.c: Likewise.
84800         * math/w_acos.c: Likewise.
84801         * math/w_acosf.c: Likewise.
84802         * math/w_acosl.c: Likewise.
84803         * math/w_acosh.c: Likewise.
84804         * math/w_acoshf.c: Likewise.
84805         * math/w_acoshl.c: Likewise.
84806         * math/w_asin.c: Likewise.
84807         * math/w_asinf.c: Likewise.
84808         * math/w_asinl.c: Likewise.
84809         * math/w_atan2.c: Likewise.
84810         * math/w_atan2f.c: Likewise.
84811         * math/w_atan2l.c: Likewise.
84812         * math/w_atanh.c: Likewise.
84813         * math/w_atanhf.c: Likewise.
84814         * math/w_atanhl.c: Likewise.
84815         * math/w_exp10.c: Likewise.
84816         * math/w_exp10f.c: Likewise.
84817         * math/w_exp10l.c: Likewise.
84818         * math/w_fmod.c: Likewise.
84819         * math/w_fmodf.c: Likewise.
84820         * math/w_fmodl.c: Likewise.
84821         * math/w_j0.c: Likewise.
84822         * math/w_j0f.c: Likewise.
84823         * math/w_j0l.c: Likewise.
84824         * math/w_j1.c: Likewise.
84825         * math/w_j1f.c: Likewise.
84826         * math/w_j1l.c: Likewise.
84827         * math/w_jn.c: Likewise.
84828         * math/w_jnf.c: Likewise.
84829         * math/w_log.c: Likewise.
84830         * math/w_logf.c: Likewise.
84831         * math/w_logl.c: Likewise.
84832         * math/w_log10.c: Likewise.
84833         * math/w_log10f.c: Likewise.
84834         * math/w_log10l.c: Likewise.
84835         * math/w_log2.c: Likewise.
84836         * math/w_log2f.c: Likewise.
84837         * math/w_log2l.c: Likewise.
84838         * math/w_pow.c: Likewise.
84839         * math/w_powf.c: Likewise.
84840         * math/w_powl.c: Likewise.
84841         * math/w_remainder.c: Likewise.
84842         * math/w_remainderf.c: Likewise.
84843         * math/w_remainderl.c: Likewise.
84844         * math/w_scalb.c: Likewise.
84845         * math/w_scalbf.c: Likewise.
84846         * math/w_scalbl.c: Likewise.
84847         * math/w_sqrt.c: Likewise.
84848         * math/w_sqrtf.c: Likewise.
84849         * math/w_sqrtl.c: Likewise.
84850         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
84851         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
84852         used.
84853         * math/math_private.h: Declare __kernel_standard_f.
84854         * math/w_cosh.c: Remove cruft and optimize a bit.
84855         * math/w_coshf.c: Likewise.
84856         * math/w_coshl.c: Likewise.
84857         * math/w_exp2.c: Likewise.
84858         * math/w_exp2f.c: Likewise.
84859         * math/w_exp2l.c: Likewise.
84860         * math/w_hypot.c: Likewise.
84861         * math/w_hypotf.c: Likewise.
84862         * math/w_hypotl.c: Likewise.
84863         * math/w_lgamma.c: Likewise.
84864         * math/w_lgamma_r.c: Likewise.
84865         * math/w_lgammaf.c: Likewise.
84866         * math/w_lgammaf_r.c: Likewise.
84867         * math/w_lgammal.c: Likewise.
84868         * math/w_lgammal_r.c: Likewise.
84869         * math/w_sinh.c: Likewise.
84870         * math/w_sinhf.c: Likewise.
84871         * math/w_sinhl.c: Likewise.
84872         * math/w_tgamma.c: Likewise.
84873         * math/w_tgammaf.c: Likewise.
84874         * math/w_tgammal.c: Likewise.
84875         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
84876         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84877         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
84878         Minor optimizations.  Pretty printing.  Remove cruft.
84879         * sysdeps/i386/fpu/e_acosf.S: Likewise.
84880         * sysdeps/i386/fpu/e_acosh.S: Likewise.
84881         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
84882         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
84883         * sysdeps/i386/fpu/e_acosl.c: Likewise.
84884         * sysdeps/i386/fpu/e_asin.S: Likewise.
84885         * sysdeps/i386/fpu/e_asinf.S: Likewise.
84886         * sysdeps/i386/fpu/e_atan2.S: Likewise.
84887         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
84888         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
84889         * sysdeps/i386/fpu/e_atanh.S: Likewise.
84890         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
84891         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
84892         * sysdeps/i386/fpu/e_exp10.S: Likewise.
84893         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
84894         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
84895         * sysdeps/i386/fpu/e_exp2.S: Likewise.
84896         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
84897         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
84898         * sysdeps/i386/fpu/e_fmod.S: Likewise.
84899         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
84900         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
84901         * sysdeps/i386/fpu/e_hypot.S: Likewise.
84902         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
84903         * sysdeps/i386/fpu/e_log.S: Likewise.
84904         * sysdeps/i386/fpu/e_log10.S: Likewise.
84905         * sysdeps/i386/fpu/e_log10f.S: Likewise.
84906         * sysdeps/i386/fpu/e_log10l.S: Likewise.
84907         * sysdeps/i386/fpu/e_log2.S: Likewise.
84908         * sysdeps/i386/fpu/e_log2f.S: Likewise.
84909         * sysdeps/i386/fpu/e_log2l.S: Likewise.
84910         * sysdeps/i386/fpu/e_logf.S: Likewise.
84911         * sysdeps/i386/fpu/e_logl.S: Likewise.
84912         * sysdeps/i386/fpu/e_pow.S: Likewise.
84913         * sysdeps/i386/fpu/e_powf.S: Likewise.
84914         * sysdeps/i386/fpu/e_powl.S: Likewise.
84915         * sysdeps/i386/fpu/e_remainder.S: Likewise.
84916         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
84917         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
84918         * sysdeps/i386/fpu/e_scalb.S: Likewise.
84919         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
84920         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
84921         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
84922         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
84923         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
84924         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
84925         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84926         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84927         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
84928         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
84929         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
84930         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
84931         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
84932         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84933         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
84934         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
84935         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
84936         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84937         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
84938         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
84939         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84940         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
84941         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
84942         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
84943         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84944         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84945         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84946         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84947         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84948         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84949         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84950         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84951         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84952         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84953         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84954         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84955         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84956         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84957         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84958         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84959         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84960         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84961         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84962         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84963         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84964         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84965         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84966         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84967         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84968         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84969         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84970         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84971         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84972         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84973         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84974         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84975         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84976         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84977         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84978         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84979         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84980         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84981         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84982         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84983         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84984         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84985         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84986         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84987         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84988         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84989         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84990         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84992         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84993         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84994         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84995         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84996         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84997         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84998         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84999         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85000         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85001         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85002         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85003         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85004         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85005         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85006         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85007         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85008         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85009         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85010         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85011         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85012         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85013         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85014         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85015         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85016         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85017         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85018         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85019         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85020         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85021         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85022         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85023         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85024         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85025         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85026         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85027         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85028         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85029         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85030         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85031         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85032         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85033         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85034         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85035         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85036         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85037         (__isnanf): Likewise.
85038         (__isinf_ns): Likewise.
85039         (__isinf_nsf): Likewise.
85040         (__finite): Likewise.
85041         (__finitef): Likewise.
85042         (__ieee754_sqrt): Define as macro.
85043         (__ieee754_sqrtf): Define as macro.
85044         (__ieee754_sqrtl): Define as macro.
85045         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85046         inlined copy.
85047         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85048         __FINITE_MATH_ONLY__ consistent.
85049         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85051 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85053         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85054         of rawmemchr.
85056         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85058 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85060         * po/ja.po: Update from translation team.
85062 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85064         * locale/programs/locarchive.c (prepare_address_space): New function.
85065         (create_archive, enlarge_archive, open_archive): Use it.
85067         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85068         inside [SHARED], where it is used.
85070         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85072         * nss/getent.c (netgroup_keys): Remove unused variable.
85073         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85075 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85077         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85078         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85079         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85080         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85081         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85082         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85083         * math/Makefile (libm-calls): Add s_isinf_ns.
85084         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85085         * math/multc3.c: Likewise.
85086         * math/s_casin.c: Likewise.
85087         * math/s_casinf.c: Likewise.
85088         * math/s_casinl.c: Likewise.
85089         * math/s_ccos.c: Likewise.
85090         * math/s_ccosf.c: Likewise.
85091         * math/s_ccosl.c: Likewise.
85092         * math/s_ctan.c: Likewise.
85093         * math/s_ctanf.c: Likewise.
85094         * math/s_ctanh.c: Likewise.
85095         * math/s_ctanhf.c: Likewise.
85096         * math/s_ctanhl.c: Likewise.
85097         * math/s_ctanl.c: Likewise.
85098         * math/w_fmod.c: Likewise.
85099         * math/w_fmodf.c: Likewise.
85100         * math/w_fmodl.c: Likewise.
85101         * math/w_remainder.c: Likewise.
85102         * math/w_remainderf.c: Likewise.
85103         * math/w_remainderl.c: Likewise.
85104         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85105         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85106         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85107         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85108         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85109         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85110         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85111         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85113         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85114         of the number.
85115         * stdio-common/printf_fphex.c: Likewise.
85116         * stdio-common/printf_size.c: Likewise.
85118         * math/e_exp10.c: Include math_private.h using <...> not "...".
85119         * math/e_exp10f.c: Likewise.
85120         * math/e_exp10l.c: Likewise.
85121         * math/e_exp2l.c: Likewise.
85122         * math/e_j0l.c: Likewise.
85123         * math/e_j1l.c: Likewise.
85124         * math/e_jnl.c: Likewise.
85125         * math/e_lgammal_r.c: Likewise.
85126         * math/e_rem_pio2l.c: Likewise.
85127         * math/e_scalb.c: Likewise.
85128         * math/e_scalbf.c: Likewise.
85129         * math/e_scalbl.c: Likewise.
85130         * math/k_cosl.c: Likewise.
85131         * math/k_sinl.c: Likewise.
85132         * math/k_tanl.c: Likewise.
85133         * math/s_cacoshf.c: Likewise.
85134         * math/s_catan.c: Likewise.
85135         * math/s_catanf.c: Likewise.
85136         * math/s_catanh.c: Likewise.
85137         * math/s_catanhf.c: Likewise.
85138         * math/s_catanhl.c: Likewise.
85139         * math/s_catanl.c: Likewise.
85140         * math/s_ccosh.c: Likewise.
85141         * math/s_ccoshf.c: Likewise.
85142         * math/s_ccoshl.c: Likewise.
85143         * math/s_cexp.c: Likewise.
85144         * math/s_cexpf.c: Likewise.
85145         * math/s_cexpl.c: Likewise.
85146         * math/s_clog.c: Likewise.
85147         * math/s_clog10.c: Likewise.
85148         * math/s_clog10f.c: Likewise.
85149         * math/s_clog10l.c: Likewise.
85150         * math/s_clogf.c: Likewise.
85151         * math/s_clogl.c: Likewise.
85152         * math/s_csin.c: Likewise.
85153         * math/s_csinf.c: Likewise.
85154         * math/s_csinh.c: Likewise.
85155         * math/s_csinhf.c: Likewise.
85156         * math/s_csinhl.c: Likewise.
85157         * math/s_csinl.c: Likewise.
85158         * math/s_csqrt.c: Likewise.
85159         * math/s_csqrtf.c: Likewise.
85160         * math/s_csqrtl.c: Likewise.
85161         * math/s_ctan.c: Likewise.
85162         * math/s_ctanf.c: Likewise.
85163         * math/s_ctanh.c: Likewise.
85164         * math/s_ctanhf.c: Likewise.
85165         * math/s_ctanhl.c: Likewise.
85166         * math/s_ctanl.c: Likewise.
85167         * math/s_ldexp.c: Likewise.
85168         * math/s_ldexpf.c: Likewise.
85169         * math/s_ldexpl.c: Likewise.
85170         * math/s_significand.c: Likewise.
85171         * math/s_significandf.c: Likewise.
85172         * math/s_significandl.c: Likewise.
85173         * math/w_acos.c: Likewise.
85174         * math/w_acosf.c: Likewise.
85175         * math/w_acosh.c: Likewise.
85176         * math/w_acoshf.c: Likewise.
85177         * math/w_acoshl.c: Likewise.
85178         * math/w_acosl.c: Likewise.
85179         * math/w_asin.c: Likewise.
85180         * math/w_asinf.c: Likewise.
85181         * math/w_asinl.c: Likewise.
85182         * math/w_atan2.c: Likewise.
85183         * math/w_atan2f.c: Likewise.
85184         * math/w_atan2l.c: Likewise.
85185         * math/w_atanh.c: Likewise.
85186         * math/w_atanhf.c: Likewise.
85187         * math/w_atanhl.c: Likewise.
85188         * math/w_cosh.c: Likewise.
85189         * math/w_coshf.c: Likewise.
85190         * math/w_coshl.c: Likewise.
85191         * math/w_dremf.c: Likewise.
85192         * math/w_exp10.c: Likewise.
85193         * math/w_exp10f.c: Likewise.
85194         * math/w_exp10l.c: Likewise.
85195         * math/w_exp2.c: Likewise.
85196         * math/w_exp2f.c: Likewise.
85197         * math/w_fmod.c: Likewise.
85198         * math/w_fmodf.c: Likewise.
85199         * math/w_fmodl.c: Likewise.
85200         * math/w_hypot.c: Likewise.
85201         * math/w_hypotf.c: Likewise.
85202         * math/w_hypotl.c: Likewise.
85203         * math/w_j0.c: Likewise.
85204         * math/w_j0f.c: Likewise.
85205         * math/w_j0l.c: Likewise.
85206         * math/w_j1.c: Likewise.
85207         * math/w_j1f.c: Likewise.
85208         * math/w_j1l.c: Likewise.
85209         * math/w_jn.c: Likewise.
85210         * math/w_jnf.c: Likewise.
85211         * math/w_jnl.c: Likewise.
85212         * math/w_lgamma.c: Likewise.
85213         * math/w_lgamma_r.c: Likewise.
85214         * math/w_lgammaf.c: Likewise.
85215         * math/w_lgammaf_r.c: Likewise.
85216         * math/w_lgammal.c: Likewise.
85217         * math/w_lgammal_r.c: Likewise.
85218         * math/w_log.c: Likewise.
85219         * math/w_log10.c: Likewise.
85220         * math/w_log10f.c: Likewise.
85221         * math/w_log10l.c: Likewise.
85222         * math/w_log2.c: Likewise.
85223         * math/w_log2f.c: Likewise.
85224         * math/w_log2l.c: Likewise.
85225         * math/w_logf.c: Likewise.
85226         * math/w_logl.c: Likewise.
85227         * math/w_pow.c: Likewise.
85228         * math/w_powf.c: Likewise.
85229         * math/w_powl.c: Likewise.
85230         * math/w_remainder.c: Likewise.
85231         * math/w_remainderf.c: Likewise.
85232         * math/w_remainderl.c: Likewise.
85233         * math/w_scalb.c: Likewise.
85234         * math/w_scalbf.c: Likewise.
85235         * math/w_scalbl.c: Likewise.
85236         * math/w_sinh.c: Likewise.
85237         * math/w_sinhf.c: Likewise.
85238         * math/w_sinhl.c: Likewise.
85239         * math/w_sqrt.c: Likewise.
85240         * math/w_sqrtf.c: Likewise.
85241         * math/w_sqrtl.c: Likewise.
85242         * math/w_tgamma.c: Likewise.
85243         * math/w_tgammaf.c: Likewise.
85244         * math/w_tgammal.c: Likewise.
85246         * po/ja.po: Update from translation team.
85248 2011-09-29  Andreas Jaeger  <aj@suse.de>
85250         [BZ #13179]
85251         * sunrpc/netname.c (netname2host): Fix logic.
85253         [BZ #6779]
85254         [BZ #6783]
85255         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
85256         correctly.
85257         * math/w_remainder.c (__remainder): Likewise.
85258         * math/w_remainderf.c (__remainderf): Likewise.
85259         * math/libm-test.inc (remainder_test): Add test cases.
85261 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85263         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
85264         sdiv_qrnnd.
85266 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85268         * string/test-memcmp.c: Avoid unncessary #defines.
85269         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85271 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85273         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
85274         Use new sse2 version for core i3 - i7 as it's faster
85275         than sse42 version.
85276         (bit_Prefer_PMINUB_for_stringop): New.
85277         * sysdeps/x86_64/rawmemchr.S: Update.
85278         Replace with faster SSE2 version.
85279         * sysdeps/x86_64/memrchr.S: New file.
85280         * sysdeps/x86_64/memchr.S: Update.
85281         Replace with faster SSE2 version.
85283 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
85285         * elf/dl-load.c (lose): Add cast to avoid warning.
85287 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
85289         * po/ca.po: Update from translation team.
85291         * inet/getnetgrent_r.c: Hook up nscd.
85292         * nscd/Makefile (routines): Add nscd_netgroup.
85293         (nscd-modules): Add netgroupcache.
85294         (CFLAGS-netgroupcache.c): Define.
85295         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
85296         (cache_search): Add const to second parameter.
85297         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
85298         INNETGR.
85299         (dbs): Add netgrdb entry.
85300         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
85301         (verify_persistent_db): Handle netgrdb.
85302         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
85303         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
85304         GETFDNETGR.
85305         (netgroup_response_header): Define.
85306         (innetgroup_response_header): Define.
85307         (datahead): Add netgroup_response_header and innetgroup_response_header
85308         elements.
85309         * nscd/nscd.conf: Add entries for netgroup cache.
85310         * nscd/nscd.h (dbtype): Add netgrdb.
85311         (_PATH_NSCD_NETGROUP_DB): Define.
85312         (netgroup_iov_disabled): Declare.
85313         (xmalloc, xcalloc, xrealloc): Move declarations here.
85314         (cache_search): Adjust prototype.
85315         Add netgroup-related prototypes.
85316         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
85317         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
85318         (__nscd_innetgr): Declare.
85319         * nscd/selinux.c (perms): Use access_vector_t as element type and
85320         add netgroup-related initializers.
85321         * nscd/netgroupcache.c: New file.
85322         * nscd/nscd_netgroup.c: New file.
85323         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
85324         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
85325         For four parameters use innetgr.
85326         * nss/nss_files/files-init.c: Add definition and callback for netgr.
85327         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
85328         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
85329         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
85331         * nscd/connections.c (register_traced_file): Don't register file
85332         for disabled databases.
85334 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
85336         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
85338         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
85339         from tree and freeing node.
85341 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
85343         * nss/nsswitch.c (__nss_database_lookup): Handle
85344         nss_parse_service_list out of memory case.
85346 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
85348         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
85349         out of memory case.
85351 2011-10-04  Andreas Schwab  <schwab@redhat.com>
85353         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
85354         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
85355         pass it down.
85356         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
85357         elf_machine_rela, elf_machine_lazy_rel.
85358         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
85359         (ELF_DYNAMIC_DO_REL): Likewise.
85360         (ELF_DYNAMIC_DO_RELA): Likewise.
85361         (ELF_DYNAMIC_RELOCATE): Likewise.
85362         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
85363         to ELF_DYNAMIC_DO_REL.
85364         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
85365         (dl_main): In trace mode always set __RTLD_NOIFUNC.
85366         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
85367         elf_machine_rela.
85368         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
85369         skip_ifunc, don't call ifunc function if non-zero.
85370         (elf_machine_rela): Likewise.
85371         (elf_machine_lazy_rel): Likewise.
85372         (elf_machine_lazy_rela): Likewise.
85373         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
85374         (elf_machine_lazy_rel): Likewise.
85375         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
85376         Likewise.
85377         (elf_machine_lazy_rel): Likewise.
85378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85379         Likewise.
85380         (elf_machine_lazy_rel): Likewise.
85381         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
85382         (elf_machine_lazy_rel): Likewise.
85383         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
85384         (elf_machine_lazy_rel): Likewise.
85385         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
85386         (elf_machine_lazy_rel): Likewise.
85387         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
85388         (elf_machine_lazy_rel): Likewise.
85389         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
85390         (elf_machine_lazy_rel): Likewise.
85391         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
85392         (elf_machine_lazy_rel): Likewise.
85394 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
85396         * nss/nss_files/files-init.c (_nss_files_init): Use static
85397         initialization for all the *_traced_file variables.
85399 2011-09-28  Andreas Schwab  <schwab@redhat.com>
85401         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85403 2011-09-27  Roland McGrath  <roland@hack.frob.com>
85405         [BZ #13226]
85406         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
85408 2011-09-27  Andreas Schwab  <schwab@redhat.com>
85410         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
85411         Reread the line before reparsing it.
85413 2011-09-26  Andreas Schwab  <schwab@redhat.com>
85415         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
85417 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
85418             Maxim Kuvyrkov  <maxim@codesourcery.com>
85419             Joseph Myers  <joseph@codesourcery.com>
85421         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
85422         if needed for __stack_chk_guard.
85424 2011-09-19  Roland McGrath  <roland@hack.frob.com>
85426         * sysdeps/posix/spawni.c (script_execute): Always define it.
85427         It will be optimized away if unused.
85428         (maybe_script_execute): New function.
85429         (__spawni): Call it.
85431         * Makerules: Don't include tls.make.
85432         (config-tls): Always set to thread.
85433         * tls.make.c: File removed.
85435 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
85437         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
85438         * config.make.in (CPPFLAGS-config): New substituted variable.
85440 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85442         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
85444         [BZ #13192]
85445         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
85446         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
85448 2011-09-15  Roland McGrath  <roland@hack.frob.com>
85450         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
85451         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
85452         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85453         (CALL_FAIL): Likewise.
85454         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
85455         (CALL_FAIL): Macro removed.
85456         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
85458 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
85460         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
85461         for __FINITE_MATH_ONLY__ == 1.
85463 2011-09-15  Andreas Schwab  <schwab@redhat.com>
85465         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
85466         __ieee754_sqrt instead of sqrt.
85467         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
85468         __ieee754_sqrtf instead of sqrtf.
85469         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
85470         __floorf instead of floorf.
85471         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
85472         __floorf, __truncf instead of floorf, truncf.
85474 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
85476         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
85478         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
85479         __extern_always_inline.
85480         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
85481         32-bit.
85483 2011-09-14  Andreas Schwab  <schwab@redhat.com>
85485         * elf/rtld.c (dl_main): Also relocate in dependency order when
85486         doing symbol dependency testing.
85488 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
85490         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85491         Always define `refsym'.
85493 2011-09-13  Andreas Schwab  <schwab@redhat.com>
85495         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
85496         (__FD_ELT): Renamed from __FDELT.
85497         * misc/bits/select2.h (__FD_ELT): Likewise.
85498         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
85499         __FD_MASK instead of __FDELT, __FDMASK.
85500         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85501         Likewise.
85502         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
85503         Likewise.
85505         * elf/Makefile (gen-ldd): Fix pattern.
85507         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
85508         (init_tls): Likewise.
85510 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
85512         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
85514 2011-09-12  Andreas Schwab  <schwab@redhat.com>
85516         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
85517         `struct cmsghdr *' instead of `void *'.
85518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
85519         Likewise.
85521 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
85523         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
85524         if non-absolute.
85525         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
85526         ldd_rewrite_script.
85528 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
85530         * configure.in: Remove --with-tls option.
85531         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
85532         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
85533         out in case it is missing.
85534         * sysdeps/ia64/elf/configure.in: Likewise.
85535         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
85536         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
85537         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
85538         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
85539         * sysdeps/sh/elf/configure.in: Likewise.
85540         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
85541         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85542         * sysdeps/x86_64/elf/configure.in: Likewise.
85543         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
85544         * sysdeps/mach/hurd/tls.h: Likewise.
85546         [BZ #13067]
85547         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
85549         [BZ #13090]
85550         * configure.in: Fix use of AC_INIT.
85552         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
85554 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
85556         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
85557         __set_errno.
85558         * malloc/hooks.c: Likewise.
85560         [BZ #11929]
85561         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
85562         variables statically.
85563         (narenas): Initialize.
85564         (list_lock): Initialize.
85565         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
85566         initializtion of main_arena and list_lock.  Small cleanups.
85567         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
85568         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
85569         Add initializers to main_arena and mp_.
85570         (malloc_state): Remove pagesize member.  Change all users to use
85571         GLRO(dl_pagesize).
85573         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
85574         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
85575         is always initialized.
85577         * malloc/malloc.c: Removed unused configurations and dead code.
85578         * malloc/arena.c: Likewise.
85579         * malloc/hooks.c: Likewise.
85580         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
85582         * include/tls.h: Removed.  USE___THREAD must always be defined.
85583         * bits/libc-tsd.h: Don't handle !USE___THREAD.
85584         * elf/dl-libc.c: Likewise.
85585         * elf/dl-tsd.c: Likewise.
85586         * include/errno.h: Likewise.
85587         * include/netdb.h: Likewise.
85588         * include/resolv.h: Likewise.
85589         * inet/herrno-loc.c: Likewise.
85590         * inet/herrno.c: Likewise.
85591         * malloc/arena.c: Likewise.
85592         * malloc/hooks.c: Likewise.
85593         * malloc/malloc.c: Likewise.
85594         * resolv/res-state.c: Likewise.
85595         * resolv/res_libc.c: Likewise.
85596         * sysdeps/i386/dl-machine.h: Likewise.
85597         * sysdeps/ia64/dl-machine.h: Likewise.
85598         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
85599         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
85600         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
85601         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
85602         * sysdeps/sh/dl-machine.h: Likewise.
85603         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
85604         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
85605         * sysdeps/unix/i386/sysdep.S: Likewise.
85606         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
85607         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
85608         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
85609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
85610         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
85611         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
85612         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
85613         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
85614         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85615         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
85616         * sysdeps/unix/x86_64/sysdep.S: Likewise.
85617         * sysdeps/x86_64/dl-machine.h: Likewise.
85618         * tls.make.c: Likewise.
85620         * configure.in: Remove --with-__thread option.  Make tests for
85621         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
85622         tls_model attribute fail if no support is available.  Remove
85623         USE_IN_LIBIO.
85624         * Makeconfig: Adjust for dropped configure option.  All features are
85625         now mandatory.
85626         * Makerules: Likewise.
85627         * Versions.def: Likewise.
85628         * argp/argp-fmtstream.c: Likewise.
85629         * argp/argp-fmtstream.h: Likewise.
85630         * argp/argp-help.c: Likewise.
85631         * assert/assert.c: Likewise.
85632         * config.h.in: Likewise.
85633         * config.make.in: Likewise.
85634         * configure: Likewise.
85635         * configure.in: Likewise.
85636         * csu/Versions: Likewise.
85637         * csu/init.c: Likewise.
85638         * elf/tst-audit2.c: Likewise.
85639         * elf/tst-tls10.c: Likewise.
85640         * elf/tst-tls10.h: Likewise.
85641         * elf/tst-tls11.c: Likewise.
85642         * elf/tst-tls12.c: Likewise.
85643         * elf/tst-tls14.c: Likewise.
85644         * elf/tst-tlsmod11.c: Likewise.
85645         * elf/tst-tlsmod12.c: Likewise.
85646         * elf/tst-tlsmod13.c: Likewise.
85647         * elf/tst-tlsmod13a.c: Likewise.
85648         * elf/tst-tlsmod14a.c: Likewise.
85649         * elf/tst-tlsmod15b.c: Likewise.
85650         * elf/tst-tlsmod16a.c: Likewise.
85651         * elf/tst-tlsmod16b.c: Likewise.
85652         * elf/tst-tlsmod7.c: Likewise.
85653         * elf/tst-tlsmod8.c: Likewise.
85654         * elf/tst-tlsmod9.c: Likewise.
85655         * gmon/gmon.c: Likewise.
85656         * grp/fgetgrent_r.c: Likewise.
85657         * grp/putgrent.c: Likewise.
85658         * hurd/fopenport.c: Likewise.
85659         * include/libc-symbols.h: Likewise.
85660         * include/tls.h: Likewise.
85661         * intl/gettextP.h: Likewise.
85662         * intl/loadinfo.h: Likewise.
85663         * locale/global-locale.c: Likewise.
85664         * locale/localeinfo.h: Likewise.
85665         * mach/devstream.c: Likewise.
85666         * malloc/arena.c: Likewise.
85667         * malloc/set-freeres.c: Likewise.
85668         * misc/err.c: Likewise.
85669         * misc/getttyent.c: Likewise.
85670         * misc/mntent_r.c: Likewise.
85671         * posix/getopt.c: Likewise.
85672         * posix/wordexp.c: Likewise.
85673         * pwd/fgetpwent_r.c: Likewise.
85674         * resolv/Versions: Likewise.
85675         * resolv/res_hconf.c: Likewise.
85676         * shadow/fgetspent_r.c: Likewise.
85677         * shadow/putspent.c: Likewise.
85678         * stdio-common/printf_fphex.c: Likewise.
85679         * stdio-common/tmpfile.c: Likewise.
85680         * stdlib/abort.c: Likewise.
85681         * stdlib/fmtmsg.c: Likewise.
85682         * sunrpc/auth_unix.c: Likewise.
85683         * sunrpc/clnt_perr.c: Likewise.
85684         * sunrpc/clnt_tcp.c: Likewise.
85685         * sunrpc/clnt_udp.c: Likewise.
85686         * sunrpc/clnt_unix.c: Likewise.
85687         * sunrpc/openchild.c: Likewise.
85688         * sunrpc/svc_simple.c: Likewise.
85689         * sunrpc/svc_tcp.c: Likewise.
85690         * sunrpc/svc_udp.c: Likewise.
85691         * sunrpc/svc_unix.c: Likewise.
85692         * sunrpc/xdr.c: Likewise.
85693         * sunrpc/xdr_array.c: Likewise.
85694         * sunrpc/xdr_rec.c: Likewise.
85695         * sunrpc/xdr_ref.c: Likewise.
85696         * sunrpc/xdr_stdio.c: Likewise.
85698 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85700         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85702 2011-07-03  Andreas Jaeger  <aj@suse.de>
85704         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
85705         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
85706         regenerate with gen-libm-tests.pl.
85708 2010-05-12  Petr Baudis  <pasky@suse.cz>
85710         [BZ #11589]
85711         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
85712         around j0() zero points by switching to j1().
85713         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85714         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
85716         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85718 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85720         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
85721         instead of 0.
85722         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
85723         instead of 0.
85724         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
85725         Patch in part by Pavel Roskin <proski@gnu.org>.
85727         [BZ #13138]
85728         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
85729         realloc.
85730         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
85731         Free memory block if necessary.
85733         [BZ #12847]
85734         * libio/genops.c (INTDEF): For string streams the _lock pointer can
85735         be NULL.  Don't lock in this case.
85737 2011-09-09  Roland McGrath  <roland@hack.frob.com>
85739         * elf/elf.h (ELFOSABI_GNU): New macro.
85740         (ELFOSABI_LINUX): Define to that.
85742 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
85744         * string/strncat.c (strncat): Undef the symbol in case it has been
85745         defined in bits/string.h.
85747 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
85749         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
85751         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
85752         link map.
85754 2011-08-17  Andreas Jaeger  <aj@suse.de>
85756         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
85758 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
85759             Ian Lance Taylor  <iant@google.com>
85761         * math/libm-test.inc (lround_test): New testcase.
85762         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
85764 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
85766         * Makefile: Remove support for automatic cvs check-ins.
85767         * Makerules: Likewise.
85768         * config.make.in: Likewise.
85769         * configure.in: Likewise.
85770         * intl/Makefile: Likewise.
85771         * locale/Makefile: Likewise.
85772         * po/Makefile: Likewise.
85773         * posix/Makefile: Likewise.
85774         * sysdeps/gnu/Makefile: Likewise.
85775         * sysdeps/mach/hurd/Makefile: Likewise.
85776         * sysdeps/sparc/sparc32/Makefile: Likewise.
85778         [BZ #13118]
85779         * posix/Makefile (bug-regex32-ENV): Define.
85780         Patch by John Stanley <jpsinthemix@verizon.net>.
85782         * misc/Makefile (headers): Add bits/select2.h.
85783         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
85784         * misc/bits/select2.h: New file.
85785         * include/bits/select2.h: New file.
85786         * debug/Makefile (routines): Add fdelt_chk.
85787         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
85788         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
85789         FD_ISSET.
85790         * debug/fdelt_chk.c: New file.
85792         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
85793         * wcsmbs/test-wmemcmp.c: Likewise.
85794         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
85795         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
85797 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85799         * string/Makefile (strop-tests): Add memcmp.
85800         * string/test-wmemcmp.c: New file.
85801         * string/test-memcmp.c: Add wmemcmp support.
85803 2011-09-08  Roland McGrath  <roland@hack.frob.com>
85805         [BZ #13153]
85806         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
85807         2011-07-19 change.
85809         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
85810         garbage value in a __mach_port_mod_refs call in the cases of the
85811         task-self and thread-self ports.
85813 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85815         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
85817 2011-09-08  Andreas Schwab  <schwab@redhat.com>
85819         * elf/dl-load.c (lose): Check for non-null L.
85821 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85823         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
85825         * elf/dl-libc.c (dlerror_run): Pass back error code from
85826         dl_catch_error.
85828         [BZ #13123]
85829         * elf/dl-load.c (lose): Free l_origin if it is valid.
85831         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
85832         names.
85833         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
85834         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85835         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85836         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85837         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
85838         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
85840 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85842         * sysdeps/powerpc/fpu/e_hypot.c: New file.
85843         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
85844         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
85845         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
85846         * sysdeps/powerpc/fpu/k_cosf.c: New file.
85847         * sysdeps/powerpc/fpu/k_sinf.c: New file.
85848         * sysdeps/powerpc/fpu/s_cosf.c: New file.
85849         * sysdeps/powerpc/fpu/s_sinf.c: New file.
85850         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
85851         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
85853 2011-08-15  Alan Modra  <amodra@gmail.com>
85855         [BZ #13092]
85856         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
85857         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
85858         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
85859         ppc_mcount to static-only-routines.
85860         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
85861         __mcount_internal.
85862         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
85863         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
85865 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
85867         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
85868         for finite and infinity parameters.
85870 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
85872         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
85873         and add nop instructions for throughput optimization.
85874         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
85876 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
85878         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
85879         aligned copy for power7 with vector-scalar instructions.
85880         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
85882 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
85884         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
85885         AVX check.
85887 2011-09-07  Andreas Schwab  <schwab@redhat.com>
85889         [BZ #13144]
85890         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
85891         last change.
85893 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
85895         * sysdeps/unix/sysv/linux/x86_64/init-first.c
85896         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
85897         syscall wrapper around clock_gettime in __vdso_clock_gettime.
85898         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
85899         clock_gettime.
85901 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85903         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
85904         Forgot to demangle the pointer.
85906         * sysdeps/i386/sysdep.h: Define atom_text_section.
85907         * sysdeps/x86_64/sysdep.h: Likewise.
85908         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
85909         section with atom_text_section.
85910         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
85911         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
85912         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
85913         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85914         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
85916         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
85917         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
85918         already be defined.  Change to take two parameters and don't assign
85919         result to variable.  Adjust all users.
85920         Define INTERNAL_GETTIME if not already defined.
85921         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
85922         call.
85923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
85924         HAVE_CLOCK_GETTIME_VSYSCALL.
85925         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
85927         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
85928         gettimeofday vsyscall, just use time.
85930 2011-09-06  Andreas Schwab  <schwab@redhat.com>
85932         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
85933         <errno.h>.
85935 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
85937         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
85938         syscall on x86-64.
85939         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
85940         syscall.
85941         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
85942         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
85943         syscall if possible.
85945 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85947         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85948         e_ident.  Don't pass to find_mapsXX.
85949         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85951 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85953         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85954         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85955         * sysdeps/x86_64/multiarch/strchr.S: Update.
85956         Check bit_slow_BSF bit.
85957         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85958         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85959         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85961 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85963         [BZ #13134]
85964         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85965         before glibc 2.15.
85966         (tryshell): Define.
85967         (__spawni): Change last parameter to be flag.  Test
85968         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85969         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85970         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85971         * posix/spawni.c: Likewise.
85972         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85973         * posix/spawnp.c: Likewise.  Change normal version to use
85974         SPAWN_XFLAGS_USE_PATH.
85975         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85976         SPAWN_XFLAGS_TRY_SHELL.
85978         [BZ #13150]
85979         * posix/glob.h: Remove gcc 1.x support.
85981         [BZ #13068]
85982         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85984 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85986         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85987         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85988         strrchr-sse2-bsf
85989         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85990         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85991         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85992         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85993         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85994         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85996 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85998         * sysdeps/x86_64/wcscmp.S: New file.
86000         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86001         wcscmp-c wcscmp-sse2
86002         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86003         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86004         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86005         * wcsmbs/wcscmp.c: Allow renaming.
86007 2011-09-05  David S. Miller  <davem@davemloft.net>
86009         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86010         stack slot, rather than the struct return pointer slot.
86011         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86012         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86014         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86016 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86018         * po/ja.po: Update from translation team.
86020         [BZ #13144]
86021         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86022         kernel in 64-bit binaries.
86024 2011-09-01  David S. Miller  <davem@davemloft.net>
86026         * elf/elf.h (HWCAP_SPARC_*): Move to..
86027         * sysdeps/sparc/sysdep.h: this new file and add new values.
86028         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86029         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86030         _DL_HWCAP_COUNT to 24.
86031         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86032         entries.
86033         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86034         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86035         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86036         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86037         instead of magic constants.
86038         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86040 2011-08-31  David S. Miller  <davem@davemloft.net>
86042         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86043         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86044         Reimplement to do errno handling inline.
86045         (SYSCALL_ERROR_HANDLER): New macro.
86046         (__SYSCALL_STRING): Do not do errno handling in asm.
86047         (__CLONE_SYSCALL_STRING): Delete.
86048         (__INTERNAL_SYSCALL_STRING): Delete.
86049         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86050         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86051         (PSEUDO): Reimplement to do errno handling inline.
86052         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86053         (SYSCALL_ERROR_HANDLER): New macro.
86054         (__SYSCALL_STRING): Do not do errno handling in asm.
86055         (__CLONE_SYSCALL_STRING): Delete.
86056         (__INTERNAL_SYSCALL_STRING): Delete.
86057         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86058         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86059         i386.
86060         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86061         (inline_syscall*): Add 'err' argument.
86062         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86063         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86064         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86065         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86067         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86068         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86070 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86072         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86074 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86076         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86077         directive.
86079 2011-08-24  David S. Miller  <davem@davemloft.net>
86081         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86083 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86085         * elf/Makefile: Add rules to build and run unload8 test.
86086         * elf/unload8.c: New file.
86087         * elf/unload8mod1.c: New file.
86088         * elf/unload8mod1x.c: New file.
86089         * elf/unload8mod2.c: New file.
86090         * elf/unload8mod3.c: New file.
86092         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86093         it wasn't used.
86095 2011-08-23  David S. Miller  <davem@davemloft.net>
86097         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86098         subtract stack bias.
86099         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86100         %sp not %fp in calculations.
86101         (_JMPBUF_UNWINDS_ADJ): Likewise.
86103         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86104         (aio_suspend): Call it to force an exception region around the
86105         AIO_MISC_WAIT() invocation.
86107 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86109         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86110         backslash.
86112 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86114         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86115         protection macro.
86116         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86117         and <dl-machine.h>.
86118         (Elf64_FuncDesc): Remove.
86120 2011-08-22  David S. Miller  <davem@davemloft.net>
86122         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86123         sigaltstack check, add missing cfi directives.
86124         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86125         missing cfi directives, and sigaltstack handling.
86127 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86129         [BZ #11724]
86130         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86131         object is seen twice.
86132         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86134         * elf/Makefile (distribute): Add tst-initorder2.c.
86135         (tests): Add tst-initorder2.
86136         (modules-names): Add tst-initorder2a tst-initorder2b
86137         tst-initorder2c tst-initorder2d.  Add rules to build them.
86138         ($(objpfx)tst-initorder2.out): New rule.
86139         * elf/tst-initorder2.c: New file.
86140         * elf/tst-initorder2.exp: New file.
86142 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86144         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86146         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86147         dependencies back to end of function.
86149         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86150         $(elfobjdir)/ld.so.
86152 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86154         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86155         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86157         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86158         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86159         of __vdso_gettimeofday.
86160         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86161         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86162         attribute_hidden.
86163         (_libc_vdso_platform_setup): Remove initialization of
86164         __vdso_gettimeofday and __vdso_time.
86166 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86168         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86169         and fgetc_unlocked.
86170         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86171         getc_unlocked.
86173         * elf/dl-open.c (add_to_global): Report additions to the global scope
86174         for LD_DEBUG=scopes.
86175         (dl_open_worker): Also print scope of newly loaded dependencies.
86176         (_dl_show_scope): Indicate if there is no scope.
86178         [BZ #13114]
86179         * stdio-common/Makefile (tests): Add bug24.
86180         * stdio-common/bug24.c: New file.
86182 2011-08-19  Andreas Jaeger  <aj@suse.de>
86184         [BZ #13114]
86185         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86186         non-existant file when using close-on-exec mode.
86188 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86190         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86191         the very first instruction.
86193         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86194         the CFI state in the end.
86195         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86196         inclusion of dl-trampoline.h.
86197         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86199 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86201         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86202         expectations for long double.
86204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86205         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86207 2011-08-14  David S. Miller  <davem@davemloft.net>
86209         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86210         artificual limit depends upon the system page size.
86212 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86214         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86215         * resolv/Makefile: Define CFLAGS-libresolv.
86217 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86219         * nss/makedb.c (compute_tables): Make variables used in nested
86220         function static.
86222 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86224         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
86225         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
86226         if buffer was too small.
86228         * elf/pldd.c (main): Attach to all threads in the process.
86229         Rewrite /proc handling to use *at functions.
86231 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
86233         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
86234         specifies first scope to show.
86235         (dl_open_worker): Update callers.  Move printing scope of new
86236         object to before the relocation.
86237         * elf/rtld.c (dl_main): Update _dl_show_scope call.
86238         * sysdeps/generic/ldsodefs.h: Update declaration.
86240         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
86241         string for the scope number.
86243 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
86245         * nscd/servicescache.c (cache_addserv): Make sure written is always
86246         initialized.
86248 2011-08-14  Roland McGrath  <roland@hack.frob.com>
86250         * sysdeps/i386/i486/bits/atomic.h
86251         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
86252         statement expression, so as to suppress "set but not used" warning.
86253         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
86255         * string/strncat.c (STRNCAT): Use prototype definition.
86257         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
86258         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
86259         -Iprograms here.
86260         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
86261         (localedef-modules): Add localedef.
86262         (locale-modules): Add locale.
86264         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
86265         * elf/rtld.c (dl_main): Invert order of assignment in last change,
86266         to avoid a warning.
86268 2011-08-14  David S. Miller  <davem@davemloft.net>
86270         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
86271         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
86273 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
86275         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
86276         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
86277         * elf/rtld.c (dl_main): Set l_name of vDSO.
86278         Call _dl_show_scope when DL_DEBUG_SCOPES.
86279         (process_dl_debug): Recognize scopes flag and also set it for all.
86280         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
86281         Declare _dl_show_scope.
86283         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
86284         (do_dlopen): Pass caller_dlopen to dl_open.
86285         (__libc_dlopen_mode): Initialize caller_dlopen.
86287         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
86288         of libc.  Make tolower call locale-independent.  Optimize a bit by
86289         using isdigit instead of isalnum.
86290         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
86292 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
86294         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
86295         was a dependency or dynamically loaded.
86297 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
86299         * intl/l10nflist.c: Allow architecture-specific pop function.
86300         * sysdeps/x86_64/l10nflist.c: New file.
86302         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
86303         classification.
86305 2011-08-10  Andreas Schwab  <schwab@redhat.com>
86307         * include/dirent.h: Add libc_hidden_proto for scandirat and
86308         scandirat64.  Don't declare __scandirat64.
86309         * dirent/scandirat.c: Add libc_hidden_def.
86310         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
86311         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
86313 2011-08-10  David S. Miller  <davem@davemloft.net>
86315         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
86316         enum.
86317         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86318         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86319         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86321 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
86323         * Versions.def [libc]: Add GLIBC_2.15.
86324         * dirent/Makefile (routines): Add scandirat and scandirat64.
86325         * dirent/Versions [libc]: Export scandirat and scandirat64 for
86326         GLIBC_2.15.
86327         * dirent/dirent.h: Declare scandirat and scandirat64.
86328         * dirent/scandirat.c: New file.
86329         * dirent/scandirat64.c: New file.
86330         * sysdeps/wordsize-64/scandirat.c: New file.
86331         * sysdeps/wordsize-64/scandirat64.c: New file.
86332         * dirent/opendir.c: Define opendirat.
86333         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
86334         using scandirat.
86335         * dirent/scandir64.c: Adjust for scandir.c change.
86336         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
86337         __scandirat64, and __scandir_cancel_handler.
86338         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
86339         additional parameter and use openat instead of open (outside of ld.so).
86340         Add new __opendir as wrapper around __opendirat.
86341         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
86342         here without requiring old scandirat implementation.
86344 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
86346         * dirent/scandir.c (cancel_handler): Renamed to
86347         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
86348         defined.  Adjust users.
86349         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
86350         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
86352 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
86354         * string/test-string.h (IMPL): Use __STRING to expand name and then
86355         stringify it.
86357         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
86358         of cleanups.
86360 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86362         * string/Makefile: Update.
86363         (strop-tests): Append strncat.
86364         * string/test-wcscmp.c: New file.
86365         New comprehensive test for wcscmp.
86366         * string/test-strcmp.c: Update.
86367         (WIDE): New define.
86369 2011-07-22  Andreas Schwab  <schwab@redhat.com>
86371         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
86372         line.
86374 2011-07-26  Andreas Schwab  <schwab@redhat.com>
86376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
86377         encoding to ACE if AI_IDN.
86379 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
86381         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
86382         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
86384 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86386         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
86387         Fix overflow bug in strncat.
86388         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
86390         * string/test-strncat.c: Update.
86391         Add new tests for checking overflow bugs.
86393 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86395         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86396         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
86397         * sysdeps/i386/i686/multiarch/strcat.S: New file.
86398         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
86399         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
86400         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
86401         * sysdeps/i386/i686/multiarch/strncat.S: New file.
86402         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
86403         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
86405         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
86406         (USE_AS_STRCAT): Define.
86407         Add strcat and strncat support.
86408         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86410 2011-07-25  Andreas Schwab  <schwab@redhat.com>
86412         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
86413         __n bigger than INT_MAX+1.
86414         (__strncmp_g): Likewise.
86416 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
86418         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
86419         * libio/stido.h: Likewise.
86421         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
86422         (AF_NFC): Define.
86423         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
86424         (AF_NFC): Define.
86426         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
86427         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
86428         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
86429         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
86430         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
86432         [BZ #13021]
86433         * scripts/test-installation.pl: Don't expect libnss_test1 to be
86434         installed.
86436         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
86437         typo.
86438         (_dl_x86_64_save_sse): Likewise.
86440 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
86442         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
86443         OSXSAVE.
86444         (_dl_x86_64_save_sse): Likewise.
86446         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
86448         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
86450 2011-07-21  Andreas Schwab  <schwab@redhat.com>
86452         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
86453         change.
86454         (_dl_x86_64_save_sse): Use correct AVX check.
86456 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86458         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
86459         bug in strncpy/strncat.
86460         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
86462 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
86464         * string/tester.c (test_strcat): Add tests for different alignments
86465         of source and destination.
86466         (test_strncat): Likewise.
86468 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86470         [BZ #12852]
86471         * posix/glob.c (glob): Check passed in values before using them in
86472         expressions to avoid some overflows.
86473         (glob_in_dir): Likewise.
86475         [BZ #13007]
86476         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
86477         check for AVX enablement so that we don't crash with old kernels and
86478         new hardware.
86479         * elf/tst-audit4.c: Add same checks here.
86480         * elf/tst-audit6.c: Likewise.
86482         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
86484 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
86486         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
86488 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
86490         * po/cs.po: Update from translation team.
86491         * po/bg.po: Likewise.
86493 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
86495         * misc/sys/cdefs.h: Add support for const attribute.
86496         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
86497         to gnu_dev_{major,minor,makedev} functions.
86499 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
86501         * intl/dcigettext.c (get_output_charset): Add missing bracket.
86503 2011-07-20  Andreas Schwab  <schwab@redhat.com>
86505         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
86506         strlen results.
86508 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
86511         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
86512         register in order to avoid conflicts with the soft frame pointer
86513         being held in r11 when necessary.
86514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
86515         (INTERNAL_VSYSCALL_NCS): Likewise.
86517 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
86519         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
86520         * elf/dl-fini.c (_dl_fini): Adjust caller.
86521         * elf/dl-close.c (_dl_close_worker): Likewise.
86522         * sysdeps/generic/ldsodefs.h: Adjust declaration.
86524 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86526         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
86527         "aux_cache->nlibs < 0".
86529         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
86530         in the reload-count case.
86532 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86535         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
86536         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
86537         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
86538         * sysdeps/x86_64/multiarch/strcat.S: New file.
86539         * sysdeps/x86_64/multiarch/strncat.S: New file.
86540         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
86541         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
86542         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
86543         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
86544         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
86545         (USE_AS_STRCAT): Define.
86546         Add strcat and strncat support.
86547         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86548         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
86549         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
86550         * string/strncat.c: Update.
86551         (USE_AS_STRNCAT): Define.
86552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86553         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
86554         and i7.
86555         * sysdeps/x86_64/multiarch/init-arch.h
86556         (bit_Prefer_PMINUB_for_stringop): New.
86557         (index_Prefer_PMINUB_for_stringop): Likewise.
86558         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
86559         bit_Prefer_PMINUB_for_stringop.
86561 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86563         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
86564         buffer64.
86565         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
86566         of casting of buffer.
86567         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
86568         buffer32 and buffer64.
86569         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
86570         writes instead of casting of buffer.
86571         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
86572         buffer32.
86573         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
86574         casting of buffer.
86576 2011-07-19  Andreas Schwab  <schwab@redhat.com>
86578         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
86580 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
86582         * nscd/nscd.c (termination_handler): Don't do anything for a database
86583         if it has not yet been initialized.
86585 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86587         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86589 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
86591         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
86593 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
86595         * po/nl.po: Update from translation team.
86596         * po/sv.po: Likewise.
86598 2011-07-16  Roland McGrath  <roland@hack.frob.com>
86600         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
86601         now disallowed by GCC.
86603         * configure.in (use-default-link): Default to yes if a test -shared
86604         link meets our qualifications.
86605         * configure: Regenerated.
86607         * config.make.in (output-format): New variable.
86608         * configure.in: Check for ld --print-output-format support.
86609         * configure: Regenerated.
86610         * Makerules ($(common-objpfx)format.lds)
86611         [$(output-format) != unknown]: Just use $(output-format),
86612         instead of the linker-script munging.
86614 2011-07-14  Roland McGrath  <roland@hack.frob.com>
86616         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
86617         of $(common-objpfx)shlib.lds.
86618         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
86620         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
86621         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
86623         * configure.in (-z relro check): Adjust test code to add a large
86624         writable data section after it.
86625         * configure: Regenerated.
86627 2011-07-11  Roland McGrath  <roland@hack.frob.com>
86629         * configure.in (-z relro check): Fix test code to make the variable
86630         truly const.
86631         * configure: Regenerated.
86633 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
86635         * nscd/nscd.h (struct traced_file): Define.
86636         (struct database_dyn): Remove inotify_descr, reset_res, and filename
86637         elements.  Add traced_files.
86638         (inotify_fd): Declare.
86639         (register_traced_file): Declare.
86640         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
86641         (inotify_fd): Export.
86642         (resolv_conf_descr): Remove.
86643         (nscd_init): Move inotify descriptor creation to main.
86644         Don't register files for notification here.
86645         (register_traced_file): New function.
86646         (invalidate_cache): Don't use reset_res to determine whether to call
86647         res_init, go through the list of registered files.
86648         (main_loop_poll): The inotify descriptors are now stored in the
86649         structures for the traced files.
86650         (main_loop_epoll): Likewise.
86651         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
86652         to __nss_disable_nscd.
86653         * nscd/cache.c (prune_cache): There is no single inotify descriptor
86654         for a database anymore.  Check the records for all the registered
86655         files instead.
86656         * nss/Makefile (libnss_files-routines): Add files-init.
86657         (libnss_db-routines): Add db-init.
86658         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
86659         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
86660         * nss/nss_db/db-init.c: New file.
86661         * nss/nss_files/files-init.c: New file.
86662         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
86663         __nss_lookup_function.
86664         (__nss_lookup_function): Call nss_load_library.
86665         (nss_load_all_libraries): New function.
86666         (__nss_disable_nscd): Take parameter with callback function for files
86667         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
86668         used for the cached services.
86669         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
86670         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
86671         options for features to all the files in nscd.
86673         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
86675 2011-07-10  Roland McGrath  <roland@hack.frob.com>
86677         * csu/elf-init.c (__libc_csu_init): Comment typo.
86679 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
86681         * po/pl.po: Update from translation team.
86682         * po/ja.po: Likewise.
86683         * po/ru.po: Likewise.
86684         * po/ko.po: Likewise.
86685         * po/fr.po: Likewise.
86687 2011-07-09  Roland McGrath  <roland@hack.frob.com>
86689         * configure.in (.ctors/.dtors header and trailer check):
86690         Use an empirical test on a built program.
86691         * configure: Regenerated.
86693         * configure.in (-z relro check): Use an empirical test on a built DSO.
86694         Detect, but do not require, on ia64.
86695         * configure: Regenerated.
86697         * configure.in (READELF): Find it with AC_CHECK_TOOL.
86698         Update tests that use readelf to use $READELF instead.
86699         * configure: Regenerated.
86701 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
86703         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
86704         if the result is not used.
86706 2011-07-05  Andreas Jaeger  <aj@suse.de>
86708         [BZ #9696]
86709         * stdlib/tst-strtod.c: Add testcase.
86711 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
86713         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
86714         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
86715         The latter has a higher limit.  Take additional parameter to pass to
86716         the new function.
86717         (__pathconf): Pass file to __statfs_link_max.
86718         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
86719         __statfs_link_max.
86720         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
86721         __statfs_link_max.
86723         [BZ #12868]
86724         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
86725         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
86726         Handle Lustre.
86727         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
86728         (__statfs_filesize_max): Likewise.
86729         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
86731 2011-07-05  Andreas Jaeger  <aj@suse.de>
86733         * resolv/res_comp.c (dn_skipname): Remove unused variable.
86735 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
86737         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
86738         `status' variable.
86739         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
86740         Likewise.
86742 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
86744         * Makefile (strop-tests): Add strncat.
86745         * string/test-strncat.c: New file.
86747 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
86749         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
86751 2011-06-21  Andreas Jaeger  <aj@suse.de>
86753         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
86754         Copy rule from iconvdata/Makefile.
86756 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86758         [BZ #12922]
86759         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
86760         but no long options are defined, just return 'W'.
86762 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
86764         [BZ #9696]
86765         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
86767 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
86769         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
86770         netgroups to read.
86771         (innetgr): Likewise.
86773 2011-07-05  Roland McGrath  <roland@hack.frob.com>
86775         * config.make.in (install_root): Default to $(DESTDIR).
86777 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
86779         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
86781 2011-07-02  Roland McGrath  <roland@hack.frob.com>
86783         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
86785         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
86786         containing directory rather than embedding absolute directory names.
86788         * scripts/check-local-headers.sh: Rewritten using awk.
86789         Match by word, not by line.  Print error messages for matches.
86790         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
86792         * Makerules [shlib-lds-flags empty]:
86793         ($(common-objpfx)libc_pic.opts): New target.
86794         ($(common-objpfx)libc_pic.os.clean): New target.
86795         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
86797         * config.make.in (OBJCOPY): New variable.
86798         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
86799         * configure: Regenerated.
86801         * config.make.in (use-default-link): New variable.
86802         * configure.in (use_default_link): Grok --with-default-link to set it.
86803         * configure: Regenerated.
86804         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
86805         (shlib-lds, shlib-lds-flags): Define to empty.
86807         * Makerules (shlib-lds): New variable.
86808         (shlib-lds-flags): New variable.
86809         (build-shlib, build-moduile, build-module-asneeded): Use it.
86810         ($(common-objpfx)libc.so): Use $(shlib-lds).
86811         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
86812         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
86814         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
86815         DT_FLAGS/DT_FLAGS_1 with zero flags.
86817         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
86818         linker script munging.
86820 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
86822         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
86823         as 128-bit value.
86824         * crypt/sha512.c (sha512_process_block): Perform total addition using
86825         128-bit if possible.
86826         (__sha512_finish_ctx): Likewise.
86827         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
86828         as 64-bit value.
86829         * crypt/sha256.c (SWAP64): Define.
86830         (sha256_process_block): Perform total addition using 64-bit if
86831         possible.
86832         (__sha256_finish_ctx): Likewise.
86834 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
86836         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
86837         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86838         * nscd/hstcache.c (cache_addhst): Likewise.
86839         * nscd/grpcache.c (cache_addgr): Likewise.
86840         * nscd/aicache.c (addhstaiX): Likewise.
86841         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
86843 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
86845         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
86846         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86847         * nscd/hstcache.c (cache_addhst): Likewise.
86848         * nscd/grpcache.c (cache_addgr): Likewise.
86849         * nscd/aicache.c (addhstaiX): Likewise.
86851 2011-07-01  Andreas Schwab  <schwab@redhat.com>
86853         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
86854         domain only when needed.
86856 2011-06-30  Andreas Schwab  <schwab@redhat.com>
86858         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
86859         is always restored.
86861 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
86863         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
86864         are re-adding the entry.
86865         * nscd/servicescache.c (cache_addserv): Likewise.
86867 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
86869         * sysdeps/generic/dl-irel.h: fix protection against multiple
86870         inclusions.
86871         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
86873 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
86875         [BZ #12935]
86876         * malloc/memusage.sh: Fix quoting in message.
86877         * debug/xtrace.sh: Likewise.
86879         * configure.in: Remove support for --experimental-malloc option, make
86880         it the default.
86881         * config.make.in: Likewise.
86882         * malloc/Makefile: Likewise.
86884 2011-06-27  Andreas Schwab  <schwab@redhat.com>
86886         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
86887         two-byte characters.
86889 2011-06-27  Roland McGrath  <roland@hack.frob.com>
86891         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
86892         AC_CACHE_CHECK invocation.
86893         * configure: Regenerated.
86895         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
86897 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
86899         [BZ #12350]
86900         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
86901         bit from old_res_options.
86903         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
86905         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
86906         value type for setfct.
86908 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
86910         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86911         __gettimeofday instead of gettimeofday.
86913 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
86915         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
86917 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
86919         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
86921         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
86922         info.
86924 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86927         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86928         strcpy-sse2-unaligned strncpy-sse2-unaligned
86929         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
86930         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
86931         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
86932         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
86933         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
86934         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
86935         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
86936         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
86937         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
86938         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
86939         (STRCPY): Support SSE2 and SSSE3 versions.
86941 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
86943         [BZ #12874]
86944         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86945         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86946         kernels which artificially limit size of requests.
86948 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86951         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86952         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86953         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86954         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86955         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86956         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86957         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86958         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86959         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86960         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86961         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86962         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86963         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86964         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86966         Enable unaligned load optimization for Intel Core i3, i5 and i7
86967         processors.
86968         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86969         Define.
86970         (index_Fast_Unaligned_Load): Define.
86971         (HAS_FAST_UNALIGNED_LOAD): Define.
86973 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86975         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86977 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86979         [BZ #12907]
86980         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86981         until it is clear that the information is realy needed.
86982         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86984 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86988 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86990         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86991         /sys/devices/system/cpu/online if it is usable.
86993         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86994         reading the information from the /proc filesystem to once a second.
86996 2011-06-21  Andreas Jaeger  <aj@suse.de>
86998         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86999         NULL after inclusion of kernel headers.
87001 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87003         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87004         calls to internal_setent.
87006         [BZ #12885]
87007         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87008         addresses using gethostbyname4_r ignore IPv4 addresses.
87010         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87011         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87013         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87015 2011-06-20  David S. Miller  <davem@davemloft.net>
87017         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87018         inclusions.
87019         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87021         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87022         (elf_irel): Use it.
87023         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87024         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87025         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87026         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87027         * sysdeps/x86_64/dl-irel.h: Likewise.
87029         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87030         * elf/dl-sym.c: Likewise.
87032 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87034         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87035         need to dereference resplen2.
87037 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87039         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87041 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87043         * Makeconfig: Define vardbdir and inst_vardbdir.
87044         * nss/Makefile: Add rules to install db-Makefile.
87046         * nss/nss_db/db-XXX.c: Cleanup.
87048         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87049         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87050         GLIBC_PRIVATE.
87051         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87052         * nss/makedb.c: Implement -g option to specify that value strings
87053         are generated and should not be added to table iterated over for
87054         get*ent calls.
87055         * nss/nss_db/db-initgroups.c: New file.
87057         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87058         interface.
87060         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87061         (internal_getgrouplist): Adjust to name change.
87062         Update use_initgroups_entry if this is not the first call.
87063         * nss/databases.def: Add initgroups entry.
87065         * nss/makedb.c (compute_tables): Check result of multiple hash table
87066         sizes to minimize maximum chain length.
87068 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87070         * Versions.def: Add entry for libnss_db.
87071         * shlib-versions: Likewise.
87072         * nss/Makefile: Add rules to build libnss_db.
87073         * nss/Versions: Add libnss_db information.  Organize libnss_files
87074         entries better.
87075         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87076         makedb progra.  Some minor improvements to generate smaller files.
87077         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87078         here from...
87079         * nss/makedb.c: ...here.
87080         Improve database format to be smaller and require less memory at
87081         runtime.
87082         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87083         db anymore.
87084         * nss/nss_db/db-netgrp.c: Likewise.
87085         * nss/nss_db/db-open.c: Likewise.
87086         * nss/nss_files/flies-XXX.x: Adjust comments.
87087         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87088         * nss/nss_files/files-grp.c: Likewise.
87089         * nss/nss_files/files-hosts.c: Likewise.
87090         * nss/nss_files/files-network.c: Likewise.
87091         * nss/nss_files/files-proto.c: Likewise.
87092         * nss/nss_files/files-pwd.c: Likewise.
87093         * nss/nss_files/files-rpc.c: Likewise.
87094         * nss/nss_files/files-service.c: Likewise.
87095         * nss/nss_files/files-sgrp.c: Likewise.
87096         * nss/nss_files/files-spwd.c: Likewise.
87097         * nss/nss_db/db-alias.c: Removed.
87098         * nss/nss_db/dummy-db.h: Removed.
87100 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87102         * nss/makedb.c: Rewritten to not use database library.
87103         * nss/Makefile: Update to build new makedb program.
87105 2011-06-14  Andreas Jaeger  <aj@suse.de>
87107         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87108         memset declaration.
87110 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87113         tmpbuf.
87115 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87117         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87118         * elf/Makefile ($(objpfx)ld.so): Likewise.
87120         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87121         Don't list ld.so twice in dependencies.
87123         * posix/bug-regex31.c: Include <stdlib.h>.
87125         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87127         * nis/nss_compat/compat-spwd.c
87128         (getspent_next_nss_netgr): Remove unused variable.
87129         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87131         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87132         nonmembers" output to use the right array.
87134         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87136         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87138         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87139         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87140         * catgets/gencat.c (read_input_file): Likewise.
87141         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87143         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87144         variable definition inside #if's controlling its use.
87146         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87148         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87150         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87152         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87153         unreachable code.
87155         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87157         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87158         * configure: Regenerated.
87160         * Makerules: Revert last change.
87161         * elf/Makefile: Likewise.
87163 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87165         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87166         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87167         (reloc-link): Likewise.
87169 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87171         * elf/Makefile: Add rules to build pldd.
87172         * elf/pldd.c: New file.
87173         * elf/pldd-xx.c: New file.
87175 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87177         * version.h: Update for 2.15 development version.
87179 2011-06-07  David S. Miller  <davem@davemloft.net>
87181         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87182         ifuncs.
87183         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87184         elf_machine_lazy_rel): Likewise.
87185         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87186         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87187         elf_machine_lazy_rel): Likewise.
87188         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87189         dl_hwcap via passed in argument.
87190         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87191         Likewise.
87193 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87195         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87197 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87199         [BZ #12849]
87200         * manual/fdl-1.1.texi: New file, verbatim from:
87201         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87202         * manual/lgpl-2.1.texi: New file, verbatim from:
87203         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87204         * manual/Makefile (licenses): New variable, list those new file names.
87205         (texis): Use it.
87206         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87208         * manual/fdl.texi: File removed.
87209         * manual/lesser.texi: File removed.
87210         * manual/libc.texinfo (Copying, Documentation License):
87211         Use new @include file names, put @appendix directive before @include.
87213 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87215         [BZ #12841]
87216         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87217         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87218         (mq_open): Add __NTH.
87220 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87223         Assume Intel Core i3/i5/i7 processor if AVX is available.
87225 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87227         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
87228         typo.
87230 2011-05-31  Andreas Schwab  <schwab@redhat.com>
87232         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
87233         memory.  Use alloca_account.  Fix memory leak when retrying.
87235 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
87237         * version.h (RELEASE): Bump for 2.14 release.
87238         * include/features.h (__GLIBC_MINOR__): Bump to 14.
87240         * config.make.in (RANLIB): Remove entry.
87242 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
87244         * po/Makefile (po-sed-cmd): Add ksh to extensions.
87245         (libc.pot): Work around missing support for .ksh extension in xgettext.
87247         [BZ #12684]
87248         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
87249         if both request failed.
87250         (send_dg): In case of server errors clear resplen or *resplen2.
87252         [BZ #12454]
87253         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
87254         when there are multiple maps.
87255         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
87256         (_dl_fini): Remove test here.
87258         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
87260 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
87262         [BZ #12350]
87263         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
87264         bit from old_res_options.
87265         (gaih_inet): Likewise.
87267         [BZ #11099]
87268         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
87269         as signed.
87271         * resolv/res_init.c (res_setoptions): Make the code more compact.
87273         [BZ #11558]
87274         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
87275         set RES_USEVC.
87277         [BZ #11634]
87278         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
87280         * malloc/malloc.h: Mark malloc hook variables as deprecated.
87282         [BZ #11781]
87283         * malloc/malloc.h: Declare malloc hook variables as volatile.
87285         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
87286         in last patch.
87288         [BZ #11799]
87289         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
87290         raise in the comment.
87291         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87292         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87293         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
87295 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
87297         [BZ #12811]
87298         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
87299         grow the buffers more if it already has to be sufficient.
87300         (build_wcs_upper_buffer): Likewise.
87301         * posix/regexec.c (check_matching): Likewise.
87302         (clean_state_log_if_needed): Likewise.
87303         (extend_buffers): Don't enlarge buffers beyond size of the input
87304         buffer.
87305         Patches mostly by Emil Wojak <emil@wojak.eu>.
87306         * posix/bug-regex32.c: New file.
87307         * posix/Makefile (tests): Add bug-regex32.
87309         * locale/findlocale.c (_nl_find_locale): Return right away if
87310         _nl_explode_name failed.
87311         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
87313         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
87315         * debug/xtrace.sh: Unify messages.
87316         * malloc/memusage.sh: Likewise.
87318         [BZ #12813]
87319         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
87320         time symbol from vDSO.  Substitute with vsyscall if not available.
87321         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
87322         __vdso_time.
87324         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
87325         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
87326         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
87327         Add sendmmsg and internal_sendmmsg.
87328         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
87329         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
87330         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
87332         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
87333         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
87334         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
87336 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
87338         [BZ #12813]
87339         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
87340         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
87341         available.
87342         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
87343         __vdso_getcpu.
87345         [BZ #12814]
87346         * iconvdata/Makefile (tests): Add bug-iconv9.
87347         * iconvdata/bug-iconv9.c: New file.
87349 2011-05-27  Andreas Schwab  <schwab@redhat.com>
87351         [BZ #12814]
87352         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
87354 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
87356         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87357         (struct user_regs_struct): Change intcs field back to cs.
87359 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
87361         * po/ja.po: Update from translation team.
87363 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
87365         [BZ #12795]
87366         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
87367         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
87369 2011-05-20  Andreas Schwab  <schwab@redhat.com>
87371         * stdlib/longlong.h: Update from GCC.
87373 2011-05-23  Andreas Schwab  <schwab@redhat.com>
87375         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
87376         parameter name.
87377         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
87378         Add parameter name.
87379         (__sysconf): Pass it down.
87381 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
87383         [BZ #12671]
87384         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
87385         some situations.
87386         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
87387         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
87388         add in in __libc_use_alloca calls.  Adjust callers.
87389         (glob): Use malloc in some situations.
87391         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
87392         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
87393         pltexit.
87395 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
87397         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
87398         and CLOCK_BOOTTIME_ALARM.
87400         [BZ #12782]
87401         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
87402         is returned.
87404         * string/_strerror.c (__strerror_r): Print negative errors as signed
87405         numbers.
87407         [BZ #12777]
87408         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
87409         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
87410         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
87412         * configure.in: Fix typo in redirection and correct removal of test
87413         files in two cases.
87415         [BZ #12788]
87416         * locale/setlocale.c (new_composite_name): Fix test to check for
87417         identical name of all categories.
87419         [BZ #12792]
87420         * libio/filedoalloc.c (local_isatty): New function.
87421         (_IO_file_doallocate): Use local_isatty.
87422         * stdio-common/perror.c (perror): In case a new stream is used
87423         forward the stream error.
87424         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
87425         error flag.
87427 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
87429         [BZ #11884]
87430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
87431         alloca.
87432         * include/alloca.h (extend_alloca_account): Define.
87434         [BZ #11857]
87435         * posix/regex.h: Fix comments with documentation of user-accessible
87436         fields after compilation and describe correct free'ing of pattern
87437         after re_compile_pattern.
87438         Patch by Reuben Thomas <rrt@sc3d.org>.
87440 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
87442         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
87443         and -mno-altivec to prevent the compiler from using Altivec and/or
87444         VSX instructions when the corresponding registers are not available.
87446 2011-05-19  Andreas Schwab  <schwab@redhat.com>
87448         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
87450 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
87452         * libio/freopen.c (freopen): Use __dup2, not dup2.
87453         * libio/freopen64.c (freopen64): Likewise.
87455 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
87457         [BZ #12775]
87458         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
87459         * math/Makefile (tests): Add test-powl.
87460         (CFLAGS-test-powl.c): Define.
87461         * math/test-powl.c: New file.
87463 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
87465         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
87467 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
87469         [BZ #11837]
87470         * iconvdata/gb18030.c: Update to GB18020-2005.
87472 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
87474         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
87475         RE_SYNTAX_POSIX_AWK): Update to match recent development.
87476         Patch by Aharon Robbins <arnold@skeeve.com>.
87478         [BZ #11892]
87479         * stdlib/putenv.c (putenv): Don't always create copy of the variable
87480         on the stack.
87482         [BZ #11895]
87483         * misc/pselect.c (__pselect): Handle timeout value errors hidden
87484         through underflows.
87486         [BZ #12766]
87487         * misc/error.c (error_at_line): Ensure file_name and old_file_name
87488         point to strings before performing equality test for error_one_per_line
87489         mode.
87491         [BZ #11697]
87492         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
87494         [BZ #11820]
87495         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
87496         (struct user_fpregs_struct): Avoid __uint*_t types.
87498         [BZ #6420]
87499         * malloc/mtrace.c (tr_where): Add additional parameter to point to
87500         symbol info.  Use it instead of calling _dl_addr locally.
87501         (lock_and_info): New function.
87502         (tr_freehook): Call lock_and_info and pass symbol info as additional
87503         parameter to tr_where.
87504         (tr_mallochook): Likewise.
87505         (tr_reallochook): Likewise.
87506         (tr_memalignhook): Likewise.
87508         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
87509         used and couldn't be at all thread-safe.
87511 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
87513         * libio/freopen.c (freopen): Don't close old file descriptor
87514         before the new one is opened.  Instead dup the new file descriptor
87515         to the old one after the new stream is created.
87516         * libio/freopen64.c (freopen64): Likewise.
87517         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
87518         * libio/fileops.c (_IO_new_file_close_it): Handle new
87519         _IO_FLAGS2_NOCLOSE flag.
87520         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
87521         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
87522         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
87523         _IO_FLAGS2_NOCLOSE flag.
87524         * include/unistd.h: Add hidden_proto for dup3.
87525         Define __have_dup3.
87526         * io/dup3.c: Define hidden symbol.
87527         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
87529         [BZ #7101]
87530         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
87531         when an incomplete long option is used.
87532         * posix/tst-getopt_long1.c: New file.
87533         * posix/Makefile (tests): Add tst-getopt_long1.
87535         [BZ #10138]
87536         * scripts/config.guess: Update from autoconf-2.68.
87537         * scripts/config.sub: Likewise.
87539         [BZ #10157]
87540         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
87541         tests into ...
87542         (has_cpuclock): ...this.  New function.
87543         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
87544         macro here based on has_cpuclock code.
87546         [BZ #10149]
87547         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87548         First byte (not low byte) is now always NUL.
87549         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
87551         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
87552         Use non-cancelable interfaces.
87554         [BZ #9809]
87555         * locale/iso-639.def: Add entry for Sorani.
87557         [BZ #11901]
87558         * include/stdlib.h: Move include protection to the right place.
87559         Define abort_msg_s.  Declare __abort_msg with it.
87560         * stdlib/abort.c (__abort_msg): Adjust type.
87561         * assert/assert.c (__assert_fail_base): New function.  Majority
87562         of code from __assert_fail.  Allocate memory for __abort_msg with
87563         mmap.
87564         (__assert_fail): Now call __assert_fail_base.
87565         * assert/assert-perr.c: Remove bulk of implementation.  Use
87566         __assert_fail_base.
87567         * include/assert.hL Declare __assert_fail_base.
87568         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
87569         mmap.
87570         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
87572 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
87574         [BZ #11952]
87575         [BZ #12453]
87576         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
87577         until all modules are registered in the DTV.
87578         * elf/Makefile: Add rules to build and run tst-tls19.
87579         * elf/tst-tls19.c: New file.
87580         * elf/tst-tls19mod1.c: New file.
87581         * elf/tst-tls19mod2.c: New file.
87582         * elf/tst-tls19mod3.c: New file.
87583         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
87585         [BZ #12083]
87586         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
87587         correctly.
87589         [BZ #12601]
87590         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
87591         two-byte sequence errors.
87592         * iconvdata/Makefile (tests): Add bug-iconv8.
87593         * iconvdata/bug-iconv8.c: New file.
87595         [BZ #12626]
87596         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
87597         buf2 definition.
87599         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
87601         [BZ #12432]
87602         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
87603         (dummy_getcfa): New function.
87604         (init): Get _Unwind_GetCFA address, use dummy if not found.
87605         (backtrace_helper): In recursion check, also check whether CFA changes.
87606         (__backtrace): Completely initialize arg.
87608         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
87609         storing incomplete byte sequence in state object.  Avoid testing for
87610         guaranteed too small input if we know there is enough data available.
87612 2011-05-11  Andreas Schwab  <schwab@redhat.com>
87614         * Makeconfig (+link-pie): Indent.
87615         * Rules (binaries-pie): Define if $(have-fpie) and
87616         $(build-shared).
87617         (binaries-shared): Also filter out $(binaries-pie).
87618         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
87619         * nscd/Makefile (others-pie): Add nscd.
87620         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
87621         ($(objpfx)nscd): Remove command override.
87622         * login/Makefile (others-pie): Add pt_chown.
87623         ($(objpfx)pt_chown): Remove command override.
87624         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
87625         remove command overrides.
87627 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
87629         * libio/tst_putwc.c: Fix error messages.
87631         [BZ #12724]
87632         * libio/fileops.c (_IO_new_file_close_it): Always flush when
87633         currently writing and seek to current position when not.
87634         * libio/Makefile (tests): Add bug-fclose1.
87635         * libio/bug-fclose1.c: New file.
87637 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
87639         [BZ #12511]
87640         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
87641         don't set DF_1_NODELETE here.
87642         (do_lookup_x): When entering new entry test for copy relocation
87643         and if necessary set DF_1_NODELETE flag.
87644         * elf/tst-unique4.cc: New file.
87645         * elf/tst-unique4.h: New file.
87646         * elf/tst-unique4lib.cc: New file.
87647         * elf/Makefile: Add rules to build and run tst-unique4.
87648         Patch by Piotr Bury <pbury@goahead.com>.
87650 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
87652         [BZ #12052]
87653         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
87655         [BZ #12625]
87656         * misc/mntent_r.c (addmntent): Flush the stream after the output
87658         [BZ #12393]
87659         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
87660         (is_trusted_path_normalize): Skip initial colon.  Append slash
87661         to empty buffer.  Duplicate is_trusted_path code but allow
87662         constructed patch to be prefix.
87663         (is_dst): Allow $ORIGIN followed by /.
87664         (_dl_dst_substitute): Correct clearing of check_for_trusted.
87665         Correct testing of result of is_trusted_path_normalize
87666         (decompose_rpath): Fix warning.
87668 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
87670         [BZ #11257]
87671         * grp/initgroups.c (internal_getgrouplist): When we found the service
87672         list through the initgroups entry in nsswitch.conf do not always
87673         continue on a successful lookup.  Don't always use the
87674         __nss_group_database value if it is set.
87675         * nss/nsswitch.conf (initgroups): Change action for successful db
87676         lookup to continue for compatibility.
87678 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
87680         [BZ #11532]
87681         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
87682         and CP774 modules.
87683         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
87684         and CP774 modules.
87685         * iconvdata/tst-tables.sh: Likewise.
87686         * iconvdata/cp770.c: New file.
87687         * iconvdata/cp771.c: New file.
87688         * iconvdata/cp772.c: New file.
87689         * iconvdata/cp773.c: New file.
87690         * iconvdata/cp774.c: New file.
87691         * iconvdata/testdata/CP770: New file.
87692         * iconvdata/testdata/CP770..UTF8: New file.
87693         * iconvdata/testdata/CP771: New file.
87694         * iconvdata/testdata/CP771..UTF8: New file.
87695         * iconvdata/testdata/CP772: New file.
87696         * iconvdata/testdata/CP772..UTF8: New file.
87697         * iconvdata/testdata/CP773: New file.
87698         * iconvdata/testdata/CP773..UTF8: New file.
87699         * iconvdata/testdata/CP774: New file.
87700         * iconvdata/testdata/CP774..UTF8: New file.
87702         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
87703         END CHARMAP line.
87704         * iconvdata/gen-8bit-gap.sh: Likewise.
87705         * iconvdata/gen-8bit.sh: Likewise.
87707         * locale/iso-639.def: Add ary entry.
87709         [BZ #11258]
87710         * locale/C-translit.h.in: Add U20A1 transliteration.
87712         [BZ #12178]
87713         * locale/iso-639.def: Add wae entry.
87714         Patch by Kevin Bortis <bortis@translate-wae.ch>.
87716         [BZ #12545]
87717         * locale/programs/localedef.c (construct_output_path): Use ssize_t
87718         for n.
87720         [BZ #12711]
87721         * locale/C-translit.h.in: Add entry for U20B9.
87722         Patch by pravin.d.s@gmail.com.
87724 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
87726         [BZ #12713]
87727         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
87728         ENAMETOOLONG use generic getcwd.
87729         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
87730         in rtld.  Use *stat64.
87731         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
87732         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
87733         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
87734         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
87735         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
87736         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
87737         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
87738         __fstatat64 macros.
87739         * include/dirent.h: Add libc_hidden_proto for rewinddir.
87740         * dirent/rewinddir.c: Add libc_hidden_def.
87741         * sysdeps/mach/hurd/rewinddir.c: Likewise.
87742         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
87744         * include/dirent.h (__alloc_dir): Add flags parameter.
87745         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
87746         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
87747         __alloc_dir.
87748         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
87749         from fdopendir if O_CLOEXEC is already set.
87751 2011-03-15  Alan Modra  <amodra@gmail.com>
87753         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
87754         l_tls_firstbyte_offset non-zero.  Save padding offset in
87755         l_tls_firstbyte_offset for later use.
87756         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
87757         freeing static tls block.
87759 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
87761         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
87762         where #ifdef was intended.  The intent is to prevent ARG_MAX from
87763         being defined by the kernel headers.
87765 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
87767         [BZ #12734]
87768         * resolv/resolv.h: Define RES_NOTLDQUERY.
87769         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
87770         no-tld-query and set RES_NOTLDQUERY.
87771         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
87772         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
87773         modern BIND to search name as TLD unless forbidden.
87775 2011-05-07  Petr Baudis  <pasky@suse.cz>
87776             Ulrich Drepper  <drepper@gmail.com>
87778         [BZ #12393]
87779         * elf/dl-load.c (fillin_rpath): Move trusted path check...
87780         (is_trusted_path): ...to here.
87781         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
87782         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
87783         using is_trusted_path_normalize() in setuid scripts.
87785 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
87787         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
87788         __BEGIN/__END_DECLS.
87790 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
87792         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
87793         NSS_STATUS_NOTFOUND if no record was found.
87795 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87797         * sunrpc/Makefile (headers): Add rpc/netdb.h.
87798         (headers-not-in-tirpc): Remove rpc/netdb.h
87799         * resolv/netdb.h: Revert last change.
87801 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
87803         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
87804         circular dependency between libgcc.a and libc.a.
87806 2011-05-05  Andreas Schwab  <schwab@redhat.com>
87808         * resolv/netdb.h: Don't include <rpc/netdb.h>.
87809         * nis/Makefile: Don't install rpcsvc/*.
87810         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
87811         instead of <rpc/types.h>.
87812         (MAXHOSTNAMELEN): Define.
87814 2011-05-03  Andreas Schwab  <schwab@redhat.com>
87816         * elf/ldconfig.c (add_dir): Don't crash on empty path.
87818 2011-04-28  Maciej Babinski  <mbabinski@google.com>
87820         [BZ #12714]
87821         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
87822         gethostbyname4_r when IPv6 results are possible.
87824 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
87826         [BZ #12723]
87827         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
87828         _PC_PIPE_BUF handling.
87830 2011-04-30  Bruno Haible  <bruno@clisp.org>
87832         [BZ #12717]
87833         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
87834         * resolv/netdb.h (getnameinfo): Change type of flags parameter
87835         to 'int'.
87836         * inet/getnameinfo.c (getnameinfo): Likewise.
87838 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
87840         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
87841         to groups setting in database lookup.
87842         * nss/nsswitch.conf: Add initgroups entry.
87844 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
87846         [BZ #12685]
87847         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
87848         mode string.
87849         Patch by Eric Blake <eblake@redhat.com>.
87851 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
87853         * sunrpc/Makefile (need-export-routines): Add svc_run.
87854         (routines): Remove svc_run.
87855         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
87856         * sunrpc/clnt_perr.c (clnt_perrno): Export.
87857         * sunrpc/svc_run.c (svc_run): Likewise.
87858         * sunrpc/svc_udp.c (svcudp_create): Likewise.
87860 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
87862         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
87863         problem in reallocation in last patch.
87865 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
87867         * sunrpc/Makefile: Move inclusion of Rules.
87869 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87871         * nss/nss_files/files-initgroups.c: New file.
87872         * nss/Makefile (libnss_files-routines): Add files-initgroups.
87873         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
87874         _nss_files_initgroups_dyn.
87876 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
87878         * elf/elf.h (R_ARM_IRELATIVE): Define.
87880 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
87882         * po/ru.po: Update from translation team.
87884 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87886         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
87887         dependencies.
87889 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
87891         [BZ #12653]
87892         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
87893         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
87894         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
87895         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
87896         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
87898 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
87900         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
87901         differing bytes.
87902         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
87903         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
87904         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
87906 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
87908         [BZ #12420]
87909         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
87910         storing it.
87911         * stdlib/bug-getcontext.c: New file.
87912         * stdlib/Makefile: Add rules to build and run bug-getcontext.
87914 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87916         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
87917         instructions into .machine "z9-109".
87918         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
87919         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
87921 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87923         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
87924         between environment variables and auxiliary vector.
87926 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
87928         * Makefile: Add rules to build linkobj/libc.so.
87929         * include/libc-symbols.h: Define libc_hidden_nolink.
87930         * include/rpc/auth.h: Mark functions which are to be hidden.
87931         * include/rpc/auth_des.h: Likewise.
87932         * include/rpc/auth_unix.h: Likewise.
87933         * include/rpc/clnt.h: Likewise.
87934         * include/rpc/des_crypt.h: Likewise.
87935         * include/rpc/key_prot.h: Likewise.
87936         * include/rpc/pmap_clnt.h: Likewise.
87937         * include/rpc/pmap_prot.h: Likewise.
87938         * include/rpc/pmap_rmt.h: Likewise.
87939         * include/rpc/rpc_msg.h: Likewise.
87940         * include/rpc/svc.h: Likewise.
87941         * include/rpc/svc_auth.h: Likewise.
87942         * include/rpc/xdr.h: Likewise.
87943         * nis/Makefile: Link all DSOs against linkobj/libc.so.
87944         * nss/Makefile: Likewise.
87945         * sunrpc/Makefile: Don't install headers.  Build library with normal
87946         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
87947         * sunrpc/auth_des.c: Hide exported symbols by default, export some
87948         for the compat linking library.  Remove use of INTDEF/INTUSE.
87949         * sunrpc/auth_none.c: Likewise.
87950         * sunrpc/auth_unix.c: Likewise.
87951         * sunrpc/authdes_prot.c: Likewise.
87952         * sunrpc/authuxprot.c: Likewise.
87953         * sunrpc/clnt_gen.c: Likewise.
87954         * sunrpc/clnt_perr.c: Likewise.
87955         * sunrpc/clnt_raw.c: Likewise.
87956         * sunrpc/clnt_simp.c: Likewise.
87957         * sunrpc/clnt_tcp.c: Likewise.
87958         * sunrpc/clnt_udp.c: Likewise.
87959         * sunrpc/clnt_unix.c: Likewise.
87960         * sunrpc/des_crypt.c: Likewise.
87961         * sunrpc/des_soft.c: Likewise.
87962         * sunrpc/get_myaddr.c: Likewise.
87963         * sunrpc/key_call.c: Likewise.
87964         * sunrpc/key_prot.c: Likewise.
87965         * sunrpc/netname.c: Likewise.
87966         * sunrpc/pm_getmaps.c: Likewise.
87967         * sunrpc/pm_getport.c: Likewise.
87968         * sunrpc/pmap_clnt.c: Likewise.
87969         * sunrpc/pmap_prot.c: Likewise.
87970         * sunrpc/pmap_prot2.c: Likewise.
87971         * sunrpc/pmap_rmt.c: Likewise.
87972         * sunrpc/publickey.c: Likewise.
87973         * sunrpc/rpc_cmsg.c: Likewise.
87974         * sunrpc/rpc_common.c: Likewise.
87975         * sunrpc/rpc_dtable.c: Likewise.
87976         * sunrpc/rpc_prot.c: Likewise.
87977         * sunrpc/rpc_thread.c: Likewise.
87978         * sunrpc/rtime.c: Likewise.
87979         * sunrpc/svc.c: Likewise.
87980         * sunrpc/svc_auth.c: Likewise.
87981         * sunrpc/svc_authux.c: Likewise.
87982         * sunrpc/svc_raw.c: Likewise.
87983         * sunrpc/svc_run.c: Likewise.
87984         * sunrpc/svc_simple.c: Likewise.
87985         * sunrpc/svc_tcp.c: Likewise.
87986         * sunrpc/svc_udp.c: Likewise.
87987         * sunrpc/svc_unix.c: Likewise.
87988         * sunrpc/svcauth_des.c: Likewise.
87989         * sunrpc/xcrypt.c: Likewise.
87990         * sunrpc/xdr.c: Likewise.
87991         * sunrpc/xdr_array.c: Likewise.
87992         * sunrpc/xdr_float.c: Likewise.
87993         * sunrpc/xdr_intXX_t.c: Likewise.
87994         * sunrpc/xdr_mem.c: Likewise.
87995         * sunrpc/xdr_rec.c: Likewise.
87996         * sunrpc/xdr_ref.c: Likewise.
87997         * sunrpc/xdr_sizeof.c: Likewise.
87998         * sunrpc/xdr_stdio.c: Likewise.
88000 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88002         [BZ #12650]
88003         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88004         * sysdeps/ia64/dl-tls.h: Likewise.
88005         * sysdeps/powerpc/dl-tls.h: Likewise.
88006         * sysdeps/s390/dl-tls.h: Likewise.
88007         * sysdeps/sh/dl-tls.h: Likewise.
88008         * sysdeps/sparc/dl-tls.h: Likewise.
88009         * sysdeps/x86_64/dl-tls.h: Likewise.
88010         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88012 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88014         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88015         rpath element also skip the following colon.
88016         (expand_dynamic_string_token): Add is_path parameter and pass
88017         down to DL_DST_REQUIRED and _dl_dst_substitute.
88018         (decompose_rpath): Call expand_dynamic_string_token with
88019         non-zero is_path.  Ignore empty rpaths.
88020         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88021         with zero is_path.
88023 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88026         Make cancelable.
88028 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88030         [BZ #12655]
88031         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88032         Patch by Filipe David Manana <fdmanana@apache.org>.
88034 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88036         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88037         Maintain aligned stack.
88038         (CHECK_RSP): Remove unused macro.
88040 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88042         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88043         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88045 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88047         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88049         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88051 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88053         [BZ #12518]
88054         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88055         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88056         * sysdeps/x86_64/memmove.c: New file.
88057         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88058         (memcpy): Renamed to ...
88059         (__new_memcpy): This.
88060         (memcpy): Provide GLIBC_2_14 memcpy.
88061         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88062         (memcpy): Provide GLIBC_2_2_5 memcpy.
88064 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88066         [BZ #12631]
88067         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88069 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88071         * misc/syncfs.c: New file.
88072         * misc/Makefile (routines): Add syncfs.
88073         * posix/unistd.h: Declare syncfs.
88074         * sysdeps/unix/syscalls.list: Add syncfs.
88076 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88078         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88079         open_by_handle_at.
88080         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88081         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88082         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88083         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88085         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88086         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88088 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88090         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88091         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88092         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88093         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88094         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88096         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88098         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88099         sync_file_range.c with -fexceptions.
88100         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88101         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88102         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88103         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88104         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88105         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88106         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88107         sync_file_range as cancellation point
88108         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88109         now a wrapper around __call_sync_file_range with cancellation handling.
88110         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88111         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88112         function name to __call_sync_file_range.
88113         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88114         Add call_sync_file_range.
88116 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88118         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88119         bits/timex.h.
88121 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88123         * iconv/iconv.h: Fix typo in comment.
88124         * io/fcntl.h: Likewise.
88125         * libio/stdio.h: Likewise.
88126         * posix/spawn.h: Likewise.
88127         * posix/unistd.h: Likewise.
88128         * stdlib/stdlib.h: Likewise.
88129         * time/time.h: Likewise.
88130         * wcsmbs/wchar.h: Likewise.
88132         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88133         open_by_handle): Add.
88134         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88135         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88136         Augment a few comments.
88137         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88138         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88139         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88140         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88141         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88142         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88143         open_by_handle.
88145         * io/fcntl.h (AT_EMPTY_PATH): Define.
88147 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88149         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88150         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88151         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88152         to...
88153         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88154         * Versions.def: Add GLIBC_2.14.
88155         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88156         Export.
88158 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88160         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88161         round counter.
88162         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88164 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88166         [BZ #12597]
88167         * string/test-strncmp.c (do_page_test): New function.
88168         (check2): Likewise.
88169         (test_main): Call check2.
88170         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88172 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88174         [BZ #12587]
88175         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88176         Handle cache information in CPU leaf 4.
88177         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88179 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88181         [BZ #12583]
88182         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88183         character representation.
88184         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88186 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88188         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88189         END(__isnan) to END(__isnanf) to match function entry point/label
88190         EALIGN(__isnanf,...).
88192 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88194         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88196 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88198         [BZ #12510]
88199         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88200         copy from the symbol referenced in the relocation to initialize the
88201         used variable.
88202         Patch by Piotr Bury <pbury@goahead.com>.
88203         * elf/Makefile: Add rules to build and tst-unique3.
88204         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88205         * elf/tst-unique3.cc: New file.
88206         * elf/tst-unique3.h: New file.
88207         * elf/tst-unique3lib.cc: New file.
88208         * elf/tst-unique3lib2.cc: New file.
88210         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88212 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88214         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88215         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88216         to _start.
88218 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88220         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88221         to-be-loaded object along a path to loader is ld.so.
88223 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88224             Ulrich Drepper  <drepper@gmail.com>
88226         * sysdeps/x86_64/memset.S: After aligning destination, code
88227         branches to different locations depending on the value of
88228         misalignment, when multiarch is enabled. Fix this.
88230 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
88232         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
88233         Set _x86_64_preferred_memory_instruction for AMD processsors.
88234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88235         Set bit_Prefer_SSE_for_memop for AMD processors.
88237 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
88239         * libio/fmemopen.c (fmemopen): Optimize a bit.
88241 2011-03-03  Andreas Schwab  <schwab@redhat.com>
88243         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
88245 2011-03-03  Roland McGrath  <roland@redhat.com>
88247         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
88249 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
88251         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
88252         __bzero_ultra1 instead of __memset_ultra1.
88254 2011-02-23  Andreas Schwab  <schwab@redhat.com>
88255             Ulrich Drepper  <drepper@gmail.com>
88257         [BZ #12509]
88258         * include/link.h (struct link_map): Add l_orig_initfini.
88259         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
88260         returning unsuccessfully.
88261         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
88262         close of a file loaded at startup, restore the original l_initfini
88263         list.
88264         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
88265         list, store the pointer.
88266         * elf/Makefile ($(objpfx)noload-mem): New rule.
88267         (noload-ENV): Define.
88268         (tests): Add $(objpfx)noload-mem.
88269         * elf/noload.c: Include <memcheck.h>.
88270         (main): Call mtrace.  Close all opened handles.
88272 2011-02-17  Andreas Schwab  <schwab@redhat.com>
88274         [BZ #12454]
88275         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
88276         dependencies are missing.
88278 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88280         Fix __if_freereq crash: Unlike the generic version which uses free,
88281         Hurd needs munmap.
88282         * sysdeps/mach/hurd/ifreq.h: New file.
88284 2011-01-27  Petr Baudis  <pasky@suse.cz>
88285             Ulrich Drepper  <drepper@gmail.com>
88287         [BZ 12445]#
88288         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
88289         to extend_alloca().
88290         * stdio-common/bug23.c: New file.
88291         * stdio-common/Makefile (tests): Add bug23.
88293 2010-09-28  Andreas Schwab  <schwab@redhat.com>
88294             Ulrich Drepper  <drepper@gmail.com>
88296         [BZ #12489]
88297         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
88298         before performing relro protection.  At old place add assertion
88299         to make sure nothing changed.
88301 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
88302             Glauber de Oliveira Costa  <glommer@gmail.com>
88304         * elf/elf.h: Add new ARM TLS relocs.
88306 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
88308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
88309         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
88310         cast from r3.
88311         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
88312         'tests' variable.
88313         * sysdeps/wordsize-64/tst-writev.c: New file.
88315 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
88317         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
88318         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
88319         insns in _dl_start to prevent a TOC reference before relocs are
88320         resolved.
88322 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
88324         [BZ #12469]
88325         * Makeconfig: Remove RANLIB definition.
88326         * Makerules: Don't use RANLIB.
88327         * aclocal.m4: Remove ranlib test.
88328         * configure.in: No need to check for ranlib.
88329         * elf/rtld-Rules: Don't use RANLIB.
88331 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88333         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
88334         protection macro.
88335         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
88336         inclusion protection macro.
88338         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
88339         SIGRTMIN and SIGRTMAX and print information in that case only when
88340         SIGRTMIN is defined.
88342 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
88344         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
88345         arginfo fn returning -1.
88347         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
88348         and thousands string is zero terminated.
88350 2011-02-03  Andreas Schwab  <schwab@redhat.com>
88352         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
88353         sysdeps/unix/sysv/linux/bits/socket.h.
88355 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88357         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
88358         (__CPU_COUNT): Remove old macros.
88359         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
88360         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
88361         (__CPU_ALLOC, __CPU_FREE): Add macros.
88362         (__sched_cpualloc, __sched_cpufree): Add declarations.
88364 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
88366         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
88367         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
88368         * nscd/aicache.c (addhstaiX): Return timeout of added value.
88369         (readdhstai): Return value of addhstaiX call.
88370         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
88371         (addgrbyX): Return value returned by cache_addgr.
88372         (readdgrbyname): Return value returned by addgrbyX.
88373         (readdgrbygid): Likewise.
88374         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
88375         (addpwbyX): Return value returned by cache_addpw.
88376         (readdpwbyname): Return value returned by addhstbyX.
88377         (readdpwbyuid): Likewise.
88378         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
88379         (addservbyX): Return value returned by cache_addserv.
88380         (readdservbyname): Return value returned by addservbyX:
88381         (readdservbyport): Likewise.
88382         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
88383         (addhstbyX): Return value returned by cache_addhst.
88384         (readdhstbyname): Return value returned by addhstbyX.
88385         (readdhstbyaddr): Likewise.
88386         (readdhstbynamev6): Likewise.
88387         (readdhstbyaddrv6): Likewise.
88388         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
88389         (readdinitgroups): Return value returned by addinitgroupsX.
88390         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
88391         (prune_cache): Keep track of timeout value of re-added entries.
88392         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
88393         * nscd/nscd.h: Adjust prototypes of readd* functions.
88395 2011-02-04  Roland McGrath  <roland@redhat.com>
88397         * nis/nis_server.c (nis_servstate): Use the right name for 0.
88398         (nis_stats): Likewise.
88399         * nis/nis_modify.c (nis_modify): Likewise.
88400         * nis/nis_remove.c (nis_remove): Likewise.
88401         * nis/nis_add.c (nis_add): Likewise.
88403         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
88405         * posix/fnmatch_loop.c: Add some consts.
88407         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
88409 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
88411         [BZ #12460]
88412         * config.make.in (config-cflags-novzeroupper): Define.
88413         * configure.in: Substitute libc_cv_cc_novzeroupper.
88414         * elf/Makefile (AVX-CFLAGS): Define.
88415         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
88416         (CFLAGS-tst-auditmod4a.c): Likewise.
88417         (CFLAGS-tst-auditmod4b.c): Likewise.
88418         (CFLAGS-tst-auditmod6b.c): Likewise.
88419         (CFLAGS-tst-auditmod6c.c): Likewise.
88420         (CFLAGS-tst-auditmod7b.c): Likewise.
88421         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
88423 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
88425         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
88426         function to the callback.
88427         Patch partly by Jiri Olsa <jolsa@redhat.com>.
88429 2011-02-02  Andreas Schwab  <schwab@redhat.com>
88431         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
88432         of errno.
88434 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
88436         [BZ #11724]
88437         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
88438         of constructors.
88439         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
88440         of destructors.
88441         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
88443         [BZ #11724]
88444         * elf/Makefile: Add rules to build and run new test.
88445         * elf/tst-initorder.c: New file.
88446         * elf/tst-initorder.exp: New file.
88447         * elf/tst-initordera1.c: New file.
88448         * elf/tst-initordera2.c: New file.
88449         * elf/tst-initordera3.c: New file.
88450         * elf/tst-initordera4.c: New file.
88451         * elf/tst-initorderb1.c: New file.
88452         * elf/tst-initorderb2.c: New file.
88453         * elf/tst-order-a1.c: New file.
88454         * elf/tst-order-a2.c: New file.
88455         * elf/tst-order-a3.c: New file.
88456         * elf/tst-order-a4.c: New file.
88457         * elf/tst-order-b1.c: New file.
88458         * elf/tst-order-b2.c: New file.
88459         * elf/tst-order-main.c: New file.
88460         New test case by George Gensure <werkt0@gmail.com>.
88462 2010-10-01  Andreas Schwab  <schwab@redhat.com>
88464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
88465         decoding ACE if AI_CANONIDN.
88467 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
88469         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
88471 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
88473         * version.h (RELEASE): Bump for 2.13 release.
88474         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
88476         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
88478         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
88479         MADV_NOHUGEPAGE.
88480         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
88481         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
88482         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
88483         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
88484         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
88485         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88487         * posix/getconf.c: Update copyright year.
88488         * catgets/gencat.c: Likewise.
88489         * csu/version.c: Likewise.
88490         * debug/catchsegv.sh: Likewise.
88491         * debug/xtrace.sh: Likewise.
88492         * elf/ldconfig.c: Likewise.
88493         * elf/ldd.bash.in: Likewise.
88494         * elf/sprof.c (print_version): Likewise.
88495         * iconv/iconv_prog.c: Likewise.
88496         * iconv/iconvconfig.c: Likewise.
88497         * locale/programs/locale.c: Likewise.
88498         * locale/programs/localedef.c: Likewise.
88499         * malloc/memusage.sh: Likewise.
88500         * malloc/mtrace.pl: Likewise.
88501         * nscd/nscd.c (print_version): Likewise.
88502         * nss/getent.c: Likewise.
88504         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
88505         PF_CAIF, and PF_ALG.
88506         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88508 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
88510         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
88511         (modules-names): Use them.
88512         (ifunc-test-modules, ifunc-pie-tests): Define.
88513         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
88514         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
88515         (test-extras): Likewise.
88516         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
88517         $(compile-command.c).
88518         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
88519         (all-built-dso): Define.
88520         (check-textrel.out, check-execstack.out): Depend on it.
88522         * configure.in: Don't override --enable-multi-arch.
88524 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
88526         [BZ #6812]
88527         * nscd/hstcache.c (tryagain): Define.
88528         (cache_addhst): Return tryagain not notfound for temporary errors.
88529         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
88530         failed.
88532 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
88534         [BZ #10563]
88535         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
88536         to make the syscall.
88537         * sysdeps/unix/sysv/linux/setgroups.c: New file.
88539         [BZ #12378]
88540         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
88541         and fall back to matching as normal character if the string ends before
88542         the matching ']' is found.  This is what POSIX requires.
88543         * posix/testfnm.c: Adjust test result.
88544         * posix/globtest.sh: Adjust test result.  Add new test.
88545         * posix/tst-fnmatch.input: Likewise.
88546         * posix/tst-fnmatch2.c: Add new test.
88548 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
88550         * elf/Makefile (check-execstack): Revert last change.  Depend on
88551         check-execstack.h.
88552         (check-execstack.h): New target.
88553         (generated): Add check-execstack.h.
88554         * elf/check-execstack.c: Include "check-execstack.h".
88555         (main): Revert last change.
88556         (handle_file): Return zero if GNU_STACK is absent and
88557         DEFAULT_STACK_PERMS doesn't include PF_X.
88559 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
88561         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
88562         in child fails because the descriptor is already closed.
88563         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
88564         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
88565         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
88567         [BZ #12397]
88568         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
88569         syscall.
88571         [BZ #10484]
88572         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
88573         temporary buffer used to handle multi lookups locally.
88574         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
88576 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88578         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
88579         loader is ld.so.
88581 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
88583         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
88584         alignment for SSE2.
88586 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
88588         [BZ #12394]
88589         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
88590         characters.  When rounding increased number of integer digits recompute
88591         number of groups.
88592         * stdio-common/tst-grouping.c: New file.
88593         * stdio-common/Makefile: Add rules to build and run tst-grouping.
88595 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
88597         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
88598         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
88600         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
88601         void.
88602         * bits/select.h: Likewise.
88604 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
88606         * po/ja.po: Update from translation team.
88608 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
88610         [BZ #11155]
88611         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
88612         implementation just like for lxstat, fxstatat, et al.
88614 2010-12-27  Jim Meyering  <meyering@redhat.com>
88616         [BZ #12348]
88617         * posix/regexec.c (build_trtable): Return failure indication upon
88618         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
88620 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
88622         [BZ #12201]
88623         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
88624         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
88625         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
88626         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
88628         [BZ #12207]
88629         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
88631         [BZ #12204]
88632         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
88633         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
88635 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
88637         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
88638         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
88639         script has SORT_BY_INIT_PRIORITY.
88640         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
88641         NO_CTORS_DTORS_SECTIONS is defined.
88642         * elf/soinit.c: Likewise.
88643         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
88644         NO_CTORS_DTORS_SECTIONS is defined.
88645         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
88646         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
88647         * sysdeps/sh/init-first.c: Likewise.
88648         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
88650 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
88652         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
88653         always use the slow path.
88655 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
88657         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
88658         similar rule which adds the sysdep directories to the header search in
88659         order to pick up the correct platform stackinfo.h.
88660         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
88661         perform test if it is, otherwise return successfully without testing.
88662         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
88663         DEFAULT_STACK_PERMS define in stackinfo.h.
88664         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
88665         defined in stackinfo.h.
88666         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
88667         DEFAULT_STACK_PERMS defined in stackinfo.h.
88668         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
88669         * sysdeps/ia64/stackinfo.h: Likewise.
88670         * sysdeps/s390/stackinfo.h: Likewise.
88671         * sysdeps/sh/stackinfo.h: Likewise.
88672         * sysdeps/sparc/stackinfo.h: Likewise.
88673         * sysdeps/x86_64/stackinfo.h: Likewise.
88674         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
88675         PF_X for powerpc64.  Retain PF_X for powerpc32.
88677 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
88679         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
88680         accurately.
88681         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
88682         GETDENTS_64BIT_ALIGNED.
88684 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
88686         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
88688 2010-12-10  Andreas Schwab  <schwab@redhat.com>
88690         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
88691         _GNU_SOURCE.
88693         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
88694         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
88695         Remove __restrict.
88696         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
88697         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
88699 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
88701         [BZ #11655]
88702         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
88703         are initialized.
88705 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
88707         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
88709 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
88711         * po/it.po: Update from translation team.
88713 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
88715         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
88716         unused codes.
88718 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
88720         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
88722 2010-11-24  Andreas Schwab  <schwab@redhat.com>
88724         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
88725         specially.
88726         (gaih_getanswer_slice): Likewise.
88728 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
88730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
88732 2010-05-31  Petr Baudis  <pasky@suse.cz>
88734         [BZ #11149]
88735         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
88736         silently even in the chroot mode.
88738 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
88740         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
88741         last patch a bit.  Pretty printing
88743 2010-05-31  Petr Baudis <pasky@suse.cz>
88745         [BZ #10085]
88746         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
88747         initialization of skip_initgroups_dyn.
88749 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
88751         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
88752         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
88754 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
88756         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
88758 2010-11-11  Andreas Schwab  <schwab@redhat.com>
88760         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
88761         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
88762         (tst-fnmatch-ENV): Set MALLOC_TRACE.
88763         ($(objpfx)tst-fnmatch-mem): New rule.
88764         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
88765         * posix/tst-fnmatch.c (main): Call mtrace.
88767 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
88769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88770         Support Intel processor model 6 and model 0x2c.
88772 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
88774         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
88775           signed comparison.
88777 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
88779         [BZ #12205]
88780         * string/test-strncasecmp.c (check_result): New function.
88781         (do_one_test): Use it.
88782         (check1): New function.
88783         (test_main): Use it.
88784         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
88785         Support strcasecmp and strncasecmp.
88787 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
88789         [BZ #12194]
88790         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
88791         * sysdeps/x86_64/bits/byteswap.h: Likewise.
88793 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
88795         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
88796         IFUNC support.
88797         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88798         memset-x86-64.
88799         * sysdeps/x86_64/multiarch/bzero.S: New file.
88800         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
88801         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
88802         * sysdeps/x86_64/multiarch/memset.S: New file.
88803         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
88804         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88805         Set bit_Prefer_SSE_for_memop for Intel processors.
88806         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
88807         Define.
88808         (index_Prefer_SSE_for_memop): Define.
88809         (HAS_PREFER_SSE_FOR_MEMOP): Define.
88811 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
88813         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
88814         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
88816 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
88818         [BZ #12191]
88819         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88820         (__x86_64_raw_data_cache_size_half): Likewise.
88821         (__x86_64_raw_shared_cache_size): Likewise.
88822         (__x86_64_raw_shared_cache_size_half): Likewise.
88824         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
88825         (__x86_64_raw_data_cache_size_half): Likewise.
88826         (__x86_64_raw_shared_cache_size): Likewise.
88827         (__x86_64_raw_shared_cache_size_half): Likewise.
88828         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
88829         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
88830         and __x86_64_raw_shared_cache_size_half.  Round
88831         __x86_64_data_cache_size_half, __x86_64_data_cache_size
88832         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
88833         to multiple of 256 bytes.
88835 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
88837         [BZ #12167]
88838         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
88839         of inacessible symlinks.  Verify result of symlink before returning it.
88840         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
88841         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
88843 2010-10-28  Erich Ritz  <erichritz@gmail.com>
88845         * math/math.h (isinf): Fix typo in comment.
88847 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
88849         * po/da.po: Update from translation team.
88851 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
88853         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
88854         is added to the list.
88856 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88857             Ulrich Drepper  <drepper@gmail.com>
88859         * elf/dl-object.c (_dl_new_object): Don't append the new object to
88860         the global list here.  Move code to...
88861         (_dl_add_to_namespace_list): ...here.  New function.
88862         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
88863         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
88864         * elf/dl-load.c (lose): Don't remove the element from the list.
88865         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
88866         (_dl_map_object): Likewise.
88868 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
88870         [BZ #12159]
88871         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
88872         into all bytes of SSE register.
88873         Patch by Richard Li <richardpku@gmail.com>.
88875 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
88877         [BZ #12140]
88878         * malloc/malloc.c (_int_free): Fill correct number of bytes when
88879         perturbing.
88881 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
88883         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
88884         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
88885         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
88886         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
88888         submachine.
88889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
88891 2010-10-22  Andreas Schwab  <schwab@redhat.com>
88893         * include/dlfcn.h (__RTLD_SECURE): Define.
88894         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
88895         mode & __RTLD_SECURE instead.
88896         (open_path): Rename preloaded parameter to secure.
88897         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
88898         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
88899         * elf/dl-deps.c (openaux): Likewise.
88900         * elf/rtld.c (struct map_args): Remove is_preloaded.
88901         (map_doit): Don't use it.
88902         (dl_main): Likewise.
88903         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
88904         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
88906 2010-09-09  Andreas Schwab  <schwab@redhat.com>
88908         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
88909         (sysd-rules-targets): Remove duplicates.
88910         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
88911         rtld-%.$o dependency.
88913 2010-10-18  Andreas Schwab  <schwab@redhat.com>
88915         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
88916         _dl_map_object do it.
88918 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
88920         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
88921         fast fma builtins, define the macros in the C99 standard.
88922         (FP_FAST_FMAF): Likewise.
88923         (FP_FAST_FMAL): Likewise.
88924         * sysdeps/x86_64/bits/mathdef.h: Likewise.
88926         * bits/mathdef.h: Update copyright year.
88927         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88929 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
88931         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
88932         builtins, define the macros in the C99 standard.
88933         (FP_FAST_FMAF): Likewise.
88934         (FP_FAST_FMAL): Likewise.
88935         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
88936         multiply/add.
88937         (FP_FAST_FMAF): Likewise.
88939 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
88941         [BZ #3268]
88942         * math/libm-test.inc (fma_test): Some new testcases.
88943         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
88944         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88945         y and infinite z.  Do multiplication by C already in long double.
88946         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88948         y and infinite z.  Do bitwise or of inexact bit into u.d.
88949         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88950         * sysdeps/i386/fpu/s_fmaf.S: Removed.
88951         * sysdeps/i386/fpu/s_fma.S: Removed.
88952         * sysdeps/i386/fpu/s_fmal.S: Removed.
88954 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88956         [BZ #3268]
88957         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88958         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88959         computation is not scheduled after fetestexcept.  Fix value
88960         of minimum denormal long double.
88962 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88964         [BZ #3268]
88965         * math/libm-test.inc (fma_test): Add some more tests.
88966         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88967         correctly.
88969 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88971         * scripts/data/localplt-s390-linux-gnu.data: New file.
88972         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88974 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88976         [BZ #3268]
88977         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88978         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88979         instead of dbl-64.
88980         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88981         inlines.
88982         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88983         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88984         if one of x and y is very large and the other is subnormal.
88985         * sysdeps/s390/fpu/s_fmaf.c: New file.
88986         * sysdeps/s390/fpu/s_fma.c: New file.
88987         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88988         * sysdeps/powerpc/fpu/s_fma.S: New file.
88989         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88990         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88991         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88993 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88995         [BZ #3268]
88996         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88997         fma tests.
88998         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88999         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89000         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89001         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89002         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89003         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89004         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89006 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89008         [BZ #12078]
89009         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89010         * posix/bug-regex31.input: Add test case.
89012 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89014         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89015         * posix/bug-regex31.input: New file.
89017         [BZ #12078]
89018         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89019         (parse_sub_exp): Fix last change, use postorder.
89021         * posix/bug-regex31.c: New file.
89022         * posix/Makefile: Add rules to build and run bug-regex31.
89024         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89026         [BZ #12078]
89027         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89029         [BZ #12108]
89030         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89031         to have entries in sys_siglist.
89033         [BZ #12093]
89034         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89035         be NULL.
89037 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89039         [BZ #3268]
89040         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89041         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89042         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89043         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89044         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89045         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89046         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89047         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89048         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89049         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89050         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89051         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89052         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89053         * math/ftestexcept.c (fetestexcept): Likewise.
89054         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89055         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89056         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89057         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89058         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89059         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89060         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89062 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89064         [BZ #12107]
89065         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89066         newline.
89068 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89070         * string/bug-strstr1.c: New file.
89071         * string/Makefile: Add rules to build and run bug-strstr1.
89073 2010-10-05  Eric Blake  <eblake@redhat.com>
89075         [BZ #12092]
89076         * string/str-two-way.h (two_way_long_needle): Always clear memory
89077         when skipping input due to the shift table.
89079 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89081         [BZ #12005]
89082         * malloc/mcheck.c: Handle large requests.
89084         [BZ #12077]
89085         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89086         for strncmp and strncasecmp.
89087         * string/stratcliff.c: Add tests for strcmp and strncmp.
89088         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89090 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89092         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89093         __set_fpscr.
89095 2010-09-30  Andreas Jaeger  <aj@suse.de>
89097         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89098         (CGROUP_SUPER_MAGIC): Define.
89099         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89100         Handle btrfs and cgroup file systems.
89101         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89102         Likewise.
89104 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89106         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89107         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89109 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89111         [BZ #12067]
89112         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89113         trying to locate the ELF header.
89115 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89117         [BZ #11611]
89118         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89119         Mask out sign-bit copies when constructing f_fsid.
89121 2010-09-24  Petr Baudis <pasky@suse.cz>
89123         * debug/stack_chk_fail_local.c: Add missing licence exception.
89124         * debug/warning-nop.c: Likewise.
89126 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89128         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89129         implementing getdents64 using getdents syscall, set d_type if
89130         __ASSUME_GETDENTS32_D_TYPE.
89132 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89134         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89135         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89137 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89139         [BZ #12037]
89140         * posix/unistd.h: Undo change of feature selection for ftruncate from
89141         2010-01-11.
89143 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89145         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89146         detection.
89148 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89150         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89151         fanotify_mark.
89152         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89154 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89156         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89157         variables after CHECK_SP call.
89158         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89160 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89161             Ulrich Drepper  <drepper@redhat.com>
89163         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89164         re-relocationg ld.so.
89165         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89166         _dl_init_paths call.
89167         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89168         here anymore.
89170 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89172         * resolv/res_init.c (__res_vinit): Count the default server we added.
89174 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89175             Ulrich Drepper  <drepper@redhat.com>
89177         [BZ #11968]
89178         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89179         (____longjmp_chk): Use %ebx for saving value across system call.
89180         Add unwind info.
89182 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89184         * manual/Makefile: Don't mix pattern rules with normal rules.
89186 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89188         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89189         operation.
89190         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89191         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89192         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89193         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89194         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89195         Likewise.
89197 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89199         [BZ #11979]
89200         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89201         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89203 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89205         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89206         * sysdeps/x86_64/addmul_1.S: Likewise.
89207         * sysdeps/x86_64/lshift.S: Likewise.
89208         * sysdeps/x86_64/mul_1.S: Likewise.
89209         * sysdeps/x86_64/rshift.S: Likewise.
89210         * sysdeps/x86_64/sub_n.S: Likewise.
89211         * sysdeps/x86_64/submul_1.S: Likewise.
89213 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89215         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89216         Define __sched_param instead of SCHED_* and sched_param when
89217         <bits/sched.h> is included with __need_schedparam defined.
89218         * bits/sched.h [__need_schedparam]
89219         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89220         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89221         (__defined_schedparam): Define to 1.
89222         (__sched_param): New structure, identical to sched_param.
89223         (__need_schedparam): Undefine.
89225 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
89227         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
89228         (epoll_create1): Declare.
89230         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
89232 2010-08-31  Andreas Schwab  <schwab@redhat.com>
89234         [BZ #7066]
89235         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
89236         shifting retval into place.
89238 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
89240         * nis/rpcsvc/nis.h: Update copyright notice.
89241         * nis/rpcsvc/nis.x: Likewise.
89242         * nis/rpcsvc/nis_callback.h: Likewise.
89243         * nis/rpcsvc/nis_callback.x: Likewise.
89244         * nis/rpcsvc/nis_object.x: Likewise.
89245         * nis/rpcsvc/nis_tags.h: Likewise.
89246         * nis/rpcsvc/yp.h: Likewise.
89247         * nis/rpcsvc/yp.x: Likewise.
89248         * nis/rpcsvc/ypupd.h: Likewise.
89249         * nis/yp_xdr.c: Likewise.
89250         * nis/ypupdate_xdr.c: Likewise.
89252         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
89253         mainly the body of pmap_getport.  Add parameters to specify timeouts.
89254         (pmap_getport): Use __libc_rpc_getport.
89255         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
89256         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
89257         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
89259 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
89261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
89262         fanotify_mark.
89264 2010-08-27  Roland McGrath  <roland@redhat.com>
89266         * sysdeps/i386/i686/multiarch/Makefile
89267         (CFLAGS-varshift.c): New variable.
89269 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
89271         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
89272         * sysdeps/i386/i686/multiarch/varshift.c: New file.
89274         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
89276         * sysdeps/x86_64/strlen.S: Minimal code improvement.
89278 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
89280         * sysdeps/x86_64/strlen.S: Unroll the loop.
89281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89282         strlen-sse2 strlen-sse2-bsf.
89283         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
89284         __strlen_no_bsf if bit_Slow_BSF is set.
89285         (__strlen_sse42): Removed.
89286         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
89287         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
89289 2010-08-25  Roland McGrath  <roland@redhat.com>
89291         * sysdeps/x86_64/multiarch/varshift.S: File removed.
89292         * sysdeps/x86_64/multiarch/varshift.c: New file.
89293         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
89294         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
89295         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
89296         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
89298 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
89300         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89301         strlen-sse2 strlen-sse2-bsf.
89302         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
89303         __strlen_sse2_bsf if bit_Slow_BSF is unset.
89304         (__strlen_sse2): Removed.
89305         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
89306         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
89307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
89308         bit_Slow_BSF for Atom.
89309         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
89310         (index_Slow_BSF): Define.
89311         (HAS_SLOW_BSF): Define.
89313 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
89315         [BZ #10851]
89316         * resolv/res_init.c (__res_vinit): When no server address at all
89317         is given default to loopback.
89319 2010-08-24  Roland McGrath  <roland@redhat.com>
89321         * configure.in: Remove config-name.h generation.
89322         * configure: Regenerated.
89323         * config-name.in: File removed.
89324         * scripts/config-uname.sh: New file.
89325         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
89326         ($(objdir)config-name.h): New target.
89328         * sunrpc/rpc_parse.h: Avoid nested comment.
89330 2010-08-24  Richard Henderson  <rth@redhat.com>
89331             Ulrich Drepper  <drepper@redhat.com>
89332             H.J. Lu  <hongjiu.lu@intel.com>
89334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
89335         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
89336         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
89337         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
89338         _mm_alignr_epi8 with _mm_loadu_si128.
89339         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
89340         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
89341         (__m128i_shift_right): Removed.
89342         * sysdeps/i386/i686/multiarch/varshift.h: New file.
89343         * sysdeps/i386/i686/multiarch/varshift.S: New file.
89344         * sysdeps/x86_64/multiarch/varshift.h: New file.
89345         * sysdeps/x86_64/multiarch/varshift.S: New file.
89347 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
89349         * configure.in: Move assembler checks to before sysdep dir checking.
89351 2010-08-20  Petr Baudis  <pasky@suse.cz>
89353         * LICENSES: Sync the sunrpc license.
89355 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
89357         * sunrpc/auth_des.c: Update copyright notice once again.
89358         * sunrpc/auth_none.c: Likewise.
89359         * sunrpc/auth_unix.c: Likewise.
89360         * sunrpc/authdes_prot.c: Likewise.
89361         * sunrpc/authuxprot.c: Likewise.
89362         * sunrpc/bindrsvprt.c: Likewise.
89363         * sunrpc/clnt_gen.c: Likewise.
89364         * sunrpc/clnt_perr.c: Likewise.
89365         * sunrpc/clnt_raw.c: Likewise.
89366         * sunrpc/clnt_simp.c: Likewise.
89367         * sunrpc/clnt_tcp.c: Likewise.
89368         * sunrpc/clnt_udp.c: Likewise.
89369         * sunrpc/clnt_unix.c: Likewise.
89370         * sunrpc/des_crypt.c: Likewise.
89371         * sunrpc/des_soft.c: Likewise.
89372         * sunrpc/get_myaddr.c: Likewise.
89373         * sunrpc/getrpcport.c: Likewise.
89374         * sunrpc/key_call.c: Likewise.
89375         * sunrpc/key_prot.c: Likewise.
89376         * sunrpc/openchild.c: Likewise.
89377         * sunrpc/pm_getmaps.c: Likewise.
89378         * sunrpc/pm_getport.c: Likewise.
89379         * sunrpc/pmap_clnt.c: Likewise.
89380         * sunrpc/pmap_prot.c: Likewise.
89381         * sunrpc/pmap_prot2.c: Likewise.
89382         * sunrpc/pmap_rmt.c: Likewise.
89383         * sunrpc/rpc/auth.h: Likewise.
89384         * sunrpc/rpc/auth_unix.h: Likewise.
89385         * sunrpc/rpc/clnt.h: Likewise.
89386         * sunrpc/rpc/des_crypt.h: Likewise.
89387         * sunrpc/rpc/key_prot.h: Likewise.
89388         * sunrpc/rpc/netdb.h: Likewise.
89389         * sunrpc/rpc/pmap_clnt.h: Likewise.
89390         * sunrpc/rpc/pmap_prot.h: Likewise.
89391         * sunrpc/rpc/pmap_rmt.h: Likewise.
89392         * sunrpc/rpc/rpc.h: Likewise.
89393         * sunrpc/rpc/rpc_des.h: Likewise.
89394         * sunrpc/rpc/rpc_msg.h: Likewise.
89395         * sunrpc/rpc/svc.h: Likewise.
89396         * sunrpc/rpc/svc_auth.h: Likewise.
89397         * sunrpc/rpc/types.h: Likewise.
89398         * sunrpc/rpc/xdr.h: Likewise.
89399         * sunrpc/rpc_clntout.c: Likewise.
89400         * sunrpc/rpc_cmsg.c: Likewise.
89401         * sunrpc/rpc_common.c: Likewise.
89402         * sunrpc/rpc_cout.c: Likewise.
89403         * sunrpc/rpc_dtable.c: Likewise.
89404         * sunrpc/rpc_hout.c: Likewise.
89405         * sunrpc/rpc_main.c: Likewise.
89406         * sunrpc/rpc_parse.c: Likewise.
89407         * sunrpc/rpc_parse.h: Likewise.
89408         * sunrpc/rpc_prot.c: Likewise.
89409         * sunrpc/rpc_sample.c: Likewise.
89410         * sunrpc/rpc_scan.c: Likewise.
89411         * sunrpc/rpc_scan.h: Likewise.
89412         * sunrpc/rpc_svcout.c: Likewise.
89413         * sunrpc/rpc_tblout.c: Likewise.
89414         * sunrpc/rpc_util.c: Likewise.
89415         * sunrpc/rpc_util.h: Likewise.
89416         * sunrpc/rpcinfo.c: Likewise.
89417         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
89418         * sunrpc/rpcsvc/key_prot.x: Likewise.
89419         * sunrpc/rpcsvc/klm_prot.x: Likewise.
89420         * sunrpc/rpcsvc/mount.x: Likewise.
89421         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
89422         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
89423         * sunrpc/rpcsvc/rex.x: Likewise.
89424         * sunrpc/rpcsvc/rstat.x: Likewise.
89425         * sunrpc/rpcsvc/rusers.x: Likewise.
89426         * sunrpc/rpcsvc/sm_inter.x: Likewise.
89427         * sunrpc/rpcsvc/spray.x: Likewise.
89428         * sunrpc/rpcsvc/yppasswd.x: Likewise.
89429         * sunrpc/rtime.c: Likewise.
89430         * sunrpc/svc.c: Likewise.
89431         * sunrpc/svc_auth.c: Likewise.
89432         * sunrpc/svc_authux.c: Likewise.
89433         * sunrpc/svc_raw.c: Likewise.
89434         * sunrpc/svc_run.c: Likewise.
89435         * sunrpc/svc_simple.c: Likewise.
89436         * sunrpc/svc_tcp.c: Likewise.
89437         * sunrpc/svc_udp.c: Likewise.
89438         * sunrpc/svc_unix.c: Likewise.
89439         * sunrpc/svcauth_des.c: Likewise.
89440         * sunrpc/xcrypt.c: Likewise.
89441         * sunrpc/xdr.c: Likewise.
89442         * sunrpc/xdr_array.c: Likewise.
89443         * sunrpc/xdr_float.c: Likewise.
89444         * sunrpc/xdr_mem.c: Likewise.
89445         * sunrpc/xdr_rec.c: Likewise.
89446         * sunrpc/xdr_ref.c: Likewise.
89447         * sunrpc/xdr_sizeof.c: Likewise.
89448         * sunrpc/xdr_stdio.c: Likewise.
89450         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
89451         handling.
89453 2010-08-19  Andreas Schwab  <schwab@redhat.com>
89455         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
89457 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
89459         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
89460         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
89461         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
89462         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
89463         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
89464         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
89465         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
89466         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
89467         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
89468         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
89469         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
89470         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
89471         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
89472         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
89474 2010-07-26  Anton Blanchard  <anton@samba.org>
89476         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
89477         * malloc/arena.c (heap_trim): Likewise.
89479 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
89481         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
89482         here.  Not...
89483         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
89484         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
89486 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
89488         * sysdeps/i386/elf/Makefile: New file.
89490 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89492         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
89493         from fanotify_init.
89494         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
89495         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89497 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
89499         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
89500         of strncasecmp_l.
89501         * sysdeps/multiarch/strcmp.S: Likewise.
89503 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
89505         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89506         strncase_l-nonascii.
89507         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89508         Add strncase_l-ssse3.
89509         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
89510         * sysdeps/x86_64/strcmp.S: Likewise.
89511         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
89512         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
89513         * sysdeps/x86_64/strncase.S: New file.
89514         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
89515         * sysdeps/x86_64/strncase_l.S: New file.
89516         * string/Makefile (strop-tests): Add strncasecmp.
89517         * string/test-strncasecmp.c: New file.
89519         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
89520         warning.
89522         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
89523         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
89525 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
89527         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
89529 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
89531         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
89532         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
89533         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
89535 2010-05-01  Alan Modra  <amodra@gmail.com>
89537         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
89538         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
89539         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
89540         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
89541         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
89542         tidying.  Don't tail-call __sigjmp_save for static lib.
89543         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
89544         save location.
89545         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
89546         (CALL_MCOUNT): Add eh info, and nop after bl.
89547         (TAIL_CALL_SYSCALL_ERROR): New macro.
89548         (PSEUDO_RET): Use it.
89549         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
89550         Correct save location of integer regs and cr.
89551         (_dl_profile_resolve): Correct cr save location.  Delete nops
89552         after bl when SHARED.  Reduce cfi size a little by better
89553         placement of cfi directives.
89554         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
89555         make a stack frame.  Instead use parm save area as a temp.
89556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
89557         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
89558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
89559         Don't make a stack frame for parent, use parm save area.
89560         Increase child stack frame to 112 bytes.  Don't save unused reg,
89561         and adjust reg usage.  Set up cfi on error recovery and
89562         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
89563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
89564         (__makecontext): Add dummy nop after jump to exit.
89565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
89566         Use correct parm save area and cr save, reduce stack frame.
89567         Correct cfi for possible PSEUDO_RET frame setup.
89568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
89569         Branch to local label emitted by PSEUDO_RET rather than
89570         __syscall_error.
89572 2010-08-12  Andreas Schwab  <schwab@redhat.com>
89574         [BZ #11904]
89575         * locale/programs/locale.c (print_assignment): New function.
89576         (show_locale_vars): Use it.
89578 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
89580         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
89581         field.
89582         (struct statfs64): Likewise.
89583         (_STATFS_F_FLAGS): Define.
89584         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
89585         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89586         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
89587         (ST_VALID): Define locally.
89588         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
89589         __statvfs_getflags, use the provided value.
89590         * sysdeps/unix/sysv/linux/kernel-features.h: Define
89591         __ASSUME_STATFS_F_FLAGS.
89593         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
89595         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
89596         Add sys/fanotify.h.
89597         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
89598         fanotify_mask for GLIBC_2.13.
89599         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
89600         fanotify_init and fanotify_mark.
89601         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
89602         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
89604         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
89605         Add prlimit.
89606         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
89607         prlimit64 for GLIBC_2.13.
89608         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
89609         prlimit64.
89610         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
89611         syscall.
89612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
89613         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89614         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
89615         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
89616         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
89617         add prlimit alias.
89618         * sysdeps/unix/sysv/linux/prlimit.c: New file.
89620         [BZ #11903]
89621         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
89622         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
89624         * nss/Makefile: Add rules to build and run tst-nss-test1.
89625         * shlib-versions: Add entry for libnss_test1.
89626         * nss/nss_test1.c: New file.
89627         * nss/tst-nss-test1.c: New file.
89629         * nss/nsswitch.c (__nss_database_custom): Define new variable.
89630         (__nss_configure_lookup): Set appropriate entry in
89631         __nss_configure_lookup to true.
89632         * nss/nsswitch.h: Define enum with indeces of databases in
89633         databases and __nss_database_custom arrays.  Declare
89634         __nss_database_custom.
89635         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
89636         to avoid using nscd when custom rules are installed.
89637         * nss/getXXbyYY_r.c: Likewise.
89638         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
89640         * nss/nss_files/files-parse.c: Whitespace fixes.
89642 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
89644         [BZ #11883]
89645         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
89646         * posix/fnmatch_loop.c: Likewise.
89648 2010-07-17  Andi Kleen  <ak@linux.intel.com>
89650         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
89651         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
89652         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
89653         * Versions.def [GLIBC_2.13]: Add.
89655 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
89657         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89658         Also fail if tpwd after pwuid call is NULL.
89660 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89662         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
89663         when converting to ms.
89665 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89667         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
89668         EOPNOTSUPP errors with ENOTTY.
89669         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
89670         EOPNOTSUPP errors with ENOTTY.
89672 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
89674         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
89675         Add strcasecmp_l-ssse3.
89676         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
89677         strcasecmp.
89678         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
89679         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
89680         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
89682 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
89684         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
89686         * string/Makefile (strop-tests): Add strcasecmp.
89687         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
89688         strcasecmp_l-nonascii.
89689         (gen-as-const-headers): Add locale-defines.sym.
89690         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
89691         * sysdeps/x86_64/strcasecmp.S: New file.
89692         * sysdeps/x86_64/strcasecmp_l.S: New file.
89693         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
89694         * sysdeps/x86_64/locale-defines.sym: New file.
89695         * string/test-strcasecmp.c: New file.
89697         * string/test-strcasestr.c: Test both ends of the range of characters.
89698         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
89700 2010-07-29  Roland McGrath  <roland@redhat.com>
89702         [BZ #11856]
89703         * manual/locale.texi (Yes-or-No Questions): Fix example code.
89705 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
89707         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
89708         for ld.so.
89710 2010-07-27  Andreas Schwab  <schwab@redhat.com>
89712         * manual/memory.texi (Malloc Tunable Parameters): Document
89713         M_PERTURB.
89715 2010-07-26  Roland McGrath  <roland@redhat.com>
89717         [BZ #11840]
89718         * configure.in (-fgnu89-inline check): Set and substitute
89719         gnu89_inline, not libc_cv_gnu89_inline.
89720         * configure: Regenerated.
89721         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
89723 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
89725         * string/test-strnlen.c: New file.
89726         * string/Makefile (strop-tests): Add strnlen.
89727         * string/tester.c (test_strnlen): Add a few more test cases.
89728         * string/tst-strlen.c: Better error reporting.
89730         * sysdeps/x86_64/strnlen.S: New file.
89732 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
89734         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
89735         lower-latency instructions.
89737 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
89739         * string/test-strcasestr.c: New file.
89740         * string/test-strstr.c: New file.
89741         * string/Makefile (strop-tests): Add strstr and strcasestr.
89742         * string/str-two-way.h: Don't undefine MAX.
89743         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
89745 2010-07-21  Andreas Schwab  <schwab@redhat.com>
89747         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89748         strcasestr-nonascii.
89749         (CFLAGS-strcasestr-nonascii.c): Define.
89750         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
89751         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
89752         Remove unused attribute.
89754 2010-07-20  Roland McGrath  <roland@redhat.com>
89756         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
89757         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
89758         ld.so.cache was broken.  With it, there is no way to disable dsocaps
89759         like LD_HWCAP_MASK can disable hwcaps.
89761 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89763         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
89765 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
89767         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
89768         call in strcasestr.
89769         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
89770         __strcasestr_sse42_nonascii.
89771         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
89772         strcasestr-nonascii.c.
89773         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
89775 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
89777         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
89778         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
89779         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
89780         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
89782 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
89784         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
89785         fcntl.
89787 2010-07-06  Andreas Schwab  <schwab@redhat.com>
89789         [BZ #11577]
89790         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
89791         dl_signal_cerror.
89793 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
89795         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
89796         _PC_PIPE_BUF using F_GETPIPE_SZ.
89798 2010-07-05  Roland McGrath  <roland@redhat.com>
89800         * manual/arith.texi (Rounding Functions): Fix rint description
89801         implicit in round description.
89803 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
89805         * elf/Makefile: Fix linking for a few tests to make recent linker
89806         happy.
89808 2010-06-30  Andreas Schwab  <schwab@redhat.com>
89810         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89811         $(common-objpfx)libc_nonshared.a.
89813 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
89815         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
89816         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
89817         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89818         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89819         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
89820         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
89821         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89822         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
89824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
89825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
89826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
89827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
89828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
89829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
89830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
89831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
89832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
89833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
89834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
89835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
89836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
89837         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
89838         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
89839         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
89840         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
89841         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
89842         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
89843         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
89844         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
89845         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
89846         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
89847         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
89848         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
89849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
89850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
89851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
89852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
89853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
89854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
89855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
89856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
89857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
89858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
89859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
89860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
89861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
89862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
89864 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
89866         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
89867         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
89868         * string/memmove.c (memmove): Renamed to ...
89869         (MEMMOVE): ...this.  Default to memmove.
89870         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
89871         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
89872         (END_CHK): Define.
89873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89874         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
89875         mempcpy-ssse3-back memmove-ssse3-back.
89876         * sysdeps/x86_64/multiarch/bcopy.S: New file .
89877         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
89878         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
89879         * sysdeps/x86_64/multiarch/memcpy.S: New file.
89880         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
89881         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
89882         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
89883         * sysdeps/x86_64/multiarch/memmove.c: New file.
89884         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
89885         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
89886         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
89887         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
89888         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
89889         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
89890         Define.
89891         (index_Fast_Copy_Backward): Define.
89892         (HAS_ARCH_FEATURE): Define.
89893         (HAS_FAST_REP_STRING): Define.
89894         (HAS_FAST_COPY_BACKWARD): Define.
89896 2010-06-21  Andreas Schwab  <schwab@redhat.com>
89898         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
89899         Restore proper fallback handling.
89901 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
89903         [BZ #11701]
89904         * posix/group_member.c (__group_member): Correct checking loop.
89906         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
89907         OOM in getpwuid_r correctly.  Return error number when the caller
89908         should return, otherwise -1.
89909         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
89910         call returning > 0 value.
89911         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
89913 2010-06-07  Andreas Schwab  <schwab@redhat.com>
89915         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
89916         libc_nonshared.a from targets in modules-names.
89918 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
89920         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
89921         requires it.
89923 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
89925         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
89926         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
89927         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
89928         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
89930 2010-06-02  Andreas Schwab  <schwab@redhat.com>
89932         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
89934 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
89936         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
89937         and F_GETPIPE_SZ.
89938         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
89939         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
89940         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
89941         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
89942         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
89943         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89945 2010-06-14  Roland McGrath  <roland@redhat.com>
89947         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89949 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
89951         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89952         __REDIRECT followed by __THROW.
89953         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89954         * posix/getopt.h (getopt): Likewise.
89956 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89958         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89959         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89960         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89961         in AT_FLAGS.
89962         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89963         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89965 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89967         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89969 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89971         [BZ #11640]
89972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89973         Properly check family and model.
89975 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89977         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89979 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89981         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89983 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89985         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89986         symbol reference.
89988 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89990         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89991         symbol reference.
89993 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89995         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89996         and internal_recvmmsg.
89997         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89998         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89999         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90000         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90002         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90003         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90004         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90006 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90008         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90010 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90012         POWER7 optimizations.
90013         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90014         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90016 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90018         * version.h: Update for 2.13 development version.
90020 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90022         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90023         exceptions.  Return 0.
90025 2010-05-07  Roland McGrath  <roland@redhat.com>
90027         * elf/ldconfig.c (main): Add a const.
90029 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90031         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90032         (args_options): Add no-idn option.
90033         (ahosts_keys_int): Add idn_flags to ai_flags.
90034         (parse_option): Handle 'i' option to clear idn_flags.
90036         * malloc/malloc.c (_int_free): Possible race in the most recently
90037         added check.  Only act on the data if no current modification
90038         happened.
90040 See ChangeLog.17 for earlier changes.